/* BASE */

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

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}

body {
  background: white;
  color: black;
  font-family: "Times New Roman", serif;
}

/* VERSIONE COMPUTER */

.landing {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  display: grid;
  grid-template-columns: 38% minmax(0, 1fr);
  column-gap: 7%;
  align-items: center;
  padding: 7%;
  padding-bottom: 130px;
}

.logo {
  width: 100%;
  min-width: 0;
  transform: translateY(90px);
}

.logo img {
  display: block;
  width: 100%;
  height: auto;
}

.description {
  width: max-content;
  max-width: none;
  min-width: 0;
  font-size: 18px;
  line-height: 1.5;
  transform: translate(-2cm, calc(90px + 1cm));
}

.description p {
  margin-bottom: 15px;
  white-space: nowrap;
}

.description p {
  margin-bottom: 15px;
  white-space: normal;
}

/* CONTATTI */

.contacts {
  position: fixed;
  bottom: 45px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: max-content;
  max-width: calc(100% - 30px);
  text-align: center;
  font-size: 18px;
  line-height: 1.3;
  z-index: 10;
}

.contacts a {
  color: black;
  text-decoration: none;
}

.contacts a:hover {
  color: blue;
  text-decoration: underline;
}

/* CURSORE COMPUTER */

.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  font-family: "Times New Roman", serif;
  font-size: 30px;
  font-weight: bold;
  color: black;
  transform: translate(-50%, -50%);
  user-select: none;
}

@media (hover: hover) and (pointer: fine) {
  body,
  body * {
    cursor: none !important;
  }
}

/* VERSIONE IPHONE */

@media (max-width: 768px) {

.landing {
  width: 100%;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
  padding: 20px 30px 85px;
}

.logo {
  width: 100%;
  max-width: none;
  flex-shrink: 0;
  transform: translate(0.5cm, 1.5cm);
}

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

.description {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  flex-shrink: 1;
  font-size: 16px;
  line-height: 1.35;
  text-align: left;
  transform: translateY(2cm);
  overflow-wrap: anywhere;
}

  .description p {
    margin-bottom: 12px;
    white-space: normal;
  }

  .contacts {
    position: absolute;
    bottom: max(20px, env(safe-area-inset-bottom));
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 30px);
    max-width: 100%;
    margin: 0;
    padding: 0;
    font-size: 16px;
  }

  .custom-cursor {
    display: none !important;
  }

  body,
  body * {
    cursor: auto !important;
  }
}