@font-face {
    font-family: "Molle";
    src: url("fonts/Molle-Italic.woff2") format("woff2"),
        url("fonts/Molle-Italic.woff") format("woff");
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

*:focus {
    outline:#FBB518;
    box-shadow: 0px 0px 15px 7px rgba(251,181,24,1);
}

.sr-only {
	border: 0 !important;
	clip: rect(1px, 1px, 1px, 1px) !important;
	-webkit-clip-path: inset(50%) !important;
	clip-path: inset(50%) !important;
	height: 1px !important;
	margin: -1px !important;
	overflow: hidden !important;
	padding: 0 !important;
	position: absolute !important;
	width: 1px !important;
	white-space: nowrap !important;
}

body {
    margin:0;
    font-family: "Molle", cursive;
    color: white;
    background-image: url(img/milkywaybg.jpg);
    background-size: cover;
    background-attachment: fixed;
}

main {
    border:white 5px solid;
    background-color: black;
    width: 70vw;
    margin: auto;
    text-align: center;
    padding: 10px 10px 50px 10px;
}

button, input, ::placeholder {
    font-family: "Quicksand", sans-serif;
}

header {
    text-align: center;
}

.logo {
    margin: 10px auto;
    max-width: 300px;
}

main p {
    font-family: "Quicksand", sans-serif;
}

main h1 {
    font-family: "Molle", cursive;
    font-size: 3rem;
}

main h2 {
    font-family: "Molle", cursive;
    font-size: 2rem;
}

main .niveau1 {
    border:none;
    font-family: "Molle", cursive;
    display:block;
    width:fit-content;
    text-decoration: none;
    color: black;
    background-color: white;
    padding: 10px 20px;
    border-radius: 30px;
    box-shadow: 0px 0px 10px 5px rgba(255, 202, 89, 0.5);
    transition: ease 0.2s background-color;
}

main .niveau1:hover {
    background-color: #FBB518;
}

main .niveau2{
    font-family: "Quicksand", sans-serif;
    display:block;
    width:fit-content;
    text-decoration: none;
    color: white;
    background-color: black;
    padding: 10px 20px;
    border-radius: 30px;
    border:white solid 2px;
    transition: ease 0.2s background-color;
}

main .niveau2:hover{
    background-color:#0FA5C5;
    color:white;
}

/*sidenav*/

.sidenav {
    height: 100vh;
    width: 250px;
    position: fixed;
    z-index: 10;
    top: 0;
    right: -300px;
    background-color: #000000;
    padding-top: 80px;
    transition: 0.5s ease;
    text-align: center;
}

.sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #ffffff;
    display: block;
    transition: 0.3s;
    font-family: "Molle", cursive;
    margin-bottom: 20px;
}

.sidenav a:hover {
    background-color: #E6262F;
    padding-left: 10px;
}

.sidenav .current {
    background-color: #E6262F;
}

.sidenav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.sidenav.active {
    right: 0;
    box-shadow: -15px 0px 37px 1px rgb(255, 203, 89);
}

.close {
    width: 100vw;
    height: 100vh;
    z-index: 8;
    background-color: rgba(0, 0, 0, 0.634);
    position: fixed;
    top: 0;
    right: -1700px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.close.active {
    right: 0;
    opacity: 1;
}

.burger-icon span {
    display: block;
    width: 35px;
    height: 5px;
    background-color: rgb(255, 255, 255);
    margin: 6px 0;
}

.menu {
    width: fit-content;
    height: fit-content;
    margin-right: 20px;
    margin-top: 20px;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 9;
    transition: ease 0.3s;
    border-radius: 30px;
}

.menu:hover {
    background-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0px 0px 10px 10px rgba(255, 255, 255, 0.5);
}

.sidenav form{
    margin:auto;
    margin-bottom:10vh;
}

.sidenav input[type="search"]{
    width:80%;
    border:none;
    background-color:transparent;
    color:white;
    padding:3%;
    font-size:1rem;
    border-radius:15px;
}

.sidenav ::placeholder {
    color:white;
    font-style:italic;
    font-size:0.90rem;
}

.sidenav input[type="submit"]{
    color:white;
    background-color:transparent;
    border:white solid 2px;
    border-radius:15px;
    padding:3%;
    font-size:1rem;
    transition:all ease 0.2s;
}

.sidenav input[type="submit"]:hover{
    background-color:#E6262F;
    transform:translateY(-2px);
}

/*footer*/

footer {
    font-family:"Quicksand",sans-serif;
    background-color: #000000;
    color: white;
    margin-top:20vh;
    width:100vw;
    display:flex;
    align-items:center;
    padding:2vw;
}

footer a{
    text-decoration:none;
    color:white;
}

footer a:hover {
    text-decoration:underline;
}

footer .logo-link{
    width:15vw;
}

footer span {
    display:flex;
    gap:10px;
}

footer p {
    text-align:center;
    margin-left:auto;
    margin-right:auto;
}