body {
    width: 100%;
    overflow-x: hidden;
}
header {
    width: 100vw;
    height: 100px;
    overflow-x: hidden;
    margin-top: 0;
    background-image:  url(../imagenes/encabezado2.png) ;
    background-size: cover;
    border-bottom: 3px solid #04566e;
}
header h1{
    width: 40%;
    color: rgb(223, 212, 199);
    margin-left: 30%;
    background-color: #52a84c;
    font-size: 1.8em;
    margin-top: 50px;
    text-align: center;
    border-radius: 10px;
    text-shadow: 1px 3px 2px #484343;
}
.volver {
    position: fixed;
    width: 10%;
    margin-left: 10PX;
    margin-top: 10px;
    font-size: 1.5em;
    background-color: #afcecb;
}
.articule {
    margin-left: 20%;
    margin-right: 5%;
    padding: 15px;
    border-top: 3px solid #e90e9c;
}
.articule h2 {
        color: #441401f5;
    font-size: 1.8em;
    margin-bottom: 10px;
    background-color: #afcecb;
    width: 60%;
    padding: 0.5em;
    border-radius: 10px;
    border-bottom: 3em;
}

.articule h3 {
    color: #583333;
    font-size: 1.4em;
    margin-bottom: 10px;
    background-color: #f4f4ee;
    width: 50%;
    border-radius: 10px;
    padding: 0.3em;
}

a {
    text-decoration: none;
}
.articule img {
    max-width: 60%;
    max-height: 20em;
    border-radius: 15px;
    margin-left: 20%;
}
img:hover {
    scale: 2;
    transition: 0.8s;
    box-shadow: 0 10px 10px #000;
}

.articule p {
    font-weight: 500;
    color: #390e0e;
    line-height: 1.6;
    border-left: 8px solid rgb(252, 170, 6);
    background-color: rgb(223, 228, 233);
    border-radius: 10px;
    padding: 0.3em;
    font-size: 1.1em;
        width: 75%;
        text-align: center;
}

.articule li {
    background-color: rgb(236, 244, 244);
    padding: 0.4em;
    width: 75%;
}
.articule li  h4 {
  font-size: 1.3em;
  border-bottom: 2px solid #1e4a21;
}
img:hover {
    scale: 2;
    transition: 0.8s;
    box-shadow: 0 10px 10px #000;
}
table {
    font-weight: 500;
    color: #390e0e;
    line-height: 1.6;
    border-left: 8px solid rgb(252, 170, 6);
    background-color: rgb(223, 228, 233);
    border-radius: 10px;
    padding: 0.3em;
    font-size: 1.1em;
    width: 75%;
    
}
th,td {
    border-bottom: 2px solid;
}

footer {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  grid-template-rows: repeat(2,1fr);
  background-color: #333;
  color: white;
  padding: 10px;
  position: relative;
  bottom: 0;
  width: 98%;
}
.footer-id {
  text-align: center;
  margin: 0;
  grid-column: 1/3;
  grid-row: 2/3;
  margin-left: 10%;
  margin-top: 40%;
}
.footer-yo {
  width: 100px;
  height: 60px;
}
footer img {
  width: 90px;
  height: 130px;
}
.footer-secretaria {
  width: 120px;
  height: 150px;
}
.turnos-f {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-content: flex-start;
}
.staf {
  margin-left: 3%;
  grid-column: 1/2;
  grid-row: 1/2;
}
.contactos {
  grid-column: 2/3;
  grid-row: 1/2;
  text-align: left;
  margin-right: 3%;
  margin-left: 15%;
  margin-top: 20%;
}


@media (width< 600px) {
    header h1{
    width: 80%;
    margin-left: 10%;
    font-size: 1.2em;
    }
    .volver {
    width: 16%;
    font-size: 1em;
    }
    h2 {
    font-size: 1em;
    }
    p {
    font-size: 0.8em;
    }
    .articule {
      width: 90%;
          margin-left: 0;
          margin-right: 8%;
    }

    .articule h2 {
        font-size: 1.5em;
        margin-top: 10%;

    }
    .matematica h2 {
        font-size: 1.5em;
    }

    .articule p {
        font-size: 1.1em;
        width: 95%;
        text-align: center;
    }
    .articule li {
    font-size: 1.1em;
        width: 95%;
    }
    .articule li h4 {
      font-size: 1.1em;
    }
    
    .articule input {
        padding: 6px 30px;
    }
    footer {
      grid-template-rows: repeat(3,1fr);
    }
    .staf {
      grid-column: 1/3;
      grid-row: 1/2;
      text-align: center;
    }
    .footer-id {
      grid-column: 1/3;
      grid-row: 3/4;
      text-align: center;
    }
    .contactos {
      grid-column: 1/3;
      grid-row: 2/3;
      text-align: center;
    }
    table {
        width: 95%;
    }
}