body {
    color: #3d3d3d;
    background-image: url("../images/waves-bg.jpg");
}

@media (max-width: 400px) {
    body {
        background-image: url("../images/waves-bg-small.jpg");
    }
}

.is-flex {
    display: flex;
    flex-direction: row;
}

@media (max-width: 768px) {
    .is-flex {
        flex-direction: column;
    }
}

.header {
    min-height: 100vh;
    padding-bottom: 8rem;
    background-size: 100% 100%;
    background-position: 0px 0px, 0px 0px, 0px 0px, 0px 0px, 0px 0px;
    background-image: radial-gradient(
            49% 81% at 45% 47%,
            #f8fe0a73 0%,
            #073aff00 100%
        ),
        radial-gradient(113% 91% at 17% -2%, #ff9100ff 1%, #ff000000 99%),
        radial-gradient(142% 91% at 83% 7%, #ffdb00ff 1%, #ff000000 99%),
        radial-gradient(142% 91% at -6% 74%, #f84f8eff 4%, #ff000000 99%),
        radial-gradient(142% 91% at 111% 84%, #ff0012ff 0%, #ff0000ff 100%);
}

.header__inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 1rem 5rem;
    box-sizing: border-box;
    color: #fff;
}

.header__logo {
    width: min(100%, 700px);
}

.header__logo-image {
    width: 100%;
    height: auto;
}

.header__heading {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    margin: 9rem 0 3rem;
}

.header__subheadings {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
    font-size: 11px;
}

.header__subheading {
    margin: 1rem 0;
}

.header__church-logo {
    margin-top: 3rem;
}

.main > * {
    max-width: 120rem;
    margin: 0 auto;
    padding: 2rem;
}

.presentation {
    gap: 5rem;
}

.presentation > * {
    flex-grow: 1;
    width: 100%;
}

.presentation__text p:first-child {
    margin-top: 0;
}

.presentation__video iframe {
    max-width: 100%;
}

.schedule-speakers-container {
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    margin-top: 5rem;
}

.schedule-speakers-container .schedule,
.schedule-speakers-container .speakers {
    flex: 1;
    margin-top: 0;
}

@media (max-width: 768px) {
    .schedule-speakers-container {
        flex-direction: column;
    }

    .schedule-speakers-container .schedule,
    .schedule-speakers-container .speakers {
        width: 100%;
    }

    .schedule-speakers-container .speakers {
        margin-top: 3rem;
    }
}

.schedule {
    justify-content: center;
    gap: 5rem;
    margin-top: 5rem;
}

.schedule > * {
    width: 40rem;
    max-width: 100%;
}

.schedule__heading {
    margin-top: 0;
    margin-bottom: 3rem;
    font-size: 2.4rem;
    text-align: center;
    text-transform: uppercase;
    font-weight: 400;
}

.schedule__subheading {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.schedule__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.schedule__item {
    position: relative;
    padding: 1rem 0 1rem 3rem;
}

.schedule__item span {
    display: block;
    padding: 0.5rem 0;
}

.schedule__item span:nth-child(n + 2) {
    margin-left: 5rem;
    display: list-item;
    list-style-type: disc;
}

.schedule__item::before {
    content: "";
    position: absolute;
    width: 0.2rem;
    top: 0;
    bottom: 0;
    left: 0.9rem;
    background-color: #083460;
}

.schedule__item::after {
    content: "";
    position: absolute;
    top: 1.4rem;
    left: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 1rem;
    background-color: #083460;
}

.schedule__item:first-of-type:before {
    top: 1.4rem;
}

.schedule__item:last-of-type:before {
    height: 1.4rem;
}

.speakers {
    margin-top: 5rem;
}

.schedule-speakers-container .speakers__heading {
    margin-top: 0;
}

.speakers__heading {
    margin-top: 5rem;
    margin-bottom: 3rem;
    font-size: 2.4rem;
    text-align: center;
    text-transform: uppercase;
    font-weight: 400;
}

.schedule-speakers-container .speakers__container {
    justify-content: center;
}

.speakers__container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-evenly;
}

.speaker {
    width: 100%;
    max-width: 25rem;
    text-align: center;
}

@media (max-width: 768px) {
    .speaker {
        width: 45%;
    }
}

.speaker__image-container {
    width: 100%;
    overflow: hidden;
    border-radius: 100%;
    aspect-ratio: 1;
    box-shadow: -0.4rem 0.6rem 0.8rem 0 #0000002e;
}

.speaker__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.speaker__name {
    font-size: 1.8rem;
    color: #000;
    margin-bottom: 0.5rem;
}

.speaker__info {
    margin-top: 0;
    font-size: 1.4rem;
}

.tax {
    max-width: none;
    margin-top: 5rem;
    padding-top: 5rem;
    padding-bottom: 5rem;
    text-transform: uppercase;
    font-size: 2.4rem;
    font-weight: 400;
    text-align: center;
    background-color: #f4f1de;
}

.registration {
    max-width: none;
    flex-direction: column !important;
    background-color: #083460;
    color: #fff;
    align-items: center;
    padding-top: 8rem;
}

.registration__heading {
    font-size: 2.4rem;
    text-align: center;
}

.registration__form {
    width: 50rem;
    max-width: 100%;
    font-size: 1.2rem;
    color: #fbfef9;
}

.form__group:not(:nth-of-type(1)) {
    margin-top: 5rem;
}

.form__group-heading {
    font-size: 1.6rem;
}

.form__field {
    margin: 2rem 0;
}

.form__field input[type="text"],
.form__field input[type="tel"],
.form__field input[type="number"],
.form__field input[type="email"] {
    display: block;
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.5rem;
    box-sizing: border-box;
    background-color: #fbfef9;
    border: none;
    border-radius: 0.4rem;
}

.form__field input[type="number"] {
    width: 50%;
}

.form__field--gender,
.form__field--relationship {
    display: flex;
    flex-direction: row;
    gap: 2rem;
}

.form__field--gender label,
.form__field--relationship label {
    display: flex;
    flex-direction: row;
}

.form__field input[type="radio"] {
    margin-left: 0;
    margin-right: 1rem;
}

.form__field--add-participant {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin: 4rem 0 0;
}

.form__add-participant-button {
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: underline;
    color: #fff;
    padding: 1rem 0;
    font-size: 1.6rem;
    white-space: nowrap;
}

.form__add-participant-text {
    font-size: 1.6rem;
}

button.form__add-participant-button::before {
    content: "+";
    font-size: 2rem;
}

.form__field--agree {
    margin: 4rem 0;
}

.form__field--agree label {
    display: flex;
    gap: 2rem;
}

.form__field--agree input {
    transform: scale(1.5);
}

.form__submit {
    width: 100%;
    text-transform: uppercase;
    color: #fbfef9;
    background-color: #f4906c;
    padding: 1.9rem 9.5rem;
    margin: 1rem 0;
    border: none;
    border-radius: 0.8rem;
    box-shadow: -0.1rem 0 0.4rem 0.2rem rgba(0 0 0 / 0.11);
    cursor: pointer;
}

.footer {
    align-items: center;
    padding: 8rem 2rem;
    color: #fbfef9;
    background-color: #083460;
}

.footer > * {
    max-width: 100%;
    width: 50rem;
    margin: 0 auto;
}

.footer a {
    color: #fbfef9;
}

.footer__church-logo {
    text-align: center;
    margin-top: 8rem;
}
