@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500&family=Fira+Sans+Extra+Condensed:wght@100;400&family=Marcellus&family=Poppins:wght@100&family=Staatliches&display=swap');

@font-face {
  font-family: 'Spiderman';
  src: url("../resources/fonts/the_amazing_spider_man/The\ Amazing\ Spider-Man.ttf    ");
}

:root {
  --azul: #24b4e7;
  --verde: #b5d007;
  --rosado: #d87093;
}

#nav {
  background-color: transparent;
  padding: 20px;
  font-family: 'Fira Sans Extra Condensed', sans-serif;
  z-index: 9999;
  position: relative;
}

#nav .links {
  color: var(--rosado);
  font-size: 17px;
  font-weight: 100;
  padding: 10px;
  border-radius: 20px;
  font-weight: 400;
  transition: all .3s;
}

#nav .links:hover {
  border-radius: 20px;
  color: var(--azul);
  transition: all .3s;
  transform: translateY(-5px);
}

#nav ul li {
  margin-right: 20px;
}

.evento {
  background-color: #007d02;
  color: #fff !important;
}

body {
  background: -webkit-linear-gradient(to right, #ffffffe3, #ece9e6e2), url('../images/eventos/CRUZ.jpg') !important;
  background: linear-gradient(to right, #ffffffe5, #ece9e6e9), url('../images/eventos/CRUZ.jpg') !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center;
}


@keyframes color {
  from {
    background-position: 0% 50%;
  }

  to {
    background-position: 100% 50%;
  }
}

h1 {
  text-align: center;
  font-size: 6em;
  text-align: center;
  color: var(--azul);
  font-weight: 900;
  cursor: default;
}

.container {
  display: flex;
  justify-content: center;
}

.card {
  --main-color: #000;
  --submain-color: #78858F;
  --bg-color: #fff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  position: relative;
  width: 240px;
  height: 334px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 20px;
  background: var(--bg-color);
  margin: 10px;
}

.card__img {
  height: 192px;
  width: 100%;
}

.card__avatar {
  position: absolute;
  width: 74px;
  height: 74px;
  background: var(--bg-color);
  border-radius: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  top: calc(50% - 57px);
}

.card__avatar i {
  font-size: 35px;
}

.card__title {
  margin-top: 60px;
  font-weight: 500;
  font-size: 18px;
  color: var(--main-color);
}

.card__subtitle {
  margin-top: 10px;
  font-weight: 400;
  font-size: 15px;
  color: var(--submain-color);
}

.card__btn {
  margin-top: 11px;
  margin-bottom: 11px;
  width: 76px;
  height: 31px;
  border: 2px solid var(--main-color);
  border-radius: 4px;
  font-weight: 700;
  font-size: 11px;
  color: var(--main-color);
  background: var(--bg-color);
  text-transform: uppercase;
  transition: all 0.3s;
}

.card__btn-solid {
  background: var(--main-color);
  color: var(--bg-color);
}

.card__btn:hover {
  background: var(--azul);
  color: var(--bg-color);
}

.card__btn-solid:hover {
  background: var(--bg-color);
  color: var(--main-color);
}

h6 {
  text-align: center;
  font-size: 2em;
  text-align: center;
  color: #ffffff;
  font-weight: 700;
  cursor: default;
  background-color: #d87093;
  width: 50%;
  margin: auto;
  margin-top: 50px;
  border-radius: 50px;
  padding: 20px;
  font-weight: 900;
}

/* Estilos del footer */
footer {
  position: relative;
  width: 100%;
  background: var(--azul);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-top: 15%;
}

footer .social_icon,
footer .menu {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0 0 -38px;
  flex-wrap: wrap;
}

footer .social_icon li,
footer .menu li {
  list-style: none;
}

footer .social_icon li a {
  font-size: 2em;
  color: #fff;
  margin: 0 10px;
  display: inline-block;
  transition: .5s;
}

footer .social_icon li a:hover {
  transform: translateY(-10px);
}

footer.menu li a {
  font-size: 1.2em;
  color: #fff;
  margin: 0 10px;
  display: inline-block;
  text-decoration: none;
  opacity: .75;
}

footer .menu li a:hover {
  opacity: 1;
}

footer p {
  color: #fff;
}

.links {
  color: #fff;
  margin: 10px;
  text-decoration: none;
}

.links:hover {
  color: #fff;
  margin: 10px;
}

.fa-facebook {
  border-radius: 20px;
}

.fa-instagram {
  border-radius: 20px;
}

@media screen and (max-width: 767px) {
  h1 {
    font-size: 3.5em;
  }

  h6 {
    text-align: center;
    font-size: 25px;
    text-align: center;
    color: #ffffff;
    font-weight: 900;
    cursor: default;
    border-radius: 50px;
    padding: 20px;
    margin-top: 20%;
    margin-bottom: 60%;
    width: 100%;
  }

  body {
    background: linear-gradient(to bottom right, #ffa4fc, #24b4e7, #e0ff6f);
  }

  .card__btn {
    padding: 6px;
    width: 100px;
    height: 40px;
    font-size: 15px;
  }


  footer {
    border-radius: 0px;
    margin-top: 90px;
  }

  .links {
    display: flex;
  }

  footer p {
    text-align: center;
  }
}