body{
  background-color: #fff5cc;
}
#titulo {
  font-size:4.42vw;
  text-align: center;
  background: rgb(255,204,0);
background: linear-gradient(90deg, rgba(255,204,0,1) 17%, rgba(255,235,153,1) 100%);
  border-radius: 1.3vw;
  }
.container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
#fotoportada {
	width: auto;
	height: 41.25vw;
	margin: 0.78vw;
	transition: transform 1s;
	border: 0.3vw solid black;
}

#fotoportada:hover {
	transform: scale(1.1);
}
#boton1 {
  
  font-size: 5.71vh;
  text-align: center;
  position: absolute;
  top: 20%;
  right: 1%;
  text-decoration:none;
  color: black;
  background: rgb(255,204,0);
background: linear-gradient(90deg, rgba(255,204,0,1) 17%, rgba(255,235,153,1) 100%);
  opacity: 1;
  border-radius: 0,63vh;
  padding: 0,63vh;
}
#boton2{
  font-size: 5.71vh;
  text-align: center;
  position: absolute;
  top: 30%;
  right: 1%;
  text-decoration:none;
  color: black;
  background: rgb(255,204,0);
background: linear-gradient(90deg, rgba(255,204,0,1) 17%, rgba(255,236,153,1) 100%);
  opacity: 1;
  border-radius: 0,63vh;
  padding: 0,63vh;
}
#boton3{
  
  font-size: 5.71vh;
  text-align: left;
  position: absolute;
  top: 40%;
  right: 1%;
  text-decoration:none;
  color: black;
  background: rgb(255,204,0);
background: linear-gradient(90deg, rgba(255,204,0,1) 17%, rgba(255,235,153,1) 100%);
  opacity: 1;
  border-radius: 0,63vh;
  padding: 0,63vh;
}
#boton4{
  
  font-size: 5.71vh;
  text-align: left;
  position: absolute;
  top: 50%;
  right: 1%;
  text-decoration:none;
  color: black;
  background: rgb(255,204,0);
background: linear-gradient(90deg, rgba(255,204,0,1) 17%, rgba(255,235,153,1) 100%);
  opacity: 1;
  border-radius: 0,63vh;
  padding: 0,63vh;
}
#boton5 {
  font-size: 5.71vh;
  text-align: left;
  position: absolute;
  top: 60%;
  right: 1%;
  text-decoration:none;
  color: black;
 background: rgb(255,204,0);
background: linear-gradient(90deg, rgba(255,204,0,1) 17%, rgba(255,235,153,1) 100%);
  opacity: 1;
  border-radius: 0,63vh;
  padding: 0,63vh;
}
#boton6 {
text-decoration:none;
  color: black;
 background: rgb(255,204,0);
background: linear-gradient(90deg, rgba(255,204,0,1) 17%, rgba(255,235,153,1) 100%);
  opacity: 1;
  border-radius: 0,63vh;
  padding: 0,63vh;
  font-size: 5.71vh;
  text-align: left;
  position: absolute;
  top: 70%;
  right: 1%;
}
.boton: hover{
  rgba (0,0,0,)
}


.subir{
  position: fixed;
    bottom: 0;
    right: 0;
    margin-right: 15px;
    margin-bottom: 10px;
  z-index:2;
  width: 3%
  }

/*Perfil*/

#perfil{ 
font-family: 'Koulen', cursive;
text-align:center;
font-size:5vw;
  position: absolute; width: 100%; top: 150%; right: 0%; left: 0%;
  background-color: #CDC2AE;
  box-shadow: 2px 2px 2px #ffcc00;
  text-shadow: 2px 2px 2px #ffcc00;
}
.texto1{
  
  color: black;
  font-size:4.44vh;
  position:absolute;top:180%;
  left:2%;  width: 100%;
  }

#fotoperfil{
  position:absolute; width: auto; top: 185%; left: 63%;

}

#fotoperfil:hover {
 filter: grayscale(100%)
}

html, body {scroll-behavior: smooth;
}


#galeria{ 
font-family: 'Koulen', cursive;
text-align:center;
font-size:5vw;
  position: absolute; width: 100%; top: 300%; right: 0%; left: 0%;
  background-color: #CDC2AE;
  box-shadow: 2px 2px 2px #ffcc00;
  text-shadow: 2px 2px 2px #ffcc00;
}
.container2{
  padding: 75px 0;
  margin: 0 auto;
  width: 1140px;
  position:absolute;
  top: 315%;
  left: 15%;
}
.gallery-wrap {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 70vh;
}

.item {
  flex: 1;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: none;
  transition: flex 0.8s ease;
  
  &:hover{
    flex: 7;
  }
}

.item-1 { 
  background-image: url(https://i.imgur.com/sFqFy5a.jpg);
}

.item-2 { 
  background-image: url(https://i.imgur.com/bCX8Evp.jpg);
}

.item-3 { 
  background-image: url(https://i.imgur.com/iSZvqmK.jpg);
}

.item-4 { 
  background-image: url(https://i.imgur.com/sERn2ur.jpg);
}

.item-5 { 
  background-image: url(https://i.imgur.com/gMhvaRX.jpg);
}

#colegio{ 
font-family: 'Koulen', cursive;
text-align:center;
font-size:5vw;
  position: absolute; width: 100%; top: 425%; right: 0%; left: 0%;
  background-color: #CDC2AE;
  box-shadow: 2px 2px 2px #ffcc00;
  text-shadow: 2px 2px 2px #ffcc00;
}

.textoillia{
  font-family: 'Quicksand', sans-serif;
  color: black;
  font-size:15px;
  position:absolute;
  top:440%;
  left:10%;
  text-align: justify;
  }


#contenido{
  width: 95%; 
  height: 7%; 
  position: absolute;
  left: 25%; 
}

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-gap: 20px;
  grid-column-start: 1;
  grid-row-start: 1;
  grid-row-end: 3;
  align-content: start;
  max-width: 700px;
  margin: 0 auto;
  transition: all 150ms linear;
  padding-left:10%;
}

.gallery input[type="radio"] {
  display: none;
}

.gallery label {
  position: relative;
  display: block;
  padding-bottom: 60%;
  margin: 5px;
  cursor: pointer;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
}

.gallery label:before {
  border: 1px solid #e3e3e3;
  content: '';
  position: absolute;
  left: -5px;
  right: -5px;
  bottom: -5px;
  top: -5px;
}

.gallery img {
  display: none;
  grid-column-start: 1;
  grid-column-end: 5;
  grid-row-start: 1;
  grid-row-end: 2;
  width: 100%;
  transition: all 150ms linear;
}

.gallery input[name="select"]:checked + label + img {
  display: block;
}

.gallery input[name="select"]:checked + label:before {
  border: 1px solid #000;
}


#futuro{ 
font-family: 'Koulen', cursive;
text-align:center;
font-size:5vw;
  position: absolute; width: 100%; top: 580%; right: 0%; left: 0%;
  background-color: #CDC2AE;
  box-shadow: 2px 2px 2px #ffcc00;
  text-shadow: 2px 2px 2px #ffcc00;
}


#random{ 
font-family: 'Koulen', cursive;
text-align:center;
font-size:5vw;
  position: absolute; width: 100%; top: 710%; right: 0%; left: 0%;
  background-color: #CDC2AE;
  box-shadow: 2px 2px 2px #ffcc00;
  text-shadow: 2px 2px 2px #ffcc00;
}

.textorandom{
  font-family: 'Quicksand', sans-serif;
  color: black;
  font-size:15px;
  position:absolute;
  top:730%;
  left:10%;
  text-align: justify;
  }

#botonfinal {
text-decoration:none;
  color: black;
 background: rgb(255,204,0);
background: linear-gradient(90deg, rgba(255,204,0,1) 17%, rgba(255,235,153,1) 100%);
  opacity: 1;
  border-radius: 0,63vh;
  padding: 0,63vh;
  font-size: 5.71vh;
  text-align: left;
  position: absolute;
  top: 825%;
  right: 25%;
}

#video{
  top:750%;
  position:absolute;
  left:30%;
}

.textofuturo{
  top:600%;
  position:absolute;
  left:10%;
  }


#fotofuturo {
	width: auto;
	height: 41.25vw;
	margin: 0.78vw;
	transition: transform 1s;
	border: 0.3vw solid black;
}

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