@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
html{
    font-family: 'Oswald';
    font-size: 18px;

}
body{
    min-height: 500px;
    background-color: #f2f2f2;
}
body::-webkit-scrollbar{
    width: 10px;
}
body::-webkit-scrollbar-thumb{
    background-color: #0099e6;
    border-radius: 8px;
}
body::-webkit-scrollbar-track{
    background-color: white;
    border-radius: 8px;
}

.subnav::-webkit-scrollbar{
    width: 10px;
}
.subnav::-webkit-scrollbar-thumb{
    background-color: #0099e6;
    border-radius: 8px;
}
.subnav::-webkit-scrollbar-track{
    background-color: white;
    border-radius: 8px;
}
#main{
    white-space: nowrap;
}

#header{
    height: 50px;
    background-color: #33bbff;
    display: flex;
    z-index: 3;
}

#logo img{
   height: 50px;
   padding-left: 20px;
   padding-right: 50px;
   padding-top: 5px;
   padding-bottom: 5px;
   margin-left: 20px;
}

#nav{
    display: inline-block;
    margin-left: 120px;
    margin-right: 10px;
}
#nav, .subnav{
    list-style: none;
}
#nav>li{
    display: inline-block;
}

#nav li{
    position: relative;
}

#nav li:hover .subnav{
    display: block;
}

#nav >li >a,#login a{
    color: white;
}

#nav li a, #login a{
    text-decoration: none;
    line-height: 50px;
    padding: 0 22px;
    display: block;
    border-radius: 8px;
}

#nav >li:hover> a,
#nav .subnav li:hover a, #login:hover a{
    color: black;
    background-color: #0099e6;
}

#nav .subnav{
    display: none;
    position: absolute;
    top:100%;
    left: 0;
    background-color: #80d4ff;
    max-height: 210px;
    overflow-y:auto;
    min-width: 160px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    z-index: 5;
}

#nav .subnav a{
    color: black;
}

.search{
   display: flex;
   align-items: center;
   margin-right: 0;
  
   
}

.search form{
    display: flex;
    margin: 0;
    margin-left: 50px;
}

.search .search-input{
   padding: 10px;
   border: 1px solid #ddd;
   outline: none;
   border-radius: 8px;
   margin-right: 10px;
   font-size: 16px;
}

.search .search-input:hover{
    border: 1px solid black;
}

.search .fa-magnifying-glass{
    padding: 10px;
    background-color: #fff;
    border-radius: 5px;
    color: #333;
    font-size: 19px;
    cursor:pointer;
}

.search form button[type="submit"]{
    border-radius: 8px;
    border: 1px solid #ddd;
}

.search .fa-magnifying-glass:hover{
    border: 1px solid black;

}

#login{
    margin-left: auto;
    margin-right: 10px;
    display: flex;
    align-items: center;
}

.fa-circle-user{
    margin-left: 10px;
}