@import url('https://fonts.googleapis.com/css2?family=Londrina+Solid&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,200;0,300;0,400;0,500;1,100;1,400&display=swap');

*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}

body{
    background-color: #ffffff;
    min-height: 100vh;
    font-family: 'Poppins', sans-serif;


}

header{
    position: fixed;
    top: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
}

.logo{
    height: 60px;
    line-height: 60px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 20px;
}

#toggle{
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: white;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
}

#toggle::before{
    content: '';
    position: absolute;
    width: 28px;
    height: 3px;
    background: #e51a46;
    transform: translateY(-5px);
    transition: 0.2s;
}



#toggle::after{
    content: '';
    position: absolute;
    width: 28px;
    height: 3px;
    background: #e51a46;
    transform: translateY(5px);
    transition: 0.2s;
}

#toggle.active::before{  
    transform: translateY(0px) rotate(45deg);
    background: white;
}

#toggle.active::after{  
    transform: translateY(0px) rotate(-45deg);
    background: white;
}

#toggle.active{
    background: #e51a46; 
       
}

#navbar{
    position: relative;
    height: 60px;
    right: 60px;
    background: white;
    transition: 0.5s;
    /*depends*/
    
    overflow: hidden;
}

#navbar.active{
    
}

.ng_font{
    font-family: 'Londrina Solid', cursive;
}

#navbar ul {
    position: relative;
    display: flex;
    flex-direction: row;    
}

#navbar ul li{
    list-style: none;
}

#navbar ul li a{
    color: #e51a46;
    height: 60px;
    line-height: 60px;
    display: inline-block;
    text-decoration: none;
    font-size: 1.5em;
    padding: 0 15px;
    letter-spacing: 1px;
    white-space: normal;
    transform: translateY(5px);
    transition: 0.2s;
    transition-timing-function: ease-out;
}

#navbar ul li a:hover{
    
    border-bottom:1px solid #e51a46;
    transform: translateY(0px) rotate(-2deg);
}
   

.title {font-family: 'Londrina Solid', cursive;}

@media (max-width:900px){
    #navbar{
        position: fixed;
        bottom:-100%;
        right:0;
        width:100%; 
        transition: 0.5s;
        display: flex;
        justify-content: center;
        align-items: center;        
        font-size: 1.8em;
    }
    #navbar.active{
        height: 80%;
        bottom: 0px;
    }

    #navbar ul{
        flex-direction: column;
        justify-content: start;
        align-items: center;
    }
}

@media (min-width:900px){
    #toggle {
        display: none;
    }
}