@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: "Roboto", sans-serif;
}

a {
    text-decoration: none;
}

button {
    cursor: pointer;
    border: none;
}

.wrapper {
    max-width: 510px;
    width: 100%;
    padding: 10px;
    margin: 0 auto;
}

.main {
    min-height: 100vh;
}

/**/

.body {
    background: linear-gradient(45deg, rgba(255,86,101,1) 0%, rgba(253,51,118,1) 50%);
}

/**/

.background {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.background .elipse {
    position: absolute;
    height: 287px;
    width: 287px;
    border-radius: 50%;
    background: #FE88A599;
}

.background .elipse.first {
    top: -140px;
    left: 5%;
}

.background .elipse.second {
    right: 5%;
    bottom: -140px;
}

/**/

.main {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 50px;
    padding-bottom: 50px;
    position: relative;
    z-index: 10;
}

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

.logo img {
    max-width: 260px;
    width: 100%;
}

.logo span {
    font-weight: 500;
    font-size: 28px;
    line-height: 21px;
    color: #FFFFFF;
}

/**/

.image {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

.image img {
    border-radius: 32px;
    border: 7px solid #FFFFFF;
    max-width: 410px;
    background-color: #FFFFFF;
}

.content {
    padding: 40px 40px;
    border-radius: 32px;
    margin-top: 24px;
    background-color: #FFFFFF;
}

.content .question {
    display: none;
}

.content .question:first-child {
    display: block;
}

.content h2 {
    font-weight: 700;
    font-size: 24px;
    color: #1C1C1C;
    text-align: center;
}

.content .buttonGroup {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    grid-column-gap: 18px;
}

.content .buttonGroup .button {
    display: flex;
    justify-content: center;
    align-items: center;
    grid-column-gap: 12px;
    padding: 13px;
    max-width: 200px;
    width: 100%;
    border-radius: 32px;
    transition: 0.3s;
}

.content .buttonGroup .button:hover {
    transform: scale(1.03);
}

.content .buttonGroup .button span {
    font-weight: 700;
    font-size: 32px;
    color: #1C1C1C;
}

.content .buttonGroup .button:nth-child(1) {
    background-color: #D6D5D9;
}

.content .buttonGroup .button:nth-child(2),
.content .buttonGroup .button.link {
    background: linear-gradient(243.18deg, #FF7854 -6575.11%, #FD267D 3424.89%);
}

.content .buttonGroup .button:nth-child(2) span,
.content .buttonGroup .button.link span {
    color: #FFFFFF;
}

.dob-inputs {
    display: flex;
    gap: 15px;
    margin: 15px 0;
    justify-content: center;
}

.dob-inputs select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 500;
    border: 2px solid #000;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    text-align: center;
    min-width: 80px;
}

.dob-inputs select:focus {
    outline: none;
    border-color: #ff006f; /* accent color */
}

.gender-input {
    display: flex;
    justify-content: center;
    margin: 15px 0;
}

.gender-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 500;
    border: 2px solid #000;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    text-align: center;
    min-width: 150px;
}

.gender-select:focus {
    outline: none;
    border-color: #ff006f; /* accent color */
}

.auth-fields {
    display: grid;
    gap: 12px;
    margin: 16px 0 8px;
    justify-items: center;
}

.auth-input {
    width: 100%;
    max-width: 320px;
    padding: 12px 14px;
    font-size: 16px;          /* avoids iOS zoom */
    font-weight: 500;
    border: 2px solid #ff2a7a;
    border-radius: 14px;
    outline: none;
    background: #fff;
    text-align: left;         /* emails look odd centered */
}

.auth-input:focus {
    box-shadow: 0 0 0 3px rgba(255,42,122,.15);
}

.password-wrap {
    position: relative;
    width: 100%;
    max-width: 320px;
}

.pwd-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    padding: 4px 6px;
}

.hint {
    margin: 0;
    font-size: 12px;
    color: #8b8b8b;
}

@media screen and (max-width: 525px) {
    .background .elipse {
        height: 160px;
        width: 160px;
    }

    .background .elipse.first {
        top: -80px;
    }

    .background .elipse.second {
        bottom: -80px;
    }

    /**/

    .main {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .logo img {
        max-width: 180px;
    }

    .logo span {
        font-size: 24px;
        line-height: 19px;
    }

    .image img {
        max-width: 320px;
    }

    .content {
        padding: 30px 20px;
        max-width: 380px;
        border-radius: 12px;
        margin: 24px auto 0;
    }

    .content h2 {
        font-size: 21px;
        line-height: 24px;
        max-width: 220px;
        margin: 0 auto;
    }

    .content .buttonGroup .button span {
        font-size: 18px;
    }

    .content .buttonGroup {
        grid-column-gap: 8px;
        margin-top: 18px;
    }

    .content .buttonGroup .button {
        grid-column-gap: 8px;
    }

    .content .buttonGroup .button img {
        height: 22px;
    }
}





