body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif, 'Roboto', sans-serif;

}

/* Apply styles to media carousel (background) */
.media-carousel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Place caption at the bottom */
    background-color: black; /* Set the background color to black */
}

/* Style the media items */
.media-carousel .media-item {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out; /* Add a smooth fade transition */
}

/* Style the image caption */
.image-caption {
    padding: 20px;
    background-color: rgba(0, 0, 0, 0); /* Semi-transparent background */
    color: white;
    font-size: 22px;
    font-family: Arial, sans-serif;
    /* Make the caption take up half of the width */
    width: 50%;
    box-sizing: border-box; /* Include padding in width calculation */
    /* Position the caption */
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1; /* Set z-index higher than the image to overlay it */
}

/* Style the logo */
.logo {
    padding: 20px;
    background-color: rgba(0, 0, 0, 0);
    color: white;
    font-size: 22px;
    font-weight: normal;
    font-family: Fraunces, serif;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1; /* Place the logo above the image and caption */
}

.link {
    padding: 20px;
    background-color: rgba(0, 0, 0, 0);
    color: white;
    font-size: 22px;
    font-weight: normal;
    font-family: Helvetica, serif;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1; /* Set z-index higher than the image to overlay it */
    text-decoration: none; /* Remove default underline */
    transition: text-decoration 0.3s; /* Add a smooth transition for the underline */
}

/* Style for the link */
.link a {
    color: white; /* Set the link color to white */
    text-decoration: none; /* Remove default underline */
    transition: text-decoration 0.3s; /* Add a smooth transition for the underline */
}

/* Add underline on hover */
.link a:hover {
    text-decoration: underline;
}

/* Style the play/pause button */
.play-pause {
    padding: 20px;
    background-color: rgba(0, 0, 0, 0);
    color: white;
    font-size: 22px;
    font-family: Arial, sans-serif;
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 1;
    cursor: pointer; /* Add a pointer cursor for interaction */
}
