/* GENERAL */


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


*{
    margin: 0;
    padding: 0;
}

body {
    font-family: "Montserrat", sans-serif;
}

html {
    scroll-behavior: smooth;
}

/* TRANSITION */

a, .btn {
    transition: all 0.3s ease;
}

/* DESKTOP */

nav, 
.nav-links {
    display: flex;
}

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

.nav-links {
    gap: 2rem;
    list-style: none;
    font-size: 1.5rem;
}

a {
    color:black;
    text-decoration: none;
    text-decoration-color: white;
}

a:hover {
    color: grey;
    text-decoration: underline;
    text-underline-offset: 1rem;
    text-decoration-color: red;
    text-decoration-thickness: 2px;
}

.logo {
    font-size: 4rem;
    font-weight: bold;
}

.logo:hover {
    cursor: default;
}

/* HAMBURGER MENU */

#hamburger-nav {
    display: none;
}

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

.hamburger-menu {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 1000;
}

.menu-links {
    z-index: 999;
}

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

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

/* .menu-links {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white; 
    width: fit-content;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
} */

.menu-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: white;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease-in-out;
}

.menu-links a {
    display: block;
    padding: 10px;
    color: black;
    text-align: center;
    font-size: 1.5rem;
    color: black;
    text-decoration: none;
    transition: all 0.3s ease-in-out;

} 

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

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


.menu-links.open {
    opacity: 1;
    pointer-events: auto;
}

.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
}



/* SECTIONS

section { 
    height: 96vh;
    margin: 0 1rem;
    box-sizing: border-box;
    min-height: fit-content;
}

.section-containter {
    display: flex;
}

*/