html {
  scroll-behavior: smooth;
}

/* TYPOGRAPHY */
:root {
  --blue: #1565c0;
  --light-blue: #dff5ff;
  --green: #58c777;
  --pink: #f5d8d8;
  --dark: #111;
  --step-0: clamp(1rem, 1vw + 0.8rem, 1.2rem);
  --step-1: clamp(2rem, 3vw + 1rem, 4rem);
  --step-2: clamp(3rem, 6vw + 1rem, 6rem);
}

/* RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: sans-serif;
  background: white;
  overflow-x: hidden;
}

.poster {
  min-height: 100vh;
}

/* HERO */
.hero {
  padding: 3rem 2rem;
}

.hero__title {
  font-size: var(--step-2);
  line-height: 0.9;
  color: var(--blue);
  animation: fadeIn 1s ease;
}

.hero__title span {
  color: var(--green);
}

.hero__subtitle {
  margin-top: 1rem;
  font-size: var(--step-0);
}

/* NETWORK */
.network {
  position: relative;
  height: 500px;
  background: linear-gradient(to bottom, white 0%, var(--light-blue) 100%);
  overflow: hidden;
}

.network__svg {
  width: 100%;
  height: 100%;
}

.network__path {
  fill: none;
  stroke: #222;
  stroke-width: 4;
  stroke-dasharray: 15;
  animation: moveLine 10s linear infinite;
}

.network__path--delay {
  animation-delay: 2s;
}

.node {
  fill: #ffe600;
  animation: pulse 2s ease-in-out infinite;
}

.server {
  position: absolute;
  width: 70px;
  height: 100px;
  background: var(--blue);
  border-radius: 10px;
}

.server--1 {
  top: 100px;
  left: 20%;
}

.server--2 {
  top: 150px;
  right: 15%;
}

/* CLIMATE */
.climate {
  background: var(--pink);
  min-height: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  padding: 3rem 2rem;
}

.earth {
  font-size: clamp(6rem, 15vw, 12rem);
  animation: float 4s ease-in-out infinite;
}

.climate__icons {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.icon {
  font-size: 3rem;
  animation: bounce 2s ease-in-out infinite;
}

.icon:nth-child(2) {
  animation-delay: 0.3s;
}

.icon:nth-child(3) {
  animation-delay: 0.6s;
}

.icon:nth-child(4) {
  animation-delay: 0.9s;
}

/* ANIMATIONS */
@keyframes moveLine {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: 200;
  }
}
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.3);
  }
}
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ACCESSIBILITY */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
  }
}
/* MESSAGE SECTION */
.message {
  padding: 4rem 2rem;
  text-align: center;
  background: #ffffff;
}

.message__title {
  font-size: var(--step-1);
  color: var(--blue);
  max-width: 15ch;
  margin-inline: auto;
}

.message__text {
  margin-block-start: 1rem;
  max-width: 55ch;
  margin-inline: auto;
  font-size: var(--step-0);
  line-height: 1.6;
}

/* TIPS SECTION */
.tips {
  padding: 4rem 2rem;
  background: var(--green);
  color: var(--dark);
  text-align: center;
}

.tips__title {
  font-size: var(--step-1);
  max-width: 16ch;
  margin-inline: auto;
}

.tips__list {
  margin-block-start: 2rem;
  display: grid;
  gap: 1rem;
  list-style: none;
  font-size: var(--step-0);
}

.tips__list li {
  background: white;
  padding: 1rem;
  border-radius: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  font-weight: 600;
}

.tips__list li:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  background: #f8f8f8;
}

/* RESPONSIVE DESIGN */
@media (max-width: 600px) {
  .hero {
    padding: 2rem 1rem;
  }
  .network {
    height: 380px;
  }
  .server {
    width: 45px;
    height: 70px;
  }
  .message,
  .climate,
  .tips {
    padding: 3rem 1rem;
  }
  .tips__title,
  .message__title {
    max-width: 12ch;
  }
}
/* FOOTER */
.footer {
  padding: 2rem;
  text-align: center;
  background: var(--dark);
  color: white;
  font-size: 0.9rem;
}

/*# sourceMappingURL=styles.css.map */
