/* Colors */

.home-container {
  position: relative;
  height: 100vh;
}
.home-container-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}
.home-image {
  position: absolute;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 3.5s ease-in-out;
}
.home-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(33, 37, 41, 1) 15%,
    rgba(33, 37, 41, 0.6) 85%,
    rgba(33, 37, 41, 1) 100%
  );
}
.home-title {
  position: relative;
  text-align: center;
  width: 100%;
  top: -15vh;
}
.home-carousel {
  position: absolute;
  background: transparent;
  width: 100%;
  top: 65%;
  z-index: 10;
}
.home-card {
  text-align: center;
  width: 19vw;
  height: 27vh;
  min-width: 200px;
  min-height: 220px;
  background: rgb(150, 150, 150);
  border-radius: 15px;
  box-shadow: 4px 4px 10px 1px rgba(255, 255, 255, 0.8),
    inset -9px -9px 15px -3px rgba(0, 0, 0, 0.8),
    inset 9px 9px 15px -3px rgba(255, 255, 255, 0.9) !important;
}
.home-card-p {
  color: black;
  font-size: min(1.3vw, 1.6vh);
}
.home-card-body {
  padding: 0;
}
.list-name {
  font-size: min(1.2vw, 1.5vh);
  color: black;
  margin: 2px 0;
  line-height: 1.2;
}
.list-name-detail {
  font-size: min(0.9vw, 1.2vh);
  color: black;
  margin: 2px 0;
  line-height: 1.2;
}
.icon-container {
  position: relative;
  display: inline-block;
}
.icon-title {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 10px;
  border-radius: 5px;
  font-size: 0.9rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out,
    transform 0.3s ease-in-out;
}
.icon-container:hover .icon-title {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-5px);
}
@keyframes iconAppear {
  0% {
    transform: scale(0);
    opacity: 0;
    color: black;
    filter: brightness(0);
    text-shadow: none;
  }
  50% {
    transform: scale(1.5);
    opacity: 1;
    filter: brightness(1);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
  }
  100% {
    transform: scale(1);
    filter: brightness(1.8);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
  }
}
.icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: borderGlow 2.5s infinite alternate ease-in-out;
}
.animated-icon {
  font-size: min(2vw, 2.3vh);
  width: min(2.5vw, 5vh);
  height: min(2.5vw, 5vh);
  padding: min(0.2vw, 0.8vh);
  border: 2px solid rgba(41, 41, 41, 0.8);
  border-radius: 50%;
  background: rgba(44, 44, 44, 0.6);
  animation: iconAppear 1.2s ease-out forwards;
  display: flex;
  align-items: center;
  justify-content: center;
}
@keyframes borderGlow {
  0% {
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  }
  50% {
    box-shadow: 0 0 15px rgba(79, 79, 79, 0.6);
  }
  100% {
    box-shadow: 0 0 20px rgba(79, 79, 79, 0.8);
  }
}
.icon-enter {
  color: var(--color-green140);
}
.icon-exit {
  color: var(--color-red233);
}
.icon-birthday {
  color: var(--color-purple220);
}
.icon-birthdayG {
  color: var(--color-orange185);
}
.icon-info {
  color: var(--color-blue255);
}

/*METEO*/
.img-weather {
  width: 50%;
}
.ico-weather {
  width: 20%;
}
.weather-temperature {
  color: black;
  font-weight: bold;
  font-size: min(2.3vw, 2.6vh);
}
.weather-summary {
  height: 100%;
  border-radius: 0 0 15px 15px;
  background: linear-gradient(
      rgb(140, 140, 140, 1),
      rgba(255, 255, 255, 0.1) 20%,
      rgba(255, 255, 255, 0.1) 80%,
      rgba(240, 240, 240, 1)
    ),
    linear-gradient(
      to right,
      rgba(240, 240, 240, 1),
      rgba(255, 255, 255, 0.1) 20%,
      rgba(255, 255, 255, 0.1) 80%,
      rgba(240, 240, 240, 1)
    ),
    url("../img/iconWeather/sky.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  box-shadow: inset -9px -9px 15px -3px rgba(0, 0, 0, 0.8),
    inset 9px 9px 15px -3px rgba(255, 255, 255, 0.9) !important;
}
.weather-main {
  font-size: min(1.2vw, 1.5vh);
  font-weight: bold;
}

.weather-details {
  font-size: 0.9em;
  line-height: 1;
}
.weather-details p {
  margin: 2px 0;
}
.weather-details span {
  font-weight: bold;
}
.forecast-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  padding: 1px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  width: 16%;
}
.forecast-time {
  font-size: min(0.6vw, 0.9vh);
  font-weight: 600;
  margin-bottom: 5px;
  color: #555;
  line-height: 1.1;
}
.forecast-icon {
  width: min(1.1vw, 2.2vh);
  height: min(1.1vw, 2.2vh);
  margin-bottom: 5px;
  line-height: 1.1;
}
.forecast-temp {
  font-size: min(0.8vw, 1.1vh);
  font-weight: bold;
  color: #333;
  line-height: 1.1;
}
