@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@700&family=Poppins:wght@400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    margin: 0;
    padding: 0;
    background: linear-gradient(120deg, #2980b9, rgba(115, 189, 135, 0.75));
    height: 100vh;
    overflow: hidden;
}

.center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 10px;
    box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.05);
    width: 30%;
}

.title a {
    transform: translateX(-50%);
    left: 50%;
    position: relative;
    border-radius: 100%;
    margin-top: 20px;
    padding: 5px;
    background-color: #e9d1d1;
    line-height: 1;
}

.center h1 {
    text-align: center;
    padding: 20px 0;
    border-bottom: 1px solid silver;
}

.center form {
    padding: 0 40px;
    box-sizing: border-box;
}

.question_container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-top: 10px;
}

.multiple_questions {
    display: flex;
    justify-content: space-between;
}

form .txt_field {
    position: relative;
    border-bottom: 2px solid #adadad;
}

.question {
    margin-top: 20px;
    margin-bottom: 10px;
}

.txt_field input[type="text"],
.txt_field input[type="password"] {
    width: 100%;
    padding: 0 5px;
    height: 40px;
    font-size: 16px;
    border: none;
    background: none;
    outline: none;
}

.txt_field .placeholder {
    position: absolute;
    top: 50%;
    left: 5px;
    color: #adadad;
    transform: translateY(-50%);
    font-size: 16px;
    pointer-events: none;
    transition: .5s;
}

.txt_field .underline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    width: 0%;
    height: 2px;
    background: #2691d9;
    transition: .5s;
}

.txt_field input::placeholder {
    color: transparent;
}

.txt_field input:focus~label,
.txt_field input:not(:placeholder-shown)~label {
    top: -5px;
    font-size: 12px;
    color: #2691d9;
}

.txt_field input:focus~span::before,
.txt_field input:not(:placeholder-shown)~span::before {
    width: 100%;
}

.checkbox_field {
    margin-top: 10px;
}

.showPassword,
.showcPassword {
    display: none;
    position: absolute;
    top: 50%;
    right: 5px;
    transform: translateY(-50%);
    z-index: 1;
}

.password-label {
    display: inline-block;
    cursor: pointer;
    color: #2691d9;
}

.password-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: all;
}

.password-label .show-password-text {
    user-select: none;
}

.error {
    color: red;
    font-size: 12px;
    display: none;
    margin: 10px 0;
    display: flex;
    align-items: center;
}

.special_notes {
    margin: 5px 0;
    color: #a6a6a6;
    display: flex;
    justify-content: space-between;
}

.error_container {
    display: none;
    padding: 10px;
    background-color: rgba(255, 21, 21, 0.2);
    border-radius: 5px;
}

.checkbox_field {
    margin-bottom: 10px;
    user-select: none;
}

input[type="submit"] {
    width: 100%;
    height: 50px;
    border: 1px solid;
    background: #2691d9;
    border-radius: 25px;
    font-size: 18px;
    color: #e9f4fb;
    font-weight: 700;
    cursor: pointer;
    outline: none;
    margin-bottom: 10px;
}

a {
    position: relative;
    text-decoration: none;
    display: inline-block;
}

.special_notes a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    left: 50%;
    transform: translateX(-50%);
    background: #2691d9;
    transition: .2s;
}

a:hover::after {
    width: 100%;
}

/* Media Queries */

@media only screen and (max-width: 600px) {
    .center {
        width: 90%;
    }

    .center form {
        padding: 0 20px;
    }

    .question_container {
        flex-direction: column;
    }
}

@media only screen and (max-width: 600px) {
    .center {
        width: 90%;
    }

    .center form {
        padding: 0 20px;
    }

    .question_container {
        flex-direction: column;
    }

    .txt_field.left,
    .txt_field.right {
        margin: 20px 0 10px 0;
    }

    .special_notes {
        flex-direction: row;
    }

}