:root {
  --colorDeLetra2: rgb(0, 0, 0);
  --colorDeLetra: rgb(99, 54, 8);
  --backgroundColor: rgb(250, 244, 215);
  --backgroundColor2: rgb(255, 255, 255);
  --backgroundColor3: rgb(253, 241, 182);
  --backgroundArticle: rgb(247, 234, 178);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  color: var(--colorDeLetra);
  background-image: url(img/vintage-concrete.png);
  background-attachment: fixed;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
}
hgroup {
  display: flex;
  flex-direction: column;
  padding: 0 10px;
}
header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  height: max-content;
  padding: 0;
}
header hgroup h2 {
  color: rgb(99, 54, 8);
}
h1, h2, h3, .texto a {
  margin: 0 auto;
  width: fit-content;
}

.contenedor-utopia-favoritos {
  top: 0;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  padding: 10px;
  margin-top: 10px;
}
.contenedor-utopia-favoritos a {
  text-decoration: none;
  font-size: 1.2rem;
  color: var(--colorDeLetra);
  font-weight: bold;
} 
.contenedor-utopia-favoritos a:hover {
  transition: .5s;
  color: rgba(0, 26, 255, 0.9);
} 
.favoritos-general {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  height: 50vh;
  padding: 10px;
}

footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 50vh;
}
footer p {
  text-align: center;
}
footer nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
} 
footer nav a {
  text-decoration: none;
  color: var(--colorDeLetra);
}
footer nav a:hover {
  text-decoration: underline;
} 
header a, .contenedor-calculadoras-utopia a, .contenedor-ikariam-oficial a {
  font-size: 1.8rem;
  color: var(--colorDeLetra);
}
header a:hover, .contenedor-calculadoras-utopia a:hover, .contenedor-ikariam-oficial a:hover {
  transition: .5s;
  color: rgba(0, 26, 255, 0.9);
}
nav#menu-ikariam a {
  font-size: 1rem;
}
.contenedor-ikariam-oficial img {
  width: 100%;
}
.configuracion input[type="number"] {
  display: block;
  width: 100%;
  height: 30px;
  border-radius: 7px;
  border: 1px solid var(--colorDeLetra);
  padding: 3px;
  font-size: 20px;
}
main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}
.descripcion {
  max-width: 800px;
  padding: 0 10px;
}
.descripcion.height {
  height: max-content;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
}

.mas-calculadoras {
  margin: 20px auto;
  max-width: 780px;
  padding: 10px;
  color: rgb(99, 54, 8);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(7.7px);
  -webkit-backdrop-filter: blur(7.7px);
}
.mas-calculadoras p {
  margin: 0 auto;
  max-width: 800px;
}
.mas-herramientas {
  max-width: 500px;
  margin-top: 20vh;
  padding: 0 10px;
}


.img-container-calculadoras-top {
  background-image: url(img/fondo-lobby.jpg);
  background-attachment: fixed;
  background-position: center;
  width: 100%;
  min-height: fit-content;
  margin: 20px 0;
  padding-top: 15px;
  box-shadow: 0px 0px 15px rgba(60, 60, 60, 0.678);
}
.contenedor-calculadoras-utopia-top {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
  gap: 15px;
}
.contenedor-calculadoras-utopia-top .texto {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
}
.contenedor-calculadoras-utopia-top article {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  width: 100%;
  color: rgb(99, 54, 8);
  padding: 10px 0;
  font-size: 1.2rem;
  transition: .3s;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(7.7px);
  -webkit-backdrop-filter: blur(7.7px);
  transition: 1s;
}
.contenedor-calculadoras-utopia-top article:hover {
  border-radius: 0;
  transition: 1s;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(20px);
  
}
.contenedor-calculadoras-utopia-top article a {
  font-size: 2rem;
  color: rgb(99, 54, 8);
  text-align: center;
}
.contenedor-calculadoras-utopia-top article a:hover {
  transition: .5s;
  color:  rgba(0, 26, 255, 0.9)
}
.contenedor-calculadoras-utopia {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 10px;
  position: relative;
  z-index: 1;
}
.contenedor-calculadoras-utopia article {
  max-width: 372px;
  color: rgb(99, 54, 8);
  padding: 10px;
  border-radius: 20px;
  transition: 1s;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(20px);
  
}
.contenedor-calculadoras-utopia article:hover {
  border-radius: 0;
  transition: 1s;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(20px);
  
}
.contenedor-calculadoras-utopia .contenedor-imagen {
  width: fit-content;
  float: right;
}

.mas-oficial {
  max-width: 500px;
}
.img-oficial-container {
  margin-top: 20px;
  background-image: url(img/soporteFondo.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  height: 80vh;
  width: 100%;
  box-shadow: 0px 0px 15px rgba(60, 60, 60, 0.678);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.contenedor-ikariam-oficial {
  transition: 1s;
  padding: 10px;
  max-width: 800px;
  margin: auto;
  height: fit-content;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(7.7px);
  -webkit-backdrop-filter: blur(7.7px);
}
.contenedor-ikariam-oficial article {
  margin: 30px auto;
  max-width: 500px;
}
.contenedor-ikariam-oficial article .imagenes {
  display: flex;
  justify-content: space-evenly;
}
.contenedor-ikariam-oficial section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 20px 0;
}
.contenedor-ikariam-oficial nav {
  display: flex;
  gap: 30px;
  max-width: 700px;
}
.favoritos input {
  background-color: var(--backgroundColor);
  border: none;
  /* color: rgb(255, 255, 255); */
  border-radius: 3px;
}
.favoritos input:placeholder-shown {
  padding: 1px 3px;
}
.favoritos button {
  background-color: transparent;
  border: none;
}
.fa-icon {
  width: 20px;
  height: 20px;
}

.utopia-price {
  background-image: url(img/iconosikariam.png);
  background-size: 16650px;
  background-position: 30.91% 0;
  width: 150px;
  height: 150px;
}
.utopia-war {
  background-image: url(img/iconosikariam.png);
  background-size: 16650px;
  background-position: 70.9% 0;
  width: 120px;
  height: 150px;
}
.utopia-resources {
  background-image: url(img/iconosikariam.png);
  background-size: 16650px;
  background-position: 33.6% 0;
  width: 165px;
  height: 150px;
}
.utopia-dif {
  background-image: url(img/iconosikariam.png);
  background-size: 16650px;
  background-position: 0.85% 0;
  width: 165px;
  height: 150px;
}
.utopia-pi {
  background-image: url(img/iconosikariam.png);
  background-size: 16650px;
  background-position: 8.1% 0;
  width: 165px;
  height: 150px;
}
.utopia-versus {
  background-image: url(img/iconosikariam.png);
  background-size: 16650px;
  background-position: 35.45% 0;
  width: 150px;
  height: 150px;
}
.utopia-barbarian {
  background-image: url(img/iconosikariam.png);
  background-size: 16650px;
  background-position: 62.72% 0;
  width: 150px;
  height: 150px;
}
.utopia-minister {
  background-image: url(img/iconosikariam.png);
  background-size: 16650px;
  background-position: 60.9% 0;
  width: 148px;
  height: 150px;
}
.utopia-pillage {
  background-image: url(img/iconosikariam.png);
  background-size: 16650px;
  background-position: 6.4% 0;
  width: 150px;
  height: 150px;
}
.utopia-happy {
  background-image: url(img/iconosikariam.png);
  background-size: 16650px;
  background-position: 42.7% 0;
  width: 150px;
  height: 150px;
}

  /* border-radius: 20px; */
/* Clase boton modo oscuro */
/* switch settings 👇 */
.ui-switch {
  margin-top: 20px;
  /* switch */
  --switch-bg: rgb(135, 150, 165);
  --switch-width: 48px;
  --switch-height: 20px;
  /* circle */
  --circle-diameter: 32px;
  --circle-bg: rgb(0, 56, 146);
  --circle-inset: calc((var(--circle-diameter) - var(--switch-height)) / 2);
}
.ui-switch input {
  display: none;
}
.slider {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: var(--switch-width);
  height: var(--switch-height);
  background: var(--switch-bg);
  border-radius: 999px;
  position: relative;
  cursor: pointer;
}
.slider .circle {
  top: calc(var(--circle-inset) * -1);
  left: 0;
  width: var(--circle-diameter);
  height: var(--circle-diameter);
  position: absolute;
  background: var(--circle-bg);
  border-radius: inherit;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjAiIHdpZHRoPSIyMCIgdmlld0JveD0iMCAwIDIwIDIwIj4KICAgIDxwYXRoIGZpbGw9IiNmZmYiCiAgICAgICAgZD0iTTkuMzA1IDEuNjY3VjMuNzVoMS4zODlWMS42NjdoLTEuMzl6bS00LjcwNyAxLjk1bC0uOTgyLjk4Mkw1LjA5IDYuMDcybC45ODItLjk4Mi0xLjQ3My0xLjQ3M3ptMTAuODAyIDBMMTMuOTI3IDUuMDlsLjk4Mi45ODIgMS40NzMtMS40NzMtLjk4Mi0uOTgyek0xMCA1LjEzOWE0Ljg3MiA0Ljg3MiAwIDAwLTQuODYyIDQuODZBNC44NzIgNC44NzIgMCAwMDEwIDE0Ljg2MiA0Ljg3MiA0Ljg3MiAwIDAwMTQuODYgMTAgNC44NzIgNC44NzIgMCAwMDEwIDUuMTM5em0wIDEuMzg5QTMuNDYyIDMuNDYyIDAgMDExMy40NzEgMTBhMy40NjIgMy40NjIgMCAwMS0zLjQ3MyAzLjQ3MkEzLjQ2MiAzLjQ2MiAwIDAxNi41MjcgMTAgMy40NjIgMy40NjIgMCAwMTEwIDYuNTI4ek0xLjY2NSA5LjMwNXYxLjM5aDIuMDgzdi0xLjM5SDEuNjY2em0xNC41ODMgMHYxLjM5aDIuMDg0di0xLjM5aC0yLjA4NHpNNS4wOSAxMy45MjhMMy42MTYgMTUuNGwuOTgyLjk4MiAxLjQ3My0xLjQ3My0uOTgyLS45ODJ6bTkuODIgMGwtLjk4Mi45ODIgMS40NzMgMS40NzMuOTgyLS45ODItMS40NzMtMS40NzN6TTkuMzA1IDE2LjI1djIuMDgzaDEuMzg5VjE2LjI1aC0xLjM5eiIgLz4KPC9zdmc+");
  background-repeat: no-repeat;
  background-position: center center;
  -webkit-transition: left 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
  -o-transition: left 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, transform 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
  transition: left 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, transform 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  box-shadow: 0px 2px 1px -1px rgba(0,0,0,0.2), 0px 1px 1px 0px rgba(0,0,0,0.14), 0px 1px 3px 0px rgba(0,0,0,0.12);
}
.slider .circle::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.75);
  border-radius: inherit;
  -webkit-transition: all 500ms;
  -o-transition: all 500ms;
  transition: all 500ms;
  opacity: 0;
}
.ui-switch input:checked+.slider .circle {
  left: calc(100% - var(--circle-diameter));
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjAiIHdpZHRoPSIyMCIgdmlld0JveD0iMCAwIDIwIDIwIj4KICAgIDxwYXRoIGZpbGw9IiNmZmYiCiAgICAgICAgZD0iTTQuMiAyLjVsLS43IDEuOC0xLjguNyAxLjguNy43IDEuOC42LTEuOEw2LjcgNWwtMS45LS43LS42LTEuOHptMTUgOC4zYTYuNyA2LjcgMCAxMS02LjYtNi42IDUuOCA1LjggMCAwMDYuNiA2LjZ6IiAvPgo8L3N2Zz4=");
}
.ui-switch input:active+.slider .circle::before {
  -webkit-transition: 0s;
  -o-transition: 0s;
  transition: 0s;
  opacity: 1;
  width: 0;
  height: 0;
}


.svg-borrar {
  width: 16px;
  height: 16px;
  fill: red;
}
.svg-guardar {
  width: 16px;
  height: 16px;
  fill: green;
}



@media only screen and (min-width: 550px) {
  footer nav {
    flex-direction: row;
    gap: 20px;
  }
}
@media only screen and (min-width: 700px) {
  .contenedor-ikariam-oficial {
    border-radius: 20px;
  }
}
@media only screen and (min-width: 800px) {
  header {
    background-image: url(img/fondoForo.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    box-shadow: 0px 0px 15px rgba(60, 60, 60, 0.678);
    color: rgb(99, 54, 8);
  }
  header nav a:hover {
    color: rgba(0, 26, 255, 0.9);
  }
  header nav a:hover {
    color: rgba(0, 26, 255, 0.9);
  }
  footer nav {
    /* flex-direction: row; */
    gap: 20px;
  }
  .contenedor-calculadoras-utopia-top article {
    transition: 1s;
    width: 350px;
    border-radius: 20px;
    box-shadow: 0 0 15px rgb(61, 61, 61);
  }   
  .mas-calculadoras {
    transition: 1s;
    border-radius: 20px;
    width: 350px;
  }
}
@media only screen and (min-width: 1000px) {
  header {
    transition: 1s;
    height: 180px;
  }

}
@media only screen and (min-width: 1150px) {
  .img-container-calculadoras-top {
    min-height: 80vh;
  }
  .contenedor-calculadoras-utopia-top {
    min-height: 90vh;
  }
}
@media only screen and (min-width: 1475px) {
    
  .contenedor-ikariam-oficial {
    background: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
  }
}


.top-nav {
  width: 100%;
  height: max-content;
  margin: 30px 0;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.top-nav a {
  transition: .3s;
  text-decoration: none;
  color: rgb(99, 54, 8);
  font-weight: bolder;
}
.top-nav a:hover {
  transition: .3s;
  color: rgba(0, 26, 255, 0.9);
}
@media only screen and (max-width: 600px) {
  .top-nav {
    flex-direction: column;
  }
}