.main {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 90vh;

}

.create-account {
    display: flex; /* Enables centering */
    height: 500px;
    width: 400px;
    justify-content: center; /* Centers content horizontally */
    align-items: center; /* Centers content vertically */
    
    position: absolute;
    transform: translateY(-50px);

}

.close-signup {
    position: absolute;
    top: 22px;
    right: 220px;
    width: 24px;
    height: 24px;
    transition: all 150ms ease;
}
.close-signup:hover {
    transform: scale(1.05);
}

.create-account.shown {
    display: flex;
}
.sign-up {
    display: flex;
    flex-direction: column;
    border: 1px solid none;
    border-radius: 2rem;
    width: 400px;
    align-items: center;
    padding: 2rem;
    background-color: white;
}
.get-started {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: -1rem;
    margin-top: -1rem;
    flex-direction: column;
}
.get-started h1{
    font-weight: 900;
    font-size: 3rem;
    color: #052C63;
}
.sign-up-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.get-started::after {
    content: '';
    width: 330px; /* Width of the line */
    height: 1px; /* Thickness */
    background: linear-gradient(135deg, #457b9d, #1d3557); /* Gradient line */
    margin: 15px auto 15px; /* Centered below the text */
    border-radius: 2px; /* Slightly rounded edges */
}

.details{
    display: flex;
    flex-direction: column;
    padding: 2rem;
    justify-content: center;
}
.details-input p{
    color: #a5a5a5;
    font-weight: 600;
}
.details-input{
    margin: 1rem;
}
.user-name {
    display: flex;
    gap: 2rem;
    margin-top: -2rem;
    margin-bottom: -1rem;
}

.input-container {
    position: relative;
    margin: 20px 0;
    width: 150px;
}

.input-container input {
    border: none;
    border-bottom: 2px solid #ccc;
    outline: none;
    font-size: 16px;
    padding: 5px 0;
    transition: border-color 0.3s ease;
}

.input-container input:focus {
    border-bottom: 2px solid #007BFF; /* Blue underline on focus */
}

.input-container label {
    position: absolute;
    top: 5px;
    left: 0;
    font-size: 14px;
    color: #aaa;
    pointer-events: none;
    transition: all 0.3s ease;
}

.input-container input:focus + label,
.input-container input:not(:placeholder-shown) + label {
    top: -15px;
    font-size: 12px;
} 

input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    outline: none;
    transition: border-color 50ms ease-in-out;
  }
  input:focus {
    border-color: #2196f3;
  }
  
  .password-container {
    position: relative;
    width: 332px;
    user-select: all;
  }
  #email, #password {
    width: 100%;
  }

  #showPassword, #showConfirmPassword {
    position: absolute;
    background: none;
    border: none;
    cursor: pointer;
    text-align: center;
  }
  #showConfirmPassword {
    bottom: 21px;
    right: 10px
  }
  #showPassword {
    right: 10px;
    top: 41px;
  }

.make-account {
    margin-top: -1.25rem;
    position: relative;
}

.sign-up-divider {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 10px;
}
    .sign-up-divider span {
    content: '';
    display: block;
    width: 145px; /* Width of the line */
    height: 1px; 
    background: linear-gradient(135deg, #457b9d, #1d3557); /* Gradient line */
    border-radius: 2px; /* Slightly rounded edges */
    }

.google-sign-up.btn.btn-3{
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 310px;
    height: 45px;
}
.google-sign-up:hover {
    transform: scale(1.01) translateY(-5%);
}
.google-sign-up .icon {
    width: 24px;
    height: 24px;
}
.btn-3 {
    padding: 0.75rem;
    border: 1px solid transparent;
    background-color: #F6F6F6;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* IF HE ALREADY HAS AN ACC IT DIRECTS THEM TO THE LOGIN PAGE */
    .signUp-footer a, .login-footer a {
        position: relative;
        font-size: 12px;
        top: 15px;
        color: black;
    }
    .signUp-footer a:hover, .login-footer a:hover{
        color: #007BFF;
        transition: all 150ms ease;
    }
    .login-footer {
        width: 100%;
        display: flex;
        justify-content: space-around;
    }
