@font-face {
    font-family: "myfont";
    src: url("fonts/fleuronregular.woff") format('woff');
}

html,
body {
    /*    font-family: 'myfont', serif;*/
    font-family: neue-haas-grotesk-text, sans-serif;
    font-weight: 500;
    font-style: normal;
    background: white;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    height: 100%;
    background-color: white;
}

* {
    outline: none;
    margin: 0;
    padding: 0;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
}

a {
    text-decoration: none;
    color: black;
}



/**** Header ****/
/****************/

header {
    position: absolute;
    z-index: 10;
    margin-top: 25px;
    margin-left: 30px;
}


h1 {
    font-family: neue-haas-grotesk-display, sans-serif;
    text-transform: none;
    line-height: 2rem;
    font-size: 2rem;
    text-align: left;
    color: #445665;
    font-weight: 500;
}

h1:hover {
    opacity: 0.5;
}


/**** Swiper ****/
/****************/

.swiper-container {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #ffffff;

    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

img {
    max-width: 600px;
    max-height: 600px;
}


/**** Navigation ****/
/********************/

.swiper-button-next,
.swiper-button-prev {
    color: black;
    text-decoration: none;
    padding: 50px;
    font-size: 0.7rem;
    line-height: 1.1rem;
    letter-spacing: 0.04rem;

    color: #445665;
}


.swiper-button-next {
    margin-top: -75px;
    margin-right: -40px;
}

.swiper-button-prev {
    margin-top: -75px;
    margin-left: -40px;
    transform-origin: center;
    transform: rotate(180deg);
}

.swiper-button-prev:hover {
    opacity: 0.5;
}

.swiper-button-next:hover {
    opacity: 0.5;
}

.swiper-button-next:after {
    display: none;
}

.swiper-button-prev:after {
    display: none;

}


/**** Text ****/
/**************/

.text {
    position: absolute;
    left: 30px;
    bottom: 30px;
    margin-block-start: 0;
    margin-block-end: 0;
    color: #445665;
}

h3,
p,
a {
    padding: 0;
    margin: 0;
    text-align: left;
    line-height: 1;
}

h3 {
    text-transform: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.01rem;
    padding-bottom: 5px;
}

p {
    font-size: 0.7rem;
    line-height: 1.1rem;
    letter-spacing: 0.03rem;
}

.description {
    padding-top: 3px;
    font-style: italic;
}

a[href^="tel"] {
    color: inherit;
    /* Inherit text color of parent element. */
    text-decoration: none;
    /* Remove underline. */
    /* Additional css `propery: value;` pairs here */
}


/** Info page **/
/***************/

.wrapper {
    position: relative;
    box-sizing: content-box;
    width: 100%;
    min-height: 100%;
    background: #445665;
}

.wrapper .info {
    padding-top: 60px;
    height: auto;
    color: white;
    margin-left: 30px;
}

.wrapper p {
    position: relative;
    line-height: 2.4rem;
    font-size: 1.7rem;
    letter-spacing: 0.05rem;
    font-weight: 300;
}

.second {
    font-family: neue-haas-grotesk-display, sans-serif;
    text-transform: none;
    line-height: 2rem;
    font-size: 2rem;
    text-align: left;
    color: white;
    font-weight: 500;
}

.wrapper img {
    position: relative;
    margin-top: 100px;
    padding-bottom: 30px;
    width: 300px;
}

.wrapper img:hover {
    transform: none;
    /*
    transform: skewX(-5deg);
    transform-origin: left bottom;
*/
}


@media screen and (max-height:700px) {
    img {
        max-width: calc(100% - 150px);
        max-height: calc(100% - 150px);
    }

    .text {
        left: 20px;
        bottom: 20px;
    }

    header {
        margin-top: 15px;
        margin-left: 20px;
    }

    h1 {
        line-height: 2rem;
        font-size: 2rem;

    }

    .swiper-button-next {
        margin-right: -50px;
    }

    .swiper-button-prev {
        margin-left: -50px;
    }

    .wrapper p {
        line-height: 1.8rem;
        font-size: 1.4rem;
    }

    .wrapper .info {
        margin-left: 20px;
        padding-top: 100px;
    }

    .wrapper img {
        padding-bottom: 20px;
    }

}
