/* ====== BODY BACKGROUNDS ====== */
.bg-home {
  background: url("../../img/fondo-2.png") no-repeat center top;
  background-size: cover;
}

.bg-pred {
  background: url("../../img/fondo-3.png") no-repeat center top;
  background-size: cover;
}

.bg-final {
  background: url("../../img/fondo-3.png") no-repeat center top;
  background-size: cover;
}

.bg-perfil {
  background: url("../../img/fondo-4.png") no-repeat center top;
  background-size: cover;
}


/* ====== APP ====== */
.app-container {

  width: 100%;
  max-width: 420px;

  margin: 0 auto;

  min-height: 100dvh;

  display: flex;
  flex-direction: column;

  position: relative;
}


/* ====== HEADER ====== */
.home-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;

  padding: 10px 15px 0;
}

.logo-marca {
  width: 80px;
}

.mascota-home {
  width: 120px;
}

.logo-texto-home {
  width: 140px;
}


/* ====== CONTENIDO ====== */
.home-container {
  flex: 1;

  padding: 20px;
  padding-bottom: 20px;

  color: white;
}


/* ====== MENÚ ====== */
.menu-bottom {

  margin-top: auto;

  width: 100%;

  display: flex;
  justify-content: space-around;
  align-items: center;

  padding: 10px;

  background: rgba(10,20,70,0.95);
  backdrop-filter: blur(10px);

  border-radius: 20px 20px 0 0;
}


/* ====== ITEM ====== */
.menu-item {

  flex: 1;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  color: #00c2a8;

  font-size: 11px;

  padding: 8px 5px;

  transition: 0.3s;
}

.menu-item i {
  font-size: 20px;
  margin-bottom: 4px;
}


/* ====== ACTIVO ====== */
.menu-item.activo {

  background: rgba(255,255,255,0.15);

  border-radius: 14px;

  color: #ffffff;
}


/* ====== RESPONSIVE ====== */
@media (min-width: 768px) {

  body {
    background: linear-gradient(135deg, #1e2b7a, #0b1e4d);
  }

  .bg-home::before,
  .bg-pred::before,
  .bg-final::before,
  .bg-perfil::before {

    content: "";

    position: fixed;

    inset: 0;

    opacity: 0.2;

    z-index: -1;
  }

  .bg-home::before {
    background: url("../../img/fondo-2.png") center/cover no-repeat;
  }

  .bg-pred::before {
    background: url("../../img/fondo-3.png") center/cover no-repeat;
  }

  .bg-final::before {
    background: url("../../img/fondo-3.png") center/cover no-repeat;
  }

  .bg-perfil::before {
    background: url("../../img/fondo-4.png") center/cover no-repeat;
  }

  .app-container {

    max-width: 700px;

    border-radius: 20px;

    overflow: hidden;

    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  }

  .home-header {

    display: grid;

    grid-template-columns: 1fr auto 1fr;

    align-items: center;
  }

  .logo-marca {
    width: 150px;
  }

  .mascota-home {
    width: 170px;
  }

  .logo-texto-home {
    width: 170px;
    justify-self: end;
  }

}


/* ====== PC GRANDE ====== */
@media (min-width: 1440px) {

  .app-container {
    max-width: 780px;
  }

}