/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
  border-style: none;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input {
  /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select {
  /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
  display: none;
}

html,
body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-size: 16px;
  position: relative;
}

#wrapper {
  height: 100%;
  width: 100%;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  transition: opacity 0.5s ease-out;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.sky {
  position: absolute;
  height: 80%;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 8;
  background-image: url("./assets/sky-bg.webp");
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: top center;
}

.site-title {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9;
}

.logo {
  width: fit-content;
  height: fit-content;
  position: absolute;
  z-index: 12;
  transform: translateY(-178px);
}

.logo img {
  width: 148px;
  height: auto;
  filter: drop-shadow(2px 4px 6px #666);
}

.road {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 10;
  background-image: url("./assets/road.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: auto;
  width: 100%;
  background-image: url();
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom center;
  z-index: 10;
}

.card {
  padding-bottom: 4rem;
}

.nav-btns {
  display: flex;
  align-items: center;
  column-gap: 1rem;
  justify-content: center;
}

.catamaran-font {
  font-family: "Catamaran", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

.text-900 {
  font-weight: 900;
}

.text-700 {
  font-weight: 700;
}

.text-400 {
  font-weight: 400;
}

.title {
  color: #001b3f62;
  font-size: 4rem;
  text-transform: uppercase;
  line-height: 0.6;
  text-align: center;
  padding: 0;
  margin: 0;
  margin-top: -30%;
}

.title .small {
  font-size: 56%;
}

#slogan {
  color: white;
  font-size: 2.4rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin: 0 0 0.6rem 0;
  text-align: center;
}

.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease-out;
}

.loader.hidden {
  opacity: 0;
  pointer-events: none;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid #001b3f;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* CSS */
.button {
  appearance: none;
  background-color: #e0e0e0;
  border: 2px solid #e2e2e2;
  border-radius: 12px;
  box-sizing: border-box;
  color: #1d1d1d;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  column-gap: 0.4rem;
  font-size: 1.24rem;
  font-weight: 600;
  line-height: normal;
  margin: 0;
  min-height: 60px;
  min-width: 0;
  outline: none;
  padding: 10px 16px;
  text-align: center;
  text-decoration: none;
  transition: all 300ms cubic-bezier(0.23, 1, 0.32, 1);
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  width: fit-content;
  min-width: 192px;
  will-change: transform;
}

.button > img {
  width: 28px;
  height: auto;
}

.button:disabled {
  pointer-events: none;
}

.button:hover {
  box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px;
  transform: translateY(-2px);
}

.button:active {
  box-shadow: none;
  transform: translateY(0);
}

.mascot {
  width: 100%;
  overflow: hidden;
  height: fit-content;
  position: absolute;
  bottom: -20px;
  z-index: 16;
  display: flex;
  justify-content: center;
}

.mascot img {
  width: auto;
  height: 54vh;
  cursor: pointer;
  margin-left: -50vw;
  margin-bottom: -40px;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0.6rem 2rem;
  background-color: #181925;
  border-top: 1px solid #282a3e;
  box-sizing: border-box;
}

footer .footer_right img {
  width: 152px;
  height: auto;
}

footer .footer_left p {
  color: #ffffff;
}

footer .footer_left a {
  color: #ffffff;
  text-decoration: underline;
}

#messageModal {
  position: relative;
  z-index: 14;
  width: 100%;
  height: 100%;
  display: none;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: scale(80%);
  transition: 0.15s ease-in-out all;
}

#messageModal .modal {
  width: 100%;
  height: 580px;
  max-width: 720px;
  padding: 2rem 6.5rem;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  outline: 8px solid rgba(190, 190, 190, 0.3);
  border-radius: 1rem;
  box-shadow: 6px 6px 10px rgba(0, 0, 0, 0.3);
  text-align: center;
}

#msg {
  max-width: 480px;
  font-size: 1.6rem;
  width: 74%;
  height: auto;
  background-color: white;
  border: 4px solid #e2e2e2;
  border-radius: 12px;
  text-align: center;
  padding: 2rem 1.6rem;
  position: relative;
}

/* .close_modal {
  display: inline-block;
  position: absolute;
  top: 0.2rem;
  right: 0.2rem;
  z-index: 101;
  transition: 0.1s ease all;
} */

.close_modal:hover {
  opacity: 0.7;
}

.close_modal img {
  width: 24px;
  height: 24px;
}

/* Medium screens (Tablets - up to 1280px) */
@media (max-width: 1440px) {
  .title {
    font-size: 3.4rem;
    margin-top: -39%;
  }
  body {
    font-size: 14px;
  }
  .sky {
    background-size: auto 200%;
    top: -100px;
  }
}

/* Medium screens (Tablets - up to 1280px) */
@media (max-width: 1280px) {
  .title {
    font-size: 2.8rem;
    margin-top: -36%;
  }
  .logo img {
    width: 96px;
    height: auto;
    filter: drop-shadow(2px 4px 6px #666);
  }
  .logo {
    transform: translateY(-136px);
  }

  .road {
    background-size: cover !important;
  }
  /* .mascot img {
    width: 420px;
    height: auto;
  } */
  #msg {
    font-size: 1rem;
  }
  #slogan {
    font-size: 1.8rem;
  }

  .button {
    border-radius: 12px;
    font-size: 1.04rem;
    min-height: 48px;
    padding: 6px 15px;
    min-width: 140px;
  }
}

/* Small screens (Mobile - up to 768px) */
@media (max-width: 980px) {
  .title {
    font-size: 2.8rem;
    margin-top: -420px;
  }
  #messageModal .modal {
    width: 90%;
    height: fit-content;
    max-width: 780px;
    max-height: 480px;
  }

  /* .mascot img {
    width: 400px;
    height: auto;
  } */
  #message {
    font-size: 0.8rem;
  }
  #slogan {
    font-size: 1.8rem;
  }

  .button {
    border-radius: 12px;
    font-size: 1.04rem;
    min-height: 48px;
    padding: 6px 15px;
    min-width: 140px;
  }
}

@media (max-width: 768px) {
  .title {
    margin-top: -480px;
  }

  .mascot {
    bottom: -20px;
  }

  #slogan {
    font-size: 1.6rem;
  }

  .mascot img {
    margin-left: 0;
  }
}

/* Small screens (Mobile - up to 768px) */
@media (max-width: 520px) {
  .title {
    font-size: 2.4rem;
    margin-top: -420px;
  }
  #slogan {
    font-size: 1.4rem;
  }
  /* .mascot img {
    width: 300px;
    height: auto;
  } */

  #messageModal .modal {
    padding: 1.6rem;
  }

  .button {
    border-radius: 12px;
    column-gap: 4px;
    font-size: 0.8rem;
    min-height: 40px;
    padding: 5px 9px;
    min-width: 100px;
  }

  .button > img {
    width: 20px;
    height: auto;
  }
}

/* Extra small screens (Phones - up to 320px) */
@media (max-width: 380px) {
  .title {
    font-size: 2rem;
  }
  #slogan {
    font-size: 1.2rem;
  }

  /* .mascot img {
    width: 240px;
    height: auto;
  } */
  .button {
    border-radius: 12px;
    column-gap: 4px;
    font-size: 0.6rem;
    min-height: 32px;
    padding: 5px;
    min-width: 80px;
  }

  .button > img {
    width: 16px;
    height: auto;
  }
}
