*{
    margin: 0%;
    padding: 0%;
    font-family: "Kanit", serif;
}

.main-container{
    width: 100%;
    height:915px;
    background: radial-gradient(circle, rgba(0,0,0,1) 55%, rgba(43,42,42,1) 100%, rgba(228,68,68,1) 100%);
}
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: black; /* Transparent background */
    padding: 10px 0;
    z-index: 1000;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar-left img {
    height: 40px; /* Adjust logo size */
}

.navbar-links {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.navbar-links li {
    margin: 0 25px;
}

.navbar-links a {
    color: white;
    text-decoration: none;
    font-size: 20px;
    transition: color 0.3s;
}

.navbar-links a:hover {
    color: #007bff; /* Blue color on hover */
}
.intro{
    text-align: center;
    padding: 120px;
    color: rgb(171, 240, 240);
    font-size:70px;
}
.intro2{
    text-align: center;
    color: rgb(171, 240, 240);

}
.content{
    position: relative;
    margin-left: 830px;
    margin-top: 100px;
    width: 230px;
    height: 230px;
    transform-style: preserve-3d;
    animation: animate 30s linear infinite;
}
@keyframes animate{
    0%{
        transform: perspective(1000px) rotateY(0deg);
    }
    100%{
        transform: perspective(1000px) rotateY(-370deg);
    }
}
.content span{
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    transform-style: preserve-3d;
    transform-origin: center;
    transform: rotateY(calc(var(--i)*45deg))translateZ(370px);
}
.content span img{
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    object-fit: contain;
    border-radius: 3%;
    transition: 1.5s;
}
.content span img:hover{
    transform: translateY(30px) scale(1.2);
    cursor: pointer;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    max-width: 750px;
    width: 100%;
    margin-left: 600px;
  }
  
  .gallery-item {
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease-in-out;
  }
  
  .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease-in-out;
  }
  
  .caption {
    position: absolute;
    bottom: 10px;
    left: 20px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 10px;
    display: none;
  }
  
  .gallery-item:hover .caption {
    display: block;
  }
  
  .fade img {
    opacity: 50;
    transform: translateY(-20px);
  }
  
  .fade:hover img {
    opacity: 8;
    transform: translateY(5);
  }
  
  
  /* Zoom Effect */
  .scale img {
    transform: scale(1);
  }
  
  .scale:hover img {
    transform: scale(1.2);
  }
  
  /* Rotate Effect */
  .rotate img {
    transform: rotate(0deg);
  }
  
  .rotate:hover img {
    transform: rotate(180deg);
  }
  
  /* Slide In Effect */
  .slide img {
    transform: translateX(-30%);
  }
  
  .slide:hover img {
    transform: translateX(0);
  }
  
  /* Blur Effect */
  .blur img {
    filter: blur(0);
  }
  
  .blur:hover img {
    filter: blur(5px);
  }
  
  /* Flip Effect */
  .flip img {
    transform: perspective(600px) rotateY(0deg);
  }
  
  .flip:hover img {
    transform: perspective(600px) rotateY(180deg);
  }
.twodgallery{
    width: 100%;
    height:915px;
    background: radial-gradient(circle, rgba(0,0,0,1) 55%, rgba(43,42,42,1) 100%, rgba(228,68,68,1) 100%);
}
.intro3{
    text-align: center;
    color: rgb(171, 240, 240);
    margin-top: 210px;
}
.intro4{
    text-align: center;
    color: rgb(171, 240, 240);
}
.galleryy {
    display: flex;
    gap: 50px;
    align-items: center;
    justify-content: center;
}

.galleryy-item {
    position: relative;
    width: 400px;
    height: 350px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
   
}




/* Image 1 - Rotate Effect */
.rotate img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.rotate:hover img {
    transform: rotate(15deg);
}

/* Image 2 - Grayscale to Color Effect */
.grayscale img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.grayscale:hover img {
    filter: grayscale(0%);
}


   /* Image 3 - Opacity Fade Effect */
   .opacity-fade img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.opacity-fade:hover img {
    opacity: 0.7; /* Image fades to 70% opacity on hover */
}

.caption1 {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 5px 10px;
    font-size: 16px;
    border-radius: 5px;
  
}

        /* Footer Style */
        footer {
            width: 100%;
            text-align: center;
            padding: 20px 0;
            color: white;
            background-color: #333;
            position: relative;;
            bottom: 0;
            left: 0;
        }

        .footer-content {
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
        }

        .footer-content p {
            margin: 5px;
            font-size: 14px;
        }

        .footer-content a {
            color: white;
            text-decoration: none;
        }

        .footer-content a:hover {
            text-decoration: underline;
        }
