@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@500&display=swap");

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

.loader {
    height: 100%;
    width: 100%;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.5);
    position: fixed;
    top: 0;
    z-index: 8888 !important;
    display: none;
}

.loader-demo-box {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flip-square-loader {
    -webkit-perspective: 120px;
    -ms-perspective: 120px;
    perspective: 120px;
    width: 100px;
    height: 100px;
    border-radius: 100%;
    position: relative;
    margin: 0 auto;
}

.flip-square-loader:before {
    content: "";
    position: absolute;
    left: 25px;
    top: 25px;
    width: 50px;
    height: 50px;
    background-color: rgba(27, 207, 180, 0.7);
    -webkit-animation: flip 1s infinite;
    animation: flip 1s infinite;
}

@keyframes flip {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0);
    }

    50% {
        -webkit-transform: rotateY(180deg);
        transform: rotateY(180deg);
    }

    100% {
        -webkit-transform: rotateY(180deg) rotateX(180deg);
        transform: rotateY(180deg) rotateX(180deg);
    }
}

.wave {
    position: fixed;
    left: -200px;
    top: 0;
    height: 100%;
    z-index: -1;
}

.logo {
    position: fixed;
    top: 20px;
    left: 50px;
}

.logo img {
    width: 150px;
}

.content {
    width: 100vw;
    height: 100vh;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 7rem;
    padding: 0 2rem;
}

.content .img-illustrator {
    display: flex;
    justify-content: center;
    align-items: center;
}

.content .img-illustrator img {
    width: 500px;
}

.content .form-box {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

form {
    width: 360px;
}

form h2 {
    font-size: 1.9rem;
    text-transform: uppercase;
    margin: 15px 0 5px 0;
    color: #333;
}

form p {
    margin-bottom: 50px;
}

form .error {
    display: none;
    margin-top: 30px;
    color: red;
    background-image: linear-gradient(
        to left,
        rgb(250 128 114 / 10%),
        hwb(0deg 63% 2% / 20%)
    );
    padding: 10px;
}

.avatar {
    width: 100px;
}

.input {
    display: grid;
    grid-template-columns: 7% 93%;
    margin: 25px 0;
    padding: 5px 0;
    border-bottom: 1px solid #d9d9d9;
}

.input.haserror {
    border-color: tomato;
}

.input.haserror div i,
.input.haserror > div h5 {
    color: tomato;
}

.input.focus {
    border-color: #536de6;
}

.input.focus div i,
.input.focus > div h5 {
    color: #536de6;
}

.input.focus > div h5 {
    margin-top: -25px;
}

.input one {
    margin-top: 0;
}

.input .two {
    margin-bottom: 4px;
}

.input > div {
    position: relative;
    height: 45px;
}

.input > div h5 {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 18px;
    transition: 0.3s;
}

.input input {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    background: none;
    padding: 0.5rem 0.7rem;
    color: #555;
    font-size: 1.2rem;
}

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

.i i {
    color: #d9d9d9;
}

.form-check {
    margin-bottom: 30px;
    text-align: left;
    display: block;
    min-height: 1.35rem;
    padding-left: 1.612em;
}

.form-check-input[type="checkbox"] {
    border-radius: 0.25em;
}

.form-check .form-check-input {
    float: left;
    margin-left: -1.612em;
}

.form-check-input {
    width: 1.112em;
    height: 1.112em;
    margin-top: 0.194em;
    vertical-align: top;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: 1px solid #ced4da;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    -webkit-transition: background-color 0.15s ease-in-out,
        background-position 0.15s ease-in-out, border-color 0.15s ease-in-out,
        -webkit-box-shadow 0.15s ease-in-out;
    transition: background-color 0.15s ease-in-out,
        background-position 0.15s ease-in-out, border-color 0.15s ease-in-out,
        -webkit-box-shadow 0.15s ease-in-out;
    transition: background-color 0.15s ease-in-out,
        background-position 0.15s ease-in-out, border-color 0.15s ease-in-out,
        box-shadow 0.15s ease-in-out;
    transition: background-color 0.15s ease-in-out,
        background-position 0.15s ease-in-out, border-color 0.15s ease-in-out,
        box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
}

.form-check-input:checked[type="checkbox"] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");
    background-color: tomato;
    border-color: tomato;
}

.btn {
    width: 100%;
    height: 50px;
    border: none;
    outline: none;
    border-radius: 25px;
    text-transform: uppercase;
    color: #fff;
    background-image: linear-gradient(to right, #536de6, #9fadf1, #536de6);
    font-size: 1.2rem;
    cursor: pointer;
    background-size: 200%;
    transition: 0.5s;
}

.btn:hover {
    background-position: right;
}

@media screen and (max-width: 1350px) {
    .wave {
        left: -300px;
    }
}

@media screen and (max-width: 1210px) {
    .wave {
        left: -350px;
    }
}

@media screen and (max-width: 1150px) {
    .wave {
        left: -400px;
    }
}

@media screen and (max-width: 1050px) {
    .content {
        grid-gap: 5rem;
    }
}

@media screen and (max-width: 1005px) {
    form {
        width: 292px;
    }

    form h2 {
        font-size: 2rem;
        margin: 8px 0;
    }

    .content .img-illustrator img {
        width: 400px;
    }

    .wave {
        left: -550px;
    }
}

@media screen and (max-width: 900px) {
    .content {
        grid-template-columns: 1fr;
    }
    .content .img-illustrator {
        display: none;
    }

    .wave {
        display: none;
    }
}
