@font-face {
  font-family: 'DTTG';
  src: url('DTTG.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0; 
  padding: 0; 
  height: 100%;
  width: 100vw;
  background: url('background-glass.png') no-repeat center center fixed;
  background-size: cover;
  overflow-x: hidden;
  font-family: Arial, sans-serif;
  cursor: url('cursor.png'), auto;
}

a, button {
  cursor: url('cursor.png'), auto !important;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.container {
  text-align: center;
  max-width: 400px;
  width: 90vw;
  padding: 20px 10px;
  overflow: visible;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 15px auto;
  transition: transform 0.3s ease-out;
  will-change: transform;
  user-select: none;
}

#enter-btn {
  margin-top: 30px;
  padding: 12px 40px;
  font-family: 'DTTG', sans-serif;
  font-size: 24px;
  color: black;
  background-color: white;
  border: 2px solid black;
  border-radius: 0;
  user-select: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  display: inline-block;
}

#enter-btn:hover {
  background-color: black;
  color: white;
}

#second-page {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('background-wheatpaste.jpg') no-repeat center center fixed;
  background-size: cover;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
  overflow-y: auto;
  overflow-x: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
}

#second-page.active {
  opacity: 1;
  pointer-events: auto;
}

#second-page img {
  max-width: 90vw;
  max-height: 60vh;
  user-select: none;
  margin-top: 60px;
}

#second-page h1 {
  font-family: 'DTTG', Arial, sans-serif;
  font-size: 4rem;
  margin: 30px 0 10px 0;
  color: black;
}

.button-link {
  display: inline-block;
  padding: 12px 24px;
  margin-top: 20px;
  font-family: 'DTTG', Arial, sans-serif;
  font-size: 1.5rem;
  color: black;
  background-color: white;
  border: 2px solid black;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: url('cursor.png'), auto !important;
}

.button-link:hover,
.button-link:focus {
  background-color: black;
  color: white;
  text-decoration: none;
}
