body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #05351f;
    background-color: #333
    
}

header {
    background-color: #333;
    color: #6720da;
    padding: 30px;
    text-align: left;
}

.contenedor-imagen {
    display: flex;
    justify-content: left;
    align-items: left;
    height: 400px; /* Ajusta la altura según tu imagen */
}

.contenedor-imagen img {
    max-width: 100%;
    height: auto;
}

.contenedor-texto {
    padding: 20px;
}

h1 {
    font-size: 3em;
    margin-bottom: 10px;
    margin-right: 3px;
    align-items: center;
    justify-items: left;

}

h2{
  font-size: 1.2em;
  margin-bottom: 10px;
  margin-right: 3px;
  justify-items: left;
}

p {
    font-size: 1.3em;
    line-height: 1.5;
    align-items: left;
    justify-items: left;
}

.seccion-botones {
    background-color: #c5b2d4;
    padding: 20px;
    text-align: center;
}

.contenedor-botones {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.boton {
    display: inline-block;
    padding: 10px 30px;
    margin: 10px;
    background-color: #6720da;
    color: #fff;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.boton:hover {
    background-color: #d2cadb;
}

main {
    padding:20px;
}

#seccion1 {
  height: 500px;
   margin-left: 1px;
    margin-bottom: 20px;
    border: 1px solid #6720da;
    padding: 10px;
    left: 5px;
    justify-items: left;
  
   
}
#foto{
 
    display: flex;
    margin-top: 5vh;
    position: relative; 
    justify-content: space-between;
    height: auto;
    align-items: center;
    margin: 10px;
    gap: 10px;
    width: 21vw;
    height: auto;
    border: 2px solid #6720da;
    left: 1200px;
    top: -410px
}
#seccion2 {
  margin-left: 1px;
  margin-bottom: 20px;
  border: 1px solid #6720da;
  padding: 20px;
  align-items: left;
  left: 5px;
  justify-items: left;
}
#illia1 {
  position: relative ;
  display: flex;
  flex-direction: grid;
  justify-content: space-around;
  align-items: center;
  width: 70vw;
}
  #illia2 {
    position: relative ;
    display: flex;
    flex-direction: grid;
    justify-content: space-around;
    align-items: center;
    width:1vw;
  
        

}
#seccion3 {
  margin-left: 1px;
  margin-bottom: 20px;
  border: 1px solid #6720da;
  padding: 20px;
  align-items: left;
  left: 5px;
}


#Guardia{
    width: 20vw ;
}
.wrap {
  overflow: hidden;
  margin: 10px;
}
.box {
  float: left;
  position: relative;
  width: 20%;
  padding-bottom: 20%;
  margin: 35px;
}
.boxInner {
  position: absolute;
  left: 10px;
  right: 10px;
  top: 10px;
  bottom: 10px;
  overflow: hidden;
}
.boxInner img {
  width: 100%;
}
.boxInner .titleBox {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin-bottom: -50px;
  background: #a074e7;
  color:#333;
  padding: 10px;
  text-align: center;
  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}
section.no-touch .boxInner:hover .titleBox, section.touch .boxInner.touchFocus .titleBox {
  margin-bottom: 0;
}
@media only screen and (max-width : 480px) {
  /* Smartphone view: 1 tile */
  .box {
    width: 100%;
    padding-bottom: 100%;
  }
}
@media only screen and (max-width : 650px) and (min-width : 481px) {
  /* Tablet view: 2 tiles */
  .box {
    width: 50%;
    padding-bottom: 50%;
  }
}
@media only screen and (max-width : 1050px) and (min-width : 651px) {
  /* Small desktop / ipad view: 3 tiles */
  .box {
    width: 33.3%;
    padding-bottom: 33.3%;
  }
}
@media only screen and (max-width : 1290px) and (min-width : 1051px) {
  /* Medium desktop: 4 tiles */
  .box {
    width: 25%;
    padding-bottom: 25%;
  }
}
#seccion4 {
  justify-items: left;
  margin-bottom: 20px;
  border: 1px solid #6720da ;
  padding: 20px;
}
#textofuturo{
        margin-top: 0;
        padding:0;
        width: 540px;
        height: 3px;
        left: 10vw;
        position:relative ;
    }
#seccion5 {
    margin-bottom: 20px;
    border: 1px solid #6720da;
    padding: 20px;
}

#infancia{
    width: 30vw;
}
body
{
  margin: 0;
  padding: 0;
  background: #262626;
  font-family: sans-serif
}
.container
{
  width: 100%;
  margin: 0px auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
}
.container .box
{
  position: relative;
  width: 300px;
  height: 300px;
  margin: 10px;
  box-sizing: border-box;
  display: inline-block;
}
.container .box .imgBox
{
  position: relative;
  overflow: hidden;
}
.container .box .imgBox img
{
  max-width: 100%;
  transition: transform 3s;
}
.container .box:hover .imgBox img
{
  transform: scale(1.2);
}
.container .box .details
{
  position: absolute;
  top: 10px;
  left: 5px;
  bottom: 80px;
  right: 5px;
  background: rgba(231, 170, 231, 0.8);
  transform: scaleY(0);
  transition: transform .5s;
}
.container .box:hover .details
{
  transform: scaleY(1);
}
.container .box .details .content
{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  padding: 15px;
  color: #1b0116;
}
.container .box .details .content h1
{
  margin: 10px;
  padding: 10px;
  font-size: 20px;
    color:  #560088;
    align-items: center;
    justify-content: center;

}
.container .box .details .content p
{
  margin-left: 10px;
  padding: 10px;
  align-items: center;
  justify-content: center;
}

@media screen and (max-width: 768px) {
  .container {
    padding: 0;
  }
  .container .box {
  margin: 0;
  }

  }

footer {
    background-color: #c5b2d4;
    color: #5a118a;
    text-align: center;
    padding: 10px;
}
#textofuturo{
  margin-top: 0;
  padding:0;
  width: 10px;
  height: 10px;
  left: 1vw;
  position:relative ;
}
.wrap {
  overflow: hidden;
  margin: 10px;
}
.box {
  float: left;
  position: relative;
  width: 20%;
  padding-bottom: 20%;
  margin: 35px;
}
.boxInner {
  position: absolute;
  left: 10px;
  right: 10px;
  top: 10px;
  bottom: 10px;
  overflow: hidden;
}
.boxInner img {
  width: 100%;
}





