@font-face {
  font-family: "Aqua";
  src: url("./media/aqua.ttf") format("opentype");
}

* {
  margin: 0;
  box-sizing: border-box;
}

body {
  width: 100%;
  min-height: 100vh;
  background-image: linear-gradient(180deg, #000000 0%, #171f49 100%);
}

header {
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 20px;
  padding-top: 60px;
}

header h1 {
  font-family: "Aqua";
}
header h1,
header h2 {
  color: white;
  text-align: center;
  font-weight: 300;
  font-size: 30px;
}

header h2 {
  font-size: 20px;
  font-family: "Lucida Sans Regular", "Lucida Grande", "Lucida Sans Unicode",
    Geneva, Verdana, sans-serif;
  font-weight: 400;
  line-height: 1.2;
  max-width: 380px;
}

.main {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 60px;
  padding: 50px 20px 80px 20px;
}

.card {
  width: 550px;
  height: 370px;
  border-radius: 20px;
  box-shadow: 0px 0px 10px -5px rgba(77.990123520279, 103.14377362327164, 116.89624481201173, 0.69);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0;
  overflow: hidden;
  transition: all 0.3s;
}

.card:hover {
  transform: scale(1.03);
}

video {
  background-color: black;
  width: 100%;
  display: flex;
  flex: 1;
}

.card a {
  font-family: "Aqua";
  max-height: 60px;
  background-color: #211d55;
  color: white;
  padding: 20px;
  font-size: 15px;
  font-weight: 400;
  border: none;
  text-decoration: none;
  display: flex;
  flex: 1;
  justify-content: center;
}

.card a:hover {
  background-color: #28236b;
  transition: all 0.3s;
}

/* .cronopia {
  position: fixed;
  right: 40px;
  bottom: 40px;
  width: 60px;
  height: 60px;
  z-index: 9;
}

.cronopia img {
  width: 60px;
  height: 60px;
} */

footer {
  background-color: #211d55;
  font-family: "Lucida Sans Regular", "Lucida Grande", "Lucida Sans Unicode",
    Geneva, Verdana, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  color: white;
  gap: 20px;
  .cro {
    font-family: "Aqua";
    text-transform: uppercase;
    line-height: 1;
    font-weight: 500;
    font-size: 22px;
  }
  .autor {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    .nombre {
      color: rgb(80, 148, 179);
      text-decoration: none;
      font-weight: 500;
      font-size: 20px;
    }
    .portafolio {
      box-shadow: 0px 0px 10px -5px rgba(254, 255, 255, 0.69);
      padding: 15px 20px;
      /* width: 300px; */
      border-radius: 12px;
      text-align: center;
      background-color: rgb(58, 111, 135);
      color: white;
      text-decoration: none;
      /* font-weight: 600; */
      font-size: 20px;
      transition: all 0.3s;
      &:hover {
        background-color: rgb(89, 131, 149);
        scale: 1.06;
      }
    }
  }
  .info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
  }
}

@media (max-width: 1199px) {
  .card {
    height: fit-content;
  }
  .card:hover {
    transform: none;
  }
}

@media (max-width: 767px) {
  h1 {
    font-size: 25px;
  }

  .container {
    padding: 60px 20px;
  }

  .main {
    gap: 40px;
  }

  .card {
    border-radius: 15px;
  }
}
