@import url('https://fonts.googleapis.com/css2?family=Fraunces:wght@700&family=Montserrat:wght@500;700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
}

html {
    font-size: 62.5%;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

:root {
    --white-color: #fff;
    --black-color: #000;
    --text-color: rgb(51, 51, 51);
    --neutral-text-color: #9c9c9c;
    --primary-color: #ee4b2b;
    --primary-color-rgba: rgb(238, 75, 43, 0.9);
    --gold-star-color: #FFCE3E;
    --blue-color: #1987ff;
    --navbar-height: 32px;
    --header-height: 120px;
    --header-with-search-height: calc(var(--header-height) - var(--navbar-height));
}

.section {
    margin: 70px 0;
}

.section-header {
    margin-bottom: 40px;
}

/* TRANSITION */

a, .btn {
    transition: all 300ms ease;
}

/* NAV */
nav, .desktop-nav__list {
    display: flex;
}

nav {
    justify-content: space-around;
    align-items: center;
    height: 17vh;
}

.desktop-nav__list {
    list-style: none;
    gap: 6rem;
    font-size: 2rem;
}

.desktop-nav__list a {
    text-decoration: none;
    color: var(--text-color);
}

.desktop-nav__list a:hover {
    color: #9c9c9c;
    text-decoration: underline;
    text-underline-offset: 1rem;
}

.desktop-nav__logo img {
    width: 100px;
    height: 60px;
}

.desktop-nav__logo:hover {
    cursor: default;
}


.hamburger-nav {
    display: none;
}

.hamburger-nav-menu {
    position: relative;
    display: inline-block;
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 24px;
    width: 30px;
    cursor: pointer;
}

.hamburger-nav__logo {
    font-size: 2.4rem;
}

.menu-links a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 2rem;
}

.menu-links a:hover {
    color: #9c9c9c;
    text-decoration: underline;
    text-underline-offset: 1rem;
}

.hamburger-icon span {
    width: 100%;
    height: 2px;
    background-color: var(--black-color);
    transition: all 0.3 ease-in-out;
}

.menu-links {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white-color);
    width: fit-content;
    max-height: 0;
    overflow: hidden;
    transition: all;
}

.menu-links a {
    display: block;
    padding: 10px;
    text-align: start;
    font-size: 2rem;
    color: var(--black-color);
    text-decoration: none;
    transition: all 0.3 ease-in-out;
}

.menu-links li {
    list-style: none;
}

.menu-links.open {
    max-height: 300px;
}

.hamburger-icon.open span:first-child {
    transform: rotate(45deg) translate(10px, 5px);
}
.hamburger-icon.open span:nth-child(2) {
    opacity: 0;
}
.hamburger-icon.open span:last-child {
    transform: rotate(-45deg) translate(10px, -5px);
}

.hamburger-icon span:first-child {
    transform: none;
}

.hamburger-icon span:first-child {
    opacity: 1;
}

.hamburger-icon span:first-child {
    transform: none;
}