* {
  margin: 0%;
  padding: 0%;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  width: 100%;
  overflow-x: hidden;
  background-image: url('../images/backgound-picture.avif');

  background-size: cover;
  background-repeat: round;

}

/* Main container */
#main2{
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  position: relative;

}
#main {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.nocopy {
  user-select: none;
  /* For most browsers */
  -webkit-user-select: none;
  /* For Safari */
  -moz-user-select: none;
  /* For Firefox */
}

/* Navigation bar */
nav {
  height: 70px;
  width: 100%;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.068);
  /* backdrop-filter: blur(60px); */
  font-size: 1rem;
  justify-content: space-between;
}


/* Logo section */
.logo {
  height: 100%;
  padding: 0 3vw;
  display: flex;
  align-items: center;
  justify-content: center;
  /* background-color: blue; */
  color: white;

}

/* middle side of the navigation */
.nav-mid {
  height: 100%;
  width: 40%;
  /* background-color: rgb(141, 136, 127); */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2vw;
  font-size: 22px;
  text-decoration: none;
}

/* Navigation links */
.nav-mid>a {
  text-decoration: none;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5),
      3px 3px 6px rgba(0, 0, 0, 0.3),
      4px 4px 8px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  /* Ensure the text color contrasts with the shadow */

}

.nav-mid a {
  position: relative;
  transition: color 0.3s ease;
  margin: 0 10px;
}

.nav-mid a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: #e9f5fa;
  transition: width 0.6s ease;
}

.nav-mid a:hover {
  color: #edfdfa;
  font-weight: bold;
}

.nav-mid a:hover::after {
  width: 100%;
}

/* Right side of the navigation */
.nav-right {
  height: 100%;
  width: 25%;
  display: flex;
  justify-content: flex-end;
  /* background-color: blue;   */
  padding-right: 3%;
  align-items: center;
  gap: 1.5vw;
  font-size: 23px;
  flex-shrink: 0;
  /* background-color: rgb(240, 240, 211); */
}

/* Navigation links */
.nav-right>a {
  text-decoration: none;
  /* color: #807BFF; */
  /* color: rgb(153, 132, 132); */
  font-size: 20px;
  margin: 0 10px;
}

#navbar {
  position: fixed;
  top: 0;
  width: 100%;
  transition: top 0.3s;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.068);
  backdrop-filter: blur(60px);
  -webkit-backdrop-filter: blur(60px);
}

.nav-mid,
.nav-right {
  display: flex;
  align-items: center;
}

/* Menu button */
#menuButton {
  background-color: transparent;
  border: none;
  font-size: 24px;
  /* color: #807BFF; */
  color: white;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.login-btn {
  padding: 10px 30px;
    background: rgba(30, 136, 229, 0.95); /* Deep royal blue */
    border: 2px solid rgba(25, 118, 210, 1);
    color: white;
    font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  
  overflow: hidden;
  transition: background-color 0.3s, color 0.3s;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.login-btn:hover {
  background: rgba(25, 118, 210, 1); /* Slightly darker shade */
  box-shadow: 0 4px 10px rgba(30, 136, 229, 0.5);
  color: #fff;
}

.login-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s, height 0.5s;
}

.login-btn:hover::after {
  width: 200px;
  height: 200px;
}

.login-btn:active {
  transform: scale(0.95);
}

/* Responsive adjustments */
@media (max-width:1231px) {
  .nav-mid{
    width: fit-content;
    font-size: 1rem;
    /* background-color: red; */
    gap: 1vw;
  }
  .nav-right{
    width: 30%;
  }
}


@media (max-width: 930px) { /* Tablet */
  nav{
    height: 55px;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
  }

  .nav-right{
    padding-right: 0;
    height: 100%;
    
    /* background-color: blue; */
    font-size: 1px;
    gap: 7px;
   
  }
  .nav-right>a{
    font-size: 1rem;
  }
  .login-btn {
    padding: 8px 20px;
   font-size: 10px;
    border-radius: 8px;
    /* background-color: rgb(236, 175, 42); */
    
   
  }
  /* .login-btn::after {
    width: 150px;
    height: 150px;
  } */

}
@media (max-width: 815px) {
  .nav-mid{
    display: none;
  }
}

@media (max-width: 770px) {
  .nav-right{
    width: fit-content;
  }
  .nav-mid{
    display: none;
  }
  .nav-right>a{
    font-size: 1rem;
  }
}
@media (max-width: 390px) {
  .nav-right{
    width: fit-content;
    gap: 5px;
  }
  .hide2{
    display: none;
  }
  
}
.profile-btn, .logout-btn {
  padding: 10px 30px;
  border-radius: 8px;
  color: white;
  border: none;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  font-size: 14px;
}
.profile-btn{
background: rgba(0, 153, 255, 0.85); /* Brighter blue with slight transparency */
border: 1px solid rgba(0, 153, 255, 0.7);
color: white;
}
.logout-btn{
  background: rgba(255, 50, 50, 0.85); /* Vibrant red with slight transparency */
  border: 1px solid rgba(255, 50, 50, 0.7);
  color: white;
}

.profile-btn:active, .logout-btn:active {
  transform: scale(0.95);
}


.username {
  font-size: 15px;
  margin-right: 10px;
  color: white;
  font-weight: bold;
}
.userlogo{
  display: none;
}
@media (max-width: 1040px) { /* Tablet */
  .username{
    display: none;
  }
  .profile-btn, .logout-btn {
    padding: 8px 20px;
    font-size: 10px;
     border-radius: 8px;
  }
  .nav-right>a{
    font-size: 1rem;
  }
}

@media (max-width: 460px) {
  .hide {
      display: none;
  }
  .userlogo{
    display: inline;
  }
}
    
    
     /* regsiter new user */
     #new-user{
        height: 130vh;
       
       
        width: 100%;
        /* background-color: rgb(214, 203, 203); */
    
        /* background-color: #21cf0a; */
        position: relative;
        /* background-color: red; */
       
        
      }
      #new-user-left{
        height: 100%;
        width: 100%;
        /* backdrop-filter: blur(50px); */
        /* background-color: rgb(119, 81, 11); */
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        padding-top: 3rem;
      }
      #new-user-left-container{
       /* padding: 30px 20px; */

        width: 50%;
        height: 90%;
        /* background-color: blueviolet; */
        background-color: rgba(255, 255, 255, 0.308);
        /* backdrop-filter: blur(100px); */
        /* -webkit-backdrop-filter: blur(10px); */
        box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
        border: 1px solid rgba(255, 255, 255, 0.18);
        position: relative;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      border-radius: 3vw;
    
      padding-top: 2rem;
      padding-bottom: 3vh;
    

      }
    
    
      .new-user-form {
        width: 80%;
        /* background-color: #c76e6e; */
      display: flex;
      flex-direction: column;
      margin: 2px 5vh;
      align-self: center;
    }
    
    .new-user-form h2 {
      font-size: 18px;
      margin-bottom: 8px;
      /* color: #333; */
      color: white;
    }
    
    .new-user-form input[type="text"],
  .new-user-form input[type="email"],
  .new-user-form input[type="password"],
  .new-user-form select {
    padding: 13px;
    margin-bottom: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    background-color: #F2F2F2;
    width: 90%;
  
  }
    
    .new-user-form textarea {
      resize: vertical;
      min-height: 100px;
    }
    
    .new-user-form input[type="submit"] {
      background-color:#bad13a;
      color: #fff;
      border: none;
      padding: 10px;
      border-radius: 4px;
      font-size: 20px;
      cursor: pointer;
      transition: background-color 0.3s ease;
      width: 90%;
    }
    /* select wala portion */
    
    /* Styling for select dropdown */
    select {
        width: 80%;
        padding: 10px;
        font-size: 16px;
        border: 1px solid #ccc;
        border-radius: 4px;
        margin-bottom: 16px;
        box-sizing: border-box;
    }
    /* select wala portion */
    
    
    
    .new-user-form input[type="submit"]:hover {
      background-color: #21cf0a;
    }
    .getin-touch{
      font-size: 40px;
      font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
      /* margin-left: 3vw; */
      align-self: center;
      margin-bottom: 0.1vh;
      /* margin-top: 2vh; */
      color: white;
    }
    
      #new-user-right{
        height: 100%;
        width: 50%;
        /* background-color: rgb(146, 139, 125); */
        position: relative;
        display: none;
      }
      #new-user-img-container{
        height: 66%;
        width: 43%;
        position: absolute;
        /* background-color: black; */
        overflow: hidden;
        top: 14%;
        left: 10%;
      }
     #new-user-img-container>img{
      height: 100%;
      width: 100%;
      object-fit: fill;
     } 
    
     
     .google-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      background-color: #fff;
      color: #757575;
      border: 1px solid #dadce0;
      border-radius: 50px;
      padding: 10px 15px;
      font-size: 14px;
      font-weight: 500;
      cursor: pointer;
      transition: background-color 0.3s, box-shadow 0.3s;
      width: 100%;
      max-width: 300px;
      align-self: center;
      margin-bottom: 2vh;
      /* margin: 15px 14%; */
    
  }
    
    .google-btn:hover {
      /* background-color: #cbf0f0; */
      scale: 1.02;
      box-shadow: 0 1px 2px 0 rgba(60,64,67,0.3), 0 1px 3px 1px rgba(60,64,67,0.15);
    }
    
    .google-icon {
      width: 18px;
      height: 18px;
      margin-right: 10px;
    }
    .google-btn:active{
    scale: 0.95;
    }
    #bottom-text{
      width: 90%;
      align-self: center;
    }


    
@media (max-width: 1200px){
  #new-user-left-container{
    width: 60%;
  }
}

@media (max-width: 1000px){
  #new-user-left{
    width: 100%;
    padding-top: 1rem;
  }
  #new-user-right{
    display: none;
  }
  #new-user-left-container{
    width: 70%;
    padding-bottom: 5vh;
  }
}

@media (max-width: 750px){
  #new-user-left-container{
    width: 85%;
  }
  .new-user-form{
    width: 90%;
  }
  #bottom-text{
    width: 90%;
  }
}


@media (max-width: 600px){
  .getin-touch{
    font-size: 2rem;
  }
}

@media (max-width: 500px){
  #new-user-left-container{
    width: 95%;
  }
  .getin-touch{
    font-size: 1.5rem;

  }
  .google-btn{
    width: 80%;
  }
}