#secSustainability {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
    font-family: 'Geologica', sans-serif;
}

#secSustainability>div {
    height: 80%;
    width: 80%;
}

#spaceTitle-S {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 20%;
}

#spaceTitle-S h1 {
    font-weight: 400;
    font-size: 3rem;
    text-align: center;
    color: rgb(0, 131, 193);
}

#spaceContent-S {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 10% 7%;
    width: 100%;
    height: 80%;
    max-width: 1100px;
    margin: 0 auto;
}

#spaceContent-S div {
    width: 100%;
    height: 100%;
}

.containerContent-S {
    display: grid;
    grid-template-rows: 40% auto;
    height: 100%;
    width: 100%;
    gap: 10px;
}

.topContent-S, .bottomContent-S {
    width: 100%;
    height: auto;
}

.topContent-S {
    display: grid;
    grid-template-columns: 30% 1fr;
}

.bottomContent-S {
    display: flex;
    background-color: rgba(141, 234, 144, 0.6);
    border-radius: 20px;
    margin-top: 10px;
}

.iconContent-S {
    display: flex;
    width: 100%;
    height: 100%;
}

.titleContent-S {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.bottomContent-S p {
    text-align: center;
    justify-self: center;
    align-self: center;
    font-size: 1.1rem;
    padding-left: 10px;
    padding-right: 10px;
    margin: 0;
}

.titleContent-S h2 {
    font-size: 1.5rem;
    text-align: center;
    color: rgb(0, 131, 193);
}

.iconContent-S img {
    width: 100%;
    height: 100%;
}

@media only screen and (max-width: 1400px) {
    #secSustainability {
        height: 200vh;
    }

    #secSustainability>div {
        width: 75%;
        height: 75%;
    }

    .topContent-S {
        margin-bottom: 15%;
    }
}

@media only screen and (max-width: 1000px) {
    #secSustainability {
        height: 140vh;
        width: 100%;
        align-items: start;
        justify-content: center;
    }

    #spaceTitle-S h1 {
        font-size: 2.5rem;
    }

    #spaceTitle-S {
        margin-bottom: 60px;
    }

    
    #spaceContent-S {
        gap: 5% 5%;
        width: 100%;
        padding-left: 60px;
        padding-right: 60px;
    }

    #secSustainability>div {
        width: 100%;
        height: auto;
        margin-bottom: 35%;
    }
}


@media only screen and (max-width: 860px) {
    #secSustainability {
        height: 130vh;
        width: 100%;
        align-items: start;
        justify-content: center;
    }

    #spaceTitle-S h1 {
        font-size: 2.5rem;
    }

    
    #spaceContent-S {
        gap: 20% 5%;
        width: 100%;
    }

    #secSustainability>div {
        width: 100%;
        height: 40%;
    }
}

@media only screen and (max-width: 752px) {
    .bottomContent-S p {
        font-size: 1rem;
        padding-left: 5px;
        padding-right: 5px;
    }

    .titleContent-S h2 {
        font-size: 1.2rem;
    }

    #spaceTitle-S h1 {
        font-size: 2rem;
    }

    #spaceContent-S {
        grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
        gap: 15% 5%
    }
}

@media only screen and (max-width: 605px) {
    #secSustainability {
        height: 270vh;
    }

    #spaceContent-S {
        gap: 10% 5%;
    }

    .bottomContent-S p {
        font-size: 1rem;
        padding-left: 3px;
        padding-right: 3px;
    }

    .bottomContent-S {
        padding-left: 10px;
        padding-right: 10px;
    }

    .titleContent-S {
        padding-left: 20px;
    }

    .titleContent-S h2 {
        font-size: 1.3rem;
    }

    #spaceTitle-S h1 {
        font-size: 1.6rem;
    }

    .containerContent-S {
        gap: 5px;
    }
}

@media only screen and (max-width: 500px) {
    #secSustainability {
        height: 260vh;
    }
}

@media only screen and (max-width: 475px) {
    #secSustainability {
        height: 250vh;
    }
}

@media only screen and (max-width: 440px) {
    #secSustainability {
        height: 280vh;
    }
}

@media only screen and (max-width: 400px) {
    #secSustainability {
        height: 270vh;
    }

    #spaceContent-S {
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media only screen and (max-width: 370px) {
    #secSustainability {
        height: 260vh;
    }
}

@media only screen and (max-width: 350px) {
    #secSustainability {
        height: 250vh;
    }
}

@media only screen and (max-width: 300px) {
    #secSustainability {
        height: 240vh;
    }
}

@media only screen and (max-width: 250px) {
    #secSustainability {
        height: 200vh;
    }
}

