/* About */

#main{
    position: center;
    margin-left: 3.5%;
    margin-top: 10%;
    width: 80%;
    padding: 5% 2%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-family: "Roboto", sans-serif;
    margin: 8% auto 8%;
}

#main h3 {
    margin-left: 5%;
    text-align: left;
    color: #5f90c9;
    font-size: 2vh;
}
#text{
    width: 50%;
}

#text img{
    width: 20%;
    display: block;
    margin-bottom: 1rem;
    margin: 0 auto 0;
}

#text p {
    width: 100%;
    line-height: 1.6;
    text-align: justify;
    margin-left: 5%;
    font-size: 2vh;
}

#flex{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3%;
}

.section2{
    background-color: white;
    padding-bottom: 80px;
    width: 100%;
    margin: 0;
}

#flex2{
    display: flex;
    justify-content: space-evenly;
}

.section2 .blocks{
    width: 24%;
    padding: 5%;
    margin-top: 20px;
    font-family: 'Times New Roman', Times, serif;
    margin-right: 10px; 
    margin-left: 10px;
    color: black;  
    border: 4px solid black;
    border-radius: 20px;
    height: auto;
    text-align: center;
    display: flex;
    justify-content: center;
    flex-direction: column;
    zoom: 110%;
}

.section2 .blocks h3{
    font-size: 24px;
    text-align: center;
    font-size: 1.5rem;
    color: #5f90c9;
}


.section2 .blocks img{
    width: 100%; 
    aspect-ratio: 4/3;
    object-position: top center;
    display: block;
    border-radius: 100px;
    margin: auto;
}



.section2 h2{
    text-align: center;
    font-size: 2rem;
    color:  #5f90c9;
    margin-left: 0 auto;
}

.section2 h3{
    text-align: center;
}

#imgs-section{
    width: 50%;
    padding: 5%;
    margin-top: 20px;
    font-family: "Roboto", sans-serif;
    margin-right: 10px; 
    margin-left: 10px;
    font-size: 1rem;
}

#imgs-section img{
     margin: 5%;
    width: 100%;
    display: inline-block;
    object-fit: cover;
}

.img-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 400px;
}

.slider {
    display: flex;
    overflow-x: scroll;
    overflow-y: hidden;
    scroll-behavior: smooth;
    gap: 20px;
    scrollbar-width: none;
    position: relative;
    width: 100%;
    height: 400px;
}

.slider div {
    flex: 0 0 100%;
    scroll-snap-align: start;
    position: relative;
}

.slider img {
    width: 100%;
    height: 90%;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

.slider-nav {
    position: absolute;
    bottom: 10px; 
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    background: rgba(0, 0, 0, 0.5); 
    padding: 5px 10px; 
    border-radius: 10px; 
}

.slider-nav a {
    font-size: 20px;
    text-decoration: none;
    margin: 5px;
    color: gray;
    cursor: pointer;
}

.slider-nav a:hover {
    color: black;
}

@media screen and (max-width: 480px)
{
    #main {
        margin: auto;
    }

    #flex {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0;
        margin: 0;
        width: 100%;
    }

    #text {
        width: 100%;
        padding: 0;
        margin: 0;
    }

    #text p {
        width: 100%;
        text-align: justify;
        font-size: 1rem;
        padding: 10px;
        margin: 0;
        box-sizing: border-box;
    }

    #text img {
        width: 40px%;
        display: inline;
        margin: 1rem 0;
    }

    #imgs-section {
        width: 100%;
    }

    #imgs-section img {
        width: 100%;
        display: block;
        object-fit: cover;
        margin: 0;
    }

    .slider {
        width: 100%;
    }

    .slider-nav {
        text-align: center;
    }

    #flex2 {
        flex-direction: column;
        align-items: center;
        margin: auto;
    }

    .section2 .blocks {
        width: 80%;
    }


}

