:root {
  --background-defaultChannel: 200 200 200;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background-defaultChannel: 20 20 20;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100dvh;
  margin: 0;
  font-family: 'Lato', sans-serif;
  font-weight: bold;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  text-align: center;
  overflow: hidden;
  touch-action: pan-y;
}

@keyframes slideUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.content {
  background-color: rgb(var(--background-defaultChannel) / 0.75);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #333333;
  padding: 20px;
  border-radius: 10px;
  opacity: 0;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  animation: slideUp 0.6s ease-out 0.2s forwards;
}

.lang-sel {
  position: fixed;
  top: 20px;
  padding: 10px 0;
}

.lang {
  display: inline-block;
  text-decoration: none;
  background-color: var(--blue-button);
  padding: 20px 30px;
  margin: 0 15px;
  border: none;
  border-radius: 5px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto 100%;
  position: relative;
  overflow: hidden;
  background-image: var(--icon-image);
}

.lang.es {
  --icon-image: url('/images/es-flag');
}

.lang.en {
  --icon-image: url('/images/en-flag');
}

h1 {
  margin-bottom: 20px;
  font-size: 24px;
}

h3 {
  color: #333333;
}

.title-name .yellow-text {
  color: #ffcd00;
}

.title-name .blue-text {
  color: #2f5496;
}

.title-name .red-text {
  color: #f00000;
}

/* Dark mode styles */
@media (prefers-color-scheme: dark) {
  h3 {
    color: #dddddd
  }

  .title-name .yellow-text {
    color: #ded300;
  }
}

:root {
  --blue-button: #0068d8;
}

.btn {
  display: inline-block;
  text-decoration: none;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 20px;
  position: relative;
  overflow: hidden;
}

.btn.full-width {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 3em;
  margin: 1em 0;
  background-color: var(--blue-button);
  background-size: 80px 80px;
  background-position: left center;
  background-repeat: no-repeat;
  background-image: linear-gradient(to right, transparent, var(--blue-button)), var(--icon-image);
}

.btn.small {
  display: inline-block;
  text-decoration: none;
  padding: 40px;
  margin: 5px 15px;
  border: none;
  border-radius: 5px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto 100%;
  position: relative;
  overflow: hidden;
  background-color: var(--blue-button);
  background-image: var(--icon-image);
}

.btn.only-horz {
  display: none;
}

.btn:hover {
  opacity: 0.8;
}

.btn.menu {
  --icon-image: url('/images/menu');
}

.btn.phone {
  --icon-image: url('/images/phone');
}

.btn.inst {
  --icon-image: url('/images/instagram');
}

.btn.maps {
  --icon-image: url('/images/maps');
}

@media (max-height: 399px) {
  .lang-sel {
    display: none;
  }
}

@media (max-height: 350px) {
  .btn {
    font-size: 25px;
  }

  .btn.full-width {
    display: none;
  }

  .btn.only-horz {
    display: inline-block;
  }
}

@media (max-height: 519px) {
  h1 {
    font-size: 20px
  }

  h3 {
    font-size: 14px;
  }

  .lang {
    padding: 15px 22px;
    margin: 0 15px;
  }

  .btn {
    font-size: 14px;
  }

  .btn.small {
    padding: 24px;
    margin: 1em 1em;
  }
}

@media (max-width: 350px) {
  h1 {
    font-size: 20px
  }

  h3 {
    font-size: 14px;
  }

  .lang {
    padding: 15px 22px;
    margin: 0 15px;
  }

  .btn {
    font-size: 14px;
  }

  .btn.small {
    padding: 24px;
    margin: 0 1em;
  }
}

@media (min-width: 600px) {
  h1 {
    font-size: 32px;
  }
}

@media (min-width: 900px) {
  h1 {
    font-size: 40px;
  }
}
