.bg-fondo {
    background-image: url('/img/icons/ninosCentral.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    min-height: 100vh;
}

.bg-fondo3 {
    background-image: url('/img/icons/historia.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    min-height: 70vh;
}

.bg-fondo2 {
    background-image: url('/img/icons/fondos2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    min-height: 100vh;
}

.linea {
    width: auto;
    height: 3px;
    background: linear-gradient(to right, #ff8800, #f2dabf);
    border: none;
    margin-top: 5px;
}

.responsive-text {
    font-size: 1.5rem;
}

#nuestramision {
    margin-top: 8% !important;
}

#nuestrosValores {
    margin-top: 8% !important;
}

#porqueElegir {
    margin-top: 8% !important;
}

#impacto {
    margin-top: 8% !important;
}


@media (min-width: 769px) {
    .right-text {
        position: absolute;
        left: 59%;
        width: 40%;
        top: 45%;
        transform: translateY(-50%);
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .responsive-text {
        font-size: 2rem;
    }

    .fs-1 {
        font-size: 3rem;
    }

    .right-text {
        position: absolute;
        left: 50%;
        width: 100%;
        top: 50%;
        transform: translate(-50%, -50%);
        padding: 10px;
        background-color: rgba(0, 0, 0, 0.5);
        margin-top: 10px;
        padding: 20px;
    }

    .right-text img {
        max-width: 25%;
    }
}

@media (max-width: 660px) {

    .bg-fondo {
        min-height: 20vh !important;
    }

    #profegosomos {
        top: 30% !important;
    }

    #nuestramision {
        margin-top: 137% !important;
    }

    #nuestravision {
        margin-top: 9%;
    }

    #nuestraHistoria {
        margin-top: 16% !important;
    }

    #nuestrosValores {
        margin-top: 24% !important;
    }

    #eliminaright {
        margin-top: 5%;
    }

    #porqueElegir {
        margin-top: 20% !important;
    }

    #impacto {
        margin-top: 20% !important;
    }

    #elegirporqe {
        margin-left: -2% !important;
    }

    #del {
        display: none !important;
    }

    .bg-fondo3 {
        background-image: url();
        background-color: #FFEFDA !important;
        width: 100%;
        height: 100%;
        min-height: 70vh;
    }

    .col-9 {
        flex: 0 0 auto;
        width: 100%;
    }

    #ninofondo {
        display: none;
        margin-bottom: 8% !important;
    }

    #numeroflor {
        display: none !important;
    }

    #elimnaleft {
        margin-left: 0% !important;
        margin-right: 0% !important;
    }

    .responsive-text {
        font-size: 1.4rem;
    }

    .fs-1 {
        font-size: 2.4rem;
    }

    .right-text {
        position: absolute;
        left: 50%;
        width: 100%;
        max-width: 100%;
        top: 50%;
        transform: translate(-50%, -50%);
        padding: 20px;
        background-color: rgba(0, 0, 0, 0.5);
    }

    .right-text img {
        max-width: 25%;
        margin-left: 33% !important;
    }

    #aprende {
        width: 100% !important;
        padding-left: 6% !important;
    }

    #buscar {
        margin-right: -3% !important;
        margin-top: 3% !important;
    }

    #diversidades {
        margin-top: 0% !important;
        margin-left: 10% !important;
    }

    #profes {
        margin-left: 10% !important;
    }

    #flex {
        margin-right: 12% !important;
    }

    #porque {
        padding-left: 0% !important;
        margin-top: 10% !important;
    }

    #quieres {
        font-size: 2rem !important;
        padding-left: 10% !important;
    }

    #aqui {
        margin-left: 1% !important;
    }

    .bg-fondo2 {
        background-image: url(/img/icons/fondo3.jpg);
    }

    #interconecta {
        display: contents !important;
    }

    #sas {
        padding-right: 18% !important;
        margin-top: 4% !important;
    }

    #logoFlotante {
        min-width: 95% !important;
        margin-top: 8% !important;
    }
}

@media (max-width: 500px) {
    .responsive-text {
        font-size: 1.4rem;
    }

    #flex {
        margin-right: 12% !important;
    }

    #profes {
        margin-left: 14% !important;
    }

    #diversidades {
        margin-left: 14% !important;
    }

    #seguridadeasd {
        margin-right: 12% !important;
    }

    .bg-fondo2 {
        min-height: 120vh;
    }

    #cifrass {
        padding-left: 10%;
        padding-right: 10%;
    }

    #edufav {
        padding-left: 12%;
        text-align: left;
        padding-right: 8%;
    }

    #destacados {
        margin-top: 1% !important;
    }

    #destacadas {
        padding-left: 10%;
        padding-right: 10%;
    }

    #nosotrosa {
        padding-left: 13%;
        padding-right: 10%;
        text-align: left !important;
    }

    #porque h1 {
        width: 335px;
        text-align: center;
        margin-left: -2%;
    }

    #aprendisajePorque {
        text-align: left;
        font-size: 20px;
        margin-left: 2%;
        width: 305px;
        padding-left: 0%;
    }

    #quieres {
        margin-left: -8%;
    }


    #sas {
        padding-right: 0% !important;
        padding-left: 4% !important;
        margin-top: 4% !important;
        text-align: left !important;
    }

    .fs-1 {
        font-size: 2.4rem;
    }

    .right-text {
        position: absolute;
        left: 50%;
        width: 100%;
        max-width: 100%;
        top: 50%;
        transform: translate(-50%, -50%);
        padding: 20px;
        background-color: rgba(0, 0, 0, 0.5);
    }

    .right-text img {
        max-width: 15%;
    }
}

@media (max-width: 470px) {
    .responsive-text {
        font-size: 1rem;
    }

    .fs-1 {
        font-size: 2rem;
    }

    .right-text {
        position: absolute;
        left: 50%;
        width: 100%;
        max-width: 100%;
        top: 50%;
        transform: translate(-50%, -50%);
        padding: 20px;
        background-color: rgba(0, 0, 0, 0.5);
    }

    .right-text img {
        max-width: 0.7%;
    }
}

@media (max-width: 400px) {
    .responsive-text {
        font-size: 1rem;
    }

    .fs-1 {
        font-size: 2rem;
    }

    .right-text {
        position: absolute;
        left: 50%;
        width: 100%;
        max-width: 100%;
        top: 50%;
        transform: translate(-50%, -50%);
        padding: 20px;
        background-color: rgba(0, 0, 0, 0.5);
    }

    .right-text img {
        max-width: 0.1%;
    }

    #profes {
        margin-left: 10% !important;
    }

    #diversidades {
        margin-left: 10% !important;
    }
}