@import url('https://fonts.googleapis.com/css2?family=PT+Serif&display=swap');

*, *::after, *::before {
    border: 0;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  :root {
    --hue: 45;
    --bkg: var(--hue) 50% 96%;
    --text: var(--hue) 70% 9%;
    --dark: var(--hue) 70% 3%;
    --light: var(--hue) 10% 90%;
    font-family: 'PT Serif', serif;
  }
  
  body {
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    display: grid;
    place-items: center;
    font-family: 'PT Serif', serif;
    animation: fadeInAnimation ease 2s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
  }

@keyframes fadeInAnimation {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}
  
 /* Contenedores */

.wrapper {
  padding: 0;
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
}

.regreso {
  position: fixed;
  cursor: pointer;
  background: none;
  transform: scale(0.5);
  right: -5px;
  top: -10px;
  z-index: 1;
}

.control {
  position: fixed;
  cursor: pointer;
  background: none;
  transform: scale(0.15);
  z-index: 2;
  right: -17em;
  bottom: -10em;
}

.image-container {
  display: flex;
  justify-content: center;
  position: relative;
  margin: auto;
  padding: 0;
  width: 712px;
  height: 712px;
}

.image-container>button[data-tooltip]:hover::after {
	content: attr(data-tooltip);
  position: relative;
  white-space: nowrap;
  font-family: 'PT Serif';
  font-weight: 500;
  left: -40px;
  top: -50px;
  border-radius: 5%;
  background: hsl(var(--light) /.6);
  padding: 5px;
  color: hsl(var(--dark));
  font-size: 16px;
}

.portada {
position: absolute;
display: block;
margin: auto;
width: 118.54%;
height: 84.27%;
top: 5%;
/* max-width: 100%; */
}

/* Botones definidos */

.btn {
  position: absolute;
  border-radius: 50%;
  appearance: button;
  cursor: pointer;
  text-decoration: none !important;
}

#punta-left {
    height: 8.5%;
    width: 8.5%;
    left: 13.7%;
    top: 19.5%;
    background-color: #714C4170;
    transition: background-color 0.4s ease-in-out;
}

#punta-left:is(:hover, :focus) {
  background-color: #714C41aa;
}

#punta-center {
  height: 11.75%;
  width: 11.75%;
  left: 43.05%;
  top: 31.2%;
  background-color: #69684070;
  transition: background-color 0.4s ease-in-out;
}

#punta-center:is(:hover, :focus) {
  background-color: #696840aa;
}

#punta-right {
    height: 9.4%;
    width: 9.4%;
    left: 69.6%;
    top: 62%;
    background-color: #4a4a8470;
    transition: background-color 0.4s ease-in-out;
}

#punta-right:is(:hover, :focus) {
  background-color: #4a4a84aa;
}

#infografia {
  height: 8%;
  width: 8%;
  left: 80.5%;
  top: 22%;
  background-color: #6a6a7b70;
  transition: background-color 0.4s ease-in-out;
}

#infografia:is(:hover, :focus) {
  background-color: #6a6a7baa;
}

@media only screen and (min-width: 1400px) and (min-height: 850px) {
  .image-container {
    width: 850px;
    height: 850px;
  }
}