body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    color: #8B6E5A;
    background-color: #f1edea;
}

.body-with-background {
    margin: 0;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(28%);
    z-index: -1;
    background-image: url("/assets/svatba/dekujeme-50c05cba.webp");
}

p {
    text-align: justify;
}

a {
    color: #8B6E5A;
}

img {
    transition: filter 300ms;
}

img:hover,
img:active {
    filter: brightness(120%);
    transition: filter 300ms;
}

iframe {
    border-radius: 8px;
    border: 0;
}

form {
    text-align: center;
}

.section:last-child div div:last-child {
    text-align: center;
    margin-top: 32px;
    margin-bottom: 32px;
}

.section>div {
    max-width: 800px;
    margin: 0 auto;
    padding: 32px;
    padding-bottom: 64px;
}

.section:nth-child(even) {
    background-color: #FFFFF0;
}

.section:nth-child(odd) {
    background-color: #f1edea;
}

.fancy-name {
    width: 100%;
    display: block;
    margin: 0 auto;
    max-width: 491px;
    height: auto;
}

.mlyn-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.invitation {
    font-size: 24px;
    padding-top: 32px;
    font-style: italic;
}

.intro-section {
    display: grid;
    grid-template-columns: 50% 50%;
    margin-top: 32px;
}

.person-container {
    display: grid;
    grid-template-columns: 200px auto;
    margin-bottom: 32px;
}

.person-container img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
}

.time {
    display: inline-block;
    width: 3em;
}

.dress-code-bullet {
    width: 40px;
    height: 40px;
    display: inline-block;
    border-width: 2px;
    border-style: solid;
    border-radius: 100%;
}

.beige {
    background-color: #F1E4D1;
    border-color: #e9d8bf;
}

.cappuccino {
    background-color: #C7B19E;
    border-color: #b49b85;
}

.caramel {
    background-color: #DFBE96;
    border-color: #d1ad82;
}

.light-pink {
    background-color: #BC9C9A;
    border-color: #ac8481;
}

.green {
    background-color: #9B9472;
    border-color: #8d8661;
}

.my-container img {
    border-radius: 8px;
    max-width: 300px;
    width: 100%;
    height: auto;
}

.my-container span {
    display: inline-block;
    width: 100%;
    text-align: center;
    font-weight: 500;
}

.my-container div {
    margin-top: 16px;
}

.my-container {
    text-align: center;
}

.form-password {
    height: 100vh;
    display: grid;
    place-items: center;
}

.form-password h3 {
    text-align: center;
}

.form-button {
    background-color: #b49b85;
    border-color: #C7B19E;
    border-width: 1px;
    border-style: solid;
    border-radius: 12px;
    display: inline-block;
    padding: 8px 16px 8px 16px;
    font-size: 20px;
    font-weight: 500;
    color: white;
    text-decoration: none;
}

.form-error {
    display: inline-block;
    color: #ff0000;
    margin-top: 16px;
    font-weight: bold;
    background-color: #ffc3c3;
    padding: 4px 8px 4px 8px;
    border-radius: 8px;
}

@media only screen and (min-width: 801px) {
    .my-container div:first-child {
        display: inline-block;
        margin-left: 48px;
    }

    .my-container div:nth-child(2) {
        display: inline-block;
        width: 28px;
        height: 1px;
    }

    .my-container div:last-child {
        display: inline-block;
        margin-right: 48px;
    }

    .person-container div {
        margin-left: 32px;
    }

    .gifts {
        display: grid;
        grid-template-columns: auto 200px;
    }

    .gifts div {
        margin-right: 32px;
    }

    iframe {
        width: 100%;
        height: 350px;
        margin-bottom: 32px;
    }

    .intro-section>div {
        margin-left: 32px;
    }

    h2,
    h3 {
        margin-top: 0px;
    }

}

@media only screen and (max-width: 800px) {

    h2,
    h3 {
        text-align: center;

    }

    iframe {
        width: 100%;
        height: 300px;
    }

    .my-container div {
        text-align: center;
    }

    .intro-section {
        display: table-row;
    }

    .intro-section div {
        margin-top: 16px;
    }

    .mlyn-image {
        width: 100%;
        display: block;
        margin: 0 auto;
        max-width: 400px;
        height: auto;
        border-radius: 8px;
    }

    .person-container {
        display: table-row;
    }

    .person-container {
        text-align: center;
    }


    .person-container div {
        margin-left: 0px;
    }

    .colors {
        text-align: center;
    }

    .gifts {
        text-align: center;
    }

    .uvod {
        font-size: 20px;
    }

}