/* @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"); */

body {
    background: var(--grad-bckg);
    height: 100vh;
}

/* centering container */
.body {
    /* margin: 0; */
    /* padding: 0; */
    /* box-sizing: border-box; */
    font-family: "Poppins", sans-serif;

    /* height: 100vh; */
    display: flex;
    align-items: center;
    justify-content: center;
    text-rendering: optimizelegibility;
    -webkit-font-smoothing: antialiased;
    inset: 0px;
    width: 100%;
    height: 100%;

    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(50deg, rgb(168 218 220 / 71%), rgb(69 123 157 / 79%) 20%, rgb(29 53 87 / 76%) 80%, rgb(168 218 220 / 55%)); */
}

/* background container */
.container {
    margin: 1.2rem;
    background: var(--bckg-primary);
    border-radius: 1.5rem;
    transition: transform .3s;
    width: 30rem;
    transform: scale(1) translateY(0rem);
    animation: scaleUp 1s cubic-bezier(0, 1.06, 0.73, 1.02);
    user-select: none;
    padding: 1.5rem;
}

/* start up zoom */
@keyframes scaleUp {
    0% {
        transform: scale(.7) translateY(6rem);
    }

    100% {
        transform: scale(1) translateY(0rem);
    }
}

/* 'Create Account' */
.container .title {
    margin-top: 1rem;
    text-align: center;
    letter-spacing: -0.5px;
    font-size: clamp(1.8rem, 6vh, 2.5rem);
}

/* link to sign in */
.container .link {
    margin-bottom: 1.5rem;
    text-align: center;
}

/* link underline */
.container .link a {
    color: var(--accent-primary);
    /* color: #E63946; */
    text-decoration: none;
    cursor: pointer;
}

/* link hover line */
.container .link a:hover {
    text-decoration: underline;
}

/* centering form */
form {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

/* grouping form */
.form_group {
    width: 80%;
    display: flex;
    position: relative;
    align-items: center;
    margin-bottom: .8rem;
    justify-content: center;
}

/* text input */
.form_group input {
    border: 0;
    width: 100%;
    height: 3.2rem;
    font-size: 1rem;
    border-radius: 1rem;
    padding-left: .8rem;
    padding-right: .8rem;
    color: var(--text-primary);
    /* color: rgb(0 0 0 / 50%); */
    /* background-color: rgb(0 0 0 / 5%); */
    background-color: var(--active);
}

/* input text size */
.form_group input::placeholder {
    font-size: 1rem;
    /* color: rgb(0 0 0 / 50%); */
}

/* imput text */
.form_group input:focus {
    outline: none;
}

/* password input */
.passInput i {
    right: 5%;
    display: none;
    font-size: 1.2rem;
    cursor: pointer;
    position: absolute;
    color: rgb(0 0 0 / 40%);
}

/* rounding first name */
.name_input_group input:first-child {
    border-radius: 1rem 0 0 1rem;
    border-right: 3px solid var(--bckg-primary);
}

/* rounding last name */
.name_input_group input:last-child {
    border-radius: 0 1rem 1rem 0;
    border-left: 3px solid var(--bckg-primary);
}

/* sign up button */
.submitBtn {
    border: 0;
    width: 80%;
    color: #fff;
    height: 3.2rem;
    cursor: pointer;
    margin-top: .2rem;
    font-size: 1.2rem;
    position: relative;
    border-radius: 1rem;
    /* background-color: rgb(230 57 70); */
    background: var(--grad-primary);
}

/* sign in button location */
.submitBtn i {
    top: 35%;
    right: 8%;
    position: absolute;
}

/* term and services location */
.terms_services {
    display: flex;
    margin-top: 1rem;
    margin-bottom: 1rem;
    justify-content: center;
}

/* terms checkbox */
.checkbox {
    -webkit-user-select: none;
    user-select: none;
    padding: 6px 8px;
    display: flex;
    max-width: 80%;
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.2s ease;
    --col: var(--accent-primary);
}

/* checkbox interact location */
.checkbox>span:first-child {
    position: relative;
    width: 18px;
    height: 18px;
    min-width: 18px;
    border-radius: 4px;
    transform: scale(1.2);
    border: 1px solid #cccfdb;
    transition: all 0.2s ease;
    box-shadow: 0 1px 1px rgba(0, 16, 75, 0.05);
}

.checkbox>span:first-child svg {
    position: absolute;
    top: 3px;
    left: 2px;
    fill: none;
    stroke: #fff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 16px;
    stroke-dashoffset: 16px;
    transition: all 0.3s ease;
    transition-delay: 0.1s;
    transform: translate3d(0, 0, 0);
}

.checkbox>span:last-child {
    padding-left: 8px;
    line-height: 18px;
}

.checkbox:hover>span:first-child {
    /* --col:#E63946; */
    border-color: var(--col);
}

.input {
    position: absolute;
    visibility: hidden;
}

.input:checked+.checkbox>span:first-child {
    background: var(--col);
    border-color: var(--col);
    animation: wave 0.4s ease;
}

.input:checked+.checkbox>span:first-child svg {
    stroke-dashoffset: 0;
}

.inline_svg {
    position: absolute;
    width: 0;
    height: 0;
    pointer-events: none;
    user-select: none;
}

.errorSpan {
    padding-top: 20px;
    color: #E63946;
    display: inline-block;
    text-align: center;
}