@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 {
  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 cubic-bezier(0.6, 0.04, 0.25, 1) 2.5s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

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

  100% {
    opacity: 1;
  }
}

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

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

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

.control.play {
  animation: isPlaying ease-in-out 1s;
  animation-iteration-count: infinite;
}

@keyframes isPlaying {
  0% {
    transform: scale(0.15);
  }

  50% {
    transform: scale(0.17);
  }

  100% {
    transform: scale(0.15);
  }
}

.guia {
  position: fixed;
  cursor: pointer;
  font-family: 'PT Serif';
  color:#444444;
  text-decoration: none;
  transform: scale(0.6);
  padding: .5em;
  right: -.5em;
  top: .5em;
  transition: transform 0.4s ease-in-out;
  z-index: 1;
}

.creditos {
  position: fixed;
  cursor: pointer;
  font-family: 'PT Serif';
  color:#444444;
  text-decoration: none;
  transform: scale(0.6);
  padding: .2em .5em .7em .5em;
  right: -.25em;
  top: 3.5em;
  transition: transform 0.4s ease-in-out;
  z-index: 1;
}

.guia:is(:hover, :focus) {
  transform: scale(0.64);
}

.creditos:is(:hover, :focus) {
  transform: scale(0.64);
}

.portada {
  display: flex;
  justify-content: center;
  position: relative;
  margin: auto;
  padding: 0;
  width: 720px;
  height: 720px;
  max-width: 100%;
}

a.btnazul {
  left: 43.3%;
  top: 1%;
  background-color: #A8B7E760;
  width: 17%;
  height: 17%;
  transition: background-color 0.4s ease-in-out;
}

a.btnazul:is(:hover, :focus) {
  background-color: #A8B7E880;
}

a.btnrojo {
  left: 34%;
  top: 31.5%;
  background-color: #ecb0a660;
  width: 13.2%;
  height: 13.2%;
  transition: background-color 0.4s ease-in-out;
}

a.btnrojo:is(:hover, :focus) {
  background-color: #efb0a780;
}

a.btnverde {
  left: 55.4%;
  top: 31.5%;
  background-color: #8da78b60;
  width: 13.2%;
  height: 13.2%;
  transition: background-color 0.4s ease-in-out;
}

a.btnverde:is(:hover, :focus) {
  background-color: #90b78b80;
}

a.btncrema {
  left: 23%;
  top: 60%;
  background-color: #e2c5b980;
  width: 14.3%;
  height: 14.3%;
  transition: background-color 0.4s ease-in-out;
}

a.btncrema:is(:hover, :focus) {
  background-color: #e2c5b9a0;
}

a.btngris {
  left: 65.5%;
  top: 60%;
  background-color: #cecece90;
  width: 14.3%;
  height: 14.3%;
  transition: background-color 0.4s ease-in-out;
}

a.btngris:is(:hover, :focus) {
  background-color: #cececea9;
}

a.btnamarillo {
  left: 45.8%;
  top: 42.5%;
  background-color: #f1e2a980;
  width: 11%;
  height: 11%;
  transition: background-color 0.4s ease-in-out;
}

a.btnamarillo:is(:hover, :focus) {
  background-color: #f1e2a9a0;
}

a.btnceleste {
  left: 47.4%;
  top: 70.7%;
  background-color: #a9cacf90;
  width: 7.2%;
  height: 7.2%;
  transition: background-color 0.4s ease-in-out;
}

a.btnceleste:is(:hover, :focus) {
  background-color: #a9cad3b0;
}

.portada>a[data-tooltip]:hover::after {
	content: attr(data-tooltip);
  position: relative;
  white-space: nowrap;
  font-family: 'PT Serif';
  font-weight: 500;
  left: -40px;
  top: -20px;
  border-radius: 5%;
  background: #FFFFFFCC;
  padding: 5px;
  color: #444444;
  font-size: 16px;
}

.portada>a[data-tooltip="III. Las Cruces"]:hover::after {
  left: -70px;
  top: -2px !important;
}

.inicio {
  width: 100%;
  height: 100%;
  height: auto;
  position: absolute;
  margin: auto;
  left: 0;
  right: 0;
}

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

button {
  display: block;
  border-radius: 50%;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 0;
}

/* PARA INICIO EN QUECHUA */

.portada>a[data-tooltip="Mañakuy Raymiwan"]:hover::after {
  left: -50px !important;
  top: -20px;
}

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