@import url('https://fonts.googleapis.com/css2?family=Prata:wght@400;500;600;700');

:root {
    --primary-color: #2bcbba;
    --light-color: #d8d4ed;
    --grey-color: #687080;
    --red-color: #ff4757;
    --flashwhite-color:#f1f2f6;
    --white-color: #fff;
    --dark-color: #11152a;
    --blue-color: #5368f4;
    --green-color: #00B074;
   
   --primary-font: 'Montserrat', sans-serif;
   --second-font: 'prata', serif;
   --fs14: 14px;
   --fw600: 600;
   --gutter: 30px;
   
   --transition-color: color .3s;
   --transition-background: background-color .3s;
   --transition-border: border .3s;
   --transition-transform: transform .3s;
   
   --shadow: 0px 10px 20px 0px rgb(0 0 0 / 20%);
   --fade: fade-bottom .3s cubic-bezler(0.39, 0.575, .0565, 1) both;
   }

   .nav-item.nav-link i {
    font-size: 15px;
    color: var(--dark-color);
    background-color: var(--green-color);
   }

   *,::before,::after {
	box-sizing: border-box;
}
.body2 a {
    text-decoration: none;
}
.body2 {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 480;
    line-height: 1.8;
    color: var(--dark-color);
    background-color: #efefef;
}
.body2 h2 {
    font-size: 3em;
    font-weight: 480;
    line-height: 1.2;
    color: white;
    margin-bottom: 20px;
}
.body2 ul {
    list-style: none;
}

/*---------------------*
    APPLICATION FORM
*----------------------*/

/* Existing styling for big screens */
.main-container {
    display: block;
}

.main-container .wrapper {
    display: block;
    margin-bottom: 64px
}

.main-container .wrapper .wrap {
    display: block;
    margin: 0 15%;
    justify-content: center;
    margin-top: 34px;
}

.main-container .wrapper .wrap p {
    text-align: center;
    line-height: 1.4;
}

.main-container .wrapper .wrap h2 {
    text-align: center;
    line-height: 1.4;
}

.wrap form {
    margin-top: 64px;
}

.wrap form textarea {
    width: 100%;
    border: 1px solid var(--grey-color);
}

.wrap form textarea:focus,
.wrap form textarea:hover,
.wrap form textarea:active {
    transition: all 0.3s var(--transition-background), var(--transition-border);
    border: 2px solid var(--green-color);
    outline: var(--green-color);
}

.wrap form input {
    width: 100%;
    border-top: none;
    border-left: none;
    border-right: none;
    border-width: 1px;
    border-color: var(--grey-color);
    transition: border-color 0.3s ease, transform 0.3s ease; /* Added horizontal transition */
}

.wrap form input:focus::placeholder {
    display: block;
    visibility: visible;
    transition: opacity 0.3s ease; /* Added transition for placeholder */
}

.wrap form input::placeholder {
    visibility: hidden;
}

.wrap form input:focus {
    outline: none;
    border-top: none !important;
    border-color: var(--green-color); /* Change border color on focus */
    transform: scaleX(1); /* Add horizontal scaling effect on focus */
    border-bottom:2px solid var(--green-color);
}

.wrap form input:hover {
    border-bottom:2px solid var(--green-color);
    transition: border-color 0.3s ease, transform 0.3s ease; /* Added horizontal transition */
    transform: scaleX(1.02); /* Add horizontal scaling effect on hover */
}

form .wrap-name1 {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap; /* Wrap items on smaller screens */
    margin-bottom: 64px;
}

@media screen and (min-width: 768px) {
    .wrap-name1:not(.wrap-age) .wrapper {
    width: 48%;
    margin-bottom: 0; /* Remove the margin-bottom for each wrapper */
    }
}

.wrap-name1.wrap-age {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        margin-top: 30px
} 

.button > [class*=-btn] {
    font-size: var(--fs14);
    font-weight: var(--fw600);
    text-transform: uppercase;
    padding: 0 30px;
    display: inline-block;
    line-height: 42px;
    border-width: 2px;
    border-style: solid;
    transition: var(--transition-background),
                var(--transition-color),
                var(--transition-border);
}

.primary-btn,
.secondary-btn {
    border-color: var(--green-color);
}

.primary-btn:hover,
.secondary-btn {
    background-color: var(--green-color);
    color: var(--white-color);
}

/* Responsive adjustments for smaller screens */
@media screen and (max-width: 768px) {
    .main-container .wrapper .wrap {
        margin: 0 5%;
    }

    .wrap form {
        margin-top: 32px;
    }
    
    .button > [class*=-btn] {
        padding: 0 20px;
    }
    .wrap-name1.wrap-age {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        margin-top: 30px
    }

    .wrap-name1.wrap-age .wrapper {
        width: calc(33.33% - 12px); /* Equal width for each select with spacing */
        margin-bottom: 16px;
    }
    form .wrap-name1 .wrapper {
        width: 100%; /* Full width for each wrapper on small screens */
        margin-bottom: 16px; /* Add spacing between wrappers */
    }
}



/*------------------*
    SIGNUP/LOGIN
*-------------------*/

.body2 .container {
    max-width: 1100px;
    margin: 0 auto;
}
.body2 .wrapper > div {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 500px;
    min-height: 500px;
    margin: 5em auto;
    background-color: var(--blue-color);
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.45) 0 25px 28px -20px;
}
:is(.body2 .login, .body2 .signup) > div {
    position: relative;
    flex: 1 0 50%;
    padding: 60px;
}
.body2 .content-heading .y-style {
    display: flex;
    flex-direction: column;
}
.body2 .logo a {
    display: inline-block;
    margin-bottom: 60px;
    font-size: 18px;
    font-weight: 780;
    color: var(--dark-color);
}
.body2 .logo span {
    color: #2113ef;
}
.body2 .content-heading p {
    color: var(--light-color);
}
.body2 .content-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.body2 .welcome {
    text-align: center;
}



.body2 form input:not(#terms,#remember) {
    font-family: inherit;
    width: 100%;
    outline: 0;
    margin: 0 0 20px;
    padding: 10px 15px;
    border-radius: 7px;
    border: 1px solid var(--light-color);
}
.body2 form input::placeholder {
    color: var(--light-color);
}
.body2 form button {
    background-color: var(--green-color);
    color: white;
    width: 100%;
    margin: 38px 0;
    border: 0;
    line-height: 42px;
    border-radius: 7px;
    font-weight: 780;
    cursor: pointer;
    /*We comment this so not bother refresh page on right side screen
    transition: all .3s ease-out;
    -webkit-tratransform: all .3s ease-out; 
     */
}
.body2 button:hover {
    background-color: var(--dark-color);
}
.body2 .afterform {
    text-align: center;
    margin-top: 20px;
}
.body2 form .check {
    position: relative;
    padding-left: 20px;
    font-size: 12px;
    float: left;
}
.body2 .check input {
    position: absolute;
    left: 0;
    top: 4px;
}
.body2 form .forgot {
    float: right;
    font-size: 12px;
}
.body2 form label a, .body2 .afterform a {
    color: var(--blue-color);
}
.body2 form :is(p, label) a:hover, .body2 .afterform a:hover {
    border-bottom: 1px dotted;
}
.body2 .content-form::before {
    content: "";
    position: absolute;
    width: 300%;
    height: 200%;
    background-color: white;
    border-radius: 50%;
    transform: translate3d(-27%, 21%, 0);
    -webkit-transform: translate3d(-27%, 21%, 0);
    animation: move 0.7s cubic-bezier(0.39, 0.575, 0.565, 1) both;
    -webkit-animation: move 0.7s cubic-bezier(0.39, 0.575, 0.565, 1) both;
}
@keyframes move {
    from {
        opacity: 0;
        transform: translate3d(50%, 60%, 0);
    }
    to {
        opacity: 1;
    }
}
.body2 .y-style {
    position: relative;
    transform: translate3d(0, 0%, 0);
    -webkit-transform: translate3d(0, 0%, 0);
    animation: fade-in 0.7s cubic-bezier(0.39, 0.575, 0.565, 1) both;
    -webkit-animation: fade-in 0.7s cubic-bezier(0.39, 0.575, 0.565, 1) both;
}
@keyframes fade-in {
    from {
        opacity: 0;
        transform: translate3d(0, 20%, 0);
    }
    to {
        opacity: 1;
    }
}
:is(.login-show, .signup-show)
.social :is(ul, p) {
    display: flex;
    justify-content: center;
    position: relative;
    gap: 20px;
    margin: 20px 0;
}
.body2 .social p::before {
    content: "";
    position: absolute;
    height: 1px;
    width: 90%;
    background-color: var(--light-color);
    top: 0;
    margin-top: 11px;
}
.body2 p span {
    background-color: white;
    z-index: 1;
    padding: 0 20px;
    color: var(--light-color);
    font-size: 11px;
}
.body2 .social1 a {
    display: flex;
    font-size: 20px;
    transform: translateY(0);
    -webkit-transform: translateY(0);
    transition: transform .3s;
}
.body2 .social1 a:hover {
    transform: translateY(-5px);
    -webkit-transform: translateY(-5px);
}
.body2 .google {
    color: #cb4437;
}
.body2 .facebook {
    color: #4267b2;
}
.body2 .x {
    color: #1da1f2;
}
.body2 .login-show .signup, .body2 .signup-show .login {
    display: none;
}
.site.signup-show .signup, .site.login-show .login {
    display: flex;
}

/*---------------------*
    VERIFICATION FORM
*----------------------*/

.verification-body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--flashwhite-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}
.verify_container {
    background-color: var(--white-color);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1);
    width: 400px;
}
.verify_container h2 {
    margin-top: 0;
    margin-bottom: 24px;
    font-size: 24px;
    letter-spacing: 2px;
    color: #333;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}
.verify_container label {
    font-weight: bold;
}
.verify_container input[type="file"] {
    display: block;
    margin-bottom: 24px;
}
.verify_container .file-name {
    margin-top: 10px;
}

/* Error handlers */
form .error-msg {
    color: var(--red-color);
    font-size: 24px;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
    transition: transform 0.3s ease-in-out, color 0.3s ease-in-out;
}

form .error-msg:hover {
    transform: translateY(-3px);
    color: var(--dark-color);
}

/* Define CSS styles for the error message container and close button */
form .error-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #ff0000; /* Adjust the background color as needed */
    color: #ffffff; /* Adjust the text color as needed */
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    z-index: 999;
    text-align: center;
}

form .close-btn {
    background-color: #ffffff; /* Adjust the close button color as needed */
    color: #000000; /* Adjust the close button text color as needed */
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}

form .close-btn:hover {
    background-color: #cccccc; /* Adjust the hover color as needed */
}






@media screen and (min-width: 768px) {
    .body2 .wrapper > div {
        flex-direction: row;
        max-width: 800px;
    }
    .signup .content-heading .y-style {
        height: 100%;
        justify-content: space-between;
    }
    .body2 .content-form::before {
        width: 200%;
        transform: translate3d(-18%, -10%, 0);
        -webkit-transform: translate3d(-18%, -10%, 0);
    }
    .body2 .welcome {
        text-align: left;
        margin: 5em 0 auto;
    }
    @keyframes min {
        from {
            opacity: 0;
            transform: translate3d(0, -100%, 0);
        }
        to {
            opacity: 1;
        }
    }
}