@font-face {
    font-family: 'TT Norms';
    src: url('assets/fonts/TTNorms-Regular.woff2') format('woff2'),
        url('assets/fonts/TTNorms-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('assets/fonts/PlayfairDisplay-Regular.woff2') format('woff2'),
        url('assets/fonts/PlayfairDisplay-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('assets/fonts/PlayfairDisplay-Bold.woff2') format('woff2'),
        url('assets/fonts/PlayfairDisplay-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('assets/fonts/PlayfairDisplay-Black.woff2') format('woff2'),
        url('assets/fonts/PlayfairDisplay-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: 'Jonathan';
    src: url('assets/fonts/Jonathan-Regular.woff2') format('woff2'),
        url('assets/fonts/Jonathan-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body {
  height: 100vh;
  width: 100%;
  margin: 0;
  padding: 0;
}
h1 {
  font-size: 6rem;
  color: #333;
  margin-top: 5%;
  margin-bottom: 0px;
  font-family: Jonathan;
  font-weight: 100;
}
h2 {
  font-size: 5.2rem;
  color: black;
  margin: 0;
  margin-top: -70px;
  font-family: Playfair Display, serif;
  font-weight: 100;
}
h3 {
  font-size: 1.7rem;
  color: black;
  margin-top: 40px;
  margin-bottom: 40px;
  font-family: Playfair Display, serif;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
}
h4 {
  font-size: 1.2rem;
  color: rgb(71, 69, 62);
  margin-top: 20px;
  font-family: TT Norms, sans-serif;
  font-weight: 100;
  letter-spacing: 0.5em;
}
p, button {
  font-size: 0.9rem;
  color: black;
  margin: 10px 0;
  font-family: TT Norms, sans-serif;
  font-weight: 100;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  line-height: 1.5em;
}

p {
  padding: 0 10%;
}
button {
  margin-top: 30px;
  background-color: #8473495F;
  color: rgb(71, 69, 62);
  font-size: 0.8rem;
  font-weight: 800;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 10px;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: rgb(71, 69, 62);
  color: white;
}

.background {
  position: absolute;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  background-image: url(assets/background.jpg);
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: 46% 80%;
  margin: 0;
  padding: 0;
  transition: background-position 0.5s ease-in-out;
}

.container {
  position: relative;
  height: 100vh;
  width: 33%;
  min-width: 500px;
  max-width: 100%;
  display: none;
  justify-content: center;
  align-items: left;
  flex-direction: column;
  background-color: #ffffff99;
  backdrop-filter: blur(5px);
  text-align: center;
  padding: 40px;
  box-sizing: border-box;
  float: left;
  opacity: 0;
  transform: translateX(-100%);
  transition: all 0.5s ease-in-out;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition-property: width, opacity, transform;
  -webkit-transition-property: width, opacity, transform;
  -moz-transition-property: width, opacity, transform;
  -o-transition-property: width, opacity, transform;
}

.element {
  margin: 10px 0;
}

#logo img {
  margin-top: 30px;
  width: 45%;
  height: auto
}

@media only screen and (max-width: 600px) {
  h1 {
    font-size: 5rem;
  }
  h2 {
    font-size: 4.2rem;
  }
  h3 {
    font-size: 1.3rem;
  }
  h4 {
    font-size: 1rem;
  }
  p, button {
    font-size: 0.7rem;
  }
  
  .container {
    width: 100%;
    min-width: 0px;
    padding: 25px;
  }
  .background {
    background-position: 68% 50%;
  }
}

@media only screen and (max-height: 700px) {
  h1 {
    margin-top: 0px;
    font-size: 4rem;
  }
  h2 {
    margin-top: -50px;
    font-size: 3.2rem;
  }
  h3 {
    margin-top: 0px;
    margin-bottom: 0px;
    font-size: 1.2rem;
  }
  h4 {
    font-size: 0.8rem;
  }
  button {
    margin-top: 20px;
  }
  #logo img {
    margin-top: 10px;
  }
  p, button {
    font-size: 0.7rem;
  }
}