.about {
    background: url('../../images/assets/about.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    color: #ffffff;
    width: 100%;
    opacity: 0;
    position: absolute;
    top: 100vh;
    background-size: cover;
    background-repeat: no-repeat;
}

.content {
    width: 60%;
    height: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-heading {
    font-family: "Ikaros-Sans";
    font-size: 4em;
    grid-row-start: 2;
    grid-column-start: 2;
    grid-column-end: 4;
    z-index: 1000;
    /* margin-bottom: 100px; */
    margin-left: -40px;
    margin-top: 50px;
    
    
}

.about-heading > span {
    position: top-left;
    /* text-decoration: underline rgb(28, 163, 241); */
    content:"";
    border-bottom: 2px solid #768ad9;
    
    
}

.about-heading span::after {
     position: absolute;
    left: 0;
    bottom: 0;
    content: "";
    height: 2px;
    width: 20%;
    border-bottom: 2px solid #768ad9;
     
    
} 

.about-main-content {
    display: flex;
    gap: 40px; /* Adds space between text and videos */
    align-items: center;
    gap: 15px;
}

/* Individual video styling */
.about-videos video {
    
    width: 100%;
    border-radius: 10px;
    padding: 60px;
     margin-right:-20px ;

  
}
.pre-video{
position:relative; left: 60px; font-weight: bold; font-size: 30px; border-bottom: 2px solid #768ad9;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .abc {
        flex-direction: column;
    }

   

.about-videos video{
display : none ;
}
.pre-video {
display: none ;
}
.about-heading { font-size: 4em;


}
.about-text {
    flex: 1; /* Allows the text to take up the remaining space */
    text-align: left;
    font-family: "Bitter", serif;
    font-size: 15px;
    line-height: 30px;
    word-spacing: 2px;
    z-index: 140;
     width: 100%;
    max-height: 90%; /* Adjust as needed */
    overflow-x: hidden;
    overflow-y: scroll;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE 10+ */
    margin-top: 00px;
}

.about-text::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.about-videos {
    flex-basis: 350px; /* Sets a base width for the videos container */
    display: flex;
    flex-direction: column;
    width: 80%;
    height: 100%;
   
}
}

@media (max-width: 1600px) {
    .about-text {
        grid-column-end: 5;
    }
}

@media (max-width: 1400px) {
    .about-text {
        grid-column-end: 5;
    }
}

@media (max-width: 1024px) {
    .about-text {
        font-size: 24px;
        grid-column-end: 6;
    }
    .about-heading {
        grid-column-end: 5;
    }
}

@media (max-width: 768px) {
    .about {
        background: url('../../images/assets/mobile-about.jpg');
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }
   .about-main-content{
    width: 80%;
   }
    .about-text {
        font-size: 16px;
    }
    .about-heading {
        grid-column-end: 6;
    }
    .content {
        grid-template-rows: 10vh 10vh 40px 70vh;
    }

.about-videos {
  display:none ;
}
}


@media (max-width: 500px) {

    .about-heading > span {
        height: max-content;
    }
    .about-text {
        font-size: 10px;
        line-height: 15px;
    }
    .content {
        grid-template-rows: 50px 70px 30px 70vh;
        grid-template-columns: 5vw 5vw 40vw 30vw 10vw 10vw;
    }
    .about-heading {
        display: flex;
        grid-column-start: 3;
        justify-content: center;
        font-size: 2.0em;
    }

.about-videos {
  display:none ;
}


about-heading span {
        font-size: 36px;
        text-align: center;
        width: 100%;
    }

    .about {
        padding: 20px 0;
    }

    .about-text {
        font-size: 16px;
        line-height: 1.6;
    }
}

@media (max-width: 380px) {
    .about-text {
        font-size: 9px;
        line-height: 13px;
    }
    .content { width: 95%;
    height: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    }
}

@media (max-height: 800px) and (max-width: 1600px) and (min-width: 600px) {
    .about-text {
        font-size: 1em;
    }
}
@media (max-width: 490px) {
    .about-text {
        font-size: 13px;
        line-height: 17px;
    }
    .content { width: 95%;
    height: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    }
}
}

