
* {
    padding: 0;
    margin: 0;
  
    box-sizing: border-box;
  
    font-family: "Poppins";
  }

  /* Navigation Bar Section */

  #navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.6); 
    color: white;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 100;
    transition: background-color 0.3s ease;
    margin-bottom: 20px;
  }
  
  
  .logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  
  #navbar .logo-container img {
    width: 40px; 
    height: auto;
    border-radius: 5px;
  }
  
  
  #navbar .logo-name {
    font-size: 24px;
    font-weight: bolder;
    color: white;
    font-family: 'Arial', sans-serif;
    text-shadow: 2px 2px 4px rgb(34,193,195);
  }
  
 
  #navbar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px; 
  }
  
  #navbar ul li {
    display: inline-block;
  }
  
  #navbar ul li a {
    color: white;
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
    padding: 10px;
    transition: color 0.3s ease, background-color 0.3s ease;
    border-radius: 5px;
  }
  
 
  #navbar ul li a:hover {
    color:rgb(34,193,195); 
    background-color: rgba(255, 255, 255, 0.2); 
  }
  
  
  #navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.8); 
  }
  
  
  header {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.2)),
      url(https://images.pexels.com/photos/1775043/pexels-photo-1775043.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1);
    background-position: center;
    background-size: cover;
    width: 100%;
    height: 100vh;
  }
  #home {
    display: flex;
  
    text-align: center;
    flex-direction: column;
    padding: 220px 200px;
    color: #fff;
    justify-content: center;
    align-items: center;
  
    text-align: center;
  }
  
  /* Sign In and Sign Up Section */


  *,
  *:before,
  *:after {
      box-sizing: border-box;
      margin-top: 0;
      padding: 0;
  }
  

  
  input,
  button {
      border: none;
      outline: none;
      background: none;
      font-family: 'Open Sans', Helvetica, Arial, sans-serif;
  }
  
  .tip {
      font-size: 20px;
      margin: 40px auto 50px;
      text-align: center;
  }
  
  .cont {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    width: 900px;
    height: 550px;
    margin: 0 auto 100px;
    background: rgba(255, 255, 255, 0.2); 
    backdrop-filter: blur(10px); 
    box-shadow: -10px -10px 15px rgba(255, 255, 255, 0.3), 
                10px 10px 15px rgba(70, 70, 70, 0.15), 
                inset -10px -10px 15px rgba(255, 255, 255, 0.3), 
                inset 10px 10px 15px rgba(70, 70, 70, 0.15);
}
.cont h2{
font-size: 50px;
font-weight: bold;
color: #fff;
text-shadow: 2px 2px 4px rgb(34,193,195);

}
  
  .form {
      position: relative;
      width: 640px;
      height: 100%;
      -webkit-transition: -webkit-transform 1.2s ease-in-out;
      transition: -webkit-transform 1.2s ease-in-out;
      transition: transform 1.2s ease-in-out;
      transition: transform 1.2s ease-in-out, -webkit-transform 1.2s ease-in-out;
      padding: 50px 30px 0;
  }
  
  .sub-cont {
      overflow: hidden;
      position: absolute;
      left: 640px;
      top: 0;
      width: 900px;
      height: 100%;
      padding-left: 260px;
      background: lightgray; 
      backdrop-filter: blur(10px); 
      box-shadow: -10px -10px 15px rgba(255, 255, 255, 0.3), 
                10px 10px 15px rgba(70, 70, 70, 0.15), 
                inset -10px -10px 15px rgba(255, 255, 255, 0.3), 
                inset 10px 10px 15px rgba(70, 70, 70, 0.15);
      -webkit-transition: -webkit-transform 1.2s ease-in-out;
      transition: -webkit-transform 1.2s ease-in-out;
      transition: transform 1.2s ease-in-out;
      transition: transform 1.2s ease-in-out, -webkit-transform 1.2s ease-in-out;
  }
  
  .cont.s--signup .sub-cont {
      -webkit-transform: translate3d(-640px, 0, 0);
      transform: translate3d(-640px, 0, 0);
      border-radius: 10px;
  }
  
  button {
      display: block;
      margin: 0 auto;
      width: 260px;
      height: 36px;
      border-radius: 30px;
      color: #fff;
      font-size: 15px;
      cursor: pointer;
  }
  
  .img {
      overflow: hidden;
      z-index: 2;
      position: absolute;
      left: 0;
      top: 0;
      width: 260px;
      height: 100%;
      padding-top: 360px;
  }
  
  .img:before {
      content: '';
      position: absolute;
      right: 0;
      top: 0;
      width: 900px;
      height: 100%;
      background-image: url("ext.jpg");
      opacity: .8;
      background-size: cover;
      -webkit-transition: -webkit-transform 1.2s ease-in-out;
      transition: transform 1.2s ease-in-out;
      transition: transform 1.2s ease-in-out, -webkit-transform 1.2s ease-in-out;
  }
  
  .img:after {
      content: '';
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.6);
  }
  
  .cont.s--signup .img:before {
      -webkit-transform: translate3d(640px, 0, 0);
      transform: translate3d(640px, 0, 0);
  }
  
  .img__text {
      z-index: 2;
      position: absolute;
      left: 0;
      top: 50px;
      width: 100%;
      padding: 0 20px;
      text-align: center;
      color: #fff;
      -webkit-transition: -webkit-transform 1.2s ease-in-out;
      transition: -webkit-transform 1.2s ease-in-out;
      transition: transform 1.2s ease-in-out;
      transition: transform 1.2s ease-in-out, -webkit-transform 1.2s ease-in-out;
  }
  
  .img__text h2 {
      margin-bottom: 10px;
      font-weight: normal;
  }
  
  .img__text p {
      font-size: 14px;
      line-height: 1.5;
  }
  
  .cont.s--signup .img__text.m--up {
      -webkit-transform: translateX(520px);
      transform: translateX(520px);
  }
  
  .img__text.m--in {
      -webkit-transform: translateX(-520px);
      transform: translateX(-520px);
  }
  
  .cont.s--signup .img__text.m--in {
      -webkit-transform: translateX(0);
      transform: translateX(0);
  }
  
  .img__btn {
      overflow: hidden;
      z-index: 2;
      position: relative;
      width: 100px;
      height: 36px;
      margin: 0 auto;
      background: transparent;
      color: #fff;
      text-transform: uppercase;
      font-size: 15px;
      cursor: pointer;
  }
  
  .img__btn:after {
      content: '';
      z-index: 2;
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      border: 2px solid #fff;
      border-radius: 30px;
  }

  .img__btn:hover{

    cursor: pointer;
    color: rgb(34,193,195);
    transform: scale(1.05);

  }
  
  .img__btn span {
      position: absolute;
      left: 0;
      top: 0;
      display: -webkit-box;
      display: flex;
      -webkit-box-pack: center;
      justify-content: center;
      -webkit-box-align: center;
      align-items: center;
      width: 100%;
      height: 100%;
      -webkit-transition: -webkit-transform 1.2s;
      transition: -webkit-transform 1.2s;
      transition: transform 1.2s;
      transition: transform 1.2s, -webkit-transform 1.2s;
  }
  
  .img__btn span.m--in {
      -webkit-transform: translateY(-72px);
      transform: translateY(-72px);
  }
  
  .cont.s--signup .img__btn span.m--in {
      -webkit-transform: translateY(0);
      transform: translateY(0);
  }
  
  .cont.s--signup .img__btn span.m--up {
      -webkit-transform: translateY(72px);
      transform: translateY(72px);
  }
  
  h2 {
      width: 100%;
      font-size: 26px;
      text-align: center;
      color: black;
  }
  
  label {
      display: block;
      width: 260px;
      margin: 25px auto 0;
      text-align: center;
  }
  
  label span {
      font-size: 12px;
      color: black;
      text-transform: uppercase;
  }
  
  input {
      display: block;
      width: 100%;
      margin-top: 5px;
      padding-bottom: 5px;
      font-size: 16px;
      border-bottom: 1px solid rgba(0, 0, 0, 0.4);
      text-align: center;
  }
  
  .forgot-pass {
      margin-top: 15px;
      text-align: center;
      font-size: 12px;
      color: #fff;

  }

.forgot-pass:hover {
cursor: pointer;
color: rgb(34,193,195);
transform: scale(1.05);

}
  
  .submit {
    background-color: rgb(22, 22, 94); 
    color: #fff; 
    border: none; 
    padding: 8px 10px; 
    border-radius: 5px; 
    font-size: 16px; 
    cursor: pointer; 
    transition: background-color 0.3s ease, transform 0.3s ease; 
    margin-top: 10px;
}

.submit:hover {
    background-color: rgb(34,193,195); 
    transform: scale(1.05); 
}
  .fb-btn {
      border: 2px solid #d3dae9;
      color: #8fa1c7;
  }
  
  .fb-btn span {
      font-weight: bold;
      color: #455a81;
  }
  
  .sign-in {
      -webkit-transition-timing-function: ease-out;
      transition-timing-function: ease-out;
  }
  
  .cont.s--signup .sign-in {
      -webkit-transition-timing-function: ease-in-out;
      transition-timing-function: ease-in-out;
      -webkit-transition-duration: 1.2s;
      transition-duration: 1.2s;
      -webkit-transform: translate3d(640px, 0, 0);
      transform: translate3d(640px, 0, 0);
  }
  
  .sign-up {
      -webkit-transform: translate3d(-900px, 0, 0);
      transform: translate3d(-900px, 0, 0);
  }
  
  .cont.s--signup .sign-up {
      -webkit-transform: translate3d(0, 0, 0);
      transform: translate3d(0, 0, 0);
  }