/* Wuud Studio – pagina temporanea "restyling in corso" */

@font-face {
  font-family: "Akira Expanded Demo";
  src: url("assets/akira-expanded.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Exo;
  src: url("assets/exo.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --grigio: #4e4d4d;
  --giallo: #fffb00;
  --bianco: #fff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  color: var(--bianco);
  background-color: var(--grigio);
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  padding: 20px 60px;
  font-family: Exo, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

strong {
  font-weight: 700;
}

/* Header */

.headbar {
  display: flex;
  align-items: center;
}

.logo_wuud {
  padding: 4px;
  display: block;
}

/* Hero */

.hero {
  flex: 1;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 40px 0;
}

.hero_text {
  text-align: left;
}

.titolo {
  margin: 0 0 40px;
  font-family: "Akira Expanded Demo", Impact, sans-serif;
  font-size: clamp(44px, 4.6vw, 72px);
  font-weight: 400;
  line-height: 1.08;
  text-transform: uppercase;
}

.sotto_titolo {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.paragrafo {
  max-width: 520px;
  margin: 0;
  padding-top: 10px;
  font-size: 16px;
  line-height: 26px;
}

.button_general {
  color: #000;
  text-align: center;
  background-color: var(--giallo);
  border: 1px solid var(--giallo);
  border-radius: 10px;
  width: 132px;
  height: 40px;
  margin-top: 40px;
  padding: 8px 10px;
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
  text-decoration: none;
  display: block;
  transition: color .2s, background-color .2s;
}

.button_general:hover,
.button_general:focus-visible {
  color: var(--giallo);
  background-color: transparent;
}

/* Mascotte */

.hero_mascotte {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mascotte {
  width: min(100%, 340px);
  transform-origin: 50% 100%;
  animation: cammina 1.1s ease-in-out infinite alternate;
}

.ombra {
  background-color: #0000002e;
  border-radius: 50%;
  width: 190px;
  max-width: 60%;
  height: 12px;
  margin-top: 14px;
  animation: ombra 1.1s ease-in-out infinite alternate;
}

@keyframes cammina {
  from { transform: translateY(0) rotate(-2deg); }
  to   { transform: translateY(-14px) rotate(2deg); }
}

@keyframes ombra {
  from { transform: scaleX(1); opacity: 1; }
  to   { transform: scaleX(.82); opacity: .6; }
}

@media (prefers-reduced-motion: reduce) {
  .mascotte,
  .ombra {
    animation: none;
  }
}

/* Footer */

.footer {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  gap: 16px;
  padding-top: 20px;
}

.footer_mail {
  font-size: 16px;
}

.footer_copyr {
  font-size: 14px;
}

.footer_social {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 15px;
}

.footer_social a {
  transition: opacity .2s;
}

.footer_social a:hover {
  opacity: .7;
}

/* Tablet */

@media (max-width: 991px) {
  body {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero {
    gap: 20px;
  }

  .titolo {
    font-size: clamp(30px, 4.6vw, 44px);
  }

  .footer {
    grid-template-columns: auto 1fr auto;
    row-gap: 6px;
  }

  .footer_logo {
    grid-row: span 3;
  }

  .footer_social {
    grid-column: 3;
    grid-row: 1 / span 3;
  }
}

/* Mobile */

@media (max-width: 767px) {
  body {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 30px 0;
  }

  .titolo {
    margin-bottom: 26px;
    font-size: clamp(26px, 10.5vw, 52px);
  }

  .sotto_titolo {
    font-size: 16px;
  }

  .paragrafo {
    font-size: 14px;
    line-height: 22px;
  }

  .button_general {
    margin-top: 28px;
  }

  .mascotte {
    width: min(58%, 230px);
  }
}
