body{
    background-color: black;
    color: white;
}
.introductionContainer {
    margin: 0;
    min-height: calc(100vh - 80px);  /* Allow it to grow beyond the viewport if content is tall */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 60px;  /* Keep this for spacing */
    padding-bottom: 30px;
}

.introduction {
    font-size: 5rem;
    width: 90%; /* instead of 1200px */
    max-width: 1200px;
    margin: 0;
    padding: 100px 0 0 0;
}

.subIntroduction {
    width: 90%;
    max-width: 900px;
}
.boxStart{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    

}
.boxStart button{
    background-color: rgb(255, 255, 255);
    color: black;
    font-weight: bold;
    font-size: 1.3rem;
    padding: 10px 20px;
    border-radius: 30px;
    border: none;
    cursor: pointer;

}
#video {
    width: 90%;
    max-width: 1200px;
    height: auto;  /* maintain aspect ratio */
    background-color: gray;
    border: 1px solid gray;
}



.sectionContainer {
    display: flex;
    flex-wrap: wrap; /* allow wrapping on small screens */
    justify-content: center;
    gap: 20px;
}
    .section {
    width: 300px;       /* desktop width */
    max-width: 90%;     /* shrink on mobile */
    height: auto;          /* grow with content */
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #464040;
    border-radius: 10px;
}

.section img {
    width: 80%;         /* shrink images */
    max-width: 120px;
    height: auto;
    margin-bottom: 10px;
}

.section h2 {
    font-size: 1.5rem;
}
.section::after{

    content: "";
    display: flex;

    justify-self: center;
    align-self: center;
    
    
    height: 550px;
    width: 350px;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

  position:absolute;
    

    z-index: -1;
    

}
.section:nth-of-type(1){
    background: rgb(97, 70, 39);
    
}
.section:nth-of-type(2){
    background: rgb(39, 52, 97);
}
.section:nth-of-type(3){
    background: rgb(97, 93, 39);
}


.section h2{
    text-align: center;
}
.section p{
    text-align: justify;
}

.hidden{
    display: none;
}

.section p {
    display: hidden;  
    margin-top: 10px;  
    font-size: 1rem;  
    text-align: center;  
    opacity: 0;  
    transition: opacity 0.3s ease;  
}
.section:hover p {
    transition: 0.5s;
    display: block;  /* Show on hover */
    opacity: 1;  /* Fade in */
}


@media (max-width: 900px) {
    .introductionContainer{
        padding-top: 0px;
    }
    .sidenav {
        width: 100vw; /* take full width */
        max-width: 100vw;
    }
    .introduction {
        font-size: 3rem;
        padding-top: 50px;
    }

    .subIntroduction {
        font-size: 1rem;
    }

    #video {
        width: 100%;
        height: auto;
    }

    .sectionContainer {
        flex-direction: column;
        align-items: center;
    }

    .section {
        width: 90%;
        max-width: 350px;
        padding: 15px;
    }

    .section img {
        max-width: 100px;
    }

    .section h2 {
        font-size: 1.2rem;
    }
}
    


