/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

* {
  padding: 0;
  margin: 0;
}

:root {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
}

ul,
ol {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

.application-flash {
  box-sizing: border-box;
  position: fixed;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;;
  width: 100%;
  padding: 10px;
  margin: 0;
  transform: translateY(100%);
  animation-delay: 0.5s;
  animation-duration: 5s;
  animation-name: show-flash;
}

.application-flash.notice {
  background-color: #d4edda;
  color: #155724;
}

.application-flash.alert {
  background-color: #f8d7da;
  color: #721c24;
}

.application-flash.info {
  background-color: #cce5ff;
  color: #004085;
}

.application-header {
  display: flex;
  justify-content: center;
  aspect-ratio: 832 / 481;
  padding: 20px;
}

.application-header h1 {
  font-size: 2.25rem;
  font-weight: 600;
  text-align: center;;
}

.application-header h1::after {
  display: block;
  content: '';
  background-color: #ffcc00;
  width: 33%;
  height: 5px;
  margin-top: 5px;
}

.no-scroll {
  overflow: hidden;
}

@keyframes show-flash {
  0% {
    transform: translateY(100%);
  }
  15% {
    transform: translateY(0);
  }
  85% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(100%);
  }
}

@media only screen and (width > 768px) {
  :root {
    font-size: 20px;
  }

  .application-header {
    aspect-ratio: 2371 / 937;
  }

  .application-header h1 {
    font-size: 3rem;
  }
}

@media only screen and (width > 1024px) {
  .application-header h1 {
    font-size: 3.5rem;
  }
}