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

html,
body {
    width: 100%;
    min-height: 100%;
    background: #1f1f1f;
}

.hero {
    width: 100vw;
    min-height: 100svh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero picture {
    display: block;
    width: 100%;
    max-width: 950px;
}

.hero img {
    display: block;
    width: 100%;
    height: auto;
}

.rsvp {
    min-height: 100svh;
    padding: 55px 24px 80px;
    background: url("pictures/bg_anketa.webp") center / cover no-repeat;
    display: flex;
    justify-content: center;
}

.rsvp-form {
    width: 100%;
    max-width: 720px;
}

.rsvp-form h2 {
    margin-bottom: 28px;
    font-size: 34px;
    font-weight: 400;
    line-height: 1.2;
}

.text-field span,
.field p {
    display: block;
    margin-bottom: 12px;
    font-size: 26px;
    font-weight: 400;
}

.text-field input {
    width: 100%;
    max-width: 500px;
    height: 58px;
    margin-bottom: 22px;
    padding: 0 16px;
    border: 3px solid #168de2;
    background: transparent;
    font-size: 24px;
    outline: none;
}

.partner-input {
    width: 100%;
    max-width: 500px;
    height: 56px;
    margin: 8px 0 22px;
    padding: 0 12px;
    border: 2px solid #000;
    background: transparent;
    font-size: 24px;
    outline: none;
}

.partner-input::placeholder {
    color: rgba(0, 0, 0, 0.55);
}

.field {
    margin-bottom: 24px;
}

.radio-line {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 24px;
    cursor: pointer;
}

.radio-line input {
    appearance: none;
    -webkit-appearance: none;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border: 2px solid #000;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    position: relative;
}

.radio-line input:checked::after {
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    background: #000;
}

.radio-line span {
    line-height: 1.2;
}

.rsvp-form button {
    display: block;
    width: 300px;
    height: 56px;
    margin: 44px auto 0;
    border: none;
    background: #000;
    color: #fff;
    font-size: 24px;
    font-weight: 400;
    cursor: pointer;
}

@media (max-width: 600px) {
    .rsvp {
        padding: 42px 20px 70px;
        background-position: center top;
    }

    .rsvp-form h2 {
        font-size: 28px;
    }

    .text-field span,
    .field p {
        font-size: 22px;
    }

    .text-field input,
    .partner-input {
        max-width: 100%;
        height: 52px;
        font-size: 20px;
    }

    .radio-line {
        font-size: 20px;
        align-items: flex-start;
    }

    .radio-line input {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
        margin-top: -2px;
    }

    .rsvp-form button {
        width: 100%;
        max-width: 300px;
        font-size: 22px;
    }
}