

/* GENERAL */

@import url('https://fonts.googleapis.com/css2?family=Google+Sans+Code:ital,wght@0,300;1,300&display=swap');
* {
    margin: 0;
    padding: 0;
}

body {
     font-family: "Google Sans Code", monospace;
     font-optical-sizing: auto;
     font-weight: 300;
     font-style: normal;
     background-color: #ffffff;
     color: #000000;
}
html {
    scroll-behavior: smooth;
}
p {
    color: rgb(0, 0, 0);
}


/* TRANSITION */

a, button {
    transition: all 300ms ease;
}

/* DESKTOP NAV */

nav,
.nav-links {
    display: flex;
}
nav {
    justify-content: space-around;
    align-items: center;
    height: 40vh;
}
.nav-links {
    gap: 1rem;
    list-style: none;
    font-size: 1rem;
}
a {
    color: #000000;
    text-decoration: none;
    text-decoration-color: #ffffff;
}
a:hover {
    color: #000000;
    text-decoration: none;
    text-decoration-color: #000000;
}
.logo {
    font-size: 1;rem;
}
.logo:hover {
    cursor: default;
}
/* hamburger menu */
#hamburger-nav{
    display: none;
}
.hamburger-menu{
    position:relative;
    display: inline-block;
}
.hamburger-icon{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 20px;
    width: 30px;
    cursor: pointer;
}
.hamburger-icon span{
    height: 1px;
    width: 100%;
    background-color: #000000;
    transition: all 0.3 ease-in-out;
}
.menu-links{
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #ffffff;
    width: fit-content;
    max-height: 0%;
    overflow: hidden;
    transition: all 0.3 ease-in-out;
}
.menu-links a {
    display: block;
    padding: 10px;
    text-align: center;
    font-size: 1rem;
    color: #000000;
    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(1){
    transform: rotate(45deg) translate(10px, 5px);
}
.hamburger-icon.open span:nth-child(2) {
    opacity: 0;
}
.hamburger-icon.open span:last-child(3){
    transform: rotate(-45deg) translate(10px, -5px);
}
.hamburger-icon span:first-child(1) {
    transform: none;
}
.hamburger-icon span:first-child(1) {
    opacity: 1;
}
.hamburger-icon span:first-child(1) {
    transform: none;
}
