@font-face {
    font-family: 'Minion Pro';
    src: url('../fonts/MinionPro-Regular.woff2') format('woff2'),
        url('../fonts/MinionPro-Regular.woff') format('woff'),
        url('../fonts/MinionPro-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gotham Book';
    src: url('../fonts/Gotham-Book.woff2') format('woff2'),
        url('../fonts/Gotham-Book.woff') format('woff'),
        url('../fonts/Gotham-Book.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

* {
    box-sizing: border-box;
}

html body {
    height: 100vh;
    padding: 0;
    margin: 0;
    background-image: url('../images/bs-bg.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    overflow-x: hidden;
    display: flex;
    justify-content: center;    
    align-items: center;
    color: rgba(255, 255, 255, .7);
    line-height: 1.5;
    font-family: "Gotham Book";
}

html body h1 {
    font-family: 'Minion Pro';
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1.5rem;
    font-size: 1.35rem;
    text-align: center;
    color: rgba(255, 255, 255, .7);
}

body a {
    color: rgba(255, 255, 255, .7);
    text-decoration: none;
}

body a:hover {
    text-decoration: underline;
}

img {
    width: auto;
    height: auto;
    max-width: 100%;
    display: block;
}

header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

header #logo {
    max-width: 110px;
}

header > nav {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    max-width: 95%;
    margin: 0 auto;
    padding: 4rem 1rem;
}

body main {
    max-width: 95%;
    padding: 0 1rem;
}

body main article {
    background-color: rgba(255, 255, 255, .1);
    padding: .8rem 1rem;
}

body main article p {
    margin: 0;
}

header > nav > ul,
header > nav > ul li {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

header > nav > ul {
    position: relative;
    display: flex;
    text-transform: uppercase;
    letter-spacing: 4px;
}

header > nav > ul li {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: .95rem;
}

#ourApproach article:last-child {
    top: 150px;
}

header > nav > ul li::after {
    content: url('../images/line.svg');
    margin: 0 1rem;
    opacity: .3;
}

header > nav > ul li:last-child::after {
    display: none;
}

header > nav > ul li article {
    position: absolute;
    top: 100%;
    opacity: 0;
    transition: all .3s ease-in-out;
    font-size: .8rem;
    max-width: 250px;
    min-width: 200px;
    padding-top: 40px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

header > nav > ul li article .article-wrap {
    background-color: rgba(255, 255, 255, .1);
    padding: .8rem 1rem;
    position: relative;
    left: -100%;
}

header > nav > ul li:hover article::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 0;
    background-color: #fff;
    animation: articleLine .4s ease-in-out forwards;
}

@keyframes articleLine {
    0% {
        height: 0;
    }

    100% {
        height: 100%;
    }
}

header > nav > ul li:hover article .article-wrap {
    animation: articleWrapIn .4s ease-in-out .4s forwards;
}

@keyframes articleWrapIn {
    0% {
        left: -100%;
    }

    100% {
        left: 0;
    }
}

header > nav > ul li article p {
    margin: 0;
    letter-spacing: initial;
    text-transform: initial;
}

header > nav > ul li:hover > article {
    opacity: 1;
}

.welcome-animation {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 2;
    background-image: url('../images/bs-bg.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.welcome-animation img {
    max-width: 500px;
    width: 90%;
}

@media only screen and (max-width: 1200px) {
    header > nav,
    body main {
        max-width: 98%;
    }

    header > nav {
        padding: 2rem 1rem 0 1rem;
    }
}

@media only screen and (min-width: 1101px) {
    #hamMenu {
        display: none;
    }
}

@media only screen and (max-width: 1100px) {
    html body,
    .welcome-animation {
        background-position: right -200px center;
    }

    header #logo {
        max-width: 70px;
    }

    html body h1 {
        letter-spacing: 1rem;
        font-size: 1.2rem;
    }

    header > nav > ul {
        display: none;
    }

    #hamMenu img {
        cursor: pointer;
    }

    #hamMenu nav {
        position: fixed;
        right: -100%;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(255, 255, 255, .85);
        transition: all .3s ease-in-out;
    }

    #hamMenu nav.opened {
        right: 0;
    }

    #hamMenu ul {
        margin: 0;
        padding: 0;
        list-style-type: none;
    }

    #hamMenu ul li a {
        font-size: 1.3rem;
        color: #000;
        text-transform: uppercase;
        display: flex;
        justify-content: center;
        padding: .5rem 0;
        font-weight: bold;
    }

    #hamMenu ul li a.active::before {
        content: url('../images/chevron.svg');
        margin-right: .5rem;
    }

    #hamMenu .close-list {
        cursor: pointer;
        display: flex;
        justify-content: flex-end;
        padding: 1rem 1.5rem;
        color: #000;
    }
}

@media only screen and (max-width: 767px) {
    html body {
        font-size: .85rem;
    }

    html body h1 {
        letter-spacing: 0.6rem;
        font-size: 1.1rem;
    }
}