@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px); /* Move the element down initially */
    }
    to {
        opacity: 1;
        transform: translateY(0); /* Move the element back to its original position */
    }
}

@keyframes fadeInLeftToRight {
    from {
        transform: scaleX(0);
        transform-origin: left; /* Start from the left */
    }
    to {
        transform: scaleX(1);
        transform-origin: left; /* Expand to the right */
    }
}




body {
    font-family: Arial, sans-serif;
    font-size: 16px;
    margin: 0;
    background-color: #121212;
}

.mainDiv{
    background-color: #121212;
}

.hide {
    display: none;
}

nav {
    height: 100px;
    width: 100%;
}

.aboutDiv {
    width: 80%;
    margin: 0 auto;
    margin-bottom: 100px;
    opacity: 0; /* Start with opacity set to 0 for the fade-in effect */
    animation: fadeIn 0.5s ease-in-out forwards; /* Use the fadeIn keyframes for the animation */
    margin-top: 150px;
}

.line-break {
    background-color: #4f4f4f;
    height: 2px;
    width: 100%; /* Start with width set to 0 for the animation */
    margin: 0 auto;
    animation: fadeInLeftToRight 0.5s ease-in-out forwards;
    margin-bottom: 20px;
}



.aboutDiv p {
    color: #CCCCCC;
    line-height: 1.7;
    
    margin: 0;
    font-size: 18px;
    margin-top: 20px;
}

.titleDiv{
    margin-left: 50px;
    margin-bottom: 50px;
    margin-top: 100px;
}

.titleDiv h1, h2{
    color: #fff;
}

.imageDiv
 {
    width: 48%; /* Adjust the width as needed */
   
    
  
}


.textDiv{
    width: 60%;
}

.infoDiv {
    display: flex; /* Add this line to make the children inline */
    justify-content: space-between; 
}



@media (max-width: 1200px) {
    .titleDiv{
        margin-left: 30px;
        
    }
}

@media (max-width: 700px) {
    .titleDiv{
        margin-left: 0px;
        
    }
}


#floated {
    max-width: 400px;
    float: right;
    width: 50%;
    
    
}

#floated img {
    margin-left: 20px;
    margin-bottom: 20px;
    width: 100%; /* Set the image width to 100% of the container */
    height: auto; /* Maintain aspect ratio */
    
    
}

.mainDiv{
    min-height: 100vh;
    margin-bottom: 100px;
}

.socialDiv img{
    height: 40px;
    width: auto;
    margin-left: 10px;
    opacity: 0.5;
}

.socialDiv img:hover{
    opacity: 0.8
}

.socialDiv{
    margin-right: 80px;
}

.socialDiv{
    list-style: none;
}

.titleDiv {
    display: flex;
    align-items: center; /* Align items vertically in the center */
}

.textDiv {
    flex: 1; /* Take up remaining space */
}




@media (max-width: 1000px) {
    .infoDiv {
        flex-direction: column;
        align-items: center;
    }

    #floated img {
        margin: 0;
    }

    .textDiv {
        width: 100%;
        margin-top: 20px;
    }

    #floated {
        float: none;
        width: 100%;
        margin-right: auto;
        margin-left: auto;
        max-width: 400px;
        text-align: center;
    }

    .socialDiv {
        margin-right: 0;
    }

    .titleDiv {
        display: block;
    }

    .textDiv,
    .socialDiv {
        margin-left: 0;
    }

    .socialDiv ul {
        margin-left: 0; /* Reset the left margin for the ul */
    }


}