* {
    padding: 0;
    margin: 0;
}

.carousel {
    width: 100%;
    height: 20vh; /* Adjust the height of the carousel to your preference */
    overflow: hidden;
}

.carousel-track-container {
    display: flex;
    animation: scroll 5s linear infinite;
}

.carousel-slide {
    flex: 0 0 auto;
    width: calc(100% / 5); /* Each slide is one-fifth of the container */
    height: 25vh; /* Slide height matches the carousel */
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-slide img {
    max-height: 100%; /* Image height will not exceed the container height */
    max-width: 100%; /* Image width will not exceed the container width */
    min-height: 100%;
    max-height: 100%;
    object-fit: cover; /* Image will scale within the container, maintaining its aspect ratio */
}

body {
    margin-top: 2vh;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    background-color: #adba8d;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%); /* Scroll through the entire set */
    }
}

.subheader-container {
    margin: 2vh 0 -6vh 10vw;
    display: flex;
    align-items: center;
    transform: scale(75%);
}

.main-container {

    width: 100%;
    height: 50%;
    display: flex;
    gap: 10vw;
    justify-content: center;
    align-items: center;
    margin: 2% 0 0 0;

}

.main-vid {
    display: flex;
    flex-direction: row;
}

.main-left {
    display: flex;
    flex-direction: column;
    height: 50%;
    width: 50%;
}

.main-right {
    display: flex;
    flex-direction: column;
    height: 50%;
    width: 50%;
}

.text-container {
    display: flex;
    justify-content: center;
    align-items: center; 
    margin-bottom: 2.5vh;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-style: italic;
    font-size: 2em;
}

.button-container {
    display: flex;
    justify-content: center;
    align-items: center; 
    flex-wrap: wrap; 
    gap: 10px; 
    padding: 10px 0;
    z-index: 1;
  }
  
  .sharp-button {
    border: 2px solid #333;
    background-color: #fff;
    color: #333;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    outline: none;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  }


  .ticker-container {
    width: 100%;
    position: fixed; /* Fixes the container to the bottom of the page */
    bottom: 0; /* Aligns the container to the bottom */
    left: 0; /* Aligns the container to the left */
    height: 100px; /* Set a fixed height for the container */
    overflow: hidden; /* Hides any part of the GIF that exceeds the container size */
    padding-bottom: 20px;
    z-index: -1;
  }

.ticker {
    height: 100%; /* This will make the GIF's height equal to the container's height */
    object-fit: contain; /* Ensures the GIF is scaled within the container without being cut off */
    animation: slide 5s linear infinite;
    margin-right: 50px;
}

@keyframes slide {
    0% {
      transform: translateX(400%);
    }
    100% {
      transform: translateX(-350%);
    }
}