* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    //font-family: 'Lato', sans-serif;
    font-family: "Libre Caslon Text", serif;
}

body, html {
    height: 100%;
    width: 100%;
    overflow-x: hidden;
}

.hero-section {
    /*background-image: url('../images/header.png');*/
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    color: #ffffff;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
    width: 50%;
    z-index: 1;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #683C10;
    background: linear-gradient(0deg,rgba(104, 60, 16, 0.7) 0%, rgba(104, 60, 16, 0.3) 100%);
    padding: 10px 20px;
    position: relative;
    z-index: 3;
}

.navbar .nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    z-index: 3;
}

.navbar .nav-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    height: 1px;
    transition: height 0.35s ease;
}

.navbar:hover .nav-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    height: 100%;
    z-index: 0;
}

.nav-left, .nav-right, .nav-left-left, .nav-right-right, .nav-left-right, .nav-right-left, .nav-logo-holder {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-left {
    order: 1;
}

.nav-logo-holder {
    order: 2;
}

.nav-right {
    order: 3;
}

.nav-left {
    padding-right: 80px;
}

.nav-right {
    padding-left: 80px;
}

.nav-left-left, .nav-right-left {
    justify-content: flex-start;
}

.nav-left-right, .nav-right-right {
    justify-content: flex-end;
}

.nav-left, .nav-right, .nav-right-left, .nav-left-right {
    width: 100%;
}

.navbar a {
    color: #ffffff;
    text-decoration: none;

    text-transform: uppercase;
    white-space: nowrap;
    transition: color 0.35s ease;
    font-family: "Instrument Sans", sans-serif;
}

.navbar a, .selector {
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
    padding: 6px 15px;
    border-radius: 20px;
}

.navbar:hover a {
    color: rgba(104, 60, 16, 1);
}

.navbar a:hover {
    color: #0063ba;
    background-color: rgba(104, 60, 16, 0.1);
}

.navbar i.bi::before {
    font-weight: bold !important;
}

.nav-logo-holder .nav-logo {
    position: absolute;
    transform: translateX(-50%);
    top: 5px;
    width: 90px;
    height: 90px;
    background-color: #ffffff;
    border-radius: 50% !important;
    border: 5px solid #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    transition: width 0.35s ease, height 0.35s ease, top 0.35s ease !important;
    padding: 0px !important;
}

.navbar:hover .nav-logo-holder .nav-logo {
    top: 0px;
    width: 95px;
    height: 95px;
}

.nav-logo-holder .nav-logo img {
    width: 100%;
    height: auto;
}

.selector {
    background: #ffffff;
    color: rgba(104, 60, 16, 1) !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.35s ease, background 0.35s ease !important;
}

.navbar:hover .selector {
    background: rgba(104, 60, 16, 1);
    color: #ffffff !important;
}

.selector:hover {
    background: #0063ba !important;
}

.hero-content {
    position: relative;
    top: max(50%, 160px);
    transform: translateY(-50%);
    width: 80%;
    margin: auto;
    z-index: 4;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.hero-content * {
    /*font-family: 'Playfair Display', 'Times New Roman', serif;*/
}

.subtitle {
    font-size: 32px;
    line-height: 0;
    text-transform: uppercase;
}

.title {
    font-size: 95px;
    font-weight: 400;
    margin-bottom: 40px;
    margin-left: -0.07em;
}

.tagline {
    font-size: 26px;
    font-weight: 300;
}

.slider-arrow {
    position: absolute;
    top: max(calc(50% + 30px), 160px);
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    border: none;
    color: white;
    width: 45px;
    height: 70px;
    cursor: pointer;
    border-radius: 25px;
    font-size: 18px;
    z-index: 5;
    transition: background 0.3s;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.6);
}

.slider-arrow.left {
    left: 20px;
}

.slider-arrow.right {
    right: 20px;
}

.page-section {
    border-top: 1px solid rgba(0, 0, 0, 0.12);
    background-color: #fff;
    color: #000;
    font-size: 14px;
}

.page-section-content {
    position: relative;
    margin: auto;
    width: 1200px;
    padding: 40px 0;
}

.page-section-title {
    display: inline-block;
    font-family: "Instrument Sans", sans-serif;
    font-size: 14px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 28px;
    padding: 12px 24px;
    margin-bottom: 40px;
}

.page-section-content h2 {
    font-size: 24px;
    font-weight: 400;
}

.partners {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
    padding: 40px 0;
}

.partners .partner {
    width: 222px;
    height: 64px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    padding: 12px;
}

.partners .partner img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-content {
    display: flex;
    flex: 0 0 1200px;
}

.footer-section {
    background-color: #576951;
    color: #ffffff;
    font-size: 14px;
    font-family: "Instrument Sans", sans-serif;
}

.footer-section .footer-holder, .footer-section .footer-holder-bottom {
    display: flex;
}

.footer-holder-bottom .footer-left, .footer-holder-bottom .footer-right {
    text-wrap: nowrap;
}

.footer-holder-bottom .footer-right {
    text-align: right;
}

.footer-section .footer-holder-bottom {
    background-color: rgba(0, 0, 0, 0.45);
    padding: 10px;
}

.footer-section div, .footer-section a, .footer-section p {
    color: #ffffff;
    text-decoration: none;
    font-family: "Instrument Sans", sans-serif;
}

.footer-section a:hover {
    color: #252f1f;
}

.footer-section ul.footer-socials {
    font-size: 38px;
}

.footer-section ul.footer-links, .footer-section ul.footer-socials {
    list-style: none;
    padding: 0;
}

.footer-section ul.footer-socials {
    display: flex;
    gap: 30px;
}

.footer-section ul.footer-links li, .footer-section ul.footer-socials li {
    margin-bottom: 17px;
}

.footer-section ul.footer-links a {
    display: block;
    text-transform: uppercase;
}

.footer-section p {
    margin-bottom: 23px;
}

.footer-left, .footer-right {
    flex: 1 1 0;
}

.footer-a, .footer-b, .footer-c, .footer-d {
    flex: 1 1 0;
    padding: 40px 40px 10px;
}

.footer-content .nav-logo {
    display: block;
}

.footer-content .nav-logo img {
    width: 70px;
}

.footer-content .nav-logo {
    margin-bottom: 20px;
}

.footer-a {
    text-align: right;
    background-color: rgba(255, 255, 255, 0.08);
}

.footer-b {
    background-color: rgba(255, 255, 255, 0.16);
}

.footer-c {
    background-color: rgba(255, 255, 255, 0.24);
}

.footer-d {
    background-color: rgba(255, 255, 255, 0.32);
}

.footer-holder .footer-right {
    background-color: rgba(255, 255, 255, 0.40);
}

@media (max-width: 1430px) {
    .nav-right-left, .nav-left-right {
        order: 2;
    }
    .nav-left-left, .nav-right-right {
        width: 100%;
    }
    .navbar {
        flex-direction: column;
        height: auto;
    }
    .nav-logo-holder .nav-logo {
        top: 30px;
    }
    .navbar:hover .nav-logo-holder .nav-logo {
        top: 25px;
    }

    .nav-left, .nav-right {
        flex-wrap: wrap;
        justify-content: center;
    }

    .subtitle {
        font-size: 24px;
    }
    .title {
        font-size: 70px;
    }
    .tagline {
        font-size: 22px;
    }
    .slider-arrow {
        position: absolute;
        top: max(calc(50% + 50px), 160px);
    }
}

@media (max-width: 1230px) {
    .page-section-content {
        width: 90%;
    }

    .footer-content .footer-left, .footer-content .footer-right {
        display: none;
    }

    .footer-content, .footer-content > *, .footer-holder-bottom .footer-right, .footer-holder-bottom .footer-left {
        flex-direction: column;
        flex: 100%;
        width: 100%;
        text-align: center;
    }

    .footer-section ul.footer-socials {
        width: auto;
    }

    .footer-section ul.footer-socials li {
        width: 100%;
    }

    .footer-section .footer-d {
        text-align: center;
    }

    .footer-holder-bottom .footer-left {
        margin-bottom: 10px;
    }
}

@media (max-width: 1024px) {
    .nav-left-right, .nav-right-left {
        display: none;
    }

    .subtitle {
        font-size: 21px;
    }
    .title {
        font-size: 60px;
    }
    .tagline {
        font-size: 22px;
    }
    .nav-right-left, .nav-left-right {
        flex-direction: column;
    }

    .nav-logo-holder .nav-logo {
        top: 5px;
    }

    .navbar:hover .nav-logo-holder .nav-logo {
        top: 0px;
    }
}
