@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

*{
    font-family:'Roboto',serif;
    font-weight:200;
}

html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: white;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-height:55px;

    background-color: rgb(62, 63, 65,0.9);
    backdrop-filter:blur(5px);
    color:white;

    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index: 1000;
    box-sizing: border-box;
}

footer {
    background-color: rgb(62, 63, 65);
    color:white;
    text-align:center;
    padding:20px;
}

nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
} 

.nava {
    color: white;
    position: relative;
    text-decoration: none;
}

.nava::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: #cacaca;
    transition: transform 0.25s ease-out;
    transform-origin: bottom center;
}

.nava:hover::after {
    transform: scaleX(1);
}

#sitelogo {
    height:30px !important;
    width:auto;
    padding-bottom:5px;

}

#sitelogo:hover{
    cursor:pointer;
}

#mailfoot:hover, #lifoot:hover, #ytfoot:hover{
    cursor:pointer;
}

footer p{
    margin:15px;
    font-weight:400;
}

#cr{
    font-size:15px;
    font-weight:100;
}

#subfoot{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
}

  .hamburger {
    display: none;
    font-size: 30px;
    cursor: pointer;
}


.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    align-items:center;
    justify-content:center;
}

#account{
    content:url(../../public/icons/account_circle.svg);
    padding:0px;
    margin:0px;
    vertical-align:middle;
}

#account:hover{
    cursor:pointer;
}
@media only screen and (max-width: 768px) {
    .nav-links {
        display: flex;
        flex-direction: column;
        background-color: rgb(62, 63, 65,0.9);
        position: absolute;
        top: 39px; 
        right: 0px;
        width: 200px;
        text-align: center;
        padding: 0px;
        border-radius: 0px;
        gap:0px;
        max-height: 0; 
        overflow: hidden;
        transition: max-height 0.6s ease-in-out, padding 0.4s ease-in-out;
    }
    
    .nav-links li {
        border-top:rgb(134, 134, 134) solid 0.5px;
        width:100%;
        padding: 20px;

    }

    .nava {
        font-size:20px;
        font-weight:200;
        padding:0px;
        
    }

    .nav-links.show {
        display: flex; 
        max-height:500px;
    }

    .hamburger {
        display: block; 
    }

    #nav-icon3 {
        width: 30px; 
        height: 20px; 
        position: relative;
        margin: 15px auto;
        transform: rotate(0deg);
        transition: .5s ease-in-out;
        cursor: pointer;
    }
    
    #nav-icon3 span{
        display: block;
        position: absolute;
        height: 2px;
        width: 100%;
        background: #ffffff;
        border-radius: 2px;
        opacity: 1;
        left: 0;
        transition: .25s ease-in-out;
    }
   
    #nav-icon3 span:nth-child(1) {
        top: 0px;
    }
    
    #nav-icon3 span:nth-child(2), #nav-icon3 span:nth-child(3) {
        top: 8px;
    }
    
    #nav-icon3 span:nth-child(4) {
        top: 16px;
    }
    #nav-icon3.open span:nth-child(1),
    #nav-icon3.open span:nth-child(4) {
        top: 8px;
        width: 0%;
        left: 50%;
    }
    
    #nav-icon3.open span:nth-child(2) {
        transform: rotate(45deg);
    }
    
    #nav-icon3.open span:nth-child(3) {
        transform: rotate(-45deg);
    }
    
    
}
