@import url("https://fonts.googleapis.com/css2?family=Tsukimi+Rounded:wght@300;500&display=swap");

/*HTML*/
html,
body {
  margin: 0;
  padding: 0;
  font-family: "Tsukimi Rounded", sans-serif;
  text-align: center;
  background-color: #d4e1ec;
  scroll-behavior: smooth;
}

/*Navegação*/
nav {
  display: flex;
  height: 80px;
  width: 100%;
  background: linear-gradient(
  261deg,rgba(78, 167, 184, 1) 12%,rgba(77, 165, 182, 1) 16%, rgba(57, 120, 133, 1) 59%, rgba(54, 113, 125, 1) 70%, rgba(46, 94, 103, 1) 96%, rgba(47, 97, 107, 1) 99%);
  align-items: center;
  justify-content: space-evenly;
  padding: 0 12.5px 0 8px;
  flex-wrap: wrap;
  position: fixed;
  z-index: 1;
}
nav .logo {
  color: white;
  font-size: 2rem;
  font-weight: 600;
  justify-content: center;
}
nav ul {
  list-style-type: none;
  display: none;
  flex-wrap: wrap;
  position: fixed;
  top: 64px;
  right: 80%;
  background-color: rgb(65, 155, 158);
  width: 200px;
  text-align: center;
  justify-content: center;
  transition-duration: all 1s ease;
  align-items: center;
}
nav ul.open {
  right: 15.5%;
  display: block;  
  scroll-behavior: auto;
}
nav ul li {
  width: 80%;
  margin: 30px 0;
}
nav ul li a {
  font-size: 23px;
  text-decoration: none;
  color: whitesmoke;
  border-radius: 5px;
  padding: 8px 8px;
  transition: all 0.3s ease;
}
nav ul li a:hover {
  color: white;
}
nav ul li a:hover {
  background-color: burlywood;
}
nav .menu {
  position: relative;
  padding: 0;
}
.menu img {
  margin-top: 5px;
  margin-right: 20px;
}

/*Página*/
main {
  position: absolute;
  width: 100%;
  padding-top: 77px;
}

/*Fundo dos títulos*/
.fundo1 {
  background-image: url(../imagens/fundo1.jpg);
}
.fundo2 {
  background-image: url(../imagens/fundo2.jpg);
}
.fundo3 {
  background-image: url(../imagens/fundo3.jpg);
}
.fundo4 {
  background-image: url(../imagens/fundo4.jpg);
}
.fundo5 {
  background-image: url(../imagens/fundo5.jpg);
}
.fundo6 {
  background-image: url(../imagens/fundo6.jpg);
}
.fundo1, .fundo2, .fundo3, .fundo4, .fundo5, .fundo6 {
  position: relative;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 60px;
}

/*Títulos*/
.titulo {
  padding: 25px 12px;
  left: 0;
  right: 0;
  width: 82%;
  background: linear-gradient(261deg,rgba(68,152,159,1) 23%, rgba(50,92,111,1) 87%);  
  color: honeydew;
  font-size: 1.4rem;
  filter:  drop-shadow(4px 4px honeydew);
  margin: auto;
}
.map {
  background: linear-gradient(90deg, rgba(69,89,97,1) 0%, rgba(149,176,180,1) 100%);
}
.espada {
  background: linear-gradient(90deg, rgba(39,80,97,1) 0%, rgba(120,193,204,1) 100%);
}
.person {
  background: linear-gradient(90deg, rgba(39,97,86,1) 0%, rgba(64,156,119,1) 100%);
}
.len {
  background: linear-gradient(90deg, rgba(4,74,48,1) 7%, rgba(68,173,126,1) 62%);
}
.vid {
  background: linear-gradient(261deg, rgba(172,12,12,1) 0%, rgba(50,92,111,1) 87%);
}

/*Conteúdos*/
.container {
  margin: auto;
  width: 100%;
  filter: drop-shadow(0px 0 30px rgba(10 10 10 / 100%));
  padding: 10px 0;
}
.container p {
  color: black;
  margin: auto;
  padding: 20px;
  width: 55%;
}
.container img,
.centralizar img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 4px solid transparent;
  background: radial-gradient(circle,rgba(78, 167, 184, 1) 12%, rgba(77, 165, 182, 1) 16%, rgba(57, 120, 133, 1) 59%, rgba(54, 113, 125, 1) 70%, rgba(46, 94, 103, 1) 96%, rgba(47, 97, 107, 1) 99%);
}
.resumo{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.centralizar{
  padding: 10px;
  filter: drop-shadow(0px 0 10px rgba(10 10 10 / 100%));
}
.excalibur{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
}
.legenda {
  text-decoration: underline;
  font-size: 0.9rem;
  font-style: italic;
}

/*Slides*/
.seta {
  cursor: pointer;
  position: relative;
  top: 150px;
  margin-top: 40px;
  width: 0;
  height: 0;
  border-style: solid;
}
#seta-esquerda {
  border-width: 20px 30px 20px 0;
  border-color: transparent #44beb4 transparent transparent;
  left: 0;
  margin-left: 25px;
  float: left;
}
#seta-direita {
  border-width: 20px 0 20px 30px;
  border-color: transparent transparent transparent #44beb4;
  right: 0;
  margin-right: 25px;
  float: right;
}

/*Personagens*/
.personagens {
  list-style-type: none;
  margin: 10px 10px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.descricao {
  max-height: 80px;
  overflow-y: scroll;
  text-align: center;
  font-size: 14px;
  padding-right: 10px;
  color: black;
}
.cartao {
  margin: auto;
  background-color: #a0c0cc;
  width: 200px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  border-radius: 15px;
  transition: 0.2s ease-in-out;
}
.cartao:hover {
  transform: scale(1.02);
  cursor: pointer;
  background-color: burlywood;
  transition: 0.2s ease-in-out;
}
span {
  color: black;
}
.animacao {
  width: 250px;
  height: 240px;
  margin: auto;
  background-size: cover;
  border-radius: 7%;
  animation-duration: 15s;
  animation-iteration-count: infinite;
  animation-name: muda_imagem;
}
@keyframes muda_imagem {
  0% {
    background-image: url("../imagens/excalibur1.jpeg");
  }
  25% {
    background-image: url("../imagens/excalibur2.jpeg");
  }
  50% {
    background-image: url("../imagens/excalibur1.jpeg");
  }
  75% {
    background-image: url("../imagens/excalibur2.jpeg");
  }
  100% {
    background-image: url("../imagens/excalibur1.jpeg");
  }
}

/*Vídeo*/
#video {
  width: 65%;
  height: 65%;
  margin: 30px;
}

/*Mapa*/
#perg {
  cursor: pointer;
  width: 65%; 
  height: 65%;
  margin: 15px 15px; 
  filter: drop-shadow(0px 0 10px rgba(10 10 10 / 100%));
}
#perg:hover {
  opacity: 0.7;
}
.zoom {
  display: none; 
  position: fixed; 
  z-index: 2; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  background-color: rgba(0,0,0,0.9); 
  backdrop-filter: blur(20px);
  align-items: center;
}
.zoom-black {
  margin: auto;
  width: 75%;
  animation-name: zoom-in;
  animation-duration: 0.6s;
}
@keyframes zoom-in {
  from {transform:scale(0.4)}
  to {transform:scale(1)}
}
.out {
  animation-name: zoom-out;
  animation-duration: 0.6s;
}
@keyframes zoom-out {
  from {transform:scale(1)}
  to {transform:scale(0)}
}

/*Rodapé*/
footer {
  background: linear-gradient(261deg, rgba(78, 167, 184, 1) 12%, rgba(77, 165, 182, 1) 16%, rgba(57, 120, 133, 1) 59%, rgba(54, 113, 125, 1) 70%, rgba(46, 94, 103, 1) 96%, rgba(47, 97, 107, 1) 99%);
}
footer h3 {
  margin: 0;
  padding: 10px;
  color: white;
} 
.inp {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}
.inp input, button {
  margin: 5px 5px;
}
button { 
  margin-bottom: 25px;
}

/*Ícone*/
#voltar {
  display: flex;
  width: 8vh;
  height: 8vh;
  position: fixed;
  bottom: 20px;
  right: 15px;
  background: none;
  cursor: pointer;
  outline: none;
}
#voltar:hover {
  transform: scale(1.2);
  transition: 0.2s ease-in-out;
  filter: drop-shadow(0px 0 10px rgba(10 10 10 / 100%));
}

/*Ajuste de telas*/
@media (max-width: 340px) {
  nav ul.open {
    right: 8.5%;
  }
}

@media (min-width: 960px) {
  nav .menu i {
    display: none;
  }
  nav ul {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    top: 0;
    right: 0;
    position: relative;
    background: none;
    margin-right: 40px;
  }
  nav ul li {
    margin: 0 5px;
  }
  nav ul li a {
    font-size: 1rem;
  }
  .menu img{
    display: none;
  }
  .container{
    padding: 50px 0;
  }
  .titulo{
    width: 30%;
  }
  .excalibur{
    flex-direction: row-reverse;
  }
  .centralizar{
    padding: 50px 0;
  }
  #seta-esquerda{
    margin-left: 60px;
  }
  #seta-direita{
    margin-right: 60px;
  }
  .inp {
    display: block;
  }
}