@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@600&family=Fraunces:wght@700;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* font-family: 'Barlow', sans-serif; */
}

header {
    width: 100%;
    /* height: 50px; */
}


nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    position: fixed;
    z-index: 1;
    right: 0;
    left: 0;
}

.inner_links {
    width: 400px;
    display: flex;
    justify-content: space-between;

}

.inner_links li {
    padding: 10px;
}

.inner_links li:hover {
    cursor: pointer;
    background-color: hsla(198, 62%, 26%, 0.464);
    border-radius: 20px;
}

.header_content li {
    list-style: none;

}

.top_image {
    width: 100%;
    position: relative;
    height: 100vh;
    background: no-repeat center/cover url('../images/desktop/image-header.jpg');
    border: 2px solid green;
    position: relative;
}

.arrow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

}

.arrow h1 {
    font-size: 50px;
    color: white;
    text-align: center;
}

.arrow img {
    margin: 0 auto;
    display: block;
}

.second_section {
    display: flex;
    width: 100%;
}

.second_section_left {
    width: 50%;
    padding: 100px;
}

.second_section_left>h1 {
    font-size: 50px;
    font-weight: 900;
    font-family: 'Fraunces', serif;

}

.second_section_left>p {
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    margin-top: 30px;


}

.second_section_left a {
    color: black;
    font-size: 30px;
    margin-top: 50px;
    display: block;

}

.second_section_right {
    width: 50%;

}

.second_section_right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}



.fourth_section {
    display: flex;
}

.fourth_section_left,
.fourth_section_right {
    width: 50%;
    position: relative;
    text-align: center;
}

.fourth_section_left picture img,
.fourth_section_right picture img {
    width: 100%;
}

.fourth_section_left .fourth_section_left_inside,
.fourth_section_right .fourth_section_right_inside {
    position: absolute;
    bottom: 3rem;
    width: 70%;
    left: 50%;
    transform: translate(-50%, 0);
}

.fourth_section_left .fourth_section_left_inside h1,
.fourth_section_right .fourth_section_right_inside h1 {
    font-size: 30px;
    font-weight: 900;
    font-family: 'Fraunces', serif;


}

.fourth_section_left .fourth_section_left_inside p,
.fourth_section_right .fourth_section_right_inside p {
    margin-top: 40px;
    font-family: 'Barlow', sans-serif;
    font-weight: 600;
    font-size: 20px;
}


.fifth_heading {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 70px;
}

.fifth_section_inside {
    display: flex;
    padding: 100px;

}

.fifth {
    text-align: center;

}

.fifth p {
    margin-top: 40px;
    font-family: 'Barlow', sans-serif;
    font-weight: 600;
    font-size: 20px;
}

.fifth h1 {
    margin-top: 40px;
    font-family: 'Fraunces', serif;
    font-size: 25px;
    font-weight: 900;
}

.fifth h2 {
    font-family: 'Barlow', sans-serif;
    font-size: 15px;
    margin-top: 10px;

}

.fifth img {
    width: 60px;
    height: 60px;
    border-radius: 50%;

}

.sixth_section img {
    width: 100%;
}

.sixth_section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    width: 100%;
}



footer {
    padding-bottom: 50px;
    background-color: hsla(168, 34%, 41%, 0.612);
}

.footer_image {
    text-align: center;
    padding-top: 50px;

}

.footer_center {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.footer_center a {
    text-decoration: none;
    color: hsl(168, 36%, 30%);

}

.icons {
    display: flex;
    margin-top: 60px;
    justify-content: center;
    gap: 1rem;
    text-decoration: none;
}

.icons a {
    cursor: pointer;

}

@media (min-width:624px) {
    .hamburger .hambtn {
        display: none;
    }

}

@media (max-width:624px) {
    nav {
        flex-direction: column;
    }

    .hamburger {
        width: 100%;
        display: flex;
        justify-content: space-between;
    }

    .inner_links {
        flex-direction: column;
        width: 100%;
        text-align: center;
        font-size: 30px;

    }

    .inner_link li:hover {
        cursor: pointer;
    }

    .hambtn {
        position: relative;
    }

    .header_content {
        position: absolute;
        width: 85%;
        padding: 20px;
        background-color: white;
        top: 4rem;

    }

    .header_content::after {
        position: absolute;
        content: ' ';
        width: 30px;
        height: 30px;
        top: -1rem;
        right: 0;
        background-color: white;
        clip-path: polygon(100% 0, 0 100%, 100% 100%);

    }

    .hide {
        display: none;
    }

    .inner_links {
        align-items: center;
        justify-content: center;
    }

    .inner_links li {
        padding: 5px 5px !important;
        font-size: 1rem;
    }

    .inner_links li:hover {
        background-color: hsl(51, 100%, 49%);

    }

    .second_section {
        flex-direction: column;

    }

    .second_section_left {
        width: 100%;
        padding: 0;
    }

    .second_section_right {
        width: 100%;
    }

    .second_section_left a {
        text-align: center;

    }



    .third_section {
        flex-direction: column-reverse;

    }

    .fourth_section {
        flex-direction: column;
    }

    .fourth_section_left,
    .fourth_section_right {
        width: 100%;
    }

    .fourth_section_left .fourth_section_left_inside,
    .fourth_section_right .fourth_section_right_inside {
        position: absolute;
        bottom: 3rem;
        width: 100%;
        left: 50%;
        transform: translate(-50%, 0);
    }

    .fifth_section_inside {
        flex-direction: column;
        padding: 0;
    }

    .second_section_left>h1 {
        text-align: center;
        font-size: 40px;

    }

    .second_section_left>p {
        text-align: center;

    }
}