* {
  box-sizing: border-box;
}

html {
  height: 100%;
  margin: 0;
  padding: 0;
}
body {
  background-color: #1e1e1e;
  text-align: center;
  margin: 0;
}

.bg-dark {
  position: fixed;
  z-index: -1;
  top: 0;
  left: 0;
  width: 120%;
  mix-blend-mode: luminosity;
  opacity: 0.04;
}

.container {
  position: relative;
}

@media (min-width: 1600px) {
  body {
    display: flex;
    height: 100vh;
    /* center the container */
    justify-content: center;
    align-items: center;
  }

  .container {
    max-width: 1200px;
  }

  .villa {
    border-radius: 14px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  }
}

@media (max-width: 600px) {
  .container {
    width: 100%;
  }
}

@keyframes fadeInAnimation {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.fadein {
  animation: fadeInAnimation ease 3s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

.villa {
  vertical-align: bottom;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
}

.title {
  transform-origin: left top;
  transform: scale(0.6) translate(-50%, 0);
  left: 50%;
  top: 0;
  font-family: "EB Garamond", serif;

  padding: 20px 20px 40px 10px;
  position: absolute;

  color: white;
}

.links {
  margin-top: 20px;
  position: absolute;
  bottom: 206px;
  right: 100px;

  font-family: "EB Garamond", serif;
  font-size: 20px;
  display: flex;

  a {
    background-color: white;
    padding: 5px 10px;
    color: white;
    text-decoration: none;
    margin: 0 15px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    display: block;
    width: 220px;
    overflow: hidden;

    height: 70px;
    span {
      display: none;
    }
  }

  a.harrington {
    background-color: #f0f0f0;
  }

  a.hanse {
  }
}

.title h1 {
  font-weight: 400 !important;
  font-size: 80px;
  margin: 0;
  /*shadow*/
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.4);
}

.title h2 {
  font-weight: 400 !important;
  font-size: 30px;
  margin: 0;
  position: relative;

  /*shadow*/
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.4);
}

.title h2:before {
  content: "";
  display: block;
  left: 50%;
  top: -4px;
  width: 460px;
  position: absolute;
  height: 2px;
  background-color: white;
  transform: translate(-50%, 0);
}

.impressum {
  margin-top: 20px;
  margin-bottom: 10px;
  display: block;
  text-align: center;
  color: #8c8c8c;
}

@media (max-width: 1000px) {
  .container {
    overflow: auto;
    height: auto;
    position: static;
  }

  .title {
    top: 100px;
    position: static;
    margin: auto;
    transform: none;
  }

  .links {
    width: 100%;
    justify-content: center;
    position: static;
  }
}

@media (max-width: 600px) {
  .links {
    margin-top: 20px;
    flex-direction: column;
    gap: 20px;

    a {
      margin: auto;
    }
  }

  .title {
    h1 {
      font-size: 32px;
    }

    h2 {
      font-size: 18px;
    }

    h2:before {
      width: 289px;
      background-color: #a2a0a0;
    }
  }
}
