/* Base styles */
body {
    margin: 0;
    padding: 0;
    background-color: #000;
    color: white;
    font-family: Arial, sans-serif;
    overflow-x: hidden;
}

/* Spacer for scroll testing */
/* .spacer {
    height: 50vh;
} */

/* Scrolling text container styles */
.scrolling-text-container {
    width: 100%;
    overflow: hidden;
    margin-top: 2rem;
    position: relative;
    z-index: 10;
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Text styles */
.scroll-text {
    white-space: nowrap;
    font-size: 3rem;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
    letter-spacing: 3px;
    /* text-shadow: 0 0 15px rgba(0, 0, 0, 0.7); */
    margin: 1.5rem 0;
    position: relative;
    width: fit-content;
}

.scroll-text span {
    display: inline-block;
    padding-right: 2rem;
    /* padding: 0.5rem 1rem; */
    border-radius: 5px;
}

/* Initial transform states */
.left-to-right {
    transform: translateX(-100%);
}

.right-to-left {
    transform: translateX(100%);
}

/* Fade-in section styles */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive text sizes */
@media (max-width: 768px) {
    .scroll-text {
        font-size: 2rem;
    }
}   



/* maniegalai */



.scroll-text {
    transition: opacity 0.3s ease-out;
  }

  .opacity0-1 {
    opacity: 1;
  }
  
  .right-to-left2 {
    transform: translateY(0%);
  }

  /* 2 */
  .panel {
    position: relative;
    overflow: hidden;
  }
  
  .wrapper .gradient-blue {
    width: 100%;
    height: 100vh;
    position: absolute;
    z-index: 2;
    opacity: 0;
    visibility: hidden;
  }

  /* typer */
  .line-1{
    position: relative;
    top: 50%;  
    width: fit-content;

    /* white-space: nowrap; */
    overflow: hidden;
  
    -webkit-box-sizing:content-box;
    box-sizing:content-box;
}

/* Animation */
.anim-typewriter{
  /* width:0; */
  opacity: 0;
  animation: typewriter 4s steps(44) 1s 1 normal both,
             blinkTextCursor 500ms steps(44) infinite normal;
}


/* pin slides */

.gallery , .gallery2 {
	position: relative;
    height: 100vh;
	overflow: hidden;
}

.cards {
	position: absolute;
    top: 45%;
    left: 50%;
    height: 18rem;
    display: flex;
    padding: 0;
}
.cards2 {
	position: absolute;
    top: 35%;
    left: 50%;
    display: flex;
    padding: 0;
}
.cards iframe {
    padding: 0;
    margin: 0;
    width: 34rem;
    height: 18rem;
    position: relative; /* Add this to ensure z-index works */
    z-index: 10; /* Ensure iframe is on top */
    pointer-events: auto; /* Enable interaction with iframe */
}

.fixed-bg {

    position: fixed;
    
    top: 0;
    
    left: 0;
    
    width: 100vw;
    
    height: 100vh;
    
    background: url('images/background1.png') no-repeat center center;
    
    background-size: cover;
    
    z-index: 0;
    
    }
    
    .bg1 {
    
    position: relative;
    
    z-index: 1;
    
    }

    .newspaper div{
        width: 400px;
        height: 400px;
        flex-shrink: 0;
    }
    .newspaper img{
        width: 400px;
        height: 400px;
    }
@media (max-width: 768px) {
    .gallery {
        height: 60vh;
    }
    .cards {
        position: absolute;
        margin-top: 50px;
        bottom: 5%;
    }
    .cards iframe {
        width: 24rem;
        height: 18rem;
    }
}


.pink-wraper{
    background: url('images/tealbg.png') no-repeat center center;
    background-size: 100%;
    transition: background-size 1s ease-in-out , background-position 1s ease-in-out;
    background-position: center 240px ; 
}


.clip-strike{
    position: absolute;
    bottom: -20px;
    width: 100px;
    height: 150px;
    z-index: -1;
    left: -20px;
}
.grid-box{
    padding-top: 200px;
    background: url('images/man.png') no-repeat center bottom #fff;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
}
.textsfor{
    margin-left: 50px;
    color: #000;
}
h2.textsfor{
    font-size: 26px;
    font-weight: 500;
}
@media (min-width: 768px) {
    .grid-box:nth-child(1){
        margin-left: 20px;
        z-index: 20;
    }
    .grid-box:nth-child(2){
        margin-top: -20px;
        z-index: 10;
        margin-left: 30px;
    }
    .grid-box:nth-child(3){
        margin-right: 0px;
    }
    .grid-box:nth-child(4){
        margin-top: -20px;
        margin-left: -40px;
    }
}
.stroke{
    -webkit-text-stroke: 1px black;
    font-weight: 900;
    color: transparent;
    font-size: 30px;
    padding-bottom: 10px;
}