:root {
  --navbar-height:min(40px, 10vw);
  --body-height:calc(100% - var(--navbar-height));
  --XL-font-size:min(4.5vw, 18px);
  --L-font-size:min(4vw, 16px);
  --M-font-size:min(3.5vw, 14px);
  --S-font-size:min(3vw, 12px);
  --XS-font-size:min(2.5vw, 10px);
}

header {
  background-color: black;
  border-bottom: 1px solid grey;  
  width:100vw;
  position:sticky;
  left:0;
  top:0;
  z-index:1;
}

nav .top {
  display:flex;
  justify-content: space-between;
  align-items:center;
  width:100%;
  flex-wrap: wrap;
}

nav .navbar-title {
  font-size:var(--XL-font-size);
  font-weight:bold;
  color:white;
  padding-left:10%;
  white-space:nowrap;
}

#information-navbar {
  justify-content:space-around;
  display:none;
  background:#FFCD9B;
  color:black;
  font-size:var(--L-font-size);
  width:min(150px , 30%);
}

nav .list-item {
  width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
  background-color: #2B2D2F;
  display: none;
}

nav .list-item li {
  text-align: center;
  display: block;
  border-bottom: 1px solid grey;
  border-top:1px solid grey;
  padding-top:15px;
  padding-bottom:15px;
}

.break {
  flex-basis: 100%;
  height: 0;
}

nav .list-item li a {
  color: #EEE;
}

nav .list-item li:hover {
  background-color: brown;
}  

nav .icon {
  display: block;
  height:var(--navbar-height);
  aspect-ratio:1 / 1;
  overflow:hidden;
}

nav .toggle {
  margin-right: min(2.5vw, 10px);
  background: black;
  position: relative;
  height:80%;
  aspect-ratio:1 / 1;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-direction: column;  
  top:50%;
  transform:translateY(-50%);
  padding:0;
}    

nav .toggle .icon-bar {
  display:block;
  height:15%;
  aspect-ratio:6 / 1;
  transition: transform 0.2s ease-in-out;
  background-color: white;
} 

nav .toggle.opened .icon-bar:first-child,
nav .toggle.opened .icon-bar:last-child {
  position: absolute;
  margin: 0;
  height:18%;
}

nav .toggle.opened .icon-bar:first-child {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

nav .toggle.opened .icon-bar:nth-child(2) {
  opacity: 0;
}

nav .toggle.opened .icon-bar:last-child {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
}   

@media only screen and (min-width: 800px) {  
  nav .icon {
    display: none;
  }       
  
  nav .list-item {
    width: auto;
    height:100%;    
    padding-right:10%;
    display:flex !important;
    background:black;
    list-style-type: none;
    margin-block-start: 0;
    margin-block-end: 0;
  }
  
  nav .list-item li {
    padding-left: 15px;
    padding-right: 15px;
    font-size:var(--L-font-size);
    border-radius: 3px;
    border: none;
    padding-bottom: 0;
  } 
  
  .break {
    display:none;
  }
}   
        
@media only screen and (min-width: 1000px) and (max-height: 650px) {  
  header {
    width:200px;
    position:fixed;
  }      
  
  nav .top {
    height:100vh;
    flex-direction:column;
    justify-content: flex-start;
  }
  
  nav .navbar-title {
    padding-left: 0;
    text-align:center;
    height:40px;
    line-height:40px;
    order:1;
  }

  #information-navbar {
    width:200px;
    height:50px;
    flex-direction:column;
    align-items: center;
    order:3;
  }      

  nav .list-item {
    flex-direction:column;
    width: 100%;
    height:auto;
    padding-right:0;
    order:2;
  }
  
  nav .list-item li {
    padding-bottom: 15px;
  }      
}      
  
.loader {
  width: var(--L-font-size);;
  aspect-ratio:1 / 1;
  border: 2px solid #FFF;
  border-bottom-color: #FF3D00;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

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