/*
Theme Name: Horizon
Theme URI: http://example.com/
Author: Your Name
Author URI: http://example.com/
Description: A minimal blank theme for custom development.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: horizon
*/

html {
  margin-top: 0 !important;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Barlow', sans-serif;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 100vh;
  /* overflow: hidden; */
}

header {
  position: absolute;
  top: 20px;
  left: 0;
  width: 100%;
  z-index: 100;
}

.languages {
  margin-left: auto;
}

.language-switcher {
  list-style: none;
  display: flex;
  gap: 15px;
  margin: 0;
  padding: 0 20px;
}

.language-switcher .lang-item a {
  color: white;
  font-weight: 500;
  font-size: 15px;
  text-decoration: underline;
  text-transform: uppercase;
}

.language-switcher .lang-item a:hover, .language-switcher .lang-item a:focus {
  text-decoration: none;
}

.language-switcher .lang-item a[aria-current="true"] {
  text-decoration: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
}

.container--reduced {
  max-width: 760px;
}

.text-center {
  text-align: center;
  margin: 0 auto;
}

.bg, .gradient, .mask {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo {
  width: 250px;
  height: 53px;
}

.gradient {
  animation: slideUp 3s ease-out forwards;
  transform: translateY(100%);
  z-index: 1;
}

.mask {
  z-index: 2;
}

.text-container {
  display: flex;
  flex-direction: column;
  color: #004862;
  max-width: 760px;
  margin: 0 auto;
  padding: 8rem 1rem 0;
  min-height: calc(96vh - 8rem);
}

h1, .h1 {
  font-size: 2rem;
}

h2, .h2 {
  font-size: 1.5rem;
}

.para {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideUp 1.5s ease-out forwards;
}

.delay-1 { animation-delay: 4s; }
.delay-2 { animation-delay: 5s; }
.delay-3 { animation-delay: 6s; }

.email-block {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideUp 1.5s ease-out 6s forwards;
}

.email-form {
  display: flex;
  flex-direction: column;
  max-width: 300px;
  margin-top: 1rem;
}

.email-form input {
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid white;
  opacity: .7;
  background-color: rgba(14, 76, 103, 0.5);
  color: white;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.email-form input::placeholder {
  color: white;
  opacity: .5;
}

.email-form button {
  padding: 0.5rem 25px;
  background-color: #cb6e27;
  color: white;
  border: none;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  align-self: flex-start;
  width: auto;
}

@keyframes slideUp {
  to {
    transform: translateY(0);
  }
}

@keyframes fadeSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .gradient, .para, h1, .email-block {
    animation: none;
    transform: none;
    opacity: 1;
  }
}

.btn {
  background-color: #E45726;
  border: 1px solid #E45726;
  color: #ffffff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: 0.3s;
  text-decoration: none;
}

.btn:hover, .btn:focus {
  background-color: #ffffff;
  color: #000000;
}

.modal {
  background-color: rgba(0, 0, 0, 0.40);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  display: none;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  outline: 0;
}

.modal-body {
  background-color: #ffffff;
  border-radius: 20px;
  max-width: 592px;
  margin: 5% auto;
}

.footer-image {
  display: block;
  margin-top: auto;
  max-width: 100%;
  padding-top: 2rem;
}

footer {
  width: 100%;
  background-color: #004862;
  color: #ffffff;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 80px;
  row-gap: 16px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px;
}

.footer-container .footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
  gap: 8px;
}

.footer-container .footer-links a {
  color: #ffffff;
}

.footer-container .footer-links a:hover, .footer-container .footer-links a:focus {
  color: #de7a2e;
}

@media (max-width: 768px) {
  .modal-body {
    margin: 5%;
  }
}
