/* HOME PAGE SETTINGS */

/* TITLE & SUBTITLE */
.page-title {
    font-size: 80px;
    margin-bottom: 10px;
    transition: color 0.3s ease, transform 0.3s ease, text-shadow 0.5s ease; /* Add text-shadow to the transition */
    cursor: pointer; /* Change cursor to indicate interactivity */
    width: 100%;
    text-shadow: 2px 2px rgb(163, 203, 250), -2px -2px white;
}

.page-subtitle {
    font-size: 40px; /* Adjust the font size as needed */
    text-shadow: 1px 1px rgb(163, 203, 250), -1px -1px white;
    transition: color 0.3s ease, transform 0.3s ease, text-shadow 0.5s ease;
}


/* SLIDESHOW */
.slideshow-container {
    display: flex;
    align-items: center;
    position: relative;
    align-content: center;

}

.slides-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
}

.slideshow-container img {
    max-width: 100%; /* Ensure the image does not exceed the width of its container */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Make the image a block element to center it horizontally */
    margin: 0 auto; /* Center the image horizontally */
    box-shadow: gray 0 0 5px;
}

.mySlides {
    display: none;
}

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

@keyframes fade {
    from {opacity: .8} 
    to {opacity: 1}
}

.text-overlay {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 24px;
    background-color: rgb(0, 59, 92, .8); /* Semi-transparent background */
    padding: 8px;
    border-radius: 4px;
    text-align: center;
    border-radius: 5%;
}

/* Style for navigation arrows */
.prev, .next {
    cursor: pointer;
    width: auto;
    padding: 24px; /* Increase the padding for more space around the arrows */
    font-weight: bold;
    font-size: 36px; /* Increase the font size to make the arrows larger */
    transition: 0.6s ease;
    user-select: none;
    z-index: 1; /* Ensure the arrows are on top of other elements */
}

.next {
    border-radius: 3px 0 0 3px;
}

.prev {
    border-radius: 3px 3px 0 0;
}

.prev:hover, .next:hover {
    opacity: 0.8;
    text-decoration: none;
}

@media (min-width: 900px) {
    .text-overlay {
        font-size: 30px;
    }
    .slideshow-container img {
        width: 85%;
    }
    .prev, .next {
        font-size: 56px;
    }
    
}

/* PRACTICE INFO */

/* edit practice info section */
.practice-section{
    flex-direction: column;
    text-align: center;
} 

/* edit practice info section */
.practice-section div{
    font-size: 30px;
    margin-bottom: 100px;
}
@media (max-width: 900px) {
    .practice-section div{
        font-size: 24px;
    }
}

h3 {
    margin-bottom: -30px;
    font-size: 48px;
}

/* customizing when/where/who list */
.practice-details ul{
    list-style-type: none;
    padding-left: 20px;
} 

/* Add spacing between list items */
.practice-details li {
    margin-bottom: 20px; 
} 


/* FADE-IN ANIMATIONS */

/* Initial state: hidden with translation and transition */
.practice-join-us,
.practice-details,
.race-pics-blurb,
.race-pics,
.dc-pics-blurb,
.dc-pics,
.fun-run-pics-blurb,
.fun-run-pics,
.extra-pics-blurb,
.extra-pics,
.links-info,
.links-section,
.mailchimp {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}
/* Visible state: fully opaque and no translation */
.practice-join-us.visible,
.practice-details.visible,
.race-pics-blurb.visible,
.race-pics.visible,
.dc-pics-blurb.visible,
.dc-pics.visible,
.fun-run-pics-blurb.visible,
.fun-run-pics.visible,
.extra-pics-blurb.visible,
.extra-pics.visible,
.links-info.visible,
.links-section.visible,
.mailchimp.visible {
    opacity: 1;
    transform: translateY(0);
}


/* PICTURE SECTION */

/* Edit pics sections */
.home h4 {
    font-size: 36px;
    margin-bottom: -20px;
    margin-top: 50px;
}

.home-pics{
    align-items: center;
}

.home-pics figure{
    margin: 15px;
    text-align: center;
    width: 400px;
    text-transform: uppercase;
} 

.home-pics figure img{
    width: 100%; /* Make the images responsive within the figure */
    max-width: 100%;
    height: auto;
    border: 1px solid white;
    box-shadow: gray 0 0 10px;
    border-radius: 10%;
}

.race-pics figure, .fun-run-pics figure{
    display: inline-block;
}
.race-pics figure img, .fun-run-pics figure img{
    border-radius: 50%;
}
figcaption {
    font-size: 20px;
}

.dc-pics, .extra-pics{
    display: flex;
    flex-direction: column;
}
.dc-pics div, .extra-pics div{
    display: flex;
    flex-direction: row; /* Align items in a row */
    justify-content: center; /* Center the figures horizontally */
    width: 100%; /* Ensure the row takes the full width of the container */
}


/* JOIN US - LINKS SECTION */

/* Edit links section */
.links-info h3 {
    font-size: 48px;
    margin-top: 100px;
    margin-bottom: -20px;
    text-align: center;
}

/* button customizations */

.links-section {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0;
    margin-bottom: 50px;

}

.links-section a {
    display: inline-block;
    text-decoration: none;
    border: none;
    background: none;
    cursor: pointer;
    margin: 0 25px;
}

.links-section a img {
    display: block;
    max-width: 80px;
    height: auto;
}

.links-section a:hover img {
    opacity: 0.8;
}

.mailchimp {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0, 10%, 50px;
}

.mailchimp h3{
    font-size: 36px;
    text-align: center;
    margin-bottom: -10px;
}
div.indicates-required{
    margin: -20px, 0, 10px;

}


/* ADJUSTING SIZING FOR MOBILE */

@media (max-width: 700px) {
    .page-title {
        font-size: 45px;
    }
    .page-subtitle {
        font-size: 25px; 
    }
    .text-overlay {
        font-size: 14px;
    }
    .slideshow-container img {
        width: 95%;
    }
    .prev, .next {
        padding: 0px;
        border-radius: 0px;
    }
    h3 {
        margin-bottom: -30px;
        font-size: 36px;
    }
    h4 {
        font-size: 30px;
    }
    li {
        font-size: 20px;
    }

    .practice-section div{
        font-size: 25px;
    }
    .home-pics {
        flex-direction: column;
    }

    .fun-run-pics figure, .race-pics figure, .extra-pics figure, .dc-pics figure {
        max-width: 80%;
    }

    .home-pics div{
        flex-direction: column;
        align-items: center;
        margin: 0px;
        padding: 0px;
        gap: 0px;
    }

    .mobile-hide {
        display: none; 
    }

    .mailchimp{
        margin: 0, 0, 50px;
    }
    .mailchimp h3{
        margin-bottom: 0px;
    }
}