html, body{
    padding: 0;
    margin: 0;
    overflow-x: hidden;
    scroll-behavior: smooth;
    background-color:rgb(223, 223, 223);

}
body{
    overflow: hidden;
}

header{
    height: 10vh;
    width: 100vw;
    background-color: rgb(39, 39, 39);
    position: fixed;
    
    z-index: 100000;
}
.logo{
    width: 200px;
    height: 200px;
    background-color: rgb(39, 39, 39);
    margin-left: 5%;
    margin-top: 1%;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 100%;
}
.logo img{
    width: 100%;
    height: 100%;
}

.bar{
    position: relative;
    direction: rtl;
    min-height: 100vh;
    min-width: 100vh;
    height: 100vh;
    width: 100vw;
    padding-top: 10vh;
    background-color: blue;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.logo a{
    width: 75%;
    height: 75%;
    display: flex;
    justify-content: center;
    align-items: center;
    
    overflow: hidden;
    border-radius: 100%;
}

.bar img{
    direction: rtl;
    position: absolute;
    right: 0;
    top: 0%;
    max-width: 100vw;
    max-height: 100vh;
    min-width: 100%;
    min-height: 100%;
   overflow: visible;
    margin: auto;
}

nav{
   width: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: row;
}

.nav-container{
    width: 65%;
    height: 100%;
    margin-right: 2%;
    float: right;
    color: white;
    display: flex;
    
}
nav i{
    margin-right: 10px;
}
nav .nav-item{
    position: relative;
    height: 100%;
   font-size: 1.2rem;
    width: max-content;
    transition: .5s;
}

/* nav .nav-item-bewertung{
    width: 15%;
} */
nav .nav-item a{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-decoration: none;
    color: white;
}

nav .nav-item:hover{
    font-size: 1.2rem;
    transition: .5s;
    
}

/* nav .nav-item:hover .nav-item::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: red;
} */

.nav-item::before{
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 8px;
    width: 0;
    pointer-events: all;
   
    transition: .5s;
}


.nav-item:hover::before{
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 8px;
    width: 100%;
    border-bottom: 6px solid red;
   
    transition: .5s;
}


.inview{
    /* color: rgb(184, 7, 35) !important; */
}

.inview::before{
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 8px;
    width: 100%;
    border-bottom: 6px solid red;
   
    transition: .5s;
}

.nav-icon, .close{
    display: none;
}



@media only screen and (max-width: 900px) {
    nav {
      
      display: block;
      width: 0%;
      height: 100vh;
      position: absolute;
      right: 0;
      top: 0;
      background-color: gray;
      display: flex;
      justify-content: space-evenly;
      align-items: center;
      flex-direction: column;
      overflow: hidden;
      transition: .5s;
      
    }
    .nav-icon{

        height: 50px;
        width: 50px;
        display: block;
    
        display: flex;
        justify-content: center;
        align-items: center;
        border: 2px solid white;
        border-radius: 8px;
        overflow: hidden;
        transition: .5s;

    }
    .nav-icon:hover{
        transform: scale(1.1);
        transition: .5s;
    }
    .nav-item{
        height: 10% !important;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;

    }
    .nav-container{
        overflow: hidden;
        
        width: 80px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    header{
        
    }

    .show{
        width: 40%;
        transition: .5s;
        border-left: 4px solid white;
    }
    .close{
        display: block;
        
        width: 65px;
        height: 65px;
        margin-left: 2%;
        margin-top: 2%;
        display: flex;
        justify-content: center;
        align-items: center;
        border: 2px solid white;
        border-radius: 8px;

    }

    .logo{
        width: 100px;
        height: 100px;
    }
    .logo img{
        width: 75%;
        height: 75%;
    }
    .bar img{
        
    }
    
    
  }

  @media only screen and (max-width: 500px) {

    .bar img{
        right: 25%;
    }

  }