@font-face {
  font-family: "Raleway";
  src: url("../fonts/Raleway-Light.ttf") format("truetype");
  font-weight: 300;
  font-display: swap;
}

* {
  padding: 0px;
  margin: 0px;
  border: 0px;
}

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

aside,
nav,
footer,
header,
section {
  display: block;
}

body {
  line-height: 1;
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

input::-ms-clear {
  display: none;
}

button {
  cursor: pointer;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

a,
a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

ul li {
  list-style: none;
}

img {
  vertical-align: top;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: inherit;
  font-size: inherit;
}

.container {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

body {
  font-family: "Raleway", sans-serif;
  font-weight: 300;
  color: #000000;
  text-transform: none; /* 🔥 Tolto uppercase globale */
}

@-webkit-keyframes appearFromSide {
  0% {
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes appearFromSide {
  0% {
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
  }
}

.screen {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 100px 0;
}

.title {
  font-size: 70px;
  text-align: center;
  text-transform: uppercase; /* 👍 Uppercase solo per titoli */
  animation: appearFromSide 1.5s ease forwards;
}

.image {
  width: 100%;
  max-width: 650px;
  height: auto;
  opacity: 0;
  animation: appearFromSide 1.5s ease 1.7s forwards;
}

.info {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 0 30px;
  opacity: 0;
  animation: appearFromSide 2s ease 3s forwards;
}

.info a {
  color: #000000;
  display: flex;
  font-size: 30px;
  align-items: center;
  gap: 10px;
  text-transform: uppercase; /* 👍 Uppercase solo menù/info */
}

.info a:hover {
  text-decoration: underline;
}

/* 🔥 TESTO OTTIMIZZATO */
.text {
  margin-top: 100px;
  font-size: 28px;
  line-height: 150%;
  text-align: justify;
  hyphens: auto;
  opacity: 0;
  animation: appearFromSide 2s ease 5s forwards;
}

@media (max-width: 991.98px) {
  .screen {
    padding: 50px 0;
  }

  .title {
    font-size: 58px;
  }

  .image {
    max-width: 550px;
  }

  .info {
    flex-direction: column;
    align-items: center;
    padding: 0;
  }

  .text {
    font-size: 22px;
    margin-top: 50px;
  }
}

@media (max-width: 576.98px) {
  .container {
    max-width: none;
    padding: 0 15px;
  }

  .screen {
    gap: 15px;
  }

  .title {
    font-size: 45px;
  }

  .info {
    gap: 20px;
  }

  .info a {
    font-size: 20px;
    gap: 5px;
  }

  .info a img {
    width: 100%;
    max-width: 26px;
  }
}
