@font-face {
    font-family: 'Edu-Hand';
    src: url('/static/fonts/EduAUVICWANTHand-VariableFont_wght.ttf') format('woff2');
    font-weight: 600;
}

#heading {
    @media (max-width: 768px) {
        display: none;
    }
}
#heading h1 {
    @media (max-width: 920px) {
        font-size: 1.1rem !important;
    }
}

.text-drop-shadow {
    text-shadow: 0 6px 12px rgba(200, 200, 200, 0.5);
}

.image-drop-shadow {
    border: 3px solid #555;
    box-shadow: 5px 5px 5px rgba(200, 200, 200, 0.5);
}

.slideshow-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* Add this line to center content horizontally */
    width: 95%;
    height: 0%;
    max-height: 89vh; /* Do not exceed the height of the viewport */
    overflow: hidden; /* Hide any overflow */
    margin: auto; /* Center the container in the middle of its parent */
}

.slides {
    display: flex; /* Use flexbox */
    justify-content: center; /* Center horizontally, effective if flex-direction is row */
    align-items: center; /* Center vertically */
    height: 100%; /* Fill the height of the parent */
}

/* Ensure images do not exceed the container's dimensions */
.slides img {
    max-height: 100%; /* Adjust the height to fit the container */
    max-width: 100%; /* Adjust the width to fit the container */
    object-fit: contain; /* Keep the aspect ratio of the image */
    display: block; /* Ensure img is treated as a block-level element */
    margin: auto; /* Center the image within its container */
}

.like-button {
    cursor: pointer;
    position: absolute;
    top: 30px;
    z-index: 1;
    width: auto;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
    background-color: rgba(200, 200, 200, 0.4);
}

/* Caption text */
.caption {
    color: #f2f2f2;
    padding: 8px 12px;
    width: 100%;
}

/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

/* The dots/bullets/indicators */
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active,
.dot:hover {
    background-color: #717171;
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}
