body, html {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    overflow-x: hidden;
}

.carousel-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center; 
    justify-content: center; 
    overflow: hidden;
}

.carousel-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    animation: fade 12s infinite;
    opacity: 0;
}

.carousel-bg:nth-child(1) {
    animation-delay: 0s;
}

.carousel-bg:nth-child(2) {
    animation-delay: 4s;
}

.carousel-bg:nth-child(3) {
    animation-delay: 8s;
}

@keyframes fade {
    0%, 100% {
        opacity: 0;
    }
    33%, 66% {
        opacity: 1;
    }
}

.carousel-text {
    position: relative;
    z-index: 2; /* Ensure it appears above the background */
    text-align: center;
    color: white;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    margin-top: 5rem; /* Push the text down */
}

.carousel-text h1 {
    font-size: 3rem;
    margin: 0;
}

.carousel-text p {
    font-size: 1.5rem;
    margin: 0;
    margin-top: 10px;
    opacity: 0.9;
}
/*author box*/
.author-box {
    background-color: #f5f5f5;
    border-radius: 8px; 
    padding: 20px;
    max-width: 900px;
    margin: 30px auto; 
    font-family: Arial, sans-serif;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); 
  }
  .author-box h3 {
    margin-top: 0;
    font-size: 18px;
    font-weight: bold;
  }
  .author-box h4 {
    color: #007b5e; 
    margin: 10px 0;
    font-size: 20px;
  }
  .author-box p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
  }
  .author-box:hover{
    transform: scale(1.2);
  }

  /*spin cards*/
  .marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    background-color: #fff;
    padding: 20px 0;
}

.marquee-content {
    display: inline-flex;
    animation: marquee 15s linear infinite;
}

.card {
    width: 200px;
    margin: 0 10px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    background-color: #fff;
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

.card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.card h5 {
    margin: 10px 0;
    font-size: 16px;
}

.card:hover {
    transform: scale(1.1);
}

.info-box {
    display: none;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 10px;
    font-size: 14px;
}

.card:hover .info-box {
    display: block;
}

@keyframes marquee {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}


.marquee-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.card {
    flex: 1;
    min-width: 250px;
    max-width: 400px;
    text-align: center;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    background: #fff;
    transition: transform 0.3s ease-in-out;
}

.card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.card:hover {
    transform: scale(1.05);
}

.info-box {
    font-size: 16px;
    margin-top: 10px;
    color: #333;
}
.squares{
    color: white;
}