body,
head {
  background-color: black;
  display: block;
}

.main-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100vh;
  justify-content: center;
  align-items: center;
}

/* Hero: image with centered overlay title */
.hero {
  position: relative;
  display: block;
  /* full-width container so overlay doesn't shrink-wrap */
  width: 100%;
}

.hero__img {
  display: block;
  max-width: 90vw;
  height: auto;
  margin: 0 auto;
  /* center the image within the full-width hero */
}

.hero__title {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
  color: #ff1010;
  font-size: clamp(2rem, 6vw, 6rem);
  padding: 0 1rem;
  backdrop-filter: none;
  margin-left: 40px;
  font-weight: 300;
}

h1 {

  font-optical-sizing: auto;
  font-weight: 200;
  font-style: normal;
  color: rgb(255, 16, 16);
  margin-top: 50px;
  margin-bottom: 20px;
  font-size: clamp(2rem, 6vw, 6rem);
}

h2 {

  font-optical-sizing: auto;
  font-weight: 200;
  font-style: normal;
  color: rgb(255, 16, 16);
  margin-top: 20px;
  margin-bottom: 20px;
  font-size: clamp(1.5rem, 4vw, 40px);
}

.button {
  border: none;
  color: rgb(226, 165, 255);
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  font-weight: 300;
  font-style: italic;
}

.button1 {
  background-color: #000000;
}

.button1:hover {
  color: #ffffff;
  transition: color 150ms ease-in-out;
}



.koumpinai {
  border: none;
  color: rgb(0, 0, 0);
  background-color: #000000;
  /* black box */
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 20px;
  margin: 4px 2px;
  cursor: pointer;
  font-weight: 500;
  font-style: normal;
}

.koumpinai:hover {
  color: #ffffff;
  transition: color 150ms ease-in-out, background-color 150ms ease-in-out;
}

.timerapairnoumepoulo {
  border: none;
  color: rgb(239, 239, 239);
  background-color: #000000;
  /* black box */
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 20px;
  margin: 4px 2px;
  cursor: pointer;
  font-weight: 200;
  font-style: normal;
}

.nyxta {
  border: none;
  color: rgb(239, 239, 239);
  background-color: #000000;
  padding: 12px 22px;
  text-align: center;
  display: block;
  font-size: 18px;
  margin: 8px 0;
  font-weight: 300;
}

/* Utility: hide an element via class (preferred over inline styles) */
.hidden {
  display: none !important;
}

/* Visual for disabled state applied by JS when outside allowed hours */
.koumpinai.disabled-outside-hours {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
  /* prevents clicks while visually disabled */
}

.koumpimpes {
  border: none;
  color: rgb(255, 255, 255);
  background-color: #000000;

  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 20px;
  margin: 4px 2px;
  cursor: pointer;
  font-weight: 200;
  font-style: normal;
}

.mainselida {
  background-color: black;
  display: block;
}

.main-container-kyrias-selidas {
  margin-top: 50px;
  margin-bottom: 50px;
  margin-left: 400px;
  margin-right: 400px;
  color: rgb(254, 252, 166);
  font-size: 24px;
  font-weight: 300;
  line-height: 1.6;
  white-space: pre-wrap;
}

.accent {
  color: #000000;
}

/* Force site-wide font to Times New Roman per user request */
*,
*::before,
*::after {
  font-family: "Times New Roman", Times, serif !important;
}

::selection {
  color: rgb(0, 0, 0);
  background: rgb(255, 251, 141);
}

.main-container-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 50px;
  margin-bottom: 50px;
  margin-left: 100px;
  margin-right: 100px;
  color: rgb(254, 252, 166);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.6;
  white-space: normal;
}


.main-container-about a:link {
  color: rgb(226, 165, 255);
}

.main-container-about a:visited {
  color: rgb(0, 217, 255);
}

.main-container-about a:hover {
  color: hotpink;
}


@media (max-width: 900px) {
  .main-container-about {
    grid-template-columns: 1fr;
    /* stack columns on narrower desktops/tablets */
    gap: 1.25rem;
    margin-left: 60px;
    margin-right: 60px;
    font-size: 22px;
  }

  .hero__title {
    margin-left: 20px;
    font-size: clamp(2.2rem, 6.5vw, 6rem);
  }

  .main-container {
    height: auto;
    /* allow content to grow on narrower viewports */
  }
}

@media (max-width: 700px) {
  .main-container-about {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-left: 24px;
    margin-right: 24px;
    font-size: 18px;
  }

  .hero__title {
    margin-left: 0;
    font-size: clamp(1.8rem, 8vw, 4.2rem);
  }

  .main-container {
    height: auto;
    padding: 2rem 1rem;
  }

  /* Ensure the primary 'ναι' button is visible on touch / small screens
     even if JS or the .hidden utility was applied. The media-query rule
     uses !important and comes after the .hidden declaration so it will
     override display:none for small viewports. */
  .koumpinai {
    display: inline-block !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
}

@media (max-width: 480px) {

  .button,
  .koumpinai,
  .koumpimpes {
    padding: 8px 12px;
    font-size: 14px;
  }

  .main-container-about {
    font-size: 16px;
    margin-left: 16px;
    margin-right: 16px;
  }

  /* same override for very small screens */
  .koumpinai {
    display: inline-block !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
}


@media (max-width: 700px) {
  .main-container-kyrias-selidas {
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 30px;
    margin-bottom: 30px;
    font-size: 18px;
    padding-left: 6px;
    padding-right: 6px;
    box-sizing: border-box;
    white-space: pre-line;
  }
}

@media (max-width: 480px) {
  .main-container-kyrias-selidas {
    margin-left: 12px;
    margin-right: 12px;
    font-size: 16px;
    padding-left: 6px;
    padding-right: 6px;
    white-space: pre-line;
  }
}