* {font-family: 'Poppins'; font-size: 16px; margin: 0;}

:root {
    --dark-120: #1B1B1B;
    --dark-100: #2E2D2C;
    --primary: #55B030;
    --outer-spacing: 48px;
}

body {background-color: var(--dark-120);}

.slide {padding: 64px; display: flex; flex-direction: column; row-gap: 40px; position: fixed; top: 0; bottom: 0; left: 0; right: 0;}

/* DASHBOARD */
.slide.is-dashboard {padding: 48px; border-top: 8px solid var(--primary); background-color: var(--dark-120);}
.slide.is-dashboard .top {line-height: 0;}

/* CARDS */
.slide.is-dashboard .info-cards {display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 250px; column-gap: 24px;}
.slide.is-dashboard .info-cards .card {padding: 28px; border-radius: 12px; background-color: var(--dark-100); color: #fff;}
.slide.is-dashboard .info-cards .card {display: flex; flex-direction: column; justify-content: space-between;}
.slide.is-dashboard .info-cards .card .card-header {display: flex; align-items: center; justify-content: space-between;}
.slide.is-dashboard .info-cards .card .card-header .card-title {font-size: 24px;}
.slide.is-dashboard .info-cards .card .card-header .icon {line-height: 1; width: 40px; height: 40px; border-radius: 50%; background-color: rgba(255, 255, 255, .2); display: flex; align-items: center; justify-content: center;}
.slide.is-dashboard .info-cards .card .card-header .icon img {width: 18px; height: 18px; object-fit: contain; object-position: center;}
.slide.is-dashboard .info-cards .card .card-body h2 {font-size: 48px; line-height: 1; margin-bottom: 12px;}
.slide.is-dashboard .info-cards .card .card-body h2 + p {font-size: 24px; line-height: 1;}

/** TODAY */
.slide.is-dashboard .info-cards .card.today {background-color: var(--primary);}

/** WEATHER */
.slide.is-dashboard .info-cards .card.weather {padding-bottom: 0;}
.slide.is-dashboard .info-cards .card.weather .today {padding-right: 12px;}
.slide.is-dashboard .info-cards .card.weather .today .weather-icon {display: flex; align-items: center; column-gap: 12px;}
.slide.is-dashboard .info-cards .card.weather .today .weather-icon img {width: 54px; height: 54px;}
.slide.is-dashboard .info-cards .card.weather .today .weather-icon .temperature {font-size: 48px; font-weight: 600;}
.slide.is-dashboard .info-cards .card.weather .today .weather-code {font-size: 20px; font-weight: 500; white-space: nowrap;}
.slide.is-dashboard .info-cards .card.weather .weather {display: flex; align-items: center; padding-bottom: 12px;}
.slide.is-dashboard .info-cards .card.weather .weather .next-hours {display: flex; width: 100%; align-items: center; justify-content: center;}
.slide.is-dashboard .info-cards .card.weather .weather .next-hours .hour {display: flex; flex-direction: column; align-items: center; padding: 0 14px;}
.slide.is-dashboard .info-cards .card.weather .weather .next-hours .hour:first-child {padding-left: 0;}
.slide.is-dashboard .info-cards .card.weather .weather .next-hours .hour:last-child {padding-right: 0;}
.slide.is-dashboard .info-cards .card.weather .weather .next-hours .hour:not(:last-child) {border-right: 1px solid rgba(255, 255, 255, .15);}
.slide.is-dashboard .info-cards .card.weather .weather .next-hours .hour img {width: 32px; height: 32px; object-fit: contain;}
.slide.is-dashboard .info-cards .card.weather .weather .next-hours .hour span {font-weight: 500; font-size: 14px; margin-top: 8px; text-align: center;} 
.slide.is-dashboard .info-cards .card.weather .weather .next-hours .hour span .precipitation {font-weight: 300; font-size: 14px;} 
.slide.is-dashboard .info-cards .card.weather .weather-card-footer {display: flex; align-items: center; column-gap: 5px; margin: 0 -28px; padding: 10px 28px; border-radius: 0 0 12px 12px; background-color: var(--primary);}
.slide.is-dashboard .info-cards .card.weather .weather-card-footer p {font-weight: 500; font-size: 14px;}
.slide.is-dashboard .info-cards .card.weather .weather-card-footer svg {width: 12px; height: 12px; fill: #fff;}
.slide.is-dashboard .info-cards .card.weather .weather-card-footer.is-danger {color: var(--dark-100); background-color: #F4BB2C;}
.slide.is-dashboard .info-cards .card.weather .weather-card-footer.is-danger svg {fill: var(--dark-100);}

/* FEATURED SLIDES */
.slide.is-dashboard .featured-items {height: 100%; margin: 0 calc(-1 * var(--outer-spacing)); padding: 0 var(--outer-spacing); overflow-x: scroll; overflow-y: hidden; -ms-overflow-style: none; scrollbar-width: none;}
.slide.is-dashboard .featured-items::-webkit-scrollbar {display: none;}
.slide.is-dashboard .featured-items .featured-items-scroll-track {display: flex; flex-wrap: nowrap; white-space: nowrap; height: 100%; column-gap: 24px;}
.slide.is-dashboard .featured-items .slide-card {position: relative; min-width: calc(33% - 81px); white-space: normal; overflow: hidden; padding: 36px; border-radius: 16px; background-color: var(--bg-color); display: flex; flex-direction: column; justify-content: space-between;}
.slide.is-dashboard .featured-items .slide-card.has-overlay {background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 45%, rgba(0, 0, 0, 0.75) 75%); }
.slide.is-dashboard .featured-items .slide-card .card-image {position: absolute; width: 100%; height: 100%; top: 0; bottom: 0; left: 0; right: 0; object-fit: cover; object-position: center;}
.slide.is-dashboard .featured-items .slide-card.image-contain .card-image {object-fit: contain; z-index: -1;}
.slide.is-dashboard .featured-items .slide-card.has-overlay .card-image {z-index: -1;}
.slide.is-dashboard .featured-items .slide-card .card-header {display: flex; align-items: center; column-gap: 8px; position: relative;}
.slide.is-dashboard .featured-items .slide-card .card-header .tag {border-radius: 32px; padding: 5px 12px; line-height: 1; font-weight: 600; font-size: 12px; background-color: var(--dark-100); color: #fff;}
.slide.is-dashboard .featured-items .slide-card .card-header .tag.tag-primary {background-color: var(--primary);}
.slide.is-dashboard .featured-items .slide-card .card-body {position: relative;}
.slide.is-dashboard .featured-items .slide-card .card-body h3 {font-size: 24px; line-height: 1.2; margin-bottom: 8px;}
.slide.is-dashboard .featured-items .slide-card .card-body * {color: #fff;}
.slide.is-dashboard .featured-items .slide-card .card-body p {display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;}
.slide.is-dashboard .featured-items .slide-card.is-dark .card-body * {color: var(--dark-100);}

/* DEFAULT SLIDE */
.slide.is-full {justify-content: space-between; background-color: var(--bg-color);}
.slide.is-full .card-overlay {position: absolute; width: 100%; height: 100%; top: 0; bottom: 0; left: 0; right: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 60%, rgba(0, 0, 0, 0.75) 75%); }
.slide.is-full .card-image {position: absolute; width: 100%; height: 100%; top: 0; bottom: 0; left: 0; right: 0; object-fit: contain; object-position: center;}
.slide.is-full .card-header {display: flex; align-items: center; column-gap: 8px; position: relative;}
.slide.is-full .card-header .tag {border-radius: 32px; padding: 8px 16px; line-height: 1; font-weight: 600; font-size: 16px; background-color: var(--dark-100); color: #fff;}
.slide.is-full .card-header .tag.tag-primary {background-color: var(--primary);}
.slide.is-full .card-body {position: relative; max-width: 1200px;}
.slide.is-full .card-body h3 {font-size: 36px; line-height: 1.2; margin-bottom: 12px;}
.slide.is-full .card-body p {font-size: 20px; font-weight: 300;}
.slide.is-full .card-body * {color: #fff;}
.slide.is-full.is-dark .card-body * {color: var(--dark-100);}
.slide.is-full.has-overlay .card-image {object-fit: cover; z-index: -1;}

/* BIRTHDAY SLIDE */
.slide.is-birthday {justify-content: center; align-items: center;}
.slide.is-birthday .upcoming {position: absolute; top: 64px; left: 50%; transform: translateX(-50%); color: #fff; opacity: .5; letter-spacing: 1.5px; font-weight: 400; text-transform: uppercase;}
.slide.is-birthday .flags.flag-1 {position: absolute; left: 0; top: 0; width: 500px;}
.slide.is-birthday .flags.flag-2 {position: absolute; right: 0; top: 0; width: 380px;}
.slide.is-birthday .inner {display: flex; align-items: center; flex-direction: column; row-gap: 54px;}
.slide.is-birthday .inner .image {border-radius: 40px; padding: 8px; width: 280px; height: 280px; border: 6px solid #2E2D2C;}
.slide.is-birthday .inner .image img {width: 100%; border-radius: 24px; aspect-ratio: 1/1; object-fit: cover; object-position: center;}
.slide.is-birthday .inner .info {text-align: center; color: #fff;}
.slide.is-birthday .inner .info h1 {font-size: 48px; line-height: 1;}
.slide.is-birthday .inner .info .date {font-size: 36px; font-weight: 300; margin-top: 12px; line-height: 1;}

.slide.is-birthday .balloons {position: absolute; transform: translateY(100vh);}
.slide.is-birthday .balloons.baloon-1 { left: 10%; width: 160px; animation: float-1 8s linear infinite; animation-delay: 0s; }
.slide.is-birthday .balloons.baloon-2 { left: 30%; width: 130px; animation: float-2 10s linear infinite; animation-delay: 2s; }
.slide.is-birthday .balloons.baloon-3 { left: 50%; width: 140px; animation: float-3 9s linear infinite; animation-delay: 1s; }
.slide.is-birthday .balloons.baloon-4 { left: 70%; width: 130px; animation: float-4 11s linear infinite; animation-delay: 3s; }
.slide.is-birthday .balloons.baloon-5 { left: 90%; width: 140px; animation: float-5 7s linear infinite; animation-delay: 0.5s; }

@keyframes float-1 {
  from {
    transform: translateY(100vh) translateX(0);
  }
  to {
    transform: translateY(-100vh) translateX(-20px);
  }
}

@keyframes float-2 {
  from {
    transform: translateY(100vh) translateX(0);
  }
  to {
    transform: translateY(-100vh) translateX(20px);
  }
}

@keyframes float-3 {
  from {
    transform: translateY(100vh) translateX(0);
  }
  to {
    transform: translateY(-100vh) translateX(-10px);
  }
}

@keyframes float-4 {
  from {
    transform: translateY(100vh) translateX(0);
  }
  to {
    transform: translateY(-100vh) translateX(15px);
  }
}

@keyframes float-5 {
  from {
    transform: translateY(100vh) translateX(0);
  }
  to {
    transform: translateY(-100vh) translateX(-15px);
  }
}