* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

ul {
    list-style: none;
}



body {
    position: absolute;
    font-family: 'Roboto', sans-serif;
    width: 100%;
    height: auto;

}

.container {
    width: 90%;
    margin: 0 auto;
}

.containertexto {
    width: 90%;
    margin: 0 auto;
}

img {
    max-width: 100%;
    padding: 0;
    margin: 0;
}

header {
    background-color: black;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 9999;
}

header section > div {
    display: flex;
    justify-content: space-between;
    padding-top: 1em;
    padding-bottom: 1em;
    align-items: center;

}


.material-icons {
    color: white;
    font-size: 8em;

}

.material-icons.md-24 {
    font-size: 30px;
}


header ul {
    background-color: black;
    padding-left: 1.2em;
    padding-right: 2em;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    position: fixed;
    top: 0.4;
    opacity: 0.9;
    visibility: hidden;
}

header ul li a {
    text-decoration: none;
    color: white;
}

header ul li {
    padding-bottom: 0.5em;
    padding-top: 0.5em;

}

header ul li:not(:last-child) {
    border-bottom: solid white 1px;
}

main {
    padding-top: 4.5em;
    padding-bottom: 2em;
}

.tarjeta {
    margin-top: 1em;
    background-color: black;
}

main section {
    margin-bottom: 1em;
}

.tarjeta p {
    font-size: 12px;
    color: white;
    font-weight: 400;
    display: none;
    padding-bottom: 1em;
}

.display {
    display: none;
}


.tarjeta a img {
    padding-left: 0.5em;
    padding-right: 0.5em;
    padding-top: 0.5em;
}

.grupo ul {
    display: flex;
    justify-content: space-between;
}

.grupo ul li {
    max-width: 30%;
    background-color: #e6e6e6;
}

.grupo h3 {
    padding-left: 0.5em;
}



h1 {
    font-size: 20px;
    color: white;
    padding-bottom: 0.2em;
    padding-top: 0.2em;
    font-weight: 700;




}

h2 {
    font-size: 18px;
    padding-bottom: 0.5em;
    font-weight: 700;
    text-align: center;

}

h3 {
    font-size: 14px;
    padding-bottom: 0.3em;
    font-weight: 700;

}

.materias {
    padding-top: 0.5em;
}

.materias ul {
    border: solid 3px #cfd8dc;
    padding-left: 0.5em;
    padding-right: 0.5em;

}

.materias p {
    font-size: 12px;
}

.materias ul li:first-child {
    padding-bottom: 0.6em;
    border-bottom: solid 1px #cfd8dc;
}

.muestras div ul {
    display: flex;
    justify-content: space-between;
}

.muestras div ul li {
    max-width: 27%;
    background-color: black;
}

.muestras figcaption {
    font-weight: 400;
    font-style: italic;
    font-size: 11px;
    color: white;
    padding-top: 0.2em;
    padding-bottom: 0.2em;
    padding-left: 0.2em;

}

footer {
    background-color: #cfd8dc;
    padding-top: 0.5em;

}

footer img {
    width: 7em;
    height: auto;
}


footer ul li {
    padding-bottom: 0.5em;
    padding-top: 0.5em;
    border-bottom: solid 1px white;

}

footer p {
    font-size: 12px;
}

h4 {
    font-size: 14px;
    padding-top: 0.3em;
    padding-bottom: 0.1em;
}


footer div p {
    font-size: 9px;
    padding-top: 1.2em;
    padding-bottom: 1em;
    font-style: italic;
}


#material-icons-outlined {
    color: white;
}


#botontarjeta {
    display: flex;
    align-items: center;
    justify-content: space-between;

}



/*-------MAPA-------*/

.grupocuatro ul {
    display: flex;
    justify-content: space-between;
}

.grupocuatro ul li {
    max-width: 20%;
    background-color: #e6e6e6
}


.grupocuatro h3 {
    padding-left: 0.5em;
        font-size: 11px;
}

.mapa {
    margin-top: 1em;
}

.mapa a img {
    margin: auto;
    width: 100%
}


#planificacion {
    margin-top: 1em;
    background-color: black;
    padding-left: 0.5em;
    padding-right: 0.5em;
    padding-bottom: 0.5em;

}

#planificacion h2 {
    color: white;
    padding-top: 0.5em;
    padding-bottom: 0.5;

}

#enfoque h3 {
    color: white;
}

#planificacion p {
    font-size: 13px;
    color: white;


}


#infoplan p {
    font-size: 13px;
}


#infoplan ul li:not(:last-child) {
    padding-bottom: 1em;
}

#infoplan ul li div {
    display: none;

}

.visible {
    visibility: visible;
}











/*--------------------------

Dispositivos desde 680px ancho

----------------------------*/

@media all and (min-width: 680px) {


    nav {
        display: none;
    }

    header ul {
        visibility: visible;
        position: relative;
        top: 0;
    }

    #navsinboton ul li {
        border-bottom: none;
        padding-right: 1em;
    }

    #navsinboton > div {
        width: 100%;
    }

    #navsinboton ul {
        padding: 0;
        display: flex;
        align-items: center;
        flex-direction: row-reverse;
    }

    #navsinboton {
        display: flex;
        justify-content: space-around;
        width: 85%;
        margin: 0 auto;
        direction: rtl;
    }


    .tarjeta {
        display: flex;
        padding-bottom: 0.3em;

    }

    .tarjeta div {
        max-width: 50%;
        height: auto;
    }

    .tarjeta div p {
        display: block;
    }

    .containertexto {
        padding-left: 1em;
        padding-right: 1em;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }



    .grupo ul {
        justify-content: space-around;
    }

    .grupo ul li {
        max-width: 20%;
    }


    .materias ul {
        display: flex;
        justify-content: center;
        border: none;
        padding: 0;
    }

    .materias ul li {
        width: 40%;
        height: auto;
        border: solid 3px #cfd8dc;
        padding: 1em;
    }


    .materias ul li:first-child {
        padding-bottom: 0;
        border-bottom: solid 3px #cfd8dc;
        margin-right: 1em;
    }

    .container {
        width: 85%;

    }



    h3 {
        font-size: 16px;

    }

    .materias p {
        font-size: 14px;
    }
    .tarjeta p {
        font-size: 14px;
    }

    h1 {
        font-size: 23px;
    }

    .muestras div ul li figcaption {
        font-size: 14px;
    }


    .grupocuatro ul {
        justify-content: space-around;
    }

    .grupocuatro h3 {
   
        font-size: 13px;
}
    
    #infoplan ul {
        display: flex;
        justify-content: space-between;
    }

    #infoplan ul li {
        max-width: 30%;
        height: auto;
        border: solid 3px #cfd8dc;
        padding: 1em;
    }

    #infoplan ul li div {
        max-width: 60%;
        height: auto;
        padding: 1em;
        margin: auto;
        display: block;

    }

    #planificacion {
        padding-left: 2em;
        padding-right: 2em;
        padding-top: 1em;
        padding-bottom: 1em;
    }


    #botontarjeta i {
        display: none;

    }
    #botontarjeta {
        max-width: 100%;

    }



}









/*--------------------------

Dispositivos desde 1069px ancho

----------------------------*/

@media all and (min-width: 1069px) {
    .container {
        width: 83%;
        max-width: 1200px;
    }
    #navsinboton {
        width: 83%;
        max-width: 1200px;
    }
}

/*--------------------------

Dispositivos desde 1079px ancho

----------------------------*/

@media all and (min-width: 1079px) {
    .container {
        width: 82%;
        max-width: 1200px;
    }
    #navsinboton {
        width: 82%;
        max-width: 1200px;
    }
}












/*--------------------------

Dispositivos desde 1089px ancho

----------------------------*/

@media all and (min-width: 1089px) {

    .container {
        width: 80%;
    }

    #navsinboton {
        width: 80%;
    }



    .tarjeta {
        flex-direction: column;
        max-width: 70%;

    }

    .containertexto {
        padding: 0;
        margin: 0;


    }
    .tarjeta div {
        max-width: 100%;
        height: auto;
    }

    .tarjeta div p {
        padding-bottom: 1em;
    }

    .tarjeta div h1 {
        padding-top: 0.5em;
    }



    .containertexto {
        padding-left: 1.8em;
        padding-right: 1.8em;
    }

    .containertexto p {
        font-size: 16px;

    }

    h1 {
        font-size: 26px;
    }


    #tarjetaygrupo {
        display: flex;
        justify-content: space-between;
    }


    .grupo {
        max-width: 100%;

        margin-top: 1em;
        background-color: #e6e6e6;
        width: 25%;
    }

    .grupo ul {
        max-width: 100%;
        flex-direction: column;
        height: auto;

    }

    .grupo ul li {
        max-width: 50%;
        height: auto;
        margin: 0.5em auto 1em;
        ;
        background-color: white;


    }

    .grupo ul li h3 {
        color: black;


    }

    .grupo h2 {
        padding-top: 0.8em;
        padding-bottom: 0.2;

    }

 .grupocuatro h3 {
   
        font-size: 16px;
}

    .materias ul {
        justify-content: center;
    }

    .materias ul li {
        width: 22em;
    }

    .materias ul li:first-child {
        margin-right: 2em;
    }

    main section {
        margin-bottom: 2em;

    }

    #infoplan ul li div {
        max-width: 80%;

    }








}












/*--------------------------

Dispositivos desde 1420px ancho

----------------------------*/

@media all and (min-width: 1420px) {


    .container {
        width: 78%;
        max-width: 1200px;
    }

    #navsinboton {
        width: 78%;
        max-width: 1200px;
    }
}

/*--------------------------

Dispositivos desde 1435px ancho

----------------------------*/

@media all and (min-width: 1435px) {


    .container {
        width: 77%;
        max-width: 1200px;
    }

    #navsinboton {
        width: 77%;
        max-width: 1200px;
    }
}














/*--------------------------

Dispositivos desde 1450px ancho

----------------------------*/

@media all and (min-width: 1450px) {


    .container {
        width: 75%;
        max-width: 1200px;
    }

    #navsinboton {
        width: 75%;
        max-width: 1200px;

    }


    .containertexto {
        padding-left: 3em;
        padding-right: 4em;
    }


    .grupocuatro {
        padding-left: 10em;
        padding-right: 10em;
    }

    #infoplan ul li div {
        max-width: 90%;
        padding-bottom: 0;
    }

    #planificacion h2 {
        font-size: 24px;
    }

    #planificacion h3 {
        font-size: 20px;
    }




    #planificacion p {
        font-size: 16px;



    }


}
