body {
    margin: 0 auto;
    background-position: center;
    background-size: contain;
    background-color: #f5f5f5;
    font-family: "figtree", sans-serif;
    font-style: normal;
    color: #707070;
}

.svg-logo {
    height: 34px;
    width: 34px;
    margin: 33px;
}

.fa-bars {
    font-size: 26px;
}

h1 {
    font-weight: 900;
    font-size: 45px;
    margin: 0;
}

h2 {
    font-weight: 400;
    font-size: 30px;
}

p {
    font-weight: 300;
    font-size: 22px;
}

header {
    width: 100%;
    position: fixed;
    top: 0;
    background-color: #fff;
    height: 100px;
    z-index: 10;
    transition: 0.3s;
    &:hover {
        background-color: #000;
        .svg-logo {
            fill: #fff;
        }

        .svg-logo-black {
            fill: none;
        }
        
         .hamburger{
            color: #fff;
        }
    }
}

.header-white {
    background-color: white !important;
    &:hover {
        .svg-logo {
            fill: #000;
        }
    }
}

.menu {
    margin: 30px 60px 0;
    position: relative;
    display: inline-block;
    float: right;
}

.hamburger {
    font-size:35px;
    cursor:pointer
}

.sidenav {
    display: none;
    height: 100%;
    width: 38%;
    position: fixed;
    z-index: 1;
    top: 0;
    right: 0;
    background-color: #fff;
    overflow-x: hidden;
    padding-top: 150px;

    div {
        border-top: 1px solid #707070;
        width: 30px;
        margin: 10px 0px 10px 50px;
    }
}
  
.sidenav a {
    padding: 8px 8px 8px 50px;
    text-decoration: none;
    font-size: 25px;
    color: #707070;
    display: block;
}
   
.sidenav .closebtn {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 70px;
    margin-left: 50px;
}
  
.section-2 {
    min-height: calc(100vh - 100px);
    background-color: #e2e2e2;
    text-align: center;
    margin-top: 100px;
    display: flex;
    justify-content: center;
    align-items: center;

    .content {
        max-width: 55%;
    }
}

.section-3 {
    min-height: calc(100vh - 6rem);
    article {
        display: flex;
        & > div {
            height: 400px;
            margin-top: 5rem;
            margin-bottom: 5rem;
            flex: 1;
            display: flex;
            align-items: center;
            &:first-child {
                background-color: #969696;
                min-width: 50%;
            }
        }
        &.article-1 {
            & > div {
                margin-bottom: 0rem;
            }
        }
        &.article-2 {
            flex-direction: row-reverse;
        }
        .content {
            padding: 0rem 7rem 0rem 7rem;
            min-width: 390px;
        }
    }
    
}

.section-4 {
    background-color: #e2e2e2;
    min-height: calc(100vh - 6rem);
    align-content: space-around;
    justify-items: center;
    padding: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    h1 {
        font-size: 28px;
    }
    p {
        font-size: 18px;
    }
    article {
        &:nth-last-child(2) {
          width: 80%;
        }
    }
    article:not(:has(.select-holder)) {
        background-color: #969696;
        color: #fff;        
        width: 60%;
        position: relative;
        div {
            padding: 20px;
            flex: 1;
        }
        &:nth-last-child(6) {
            height: 300px;
        }
        &:nth-last-child(4) {
            height: 300px;
        }
        &:nth-last-child(3) {
            margin-left: -3rem;
            height: 200px;
        }
        &:nth-last-child(2) {
            height: 300px;
            margin-top: -10rem;
        }
        &:last-child {
            margin-left: -3rem;
            height: 200px;
            width: 100%;
        }
    }
}

.section-5 {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    margin-bottom: 10rem;
    h1 {
        font-size: 28px;
    }
    p {
        font-size: 18px;
    }
    article {
        background-color: #969696;
        color: #fff;
        max-width: 20%;
        margin: 3rem 2rem 1rem 2rem;
        padding: 20px;
        display: flex;
        button{
            color: #969696;
            background-color: #fff;
            position: absolute;
            bottom: 0;
        }
        div {
            position: relative;
        }
        .article-content {
            margin-bottom: 60px;
        }
    }
}

.section-6 {
    margin-bottom: 15rem;
}

.section-6 div {
    position: relative;
    height: 660px;
    width: 77%;
    margin: 0 auto;
    background-color: #e2e2e2;
}
.section-6 div div {
    width: 25%;
    height: 33%;
    margin-left: -29%;
    margin-top: -15%;
    position: absolute;
    top: calc(20%* var(--offset));
    left: calc(19%* var(--offset));

    &:nth-child(odd){
        background-color: #969696;
    }
    &:nth-child(even){
        background-color: #fff;
    }
}

button {
    font-weight: bold;
    border-radius: 10px;
    font-size: 18px;
    padding: 10px 50px 10px 50px;
    text-transform: uppercase;
    color: #fff;
    background-color: #969696;
    border: none;
}

.select-holder {
    position: relative;
    display: block;
    margin-left: auto;
    margin-right: auto;
    &::after {
        content: "\f0d7";
        display: block;
        position: absolute;
        pointer-events: none;
        font-family: "Font Awesome 6 Free";
        top: 0.75rem;
        right: 0.75rem;
        width: 32px;
        font-weight: 900;
        font-size: 36px;
        color: #000;
    }
}

select {
    font-size: 28px;
    text-align: center;
    padding: 1rem 0;
    border-radius: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 400px;
    &::after {
        content: '';
        display: block;
        position: absolute;
        pointer-events: none;
    }
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    width: 80%;
    height: -webkit-fill-available;
    p {
        margin: 0;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 36px;
    }
}

.close {
    color: #aaa;
    float: right;
    font-size: 70px;
    font-weight: 100;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
