@keyframes weddingDance {

    0%,
    100% {
        transform: translateX(0) rotate(0deg);
    }

    25% {
        transform: translateX(-15px) rotate(-3deg);
    }

    50% {
        transform: translateX(15px) rotate(3deg);
    }

    75% {
        transform: translateY(-8px) scale(1.00);
    }
}

@keyframes crazyPopGlow {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.6);
    }
    100% {
      transform: scale(1);
    }
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    font-family: 'Public Sans', sans-serif;
    font-weight: 400;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    /* This centers everything */
    background: url('/svatba/opero.webp') center center no-repeat;
    background-size: cover;
    background-attachment: fixed;
    text-align: center;
    padding: 20px;
    color: black;
    min-height: 100vh;
    /* Full height */
    margin: 0;
}

.container {
    display: inline-block;
    padding: 20px;
    background: rgba(243, 215, 154, 0.6);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    animation: weddingDance 3s infinite ease-in-out;
    max-width: 450px;
    width: 85%;
    font-weight: 200;
    flex-grow: 0;
}

.banner {
    width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
    border-radius: 10px;
    object-fit: contain;
}

.image-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: 10px;
}

.image-container img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
    transform: translateX(100%);
    transition: transform 0.6s ease-in-out;
    z-index: 1;
}

img.active {
    transform: translateX(0%);
    z-index: 2;
}

img.exit-left {
    transform: translateX(-100%);
    z-index: 1;
}

h1 {
    font-weight: 900;
}

form {
    margin-top: 20px;
}

label {
    display: block;
    width: 100%;
    margin-bottom: 10px;
    padding: 8px;
    font-size: 18px;
    box-sizing: border-box;
}

input,
textarea,
select {
    display: block;
    width: 100%;
    margin-bottom: 10px;
    padding: 8px;
    font-size: 18px;
    box-sizing: border-box;
}

button {
    width: 100%;
    padding: 15px;
    background: #C9976C;
    font-family: 'Public Sans', sans-serif;
    color: black;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}

button.camera {
    aspect-ratio: 1 / 1;
    width: auto;
    flex-shrink: 0;
    padding: 5px 10px;
    display: flex;
    justify-content: center;
    font-size: 32px;
}

.button-container {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.details {
    margin: 20px 0;
    font-size: 18px;
}

.blob {
    background: rgb(255, 255, 255);
    border-radius: 10px;
}

#comments {
    height: 100px;
}

#medvedVideo {
    margin-top: 20px;
    border: 3px solid #C9976C;
    display: none;
}
  
#kacaba {
    font-size: 2rem;
    color: white;
    background-color: red;
    padding: 10px;
    border-radius: 10px;
    display: inline-block;
    animation: crazyPopGlow 1s infinite ease-in-out;
}
  

/* Media Query for Mobile */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    .container {
        width: 85%;
        margin-top: 20px;
    }
}