@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

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

:root {
    --primary-color: #0a74bd;
    --secondary-color: #032338;
    --black: #01121d;
    --text-primary: #5f5f5f;
    --soft-primary: #0a75bd42;
    --shadow: #63636369;
}

body {
    color: var(--secondary-color);
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
    height: 100vh;
}

#homeBtn {
    text-decoration: none;
    padding: 10px 20px;
    background-color: var(--primary-color);
    font-weight: 500;
    color: white;
    font-size: 14px;
    border-radius: 50px;
    transition: background-color 0.5s ease;
    margin: 10px 0;
    display: inline-block;
}

#homeBtn:hover {
    background-color: var(--secondary-color);
}


body {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-wrapper {
    border-radius: 10px;
    box-shadow: 5px 5px 15px var(--shadow);
    height: auto;
    width: 1100px;
    display: flex;
    padding: 10px;
    animation: fadeIn-top 1s ease;
}

/**Welcome section styling starts**/
.form-wrapper .welcome {
    background: url(../image/register.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 10px;
    width: 550px;
    position: relative;
    overflow: hidden;
}

.welcome .wrapper {
    height: 100%;
    width: 100%;
    position: relative;
    padding: 20px;
    background: linear-gradient(180deg, #00000060, #000000ef 70%);
}

.wrapper p {
    margin-bottom: 20px;
    color: white;
    font-size: 13px;
}

.logo {
    margin-bottom: 40px;
    animation: fadeIn-left 1.5s ease;
}

.vertical-line {
    height: 180px;
    width: 5px;
    margin-right: 20px;
    background-color: var(--primary-color);
    border-radius: 50px;
}

.line-txt {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    position: absolute;
    bottom: 180px;
    animation: fadeIn-top 2s ease;
}

.line-txt h1 {
    color: white;
    font-size: 60px;
    line-height: 70px;
    font-weight: 500;
}
.wrapper p,.wrapper a{
    position: absolute;
    bottom: 100px;
}
.wrapper a{
    bottom: 50px;
}
/**End os welcome section styling**/

/**Form styling starts**/
form {
    padding: 20px;
    width: 550px;
    position: relative;
}

form h1 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-weight: 400;
}

form .desc {
    font-size: 13px;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 10px;
}

form label {
    font-weight: 500;
    font-size: 12px;
    display: inline-block;
    margin-bottom: 5px;
}

.nameInputs {
    display: flex;
    width: 100%;
    gap: 10px;
    justify-content: space-between;
}

.passInputs {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 10px;
}

.contact {
    display: flex;
    width: 100%;
    gap: 10px;
    margin-bottom: 10px;
}

.school {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 10px;
    margin-bottom: 10px;
}

.school .spec,
.univ {
    width: 90%;
}

#email-label {
    margin-top: 10px;
}

form .intp {
    padding: 8px;
    width: 100%;
    border-radius: 5px;
    border: 1px solid #b8b7b7;
    outline: none;
    font-weight: 700;
}

form .intp:focus {
    border: 1px solid var(--primary-color);
}

form .pass-wrapper {
    position: relative;
}

.pass-wrapper #icon {
    position: absolute;
    top: 32px;
    right: 10px;
    cursor: pointer;
}

/**terms and condition**/


.terms-cond #terms {
    accent-color: var(--primary-color);
}

.terms-cond #terms-desc {
    display: block;
    font-size: x-small;
}

.terms-cond label {
    font-size: x-small;
}

#reg-btn {
    width: 100%;
    padding: 8px;
    border-radius: 50px;
    border: none;
    background-color: var(--primary-color);
    font-weight: 500;
    cursor: pointer;
    color: white;
    transition: background-color 0.5s;
    margin: 10px 0;
}

#reg-btn:hover {
    background-color: var(--secondary-color);
    color: white;
    font-weight: 600;
}

#reg-btn:active {
    scale: 0.8;
}

.acc {
    text-align: center;
    font-weight: 700;
    font-size: small;
}

.acc a {
    text-decoration: none;
    color: var(--primary-color);
}

.acc a:hover {
    text-decoration: underline;
}

.footer {
    display: flex;
    width: 95%;
    justify-content: space-between;
    font-size: x-small;
    position: absolute;
    bottom: 0;
    color: var(--text-primary);

}

.footer #privacy {
    color: var(--text-primary);
    text-decoration: none;
}

.footer #privacy:hover {
    color: var(--primary-color);
}

/**End of form styling**/
form select option:hover {
    background-color: var(--primary-color);
}

.pass-wrapper,
.last-name,
.first-name,
.address,
.phone-number {
    width: 100%;
}

@keyframes fadeIn-top {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0px);
        opacity: 1;
    }
}

@keyframes fadeIn-left {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0px);
        opacity: 1;
    }
}

.errorClr {
    border: 1px solid red !important;
}

.errorClrElement {
    color: #ff0000;
}

.errorElement {
    font-size: x-small;
    height: 10px;
}

.valid {
    color: #00a447;
}

.errorValid {
    font-size: x-small;
    height: 15px;
    color: #ff0000;
}

.conErrorElement {
    font-size: x-small;
    height: 10px;
}

.reg-form {
    display: none;
}

.language {
    padding: 20px;
    display: flex;
    align-items: center;
    flex-direction: column;
    display: none;
    height: 650px;
    width: 550px;
}

.language h1 {
    margin-bottom: 10px;
}

.lang {
    padding: 15px;
    width: 100%;
    display: flex;
    align-items: center;
    border: 2px solid var(--secondary-color);
    border-radius: 10px;
    background-color: white;
    margin-bottom: 20px;
}

.lang:hover {
    border: 2px solid var(--primary-color);
}

.active {
    display: block;
}

#NextPage {
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.5s;
}

#NextPage:hover {
    background-color: var(--black);
}

.btnDiv {
    display: flex;
    align-items: center;
    justify-content: right;
}

.navs {
    display: none;
}

.form-wrapper {
    scale: 0.9;
}

@media (max-width: 1024px) {

    .form-wrapper {
        scale: 0.85;
    }
}

@media (max-width: 720px) {
    .form-wrapper .welcome {
        display: none;
    }

    .form-wrapper {
        width: fit-content ;
        display: flex;
        align-items:center;
        justify-content:center;
        flex-direction: column;
        padding:10px 5px !important;
    }
    .contact,.school,.passInputs{
        flex-direction: column;
    }

    .navs {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .navs-btn {
        text-decoration: none;
        background-color: var(--primary-color);
        color: white;
        padding: 5px 10px;
        border-radius: 30px;
        font-size: 14px;
    }

    .navs-btn:hover {
        background-color: var(--black);
    }
    .form-wrapper{
        scale: 0.75;
    }
    form input,form select{
        height: 50px;
    }
    form{
        width: 470px;
    }
    body{
        padding-top: 270px;
    }
    #terms{
        height: auto;
    }
    .pass-wrapper #icon{
        top: 40px;
    }