/* Importazione dei Font con ottimizzazione */
@font-face {
  font-family: 'ESKlarheitGrotesk';
  src: url('./Fonts/Klarheit/ESKlarheitGrotesk-Md.woff2') format('woff2'),
       url('./Fonts/Klarheit/ESKlarheitGrotesk-Md.woff') format('woff'),
       url('./Fonts/Klarheit/ESKlarheitGrotesk-Md.otf') format('opentype'),
       url('./Fonts/Klarheit/ESKlarheitGrotesk-Md.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'TarantinoMarchesi'; 
  src: url('./Fonts/TARANTINO-MARCHESI/Tarantinomarchesi-medium.otf') format('opentype'),
        url('./Fonts/TARANTINO-MARCHESI/Tarantinomarchesi-medium.woff2') format('woff2'),
        url('./Fonts/TARANTINO-MARCHESI/Tarantinomarchesi-medium.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

body {
  margin: 0;
  padding: 12px;
  background-color: #ffffff;
  font-family: 'ESKlarheitGrotesk', sans-serif;
  font-size: 16px;
  min-height: 100vh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tarantino-marchesi-font {
  font-family: 'TarantinoMarchesi', sans-serif;
}

#logo {
  width: calc(100% - 24px); 
  position: absolute;
  display: flex;
  justify-content: center;
}

#logo img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  pointer-events: none;
}

#info-container {
  display: flex;
  justify-content: space-between;
  width: 100%;
  flex-wrap: wrap;
  padding: 12px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: hidden;
  box-sizing: border-box;
  align-items: flex-end;
  gap: 20px;
}

.logo-title {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: baseline;
  width: calc(100%);
  font-size: clamp(20px, 8.6vw, 300px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0 auto;
  gap: 7px;
}

.logo-title p {
  margin: 0;
}

#info-left, #info-right {
  text-align: left;
}

#info-container a {
  color: #000;
  text-decoration: none;
}

#info-container a:hover {
  text-decoration: underline;
}

#social {
  text-align: right;
  display: flex;
  flex-direction: row;
  gap: 4px;
  align-items: center;
}

#info-contacts {
  display: flex;
  align-items: center;
  gap: 15vh;
  flex-direction: row;
}

.link {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 3px;
}

/* Mobile / Tablet */
@media (max-width: 1024px) {
  body {
    padding: 8px;
  }
  html, body {
    overflow: hidden;
    height: 100%;
  }
  #logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 16px);
    padding: 8px;
  }

  #logo img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .logo-title{
    align-items: baseline;
  }

  #info-container {
    /* padding: 8.5px; */
    padding: 8px;
    gap: 8px;
  }

  #info-contacts {
    flex-direction: column;
    gap: 12px;
  }

  #info-left, #info-right, #social {
    width: 100%;
    text-align: left;
  }

  p {
    margin: 0;
  }

  .info-container p {
    margin: 0;
    font-size: 11px;
  }

  .logo-title p {
    font-size: clamp(20px, 8.5vw, 100px);
  }

  #social {
    text-align: left;
    padding-right: 0;
  }

}
/* 
@media (max-width: 730px) {
  .logo-title p {
    font-size: clamp(20px, 8.4vw, 100px);
  }
}
@media (max-width: 590px) {
  .logo-title p {
    font-size: clamp(20px, 8.3vw, 100px);
  }
}

@media (max-width: 550px) {
  .logo-title p {
    font-size: clamp(20px, 8.1vw, 100px);
  }
}

@media (max-width: 500px) {
  .logo-title p {
    font-size: clamp(20px, 8vw, 100px);
  }
}


@media (max-width: 370px) {
  .logo-title p {
    font-size: clamp(20px, 7.8vw, 100px);
  }
} */