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-position: center;
    background-repeat: no-repeat;
    background-image: linear-gradient(
            to bottom,
            rgba(255 255 255 / 0) calc(100% - 8rem),
            rgba(251 254 249 / 0.7) calc(100% - 8rem),
            rgba(251 254 249 / 1) 100%
        ),
        url("../images/hero-bg.jpg");
    background-size: cover;
}

@media (max-width: 400px) {
    .header {
        background-image: linear-gradient(
                to bottom,
                rgba(255 255 255 / 0) calc(100% - 8rem),
                rgba(251 254 249 / 0.7) calc(100% - 8rem),
                rgba(251 254 249 / 1) 100%
            ),
            url("../images/hero-bg-small.jpg");
    }
}

.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-image {
    height: max(20rem, 40vh);
    width: 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 {
    justify-content: center;
    gap: 5rem;
    margin-top: 5rem;
}

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

.schedule__heading {
    font-size: 18px;
    font-weight: 700;
}

.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;
}

.workshops {
    margin-top: 5rem;
}

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

.workshops__subheading {
    text-align: center;
    margin-bottom: 5rem;
    font-weight: 300;
}

.workshops__container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
}

.workshop {
    padding: 1.4rem 1.5rem;
    border: 0.1rem solid;
    border-radius: 1.6rem;
    box-shadow: -0.1rem 0.3rem 0.4rem 0 rgba(0 0 0 / 0.25);
}

.workshop:nth-child(2n + 1) {
    border-color: #083460;
}

.workshop:nth-child(2n) {
    border-color: #f4906c;
}

.workshop__title {
    font-size: 1.6rem;
    font-weight: 300;
}

.workshop__speaker {
    font-size: 1.2rem;
    font-weight: 300;
}

.workshop:nth-child(2n + 1) .workshop__speaker {
    color: #083460;
}

.workshop:nth-child(2n) .workshop__speaker {
    color: #f4906c;
}

.workshop__description {
    font-size: 1.2rem;
    margin: 3rem 0;
}

@media (max-width: 768px) {
    .workshops__container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .workshop:nth-child(1),
    .workshop:nth-child(4),
    .workshop:nth-child(5) {
        border-color: #083460;
    }

    .workshop:nth-child(2),
    .workshop:nth-child(3),
    .workshop:nth-child(6) {
        border-color: #f4906c;
    }

    .workshop:nth-child(1) .workshop__speaker,
    .workshop:nth-child(4) .workshop__speaker,
    .workshop:nth-child(5) .workshop__speaker {
        color: #083460;
    }

    .workshop:nth-child(2) .workshop__speaker,
    .workshop:nth-child(3) .workshop__speaker,
    .workshop:nth-child(6) .workshop__speaker {
        color: #f4906c;
    }
}

.speakers {
    margin-top: 5rem;
}

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

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

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

.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--oradea > * {
    display: block;
    margin: 1rem 0;
}

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

.workshop-fieldset {
    border: none;
    margin: 4rem 0 0 0;
    padding: 2rem 0 0;
}

.workshop-fieldset__container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.workshop-fieldset__label {
    position: relative;
    padding: 1.1rem 1.5rem;
    border: 0.1rem solid #fbfef9;
    border-radius: 1.6rem;
    box-shadow: -0.1rem 0.3rem 0.4rem 0 rgba(0, 0, 0, 0.25);
    cursor: pointer;
}

.workshop-fieldset__label span {
    display: block;
    padding: 0.4rem 0;
}

.workshop-fieldset__input {
    position: absolute;
    opacity: 0;
}

.workshop-fieldset__label:has(.workshop-fieldset__input:checked) {
    border-color: #428be0;
    background-color: #428be0;
}

.workshop-fieldset__label:has(.workshop-fieldset__input[disabled]) {
    border: none;
    color: rgba(87, 87, 87, 1);
    background-color: rgba(61, 61, 61, 0.74);
    box-shadow: none;
}

.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;
}
