@font-face {
    font-family: 'changuttan';
    /* Name your font family */
    src: url('assets/Changeling_Neo/Changeling\ Neo\ Regular.otf');
    /* Locate the .ttf file within your directory*/
}

*{
    padding: 0;
    margin: 0%;
    scroll-behavior: smooth;
}
    
    body{
        overflow-x: hidden;
        background-color: #0F1321;
        font-family: 'changuttan';
    text-transform: uppercase;
    }
    #page1{
        position: relative;
        filter: blur(30px);
        transition: all 3s ease;
        overflow: hidden;
        height: 100vh;
    }
    #sidebar{
        position: fixed; /* Keeps it in place while scrolling */
        left: 0; /* Aligns it to the left */
        top: 50%; /* Centers it vertically */
        transform: translateY(-50%); /* Ensures perfect centering */
        width: 150px; /* Adjust based on design */
        background: transparent; /* Keep background if necessary */
        z-index: 1000; /* Keeps it above other content */
        padding: 10px;
    }
   
    
    li,a{
        text-decoration: none;
        list-style-type: none;
        margin-bottom: 10px;
        font-size: 21px;
        color: grey;
    }

    #list{
        height: auto;
        transform: translate(0%,45%);
        position: fixed; /* Keeps it in place while scrolling */
    left: 20px; /* Aligns it to the left */
    top: 50%; /* Centers it vertically */
    transform: translateY(-50%); /* Ensures perfect centering */
    width: 150px; /* Adjust based on design */
    background: transparent; /* Keep background if necessary */
    z-index: 1000; /* Keeps it above other content */
    padding: 10px;
    }
    
    #yasyalogo{
        position: absolute;
        top: -20%;
        left: 27%;
        width: 60%;
        height: 140%;
        opacity: 1%;
    }

    #woman{
        position: absolute;
        top: 40%;
        left: 33%;
        height: 60%;
        transition: all 3s ease;
    }

    #yasyabigtitle{
        position: absolute;
        top: 0%;
        left: 30%;
        transition: all 3s ease;
        scale: 1.7;
        z-index: -1;
    }

    #stistbigtitle{
        position: absolute;
        top: 0%;
        left: 17%;
        scale: 1.2;
        transition: all 3s ease;
    }
    #edition{
        position: absolute;
        top: 30%;
        right: 16%;
    }

    #Home:hover{
        color: white;
        transition: all 1s ease;
        font-size: 25px;
    }
    #Intercollege:hover{
        color: white;
        transition: all 1s ease;
        font-size: 25px;
    }
    #Proshows:hover{
        color: white;
        transition: all 1s ease;
        font-size: 25px;
    }


    /* page2 */
    
    #page2{
        position: relative;
        background-image: url('assets/background.png');
        background-repeat: no-repeat;
         background-size: cover;
         height: 150vh; 
        overflow: hidden;
    }
    
    
    #Home2:hover,#Proshows2:hover{
        color: white;
        transition: all 1s ease;
        font-size: 20px;
    }
    #sidebar2{
        display: flex;
        position: absolute;
        left: 3%;
        top: 25%;
        scale: 1.7;
    }
    
    /* card */


    #anju{
        position: absolute;
        top: 30%;
        left: 20%;
    }
    #intercontainer1{
        position: absolute;
        top: 35%;
        left: 20%;
    }
    #intercontainer2{
        position: absolute;
        top: 35%;
        left: 40%;
    }
    #intercontainer3{
        position: absolute;
        top: 35%;
        left: 60%;
    }
    #intercontainer4{
        position: absolute;
        top: 35%;
        left: 80%;
    }
    #intercontainer5{
        position: absolute;
        top: 55%;
        left: 20%;
    }
    #intercontainer6{
        position: absolute;
        top: 55%;
        left: 40%;
    }
    #intercontainer7{
        position: absolute;
        top: 55%;
        left: 60%;
    }
    #intercontainer8{
        position: absolute;
        top: 55%;
        left: 80%;
    }
    #intersub{
        scale: 1;
    }
    #interback2{
        position: absolute;
        top: 8%;
        left: 4%;
        filter: saturate(0%);
        scale: 1;
        transition: all 1s ease;
    }
    #intercard{
        width: 310px;
        position: relative;
    }
    
    #interrobot{
        position: absolute;
        top: 21%;
        left: 6%;
        width: 80%;
        height: 70%;
        transition: all 0.5s ease;
        transform-origin: bottom; /* Set the transform origin to the top */
        transform: scale(1); 
        filter: saturate(200%);
    }
    
    #intercard:hover #interrobot{
        transform: scale(1.25,1.5);
        opacity: 1;
    }
    
    #intercard:hover #interback2{
        filter: saturate(100%);
    }
    
    h1{
        color: rgb(255, 255, 255);
        text-align: left;
        width: 100%;
        margin-left: 20%;
        margin-top: 1%;
        font-size: 30px;
    }
    /* page3 */
    #page3{
        position: relative;
        background-image: url('assets/proshow.png');
        background-repeat: no-repeat;
        background-size: cover;
        height: 90vh;
        overflow: hidden;
        
    }
    /* #Proshows3{
        color: white;
    } */
    #Intercollege3,#Home3,#Proshows3{
        font-size: 15px;
    }
    #Intercollege3:hover,#Home3:hover,#Proshows3:hover{
        color: white;
        transition: all 1s ease;
        font-size: 20px;
    }
    /* #Home3:hover{
        color: white;
        transition: all 1s ease;
        font-size: 20px;
    } */
    #sidebar3{
        display: flex;
        position: absolute;
        left: 6%;
        top: 30%;
        scale: 2.3;
    }
    /* card section */

#procontainer1{
    position: absolute;
    top: 30%;
    left: 23%;
}
#procontainer2{
    position: absolute;
    top: 30%;
    left: 63%;
}
#procontainer3{
    position: absolute;
    top: 60%;
    left: 45%;
}
#prosub{
    scale: 1.5;
}
#proback2{
    position: absolute;
    top: 8%;
    left: 4%;
    filter: saturate(0%);
    scale: 1.5;
    transition: all 1s ease;
}
#procard{
    width: 310px;
    position: relative;
}

#prorobot{
    position: absolute;
    top: 42%;
    left: 5%;
    width: 80%;
    height: 70%;
    transition: all 0.5s ease;
    transform-origin: bottom; /* Set the transform origin to the top */
    transform: scale(1.5); 
    filter: saturate(200%);
}

#procard:hover #prorobot{
    transform: scale(1.8,2.2);
    opacity: 1;
}

#procard:hover #proback2{
    filter: saturate(100%);
}

#protext{
        color: rgb(255, 255, 255);
        text-align: left;
        width: 100%;
        margin-left: 20%;
        margin-top: 30%;
        font-size: 30px;
}

#procenter{
    margin-top: 50%;
}

#secondpage {
    position: relative;
    width: 100vw;
    /* Changed height to min-height to allow content expansion */
    /* 220vh if 24 sponsors and 120vh if 12 sponsors excluding title sponsor  */
    min-height: 220vh;
    background-color: #0F1321;
    padding-bottom: 11px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    /* Removed overflow: hidden to show all content */
}

.tsc {
    width: 100vw;
    margin: 2.5%;
    display: flex;
    justify-content: center;
    /* align-items: center; */
    /* Properly center content */
    translate: -5%;

}

.ts {
    border-radius: 10px;
    box-shadow: 0 4px 8px rgb(0, 0, 0);
    transition: transform 0.3s ease;
    width: 30%; /* Increased width */
    background-color: rgba(255, 255, 255, 0.486);
    aspect-ratio: 1 / 1;
    margin: 0 auto;
}

.gallery-title {
    color: white;
    text-transform: uppercase;
    text-align: center;
    margin: 0 auto;
    padding: 2rem 0;
    font-size: clamp(30px, 8vw, 80px);
    margin-bottom: 120px;
}

.gallery-grid {
  
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    /* padding: 200px; */
    /* Added padding for better spacing */
    margin-bottom: 5%;
    justify-content: center;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    padding: 0;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 1); */
    filter: drop-shadow(0 0 5px rgb(255, 255, 255));
    transition: transform 0.3s ease;
    margin-left: 25%;
    
    /* background-color: rgba(255, 255, 255, 0.486); */
}



/* Fixed hover selector structure */
.gallery-item:hover,
.ts:hover {
    transform: translateY(-5px);
}


.gallery-item img {
    position: relative;
    width:350px;
    height: 420px;
    object-fit: contain;
    /* filter: drop-shadow(0 0 rgb(255, 255, 255)); */
    display: block;
    /* transition: transform 0.3s ease; */
}

.ts img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;

}

/* Fixed hover selector for images */
/* .gallery-item:hover img,
.ts:hover img {
    transform: scale(1.05);
} */

.image-caption {
    padding: 15px;
    background-color: white;
    text-align: center;
    color: #666;
}

@media (max-width: 768px) {
    .gallery-grid {
        gap: 15px;
        padding: 10px;
    }

    .ts {
        max-width: 90vw;
        /* Better mobile width */
        width: 100%;
    }

    .gallery-item,
    .ts {
        width: 100%;
        aspect-ratio: 1 / 1;
    }
}
#workshopcontainer{
    /* background-image: url('assets/Workshops.webp'); */
    /* background-repeat: no-repeat; */
    /* background-size: cover; */
    height: 100vh;
    position: relative;
    margin-left: 10px;
    margin-top: 20px;

}
#competitions{
    /* background-image: url('assets/Competitions.webp'); */
    margin-top: 200px;
    padding-top: 60px ;
    position: relative;
}


#versace{
    /* background-image: url('assets/Competitions.webp'); */
    margin-top: 200px;
    padding-top: 60px ;
    position: relative;
}

