@import url("shared/nav.css");

/* Global CSS Variables & Layout Options */

@font-face {
  font-family: "NEXT Pan Book";
  src: url("../fonts/NEXT-Pan-Book-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "NEXT Pan Poster";
  src: url("../fonts/NEXT-Pan-Poster-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

.book {
  font-family: "NEXT Pan Book", system-ui, sans-serif;
}

.medium {
  font-family: "NEXT Pan Poster", system-ui, sans-serif;
}
.myriad-regular {
  font-family: myriad-pro, sans-serif;
  font-weight: 400;
  font-style: normal;
}
body {
  font-family: myriad-pro, sans-serif;
}
.myriad-semibold {
  font-family: myriad-pro, sans-serif;
  font-weight: 600;
  font-style: normal;
}
:root {
  --primary-color: #33a3ff;
  --secondary-color: #6c757d;
  /* Matches the footer (#1a1a1a) so when iOS Safari hides its bottom
     toolbar at the end of scroll, the exposed body area looks like
     the footer extending — no visible "blank" gap. */
  --background-color: #141e68;
  --text-color: #333333;
  --container-width: 1280px;
}

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

body {
  color: var(--text-color);
  background-color: var(--background-color);
  /* line-height: 1.6; */
  overscroll-behavior: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ------------------------------------------------------------------
   Common form typography
   Single source of truth for font-family + font-size across every
   input/select field and their placeholder/invalid-select states.
   Per-form rules elsewhere handle color, padding, borders, etc.
   `<small>` helper text is intentionally NOT covered here — it has
   its own (Myriad) styling.
   ------------------------------------------------------------------ */
form input,
form select,
form textarea,
form input::placeholder,
form textarea::placeholder,
form select:invalid {
  font-family: "NEXT Pan Poster", system-ui, sans-serif;
  font-size: 1rem;
}
@media (min-width: 769px), (orientation: landscape) {
  form input,
  form select,
  form textarea,
  form input::placeholder,
  form textarea::placeholder,
  form select:invalid {
    font-family: "NEXT Pan Poster", system-ui, sans-serif;
    font-size: 1.8rem;
  }
}

/* Global Container Utility */
.wrapper {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Global Footer Styles */
.site-footer {
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 2rem 0;
  text-align: center;
}

.contest {
  /* background: #0063c3;
  background: radial-gradient(
    circle,
    rgba(0, 99, 195, 1) 0%,
    rgba(0, 13, 69, 1) 83%,
    rgba(0, 13, 69, 1) 100%
  ); */
  min-height: 100dvh;
}

button.button,
.button {
  width: 100%;
  padding: 1rem 1.5rem;
  background: transparent;
  border: 1px solid #ffffff;
  color: #ffffff;
  font-family: myriad-pro, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-decoration: none;
  transition:
    background 0.2s ease,
    color 0.2s ease;
  background-color: var(--background-color);
  line-height: 1;
  position: relative;
  &.inversed {
    background-color: white;
    border: 1px solid var(--background-color);
    color: var(--background-color);
  }
}
.button.inversed::after {
  /* right: 0; */
  border-left: 1px solid var(--background-color);
  /* height: 100%; */
}

button.button::after,
.button::after {
  content: "";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid white;
  background-color: var(--primary-color, #33a3ff);
  background-image: url("../img/buttonarrow.svg");
  background-repeat: no-repeat;
  background-position: center;
  color: #00194b;
  position: absolute;
  right: 0;
  width: 48px;
  height: 100%;
  background-size: 30px;
}
@media (min-width: 768px) {
  button.button::after,
  .button::after {
    width: 50px;
    height: 100%;
  }
}

button.button:hover,
.button:hover {
  background: var(--primary-color, #33a3ff);
  color: #00194b;
}

.oroi-diagonismou {
  background-color: var(--background-color);
  .oroi-diagonismou-container {
    padding-inline: clamp(1.5rem, 3vw, 3.5rem);
    max-width: 900px;
    margin-inline: auto;
    padding-block: clamp(17rem, 3vw, 25rem);
    color: white;
    font-family: myriad-pro, sans-serif;
  }
}
