@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');
/*@import url('https://fonts.googleapis.com/css?family=Roboto&display=swap');*/
* {
    /*opacity: 100% !important;*/
    transition: .8s;
    font-family: 'Open Sans', sans-serif;
    font-size: 1.2vw;
    margin:0;
    padding:0;
}

body{
    height: 100%;
    opacity: 100% !important;
}

.background_picture{
    display: flex;
    flex-flow: column;
    height: 100vh;
    opacity: 0.85;
    box-shadow: rgb(38, 57, 77) 0 20px 30px -10px;
}

.central_picture {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-left: 1vw;

}
.central_picture > img {
    filter: brightness(0.1) invert(1)  drop-shadow(0.2mm 4mm 0.75rem rgba(92, 152, 225));
    backdrop-filter: blur(2px);

}
.center {
  display: block;
  text-align: center;
}

nav{
    margin: 0 auto;
    width: 60%;
}

ul{
    width: 80%;
    border-radius: 15px;
    box-shadow: 0 4px 30px rgba(0,0,0,.5);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    -webkit-animation: fade-in-bottom 0.9s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
    animation: fade-in-bottom 0.9s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}
.mainmenu_bg {
    background-color: rgba(250, 250, 250, 0.8);
}
.mainmenu_bg:hover {
    transition: 0.5s;
    /*box-shadow: 0 6px 0 deepskyblue;*/
    box-shadow: rgba(0, 122, 163) 0px 19px 38px, rgba(0, 122, 163) 0px 15px 12px;
}
.logout {
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}
/*fade-in animation for menu*/
@-webkit-keyframes fade-in-bottom {
  0% {
    -webkit-transform: translateY(50px);
            transform: translateY(50px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
  }
}
@keyframes fade-in-bottom {
  0% {
    -webkit-transform: translateY(50px);
            transform: translateY(50px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
      transform: translateY(0);
    opacity: 1;
  }
}

input {
    min-width: 20%;
    min-height: 20px;
}
.username {
    display: block;
    color: rgba(50, 55, 73, 0.9);
    padding: 8px 10px;
    word-wrap: break-word;
    box-sizing:border-box;
    text-transform: uppercase;
    background-color: rgba(250, 250, 250, 0.2);
    line-height: 4vh;
    border-radius: 15px 15px 0 0;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    letter-spacing: 1px;
}
li{
    display: block;
}

ul li a {
  display: block;
  box-sizing: border-box;
  text-decoration: none;
  line-height: 40px;
  width: 100%;
  text-transform: uppercase;
  color: rgba(20,20,20, 0.8);
  text-align: center;
  letter-spacing: 1px;
}

li a:hover {
    color: rgba(25,25,25);
    /*border-bottom: 1px solid rgba(88, 134, 173, 0.5);*/
    transition: all 0.5s;
    /*box-shadow: 8px 0 8px 0 rgba(88, 134, 173, 0.5);*/
}
.admin a:hover {
  /*background-color: white;*/
  color: red;
  /*border: 1px solid red;*/
  transition: all 0.5s;
}
.logout a:hover {
  /*background-color: white;*/
  color: black;
  /*border: 1px solid black;*/
  transition: all 0.5s;
}
li:last-child {
  border-bottom: none;
}
.active {
  /*background-color: #4CAF50;*/
  color: white;
}
.logo {
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;

}
@media (min-width: 800px) {

    li a {
      display: block;
      color: #000;
      padding: 10px 18px;
      text-decoration: none;
      letter-spacing: 1px;
  }
  ul {
      vertical-align: middle;
      list-style-type: none;
      margin: auto;
      /*padding: 5px;*/
      max-height: 100%;
      height: auto;
      max-width: 50%;
  }
  .central_picture {
    height: 35vh;
    opacity: 0.9;
  }
  .central_picture img {
    transform: scale(0.5, 0.5);
    -ms-transform: scale(0.5, 0.5);
    -webkit-transform: scale(0.5, 0.5);
  }
}
@media only screen and (max-width: 799px) {
    .username {
        font-size: 2em;
    }
    .central_picture img {
        transform: scale(0.25, 0.25);
        -ms-transform: scale(0.25, 0.25);
        -webkit-transform: scale(0.25, 0.25);
    }
    .central_picture {
    height: 35vh;
    }
    ul {
      vertical-align: middle;
      list-style-type: none;
      margin: auto;
      padding: 5px;
      max-height: 100%;
      height: auto;
      max-width: 80%;
    }
    li a {
    font-size: 3em;
    }
}

@media only screen and (max-width: 400px) {
    .central_picture img {
        -webkit-transform: scale(0.35, 0.35);
    }

    .central_picture {
        opacity: 0.9;
    }

    nav{
        margin: 20px auto;
        width: 95%;
    }

    li a {
    font-size: 3.5em;
    }

    .username{
        font-size: 2.8em;
    }
}

@media (max-width: 900px) and (orientation: landscape) {
    .central_picture img {
        -webkit-transform: scale(0.2, 0.2);
    }
    ul{
        /*height: 40vh;*/
        }
    nav{
        margin: 0 auto;
        width:100%;

    }

    ul li a{
        line-height: 10px;
        font-size: 1.3em;
    }
}

@media (max-width: 740px) and (orientation: landscape){
    .central_picture {
        opacity: 0.9;
    }

    .central_picture img {
        -webkit-transform: scale(0.2, 0.2);
    }

    nav{
        margin: 0 auto;
        width:100%;
    }

    ul li a{
        line-height: 23px;
        font-size: 1.4em;
        height: 100%;
    }

    .username{
        font-size: 1.2em;
    }
}

@media (max-height: 360px) and (orientation: landscape){
    nav li a{
        line-height: 19px;
        font-size: 1em;
    }
}
