@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;1,600&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
}
.logo{
  width: 235px;  
  cursor: pointer;
  margin-top: -10px;
}
.logo img{
  width: 100%;
}
.navbar{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    margin: auto;
    padding: 40px;
    display: flex;
    margin-top: 0px;
}
.active{
  color: yellow;
}
.nav-links{
  display: flex;
  align-items: center;
  margin-left: 20%;
}
.nav-links li{
  list-style: none;
  display: inline-block;
  margin: 0 35px;
  position: relative;
  cursor: pointer;
}
.nav-links li a{
  text-decoration: none;
  color: #fff;
  font-size: 20px;
}
.nav-links li a.active{
  color: #ffff00;
}
.nav-links li::after{
  content: '';
  height: 3px;
  width: 0;
  background: #009688;
  position: absolute;
  left: 0;
  bottom: -10px;
  transition: 0.5s;
}
.nav-links li:hover:after{
  width: 100%;
}
.news{
    background-color: #3a4452;
}
.menu-bar{
    position: absolute;
    top: 50px;
    right: 40px;
    width: 40px;
    cursor: pointer;
    display: none;
}
.cont_log{
    max-width: 700px;
    width: 100%;
    margin: 30px auto;
    box-shadow: inset 6px 6px 13px rgba(255,255,255,0.1), 6px 6px 13px rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    padding: 30px 20px;
    margin-top: 210px;
  }
  .log-in{
    max-width: 550px;
    width: 100%;
    margin: 0px auto;
    box-shadow: inset 6px 6px 13px rgba(255,255,255,0.1), 6px 6px 13px rgba(0, 0, 0, 0.2);
    border-radius: 27px;
    padding: 10px;
    text-align: center;
    margin-bottom: 0px;
    align-items: center;
  
  }
.log-in h1{
    color: #48ff00;
    font-weight: 800;
  }
  .cont_log .u_name{
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    width: 300px;
    width: 100%;
    margin:30px auto;
    box-shadow: inset 6px 6px 13px rgba(255,255,255,0.1), 6px 6px 13px rgba(0, 0, 0, 0.2);
    border-radius: 27px;
    padding: 10px;
  }
  .cont_log .u_name label{
    width: 180px;
    margin-right: 10px;
    font-size: 18px;
    font-weight: 600;
    color: #ffff00;
    padding: 10px 30px;
  }
  .cont_log .u_name input{
    width: 100%;
    outline: none;
    border: 1px solid #d5dbd9;
    font-size: 16px;
    padding: 8px 10px;
    transition: all 0.3s ease;
    border-radius: 8px;
  }
  .title_subm{
    width: 120px;
    padding: 5px;
    align-items: center;
    text-align: center;
  }
  .butt{
    font-size: 20px;
    font-weight: 700;
    padding: 8px 25px;
    border-radius: 25px;
  }
  .butt:hover{
    background-color: hsl(103, 87%, 24%);
    color: #fff;
    cursor: pointer;

}
.error{
  background: #d5dbd9;
  color: #3a4452;
  padding: 10px;
  width: 100%;
  border-radius: 5px;
  margin-top: 30px;
}
@media  (max-width: 800px){
  .logo{
    position: absolute;
    top: 40px;
    left: -15px;
    width: 140px;
    margin-left: 30px;
  }
  .navbar{
    padding: 0;
    margin-top: 10px;
  }
  .nav-links li{
    margin: 35px 20px;
  }
  .cont_log{
    max-width: 600px;
    margin-top: 120px;
  }
  .nav-links{
    margin-top: 22px;
  }
  .navbar{
    margin-top: -10px;
  }
}
@media  (max-width: 600px){
  .navbar{
    padding: 0;
  }
  .nav-links{
    flex-direction: column;
    width: 100%;
    height: 100vh;
    justify-content: center;
    background: rgb(128, 118, 119);
    margin-top: -900px;
    transition: all 0.5s ease;
    z-index: 9;
  }
.mobile-menu{
    margin-top: -10px;
    margin-left: 0;
    border-bottom-right-radius: 30%;
  }
  .nav-links li{
    margin: 20px 10px;
  }
  .menu-bar{
    display: block;
    z-index: 10;
  }
  .cont_log{
    min-width: 300px;
    margin: 20px auto;
    margin-top: 120px;
  }
  .news{
    padding: 10px;
  }
  .log-in h1{
    font-size: 18px;
  }
  .cont_log .u_name{
    flex-direction: column;
    align-items: flex-start;
  }
  .cont_log .u_name label{
    margin-bottom: 5px;
    margin-top: -10px;
    margin-left: 55px;
  }
  .cont_log .u_name input{
    margin-top: -5px;
  }
}