:root {
  font-family: Century Gothic, CenturyGothic, AppleGothic, sans-serif;
  line-height: 1.5;

  color-scheme: light dark;
  background-color: #dfd3b7;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: #8b0000;
}

a:focus {
  color: #8b0000;
}

:link {
  color: #8b0000;
}
body {
  margin: 0;
  display: flex;
  place-items: center;
  min-width: 320px;
  min-height: 100vh;
}

.loading-screen {
  display: none;
}

.mobile-loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #dfd3b7;
  color: #8b0000;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.mobile-loading-screen > .loader-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.mobile-loading-screen > .loader-container > .text-container > .loader {
  width: 10rem;
  height: 10rem;
  animation: pulse 2s infinite;
}

.mobile-loading-screen > .loader-container > .text-container > .title {
  font-size: 0.9rem;
  margin-top: 10px;
  font-weight: bolder;
}

.mobile-loading-screen > .loader-container > .text-container > .description,
.contact {
  font-size: 0.6rem;
  margin-top: 5px;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.7;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Media Query for large devices */
@media (min-width: 1024px) {
  .mobile-loading-screen {
    display: none;
  }

  .loading-screen {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #dfd3b7;
    color: #8b0000;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    padding: 20px;
    z-index: 1000;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
  }

  .loader-container {
    position: fixed;
    bottom: 5rem;
    right: 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    width: auto;
  }

  .text-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }

  .loader {
    width: 16rem;
    height: 16rem;
    animation: pulse 2s infinite;
  }

  .title {
    font-size: 1.5rem;
    font-weight: bolder;
  }

  .description,
  .contact {
    font-size: 1.2rem;
    font-weight: lighter;
    text-align: right;
  }
}
