:root{
    --background-color: #314453;
    --darker-background-color: #283848;
    --accent-color: #88e569;
    --text-color: #dae1d8c4;
    --link-color:#FFFFFF;
    --main-color: #ebd77e;
    --main-text-color: #220b94;
    --main-link-color: #61c36d;
    --navbar-height: 80px;

}


/* ANCHOR Fonts */
@font-face {
    font-family: "Ubuntu", monospace ;
    src: url(../fonts/UbuntuMono-Regular.ttf) forma("truetype") ;
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}





body{
    height:100%;
    width: 100%;
    margin: 0;
    padding: 0;
    --font: "Ubuntu", monospace;
    font-family: var(--font);
   
    --font-scale: 0.1vw;
    font-size: calc(1.0rem + var(--font-scale));

    background: var(--main-color);

    box-sizing: border-box;

}

nav{
    height:var(--navbar-height);
    width: 100%;
    background: var(--background-color);
    display: flex;
    justify-content: space-between;
    align-items: center;

    color: var(--text-color)
}
nav .logo{
    margin-left: 20px;
    font-family: var(--font);
    font-size: 25px;
    font-variant: small-caps;
    text-decoration: none;
}

nav ul{
    height:100%;
    display: flex;
    flex-direction: row;   
    justify-content:flex-end;
    align-items: center;
    list-style: none;
}
nav li{
    height:100%;
    width: 175px;
    text-align: center;
    position: relative;

    
}
nav li:hover{
    background: var(--accent-color);
    color: var(--link-color);
}


nav ul a{
    height:100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

    text-decoration: none;

    color: var(--text-color)
}

nav ul a:hover{
    color: var(--link-color);
}

.dropdown{
    height: min-content;
    width: 200px;
    background: var(--background-color);
    
    display: none;
    flex-direction: column;
    
    position: absolute;
    left: 0;
    top: var(--navbar-height);
}

.dropdown li{
    height: 60px;
    width: 100%;
}


.dropdown li a{
   justify-content: flex-start;
   padding-left: 20px;
   width: calc(100% - 20px);
}

nav li:hover .dropdown{
    display: flex;   
}


nav input[type="checkbox"]{
display: none;
}

.expandable_li{
    display: flex ;
    justify-content: center;
    align-items: center;
}
.toggle_button{
    width: 30px;
    height: 23px;
    position: absolute;
    top: 25px;
    right: 25px;

    display: none ;
    justify-content: space-between;
    flex-direction: column;
}
.bar{
    height: 4px;
    width: 100%;
    background: var(--text-color);
    border-radius: 100px;
}

@media(max-width: 82em){
    .toggle_button{
        display: flex ;
    }
    nav ul{
        height: min-content;
        width: 100%;
        background: var(--background-color);

        display:none;
        position: absolute;
        top: var(--navbar-height)

    }
    nav li{
        height: min-content;
        width: 100%;
    }
    nav ul a{
        padding: 20px 0;
    }
    .expandable_li{
        display: block;}
    
    .expandable_li label{
     padding: 20px 0;
     cursor: pointer;
     display:block
    }
    .expandable_li:hover .dropdown{
        display: none;
           }
    .expandable_li input[type="checkbox"]:checked ~ .dropdown{
        display: block;
    }
.dropdown{
    position: static;
    width: 100%;
}
.dropdown li{
   padding: 0;
   display:block;
   position: static;
   background: var(--darker-background-color);

    }
.dropdown li a{
    width: 100%;
    padding: 0;
    justify-content: center;
    color: var(--link-color);
}
#toggle_button:checked ~ ul{
    display: block;
}
}

main  {
    color: var(--main-text-color);
    margin-left: 20px;
    margin-right: 20px;  		
}

main hr{
     height: 2px;   
}

main a{
    text-decoration: none;
    color: var(--main-link-color)
}

main a:hover{
    color: var(--link-color);
}

footer {
	position: flex;
    bottom: 0%;
    width: 100%;
    height: 60px;
    
    background: var(--darker-background-color);
    color: var(--text-color)		
}

footer ul{
    
    display: flex;
    flex-direction: row;   
    justify-content: center;
    align-items: center;
    list-style: none;
     
}
footer li{
    width: 150px;
    text-align: center;
      
}
footer a{
    text-decoration: none;
    color: var(--text-color)
}
footer a:hover{
    background: var(--accent-color);
    color: var(--link-color)
}

.footer_bot {
	position: fixed;
    bottom: 0%;
    width: 100%;
    height: 60px;
    
    background: var(--darker-background-color);
    color: var(--text-color)		
}

.footer_bot ul{
    
    display: flex;
    flex-direction: row;   
    justify-content: center;
    align-items: center;
    list-style: none;
     
}
.footer_bot li{
    width: 150px;
    text-align: center;
      
}
.footer_bot a{
    text-decoration: none;
    color: var(--text-color)
}
.footer_bot a:hover{
    background: var(--accent-color);
    color: var(--link-color)
}
