
body {
  margin: 5%;
  font-family: sans-serif;
  font-size: 10px;
  background-color: yellow;
height: 100vh;
overflow: hidden;
}

a {
  color: blue; 
  text-decoration: underline;
}

.collage{
  position: absolute;
  max-width: 720px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.espaciocollage{
  position: relative;
  height: 50%;
}

.texto{
  position: absolute;
  margin-left: 21%;
  width: 50%;
  z-index: 99;
}

.introtext{
  position: relative;
  margin: 3%;
  color: black;
  padding: 25px;
  background-color: yellow;
  text-align: left;
  font-size: 2em;
   max-width: 85%;
   max-height: 420px;
   overflow: scroll;
  scrollbar-color: darkred;
  scrollbar-width: thin;
  z-index: 4;}

  #enlacehome{
    background-color: transparent;
    color: red;
    position:absolute; 
  width:100%;
  height:100%;
  top:0;
  left: 0;
  z-index: 99;
  }

input[type="radio"] {
  appearance: none;
  background-color: yellow;
  margin: 0;
  font: inherit;
  color: currentColor;
  width: 0em;
  height: 0em;
  border: none;
  border-radius: 50%;
  display: grid;
  place-content: center;
}

/* The inner dot (hidden by default) */
input[type="radio"]::before {
  content: "";
  width: 0em;
  height: 0em;
  border-radius: 50%;
  transform: scale(0);
  transition: 120ms transform ease-in-out;
  box-shadow: inset 1em 1em #2AC176;
}

/* Show the dot when checked */
input[type="radio"]:checked::before {
  transform: scale(1);
}


.figura {
  width: 50%;
  height: 50%;
  margin: auto;
}

  #cabezaImg {
  width: 150%;
  position: relative;
  z-index: 2;
  right: 0%;
 margin-top: 3%;
 background-color: transparent;
}

#ojosImg {
  width: 110%;
  position: relative;
  left: 0%;
  margin-top: -200%;
  z-index: 5;
  background-color: transparent;
}

#narizImg {
  width: 90%;
  position: absolute;
  top: 0px;
  z-index: 1;
  left: -20%;
  margin-top: 0%;
  background-color: transparent;
}

#bocaImg {
  width: 90%;
  position: absolute;
  top: 0px;
  z-index: 1;
  left: 20%;
  margin-top: 0%;
  background-color: transparent;
}



@media (max-width: 800px){


.texto{
  width: 100%;
    height: 35%;
  background-color: green;
  clear: both;
}

.introtext{
  position: relative;
   max-width: 85%;
   max-height: 180px;
  z-index: 4;}

.figura {
  width: 100%;
  height: 100%;
  margin: auto;
}

  #cabezaImg {
  width: 100%;
  position: relative;
  z-index: 2;
  right: 0%;
 margin-top: 0%;
}

#ojosImg {
  width: 80%;
  position: relative;
  left: -8%;
  top: -10%;
  z-index: 1;
}

#narizImg {
  width: 80%;
  position: absolute;
  top: 0px;
  z-index: 1;
  left: -5%;
  margin-top: 0%;
}

#bocaImg {
  width: 80%;
  position: absolute;
  top: 0px;
  z-index: 1;
  left: 25%;
  margin-top: 0%;
}

.collage{
  position: absolute;
  width: 80%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.espaciocollage{
  position: relative;
  height: 100%;
}

}
