/* POPPINS FONT */

:root {

    /**
     * colors
     */
  
    --purple: hsl(282, 100%, 65%);
    --dark-purple-1: hsl(258, 90%, 31%);
    --dark-purple-2: hsl(258, 91%, 22%);
    --dark-purple-3: hsl(258, 95%, 14%);
    --light-steel-blue: hsl(217, 12%, 39%);
    --royal-blue-light: hsl(225, 68%, 53%);
    --royal-purple-light: hsl(288, 88%, 75%);
    --flickr-blue_30: hsla(225, 68%, 53%, 0.3);
    --carolina-blue: hsl(201, 92%, 47%);
    --carolina-purple: hsl(298, 100%, 50%);
    --oxford-blue-1: hsl(218, 70%, 18%);
    --oxford-blue-2: hsl(217, 100%, 12%);
    --oxford-blue-3: hsl(218, 71%, 11%);
    --gainsboro_50: hsla(0, 0%, 85%, 0.5);
    --lavender-web: hsl(225, 67%, 91%);
    --sonic-silver: hsl(0, 0%, 47%);
    --light-gray: hsl(0, 0%, 84%);
    --cultured: hsl(0, 0%, 97%);
    --black_10: hsla(0, 0%, 0%, 0.1);
    --black_8: hsla(0, 0%, 0%, 0.08);
    --white: hsl(0, 0%, 100%);
    --black: hsl(0, 0%, 0%);
    --jet: hsl(0, 0%, 20%);
  
    /**
     * gradient color
     */
  
    --gradient: linear-gradient( 90deg, var(--carolina-purple) 0%, var(--royal-purple-light) 100%);
    --gradientHover: linear-gradient( 90deg, var(--carolina-blue) 0%, var(--royal-blue-light) 100%);

      /**
   * typography
   */

  --ff-roboto: "Roboto", sans-serif;
  --ff-poppins: "Poppins", sans-serif;

  --fw-800: 800;
}  

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

*{  
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--ff-poppins);
    
}

.wrapper{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 110vh;
    
}
.nav{
    position: fixed;
    top: 0;
    display: flex;
    justify-content: space-around;
    width: 100%;
    height: 100px;
    line-height: 100px;
    background: linear-gradient(#fff, transparent);
    z-index: 100;
}

.nav-logo a{
    color: var(--carolina-purple);
    font-family: var(--ff-poppins);
    font-size: 3.4rem;
    font-weight: var(--fw-800);
}

.link:hover, .active{
    border-bottom: 2px solid var(--dark-purple-2);
}
.nav-button .btn{
    width: 130px;
    height: 40px;
    font-weight: 500;
    background: var(--gradient);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: .3s ease;
}
.btn:hover{
    background: var(--gradientHover);
}
#registerBtn{
    margin-left: 15px;
}
.btn.white-btn{
    background: var(--gradient);
}
.btn.btn.white-btn:hover{
    background: var(--gradientHover);
}

.form-box{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 512px;
    height: 650px;
    overflow: hidden;
    z-index: 2;
}
.login-container{
    position: absolute;
    left: 4px;
    width: 500px;
    display: flex;
    flex-direction: column;
    transition: .5s ease-in-out;
}
.register-container{
    position: absolute;
    right: -520px;
    width: 500px;
    display: flex;
    flex-direction: column;
    transition: .5s ease-in-out;
}
.top span{
    color: var(--purple);
    font-size: small;
    padding: 10px 0;
    display: flex;
    justify-content: center;
}
.top span a{
    font-weight: 500;
    color: var(--purple);
    margin-left: 5px;
}
header{
    color: var(--purple);
    font-size: 30px;
    text-align: center;
    padding: 10px 0 30px 0;
}
.two-forms{
    display: flex;
    gap: 10px;
}

fieldset {
    float: right;
  }

.input-field{
    font-size: 15px;
    background: var(--sonic-silver);
    color: var(--dark-purple-2);
    height: 50px;
    width: 100%;
    padding: 0 10px 0 45px;
    border: none;
    border-radius: 30px;
    outline: none;
    transition: .2s ease;
}
.input-field:hover, .input-field:focus{
    background: var(--light-gray);
}


.Pinput-field{
    font-size: 15px;
    background: var(--sonic-silver);
    color: var(--dark-purple-2);
    height: 50px;
    width: 100%;
    padding: 0 10px 0 45px;
    border: none;
    border-radius: 30px;
    outline: none;
    transition: .2s ease;
}
.Pinput-field:hover, .Pinput-field:focus{
    background: var(--light-gray);
}

.Rinput-field{
    font-size: 15px;
    background: var(--sonic-silver);
    color: var(--dark-purple-2);
    height: 50px;
    width: 100%;
    padding: 0 10px 0 45px;
    border: none;
    border-radius: 30px;
    outline: none;
    transition: .2s ease;
}
.Rinput-field:hover, .Rinput-field:focus{
    background: var(--light-gray);
}
::-webkit-input-placeholder{
    color: var(--dark-purple-2);
}
.input-box i{
    position: relative;
    top: -35px;
    left: 17px;
    color: var(--carolina-purple);
}
.submit{
    font-size: 15px;
    font-weight: 500;
    color: var(--dark-purple-2);
    height: 45px;
    width: 100%;
    border: none;
    border-radius: 30px;
    outline: none;
    background: var(--gradient);
    cursor: pointer;
    transition: .3s ease-in-out;
}
.submit:hover{
    background: var(--gradientHover);
    box-shadow: 1px 5px 7px 1px rgba(0, 0, 0, 0.2);
}

.ShowPassword {
    display: flex;
    color: var(--dark-purple-2);
    font-size: small;
    margin-top: 5px;
    gap: 5px;
    padding-bottom: 5px;
}

.two-col{
    display: flex;
    justify-content: space-between;
    color: var(--dark-purple-2);
    font-size: small;
    margin-top: 10px;
}
.two-col .one{
    display: flex;
    gap: 5px;
}
.two label a{
    text-decoration: none;
    color: var(--dark-purple-2);
}
.two label a:hover{
    text-decoration: underline;
}

#cookieNotice {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #008080;
    color: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: none;
    z-index: 1000; /* Ensure it's above other content */
    max-width: 300px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out; /* Add animation for smooth transition */
}

#cookieNotice.show {
    display: block;
    opacity: 1;
}

#cookieNotice h4 {
    margin: 0 0 10px 0;
}

#cookieNotice p {
    margin: 0 0 15px 0;
}

#cookieNotice a {
    color: #115cfa;
}

#cookieNotice button {
    background-color: white;
    color: #008080;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

#cookieNotice button:hover {
    background-color: #f0f0f0;
}

@media only screen and (max-width: 786px){
    .nav-button{
        display: none;
    }
    .nav-menu.responsive{
        top: 100px;
    }
    
    
}
@media only screen and (max-width: 540px) {
    .wrapper{
        min-height: 100vh;
    }
    .form-box{
        width: 100%;
        height: 500px;
    }
    .register-container, .login-container{
        width: 100%;
        padding: 0 20px;
    }
    .register-container .two-forms{
        flex-direction: column;
        gap: 0;
    }
}