@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap');
:root {
    --brand-yellow: #fff9ae;
    --brand-light-grey: #d7d7d7;
    --brand-light-grey-2: #ebebeb;
}
body {
    font-family: "Roboto Condensed", sans-serif;
    margin: 0;
}
.logo {
    position: fixed;
    z-index: 1;
    left: 0;
    right: 0;
    top: 0;
    background-color: white;
    width: 100vw;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo i {
    display: inline-block;
    width: 152px;
    height: 41px;
    background: url("hvbvill-logo.png");
}

header {
    position: fixed;
    z-index: 2;
    left: 0;
    right: 0;
    top: 80px;
    max-width: 1220px;
    margin: auto;
}

/* Layout */
main {
    margin-top: 120px;
}
.container {
    max-width: 1220px;
    margin: auto;
}

/* menu */
.menu {
    max-width: 100%;
    margin: 0;
    display: flex;
    padding: 0;
}

.menu a {
    flex-basis: calc(100%/3);
    background-color: var(--brand-light-grey);
    padding: 0;
    color: #333333;
    text-decoration: none;
    font-size: 17px;
    text-align: center;
    text-transform: uppercase;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.menu a:hover,
.menu a:active,
.menu a:visited {
    color: #333333;
    text-decoration: none;
}

.menu a:hover,
.menu a.active {
    background-color: var(--brand-yellow);
}
/* Main page */
.slick-dotted.slick-slider.slider {
    margin-bottom: 0;
}

.section-top {
    position: relative;
}

.slide {
    position: relative;
}

.slide .image {
    position: relative;
}

.slide .image:before {
    display: block;
    content: "";
    width: 100%;
    padding-top: calc(20 / 31 * 100%);
}

.slide .image img,
.slide .image picture {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
}

.main-page-text-box {
    background-color: var(--brand-yellow);
    padding: 30px 25px;
    color: #333333;
    font-size: 16px;
}

.slick-prev {
    left: 10px;
    z-index: 1;
}
.slick-prev:before {
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-right: 40px solid rgb(255, 255, 255, 0.7);
    font-size: 0;
}

.slick-next {
    right: 30px;
    z-index: 1;
}
.slick-next:before {
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 40px solid rgb(255, 255, 255, 0.8);
    font-size: 0;
}

.slick-dots {
    bottom: 10px;
}

.slick-dots li button:before {
    font-size: 0;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: #ffffff;
}

@media only screen and (min-width: 992px) {
    .menu a {
        font-size: 24px;
    }

    main {
        margin-top: 120px;
    }

    .main-page-text-box {
        position: absolute;
        bottom: 0;
        right: 0;
        width: 80%;
        font-size: 19px;
        padding: 25px 40px;
    }

    .slide .image:before {
        display: none;
    }

    .slide .image img,
    .slide .image picture {
        position: relative;
        top: unset;
        right: unset;
        bottom: unset;
        left: unset;
    }

    .slide img {
        max-height: unset;
    }

    .slick-dots {
        bottom: 110px;
    }
}

/* Sections */
.main-section-bottom,
.contact-section {
    display: flex;
}

/* main page */
.main-section-bottom {
    flex-direction: column-reverse;
}

.main-section-bottom .content-right {
    position: relative;
}

.main-section-bottom .content-right:before {
    display: block;
    content: "";
    width: 100%;
    padding-top: calc(20 / 31 * 100%);
}

.main-section-bottom .content-right img,
.main-section-bottom .content-right picture {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
}

@media only screen and (min-width: 992px) {
    .main-section-bottom {
        flex-direction: row;
    }

    .content-left,
    .content-right {
        flex-basis: 50%;
    }

    .main-section-bottom .content-right:before {
        display: none;
    }

    .main-section-bottom .content-right img,
    .main-section-bottom .content-right picture {
        position: relative;
        top: unset;
        right: unset;
        bottom: unset;
        left: unset;
    }
}

.main-section-bottom .content-left {
    background-color: #ebebeb;
    padding: 30px 25px;
}

.content-left h2 {
    text-transform: uppercase;
    margin: 0;
}

.content-left ul {
    padding-left: 20px;
}

.content-left li {
    font-size: 16px;
}

.content-left li::marker {
    font-size: 13px;
}

/* Contact */
.contact-section {
    display: flex;
    flex-direction: column;
}
.contact-section img,
.contact-section picture {
    display: block;
}

.contact-section .content-left {
    display: flex;
    flex-direction: column-reverse;
}

.content-left .contact-box {
    background-color: var(--brand-yellow);
    padding: 30px 25px;
    font-size: 16px;
}

.contact-box a {
    text-decoration: none;
    font-weight: 500;
    color: black;
}

.contact-box b {
    font-weight: 500;
}

.social,
.contact {
    flex-basis: 50%;
}

.social {
    font-size: 16px;

}
.social a {
    font-size: 16px;
    text-decoration: none;
    font-weight: 500;
    color: black;
}
.fb-icon {
    display: inline-block;
    width: 21px;
    height: 21px;
    background: url("./face1.png");
    position: relative;
    top: 5px;
    margin-right: 3px;
}
.contact-section .content-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-section .image-wrapper {
    position: relative;
}

.contact-section .image-wrapper:before {
    display: block;
    content: "";
    width: 100%;
    padding-top: calc(20 / 31 * 100%);
}

.contact-section .image-wrapper img,
.contact-section .image-wrapper picture {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
}

.contact-section .content-right .contact-box {
    background-color: var(--brand-light-grey-2);
    padding: 30px 25px;
    font-size: 16px;
    display: flex;
    flex-basis: 50%;
}

.contact-section .content-right .contact-box .contact{
    text-align: right;
}
.contact-bottom {
    background-color: var(--brand-light-grey);
    padding: 30px 25px;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
}

.contact-bottom p {
    margin: 0 0 5px 0;
}

@media only screen and (min-width: 992px) {
    .main-section-bottom .content-left {
        padding: 30px 40px;

    }

    .contact-section {
        flex-direction: row;
    }

    .content-left li {
        font-size: 19px;
        padding-left: 15px;
    }

    .contact-section .content-left {
        display: block;
    }

    .contact-section .image-wrapper:before {
        display: none;
    }
    .content-left .contact-box {
        font-size: 19px;
        padding: 25px 40px;
    }

    .contact-section .content-right .contact-box {
        font-size: 19px;
        padding: 25px 40px 25px 20px;
    }

    .contact-section .image-wrapper img,
    .contact-section .image-wrapper picture {
        position: relative;
        top: unset;
        right: unset;
        bottom: unset;
        left: unset;
        width: 100%;
    }

    .social {
        font-size: 19px;

    }
    .social a {
        font-size: 19px;
    }

    .contact-bottom {
        display: flex;
        justify-content: space-around;
        padding: 10px 25px;
        font-size: 19px;
    }

    .contact-bottom p {
        margin: 0;
    }
}

/* References */
.reference {
    position: relative;
}

.reference picture,
.reference img {
    display: block;
}

.reference .image:before {
    display: block;
    content: "";
    width: 100%;
    padding-top: calc(20 / 31 * 100%);
}

.reference .image img,
.reference .image picture {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
}


.reference .text {
    background-color: var(--brand-yellow);
    padding: 30px 25px;
    color: #333333;
    font-size: 16px;
    text-align: right;
}

.reference-2 .text,
.reference-4 .text {
    right: unset;
    left: 0;
    background-color: var(--brand-light-grey);
    bottom: 0;
    right: 0;
    text-align: left;
}

@media only screen and (min-width: 992px) {
    .reference .image:before {
        display: none;
    }

    .reference .image img,
    .reference .image picture {
        position: relative;
        top: unset;
        right: unset;
        bottom: unset;
        left: unset;
    }
    .reference .text {
        position: absolute;
        bottom: 0;
        right: 0;
        width: 80%;
        font-size: 19px;
        padding: 25px 40px;
    }
}