html,body,h1,h2,h3,h4,h5,h6 {font-family: "Poppins", sans-serif}

body{
    margin: 0 auto;
    padding: 0;
    background-color: #222;
    color: aliceblue;
    
}

@keyframes change_color {
    0%{
        color: white;
    }
    50%{
        color: #007ced;    
    }
    100%{
        color: white;
    }
}

.loading{
    font: arial;
    position: fixed;
    width: 100%;
    top: 0px;
    bottom: 0px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    background-color: black;
}

.loading h1{
    color: #007ced;
    animation: change_color 3s linear infinite;
}


.loaded{
    width: 0px;
    height: 0px;
    left: 0px;
    top: 0px;
    display: none;
}

.wrapper{
    width: 100%;
    height: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-content:space-between;
}


footer{
    height: 40px;
    padding: 20px;
    margin-top: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(21, 21, 21);
}


hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #414040;
    margin: 1em 0;
    padding: 0;
}

.headerwrapper{
    display: flex; 
    flex-direction: row; 
    justify-content: space-between; 
    margin: 40px;
    margin-bottom: 10px;
}

.logowrapper{
    display:flex; 
    flex-direction:row; 
    align-items: center;
    justify-content:first baseline;
}

.logoframe{
    border-radius: 50%; 
    overflow: hidden; 
    padding: 20px;
}

.logo{
    border-radius: 50%; 
    width: 50px; 
    height: 50px;
    cursor: pointer;
    /* box-shadow: 0em 0em 0.5em rgb(219, 222, 234); */
    box-shadow: -2px 2px 10px rgb(219, 222, 234);
    animation: rotate_shadow 5s linear infinite;
}

/* @keyframes rotate_shadow {
    0%{
        box-shadow: -5px 5px 5px white;
    }
    25%{
        box-shadow: -5px -5px 10px white;
    }
    50%{
        box-shadow: 5px -5px 15px white;
    }
    75%{
        box-shadow: 5px 5px 10px white;
    }
    100%{
        box-shadow: -5px 5px 5px white;
    }
    
} */

@keyframes rotate_shadow {
    0%{
        box-shadow: 0px 0px 5px white;
    }
    50%{
        box-shadow: 0px 0px 20px rgb(219, 44, 44);
    }
    100%{
        box-shadow: 0px 0px 5px white;
    }
    
}


@keyframes rotate_menu {
    0%{
        transform: rotate(-10deg) scale(1);
    }
    25%{
        transform: rotate(0deg) scale(1);
    }
    50%{
        transform: rotate(5deg) scale(1);    
    }
    75%{
        transform: rotate(0deg) scale(1);
    }
    100%{
        transform: rotate(-5deg) scale(1);
    }
}

@keyframes rotate_burger_menu {
    0%{
        transform: rotate(random(0, 10)deg);
    }
    100%{
        transform: rotate(360deg);
    }

}

@keyframes expand_burger_menu {
    0%{
        transform: rotate(300deg);
    }
    100%{
        transform: rotate(360deg);
    }

}




.logotext{
    color:rgb(219, 222, 234); 
    font-size: 1.7em;
    text-shadow: 0em 0em 0.5em rgb(156, 184, 255);
}

.logotext_last{
    color:rgb(156, 184, 255); 
    font-size: 1.7em;
    text-shadow: 0em 0em 0.5em rgb(219, 222, 234);
}

.normalmenuwrapper{
    display:flex; 
    flex-direction:row; 
    align-items: center;
    justify-content: center;
    display: none;
}


.mobilemenuwrapper{
    flex-direction:column; 
    align-items: center;
    justify-content: center;
    display: block;
}

li{
    list-style-type: none;

}

.mobilemenuwrapper nav ul li{
    margin: 20px;

}

.mobilemenuwrapper nav ul li a{
    color:white;
    margin-right: 2.5rem;
    font-size: larger;
    font-weight: bolder;
    font-style: normal;
}

.mobilemenuwrapper nav ul li a:hover{
    color:#007ced;
    margin-right: 2.5rem;
}

.mobilemenuwrapper .mobilemenubutton{
    width: 35px;
    height: 35px;
    position: absolute;
    top:45px;
    right: 3%;
    z-index: 5;
    cursor: pointer;
    display: block;
}

.mobilemenuwrapper .mobilemenubutton span{
    display: block;
    background-color: #007ced;
    margin: 5px 0px;
    width:100%;
    height:3px;
}

.burgermenu_animation{
    animation: rotate_burger_menu 0.5s linear 1;
}

.mobilemenubutton:active{
    animation: rotate_burger_menu 0.5s linear 1;
}

.closemenu{
    margin: 10px;
    float: right;
}

.mobilemenu{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    justify-items: center;
    background-color: black;  
    opacity: 0.9; 
    position: fixed;
    right: 0px;
    top: 0px;
    z-index: 1500;
    display: none;
    animation: expand_burger_menu 0.1s linear 1;
    
    
}

.showmobilemenu{
    display: block;
}

.social{
    color: white;
    margin-right: 10px;
}

.menuanimation{
    animation: rotate_menu 0.5s ease-in-out 1;
}

.menuselected{
    color:white;
    background-color: #007ced;
    border-radius: 10%;
    padding: 0.2rem;
}

/* for desktop */
@media (min-width:800px) {
    .mobilemenuwrapper{
        display: none;
    }

    .mobilemenu{
        display: none;
    }

    .normalmenuwrapper{
        display: block;
    }

    .normalmenuwrapper nav ul li{
        display: inline-block;
    }

    .normalmenuwrapper nav ul li a{
        color:white;
        margin-right: 2.5rem;
        
        
    }

    .normalmenuwrapper nav ul li a:hover{
        color:cornflowerblue;
        margin-right: 2.5rem;
        
    }       
    
    
    

}



