* {
  padding: 0;
  margin: 0;
}

.relative {
  position: relative;
}

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('/static/fonts/CormorantGaramond-VariableFont_wght.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('/static/fonts/CormorantGaramond-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Playfair Display';
  src: url('/static/fonts/PlayfairDisplay-VariableFont_wght.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Playfair Display';
  src: url('/static/fonts/PlayfairDisplay-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Great Vibes';
  src: url('/static/fonts/GreatVibes-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

body {
  min-width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.header {
  min-height: 30vh;
  height: 100vh;
  max-height: 50vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.header-bg {
  height: 100%;
  width: 100%;
  top: 0;
  z-index: -1;
  position: absolute;
  background-image: url('/static/img/bg_1440.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.6);
}

.header-text {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  width: 100%;
  letter-spacing: 0.175rem;
  text-align: center;
  color: #fdf5e6;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
}

.header-title {
  font-size: 3rem;
  width: 100%;
  margin-bottom: -0.5rem;
}

.separator {
  width: 12rem;
  height: 1px;
  background-color: #fdf5e6;
  margin: 0.5rem 0;
}

.dot-separator {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 99999px;
  background-color: #fdf5e6;
  margin-bottom: 1.5rem;
}

.darker {
  background-color: #b7afa0;
}

.header-subtitle {
  font-family: 'Playfair Display';
  width: 100%;
  font-size: 0.8125rem;
  letter-spacing: 0.175rem;
}

/* Main page background */
.bg {
  background-image: url('/static/img/bg.jpg');
  background-size: cover;
  background-position: 62% 50%;
  background-repeat: no-repeat;
  filter: blur(1px) brightness(0.7) contrast(0.9);
}

.content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  background-color: #fdfbf7;
  border: 1rem solid #e0d7c6;
  flex-grow: 1;
}

.index-text {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  height: fit-content;
  gap: 0.5rem;
  padding: 0 1rem;
}

.fullwidth-flex {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.main {
  min-width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.title-fancy {
  font-family: 'Great Vibes';
  font-weight: 100;
}

.title {
  z-index: 2;
  text-align: center;
  font-family: 'Cormorant Garamond';
  font-weight: 100;
  width: 100%;
  font-size: 2rem;
  color: #4a443f;
}

.text-title {
  color: #4a443f;
}

.text-subtitle {
  color: #6b635a;
}

.subtitle {
  text-align: center;
  font-family: 'Playfair Display';
  width: 100%;
  font-size: 0.8125rem;
  color: #6b635a;
}

.start {
  padding: 1rem 0 0 0;
  align-items: flex-start;
  align-content: baseline;
}

.start-text {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-wrap: wrap;
  height: fit-content;
  gap: 0.5rem;
  padding: 0 1rem;
}

.login {
  margin-top: 0.25rem;
  max-width: 24rem;
  width: 100%;
  padding: 0 0.5rem;
  box-sizing: border-box;
}

.v-form {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  gap: 0.25rem;
  justify-content: center;
  align-items: flex-start;
}

.v-form input {
  width: 100%;
}

input.text,
textarea.text,
input.button,
button.button {
  font-family: 'Playfair Display';
  border: 2px solid #e0d7c6;
  padding: 0.25rem;
}

.button.submit {
  font-weight: bold;
  background-color: #fff;
  transition: background-color 0.2s ease;
}

.button.submit:hover {
  cursor: pointer;
  background-color: #fdfbf7;
}

.message {
  position: relative;
  font-size: 0.875rem;
  color: #e0d7c6;
  top: 0.25rem;
  font-family: 'Playfair Display';
}

.message.error {
  color: #ff6666;
}

select.text {
  font-family: 'Playfair Display';
  border: 2px solid #e0d7c6;
  padding: 0.25rem;
  width: 100%;
  background-color: #fff;
  color: #4a443f;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234a443f' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  padding-right: 1.5rem;
}

select.text:focus {
  outline: none;
  border-color: #b8860b;
}

select.text option {
  font-family: 'Playfair Display';
  padding: 0.25rem;
}

.visible {
  opacity: 1;
}

.visible.invisible,
.invisible {
  opacity: 0;
}

.hidden {
  display: none;
}

.close-button {
  z-index: 5;
  width: 2rem;
  height: 2rem;
  line-height: 2rem;
  text-align: center;
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  font-weight: thin;
  font-size: 1rem;
  cursor: pointer;
  font-family: 'Playfair Display';
  border: 2px solid #e0d7c6;
  background-color: #fff;
}

.message-container {
  position: relative;
  font-size: 0.875rem;
  color: #7cd97c;
  top: 0.25rem;
  font-family: 'Playfair Display';
  border: 2px solid #7cd97c;
  padding: 0.5rem;
  margin: 0 0 1rem 0;
}

.message-container.error {
  border: 2px solid #ff6666;
  color: #ff6666;
}

.slideUpStop {
  animation: slideUp cubic-bezier(0, 0, 0.1, 1) 1.5s forwards;
}

@keyframes slideUp {
  0% {
    transform: translate3d(0, 100vh, 0);
  }
  100% {
    transform: translate3d(0, 0vh, 0);
  }
}
