.scroller {
    overflow: hidden;
    width: 100%;
    max-width: 600px;
    position: relative;
    display: flex;
    margin-top: 10px;
    margin-bottom: 20px;
}
.scroller-images{
    display: flex;
    width: calc(100% * 5);
    animation: scroll linear 10s infinite;
}

.scroller-images img {
    width: 100%;
    height: 100%;
}


@keyframes scroll {
  0%{transform: translateX(0);
  }  
100% {
    transform: translateX(-500%);

}}


.gallery {
    position: relative;
    width: 100%;
    height: 60%;
    object-fit: cover;
    max-width: 800px; /* Adjust max width for larger screens */
    border: 2px solid #ddd; /* Optional: Border for styling */
    border-radius: 8px; /* Optional: Rounded corners */
}

#gallery-image {
    width: 100%;
    height: 100%;
    opacity: 0;
    border-radius: 8px;
    transition: opacity 1s;
}
.bodi .about .gallery {
    position: relative;
    width: 100%;
    height: 500px;
    object-fit: cover;
    max-width: 800px; /* Adjust max width for larger screens */
    border: 2px solid #ddd; /* Optional: Border for styling */
    border-radius: 8px; /* Optional: Rounded corners */
}

.bodi .about #gallery-image {
    width: 100%;
    height: 100%;
    opacity: 0;
    border-radius: 8px;
    transition: opacity 1s;
}

.slider {
    position: relative;
    max-width: 600px;
    margin: auto;
    overflow: hidden;
    margin: 5px;
    border-radius: 5px;
    padding: 5px;
    margin-bottom: 20px;
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slides img {
    width: 100%;
    height: 400px; /* uniform height */
    object-fit: contain;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* form appearance  */

.form-container {
    max-width: 500px;
    margin: 40px auto;
    background-color: #ffffffcc;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(5px);
  }

.form-container h2 {
    text-align: center;
    color: #673ab7;
    margin-bottom: 20px;
  }

.form-container label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #333;
  }

.form-container input, select, textarea {
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    outline-color: #7c4dff;
  }

.form-container textarea {
    resize: vertical;
    min-height: 80px;
  }

.form-container button {
    width: 100%;
    background-color: #7c4dff;
    color: #fff;
    border: none;
    padding: 12px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

.form-container button:hover {
    background-color: #5e35b1;
  }

  @media (max-width: 600px) {
    .form-container {
      margin: 20px;
    }
  }

@media (max-width: 600px) {
    .slides img {
        height: 250px; /* responsive height */
    }
}

@media screen and (max-width: 700px){
    .bodi .about .gallery {
        height: 400px; 
}
}
@media screen and (max-width: 600px){
    .gallery {
        height: 50%;
    }
    .bodi .about .gallery {
        height: 300px; 
}
    
}
@media screen and (max-width: 450px){
    .gallery {
        height: 40%;
    }
    .bodi .about .gallery {
        height: 250px; 
}
}


.responsive-div {
    background-color: #490244;
    text-decoration: dotted;
    padding: 20px;
    text-align: center;
    font-size: 1.5em;
    margin: 10px;
}

.responsive-div .special{
    color: white;
    text-decoration: italic;
}

  .responsive-div .number-2{
    font-size: 55px;
    color: white;
    font-family: serif;

    animation: animate 3s linear infinite;
}

@keyframes animate {
    0% {
        opacity: 0;
        
        color: gold;
    }

    40% {
        color: gold;
    }

    100% {
        color: gold;
    }
}

@media screen and (max-width: 600px){
    .responsive-div{
        font-size: 1.0em;
    }
}