:root {
  color-scheme: light dark;
}

body {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  scroll-behavior: smooth;
  text-align: center;
  max-width: 100%;
  height: auto;
  overflow-x: none;
  font-size: 18px;
  line-height: 1.6;
  transition: color 1.5s ease-in-out;
  display: flex;
  flex-direction: column;
  background-color: light-dark(#fff, #444);
  color: light-dark(#000000, #fff);
}

.logo {
  position: absolute;
  left: 5rem;
  width: 15rem;
  height: auto;
  margin-top: -1rem;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 5rem;
}

.animated-text-container {
  position: relative;
}

.animated-text-container:before {
  content: "";
  display: block;
  background-color: light-dark(#fff, #444);
  color: light-dark(#000000, #fff);
  width: 100%;
  height: 6.5rem;
  position: absolute;
  z-index: 1;
  top: 7.5rem;
}

.headline-mobile {
  display: none;
}

.headline-desktop {
  display: block;
}

.headline-desktop .animated-text-container:nth-child(1) {
  z-index: 1;
}

.headline-desktop .animated-text-container:nth-child(2) {
  z-index: 2;
}

.headline-mobile .animated-text-container:nth-child(1) {
  z-index: 1;
}

.headline-mobile .animated-text-container:nth-child(2) {
  z-index: 2;
}

.headline-mobile .animated-text-container:nth-child(3) {
  z-index: 3;
}


.animated-text {
  transition: all .5s ease;
}

.animated-text.concealed {
  transform: translateY(7rem);
  -webkit-transform: translateY(7rem);
}


.logo.loaded {
  opacity: 1;
}

.about-section p {
  font-family: 'Montserrat', sans-serif;
  opacity: 0;
  transition: opacity 1s ease-out;
  font-size: 1.5rem;
  padding: 30px;
  max-width: 900px;
  margin:  auto;
  padding: 3rem 1rem;
}

.about-section p.visible {
  opacity: 1;
}



.footer {
  background-color: #c4c4c4;
  color: #000;
}

.footer-content {
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
  padding: 2rem 1rem;
}

.footer-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.footer-info {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  text-align: left;
}

.footer-item {
  min-width: 200px;
}

.footer p {
  font-family: 'Montserrat', sans-serif;
  margin: 0.3rem 0;
  line-height: 1.4;
}

.footer a {
  color: #000;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

