@import url("https://fonts.googleapis.com/css2?family=Rajdhani:wght@300;400;500;600;700&amp;display=swap");

/* variables */
:root {
    --primary-color: -webkit-linear-gradient(
        90deg,
        rgb(71, 222, 185) 0%,
        rgb(17, 239, 143) 100%
    );
    --secondary-color: rgb(2, 181, 233);
    --text-color: rgb(0, 0, 0);
    --field-color: rgb(232, 232, 232);
    --text-color-2: rgb(255, 255, 255);
    --text-color-3: rgb(200, 200, 200);
}
body {
    font-family: "Rajdhani";
    width: 100%;
    position: relative;
    background-image: url(../images/background.jpg);
}

main {
    width: 100%;

    min-height: 100vh;
    height: auto;
    display: grid;
    padding: 20px 0;
}
.side {
    background-image: url(../images/bg-2.jpg);
    background-size: cover;
    display: grid;
    height: 100%;
    width: 100%;
    display: grid;
    padding: 0px 70px;
    padding-bottom: 40px;
    align-content: center;
    border-top-left-radius: 60px;
    position: relative;
    margin-top: 30px;
    z-index: 10000;
}
.main-heading {
    font-size: 65px;
    color: var(--text-color-2);
    font-weight: bold;
    line-height: 0.9;
    width: 75%;
    text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.15);
}
.highlight-text {
    background: var(--primary-color);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
article p {
    font-size: 21px;
    color: var(--text-color-3);
    line-height: 1.25;
    text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.15);
    margin-top: 40px;
}
.social {
    position: absolute;
    bottom: 40px;
    right: 40px;
    display: flex;
    align-items: center;
}
.social span {
    font-size: 18px;
    color: var(--text-color-2);
    font-weight: bold;
    text-transform: uppercase;
    margin-right: 8px;
}
.social i {
    border-radius: 50%;
    background-color: var(--text-color-2);
    width: 43px;
    height: 43px;
    text-align: center;
    line-height: 43px;
    font-size: 17px;
    color: rgb(21, 21, 21);
    margin: 0 2px;
}
.border-b {
    background-image: -moz-linear-gradient(
        90deg,
        rgb(71, 222, 185) 0%,
        rgb(17, 239, 143) 100%
    );
    background-image: -webkit-linear-gradient(
        90deg,
        rgb(71, 222, 185) 0%,
        rgb(17, 239, 143) 100%
    );
    background-image: -ms-linear-gradient(
        90deg,
        rgb(71, 222, 185) 0%,
        rgb(17, 239, 143) 100%
    );
    width: 100%;
    height: 10px;
}
.border-t {
    background-image: -moz-linear-gradient(
        90deg,
        rgb(71, 222, 185) 0%,
        rgb(17, 239, 143) 100%
    );
    background-image: -webkit-linear-gradient(
        90deg,
        rgb(71, 222, 185) 0%,
        rgb(17, 239, 143) 100%
    );
    background-image: -ms-linear-gradient(
        90deg,
        rgb(71, 222, 185) 0%,
        rgb(17, 239, 143) 100%
    );
    width: 100%;
    height: 10px;
}
.form {
    background-color: var(--text-color-2);
    display: grid;
    height: 100%;
    padding: 0px 70px 50px 60px;
    border-bottom-right-radius: 60px;
    align-content: center;
    position: relative;
    z-index: 100;
}
.form-text h3 {
    font-size: 40px;
    color: var(--text-color);
    font-weight: bold;
}
.form-text span {
    font-size: 18px;
    color: var(--text-color);
    font-weight: bold;
}
.form-text .join,
.form-text .create {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: bold;
    cursor: pointer;
    background: none;
    border: 0;
    padding: 0;
}
form {
    margin-top: 30px;
}

.input-field {
    margin-bottom: 30px;
    transition: 0.4s;
    position: relative;
    display: grid;
    align-items: center;
    width: 100%;
    height: 52px;
    min-height: 52px;
    background-color: var(--bg-color);
    opacity: 0;
}
.input-field input {
    border: 0;
    border-bottom: solid 2px var(--field-color);
    width: 100%;
    transition: 0.4s;
    height: 100%;
    font-size: 21px;
    color: var(--text-color);
    font-weight: bold;
}
.input-field input:focus {
    outline: 0;
    border-color: var(--secondary-color);
}
.input-field label i {
    font-size: 13px;
    margin-right: 5px;
}
.input-field label {
    position: absolute;
    transition: 0.4s;
    pointer-events: none;
    background-color: var(--bg-color);
    font-size: 18px;
    color: rgb(125, 127, 128);
}
.input-field:focus-within label {
    transform: translatey(-30px);
}
.input-field input:valid + label {
    transform: translatey(-30px);
}
.radio-field {
    display: flex;
    width: auto;
    align-items: center;
    margin-top: 50px;
}
.radio-field input[type="checkbox"] {
    -webkit-appearance: none;
    background-image: -moz-linear-gradient(
        90deg,
        rgb(71, 222, 185) 0%,
        rgb(17, 239, 143) 100%
    );
    background-image: -webkit-linear-gradient(
        90deg,
        rgb(71, 222, 185) 0%,
        rgb(17, 239, 143) 100%
    );
    background-image: -ms-linear-gradient(
        90deg,
        rgb(71, 222, 185) 0%,
        rgb(17, 239, 143) 100%
    );
    width: 33px;
    height: 33px;
    border-bottom-right-radius: 10px;
    position: relative;
    cursor: pointer;
}
.radio-field input[type="checkbox"]::before {
    content: "\f00d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 18px;
    color: var(--text-color-2);
    position: absolute;
    width: 100%;
    height: 100%;
    text-align: center;
    line-height: 33px;
    transition: 0.4s;
}
.radio-field input[type="checkbox"]:checked::before {
    content: "\f00c";
}
.radio-field label {
    font-size: 18px;
    color: rgb(1, 1, 1);
    font-weight: bold;
    margin-left: 10px;
}
form .form-btn {
    border-radius: 6px;
    border-bottom-right-radius: 40px;
    border: 0;
    background-image: -moz-linear-gradient(
        90deg,
        rgb(71, 222, 185) 0%,
        rgb(17, 239, 143) 100%
    );
    background-image: -webkit-linear-gradient(
        90deg,
        rgb(71, 222, 185) 0%,
        rgb(17, 239, 143) 100%
    );
    background-image: -ms-linear-gradient(
        90deg,
        rgb(71, 222, 185) 0%,
        rgb(17, 239, 143) 100%
    );
    padding: 0 50px;
    height: 55px;
    font-size: 16px;
    color: var(--text-color);
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 50px;
    transition: all 0.4s ease-in-out;
}
form .form-btn span {
    pointer-events: none;
}
form .form-btn:hover {
    background-image: none;
    background-color: var(--text-color-2);
    box-shadow: 0px 3px 32px 0px rgb(159 159 159 / 100%);
}
.con-text p {
    font-size: 18px;
    color: rgb(1, 1, 1);
}
.con-text p a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.signup {
    display: none;
}
.login {
    display: block;
}

#sub img {
    width: 60px;
}

.highlight {
    border-top: solid 3px var(--primary-color) !important;
    border-bottom: solid 3px var(--primary-color) !important;
}

#error {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 20;
}

.invalid {
    border: solid 2px #ff4444 !important;
    position: relative;
}
