@import url('https://fonts.googleapis.com/css2?family=Delicious+Handrawn&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    width: 100%;
    min-height: 100vh;
    margin: 0;
}

.bg-container {
    background-image: url('./public/DSC_5069.jpg');
    background-size: cover;
    position: fixed;
    background-position: center;
    background-repeat: no-repeat;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 0;
}
/* Add these new styles */
@media screen and (max-width: 768px) {
    .bg-container {
        animation: zoomOut 1s ease-out forwards;
        transform-origin: center;
        background-position: 75% center;
    }
}

@keyframes zoomOut {
    from {
        transform: scale(1.5);
    }
    to {
        transform: scale(1);
    }
}

.hero-text {
    color: #E6E6FA !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5=7);
    font-size: 4rem;
    font-weight: 700;
    z-index: 1;
    position: relative;
    font-family: 'Delicious Handrawn' !important;
}

.uk-height-large {
    height: 100vh;
    position: relative;
    overflow: visible;
    padding-bottom: 2rem;
}

.event-details {
    color: #E6E6FA !important;
    font-family: 'Delicious Handrawn', cursive !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    font-size: 2rem;
    z-index: 1;
    position: relative;
}

.uk-button-primary {
    background-color: #E6E6FA !important;
    color: #333 !important;
    font-family: 'Delicious Handrawn', cursive !important;
    font-size: 1.2rem;
    border-radius: 5px;
    padding: 10px 30px;
}

#home, #details {
    transition: opacity 0.3s ease-in-out;
}

/* details page css */

.uk-height-large-details {
    height: 100vh;
    position: relative;
    overflow: hidden;
    padding: 2rem;
    max-width: 100vw;
}

.hero-text-details {
    color: #E6E6FA  !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7); 
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    z-index: 1;
    position: relative;
    font-family: 'Delicious Handrawn' !important;
    margin-top: 40px;
    text-align: center;
    width: 100%;
    display: block !important;
}

.bg-details-container {
    background-image: url('./public/DSC_4962.jpg');
    background-size: cover;
    position: fixed;
    background-position: center;
    background-repeat: no-repeat;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 0;
    &::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(255, 255, 255, 0.2); /* Adjust last value (0.3) for transparency level */
    }
}

.card-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    z-index: 1;
    display: flex;
    justify-content: center;
}

.info-image {
    max-width: 100%;
    height: auto;
    display: block;
}

.details-card {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* margin: 1rem; */
    display: inline-block;
}

.details-card:hover {
    transform: rotate(2deg);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.button-container {
    z-index: 1;
    width: 100px;
    justify-content: center;
    align-items: center;
    margin: 1rem auto;
    font-family: 'Delicious Handrawn', cursive !important;
    font-size: 1.2rem;
}

.uk-button {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    margin: 0 auto;
    background-color: #E6E6FA !important;
    color: #333 !important;
    font-family: 'Delicious Handrawn', cursive !important;
}


@media screen and (max-width: 768px) {
    .card-container {
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 0;
        text-align: center;
    }
    
    .details-card {
        width: 90%;
        margin: 0.5rem auto;
        display: flex;
        justify-content: center;
    }

    .uk-width-1-3\@m {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .info-image {
        margin: 0 auto;
    }
}