/* General styles */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
    background-color: rgba(0,0,0,0.2);
}
::-webkit-scrollbar:hover {
    background-color: rgba(0,0,0,0.3);
}
::-webkit-resizer {
    -webkit-border-radius: 4px;
    background-color: rgba(255,255,255,0.5);
}
::-webkit-scrollbar-thumb {
    min-height: 8pm;
    min-width: 8pm;
    background-color: rgba(0,0,0,0.5);
}
::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0,0,0,0.6);
}
::-webkit-scrollbar-thumb:active {
    background-color: rgba(0,0,0,0.7);
}

body {
    background: url("images/AR156.jpg") no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-color: #313131;
    color: #000305;
    font-size: 12px;
    font-family: 'Orbitron', 'Lucida Sans', Arial, sans-serif;
    line-height: 12px;
    margin: 0;
    padding: 0;
    text-align: left;
}

.body {
    clear: both;
    margin: 0 auto;
    width: 80%;
}
/* ─── Modal Overlay ───────────────────────────────────────────────────────────────── */
/* ─── New version ───────────────────────────────────────────────────────────────── */
#imageModal {
  display: none;             /* hidden by default */
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);

  /* Keep the flex properties, but do NOT set display:flex here */
  align-items: center;
  justify-content: center;
}

/* The “×” close button */
#imageModal .close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

/* The enlarged image inside the modal */
#imageModal .modalImage {
  width: 60vw;
  max-height: auto;
  object-fit: contain;  /* ensures it preserves aspect ratio */
}

/* Optional caption below the image */
#imageModal #caption {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: #ddd;
  font-size: 1rem;
  text-align: center;
  max-width: 80%;
}

.download-container {
    text-align: center;
    margin-top: 20px;
}

.download-btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    font-family: 'Orbitron', Arial, sans-serif;
    font-size: 14px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.download-btn:hover {
    background-color: rgba(0, 0, 0, 1);
}

/* ─── TOS Modal Styles ─────────────────────────────────────────────────────── */

/* Reuse the same .modal overlay approach: */
#tosModal {
  display: none;              /* hidden by default */
  position: fixed;
  z-index: 1001;              /* above image modal if needed */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);

   align-items: center;
  justify-content: center;
}

/* The white‐pane container inside the overlay: */
#tosModal .modal‐content {
  background-color: #fff;         /* white pane */
  color: #000;                    /* black text for readability */
  width: 80%;                     /* 80% of viewport width */
  max-width: 700px;               /* but never exceed 700px wide */
  max-height: 90vh;               /* no taller than 90% of viewport */
  overflow-y: auto;               /* scroll if content is taller */
  border-radius: 8px;             /* slight rounding */
  padding: 20px 25px;             /* internal padding */
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  position: relative;
}

/* Close button in the top‐right corner of the white pane */
#tosModal .close‐tos {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 32px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  transition: color 0.2s ease;
}
#tosModal .close‐tos:hover {
  color: #ff0000;
}

/* Style for the link that opens TOS (matches site font & color) */
.tos‐link {
  font-family: 'Orbitron', Arial, sans-serif;
  font-size: 13px;
  color: #000305;          /* same dark text color as body */
  text‐decoration: underline;
  transition: color 0.2s ease;
}
.tos‐link:hover {
  color: #555555;
}


/* Responsive adjustments */
@media only screen and (max-width: 700px) {
    .body {
        width: 90%;
    }

    .header img {
        width: 100%;
        height: auto;
        margin-bottom: 3%;
    }

    .mainContent {
        margin-top: 4%;
        margin-bottom: 2%;
    }

    .content-1 {
        padding: 5%;
        margin-bottom: 4%;
    }

    .content-3coll {
        width: 100%;
        margin: 1% 0;
    }

    .content-3coll img {
        width: 100%;
        height: auto;
    }

    .footer p {
        width: 90%;
    }

    .modalImage {
        width: 100%;
    }
}

/* Header and navigation styles */
.header img {
    width: 100%;
    height: auto;
    margin: 3% 0;
}

.menu-btn {
    font-size: 30px;
    cursor: pointer;
    background-color: transparent;
    border: none;
    color: white;
    position: absolute;
    top: 15px;
    right: 35px;
    transition: 0.3s;
}

/* Side navigation menu styles */
.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    right: 0;
    background-color: rgba(0,0,0,0.9);
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

.sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #fff;
    display: block;
    transition: 0.3s;
}

.sidenav a:hover {
    color: #f1f1f1;
}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

/* Main content styles */
.mainContent {
    overflow: hidden;
    line-height: 25px;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}

.content-1 {
    background-color: rgba(255,255,255,0.8);
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    padding: 3% 5%;
    margin-bottom: 3%;
}
.content-1 img {
	width: 25%;
	height: auto;
	border-radius: 10px;
	margin: 3% 0;
}

.content-3coll {
    background-color: rgba(255,255,255,0.8);
    border-radius: 5px;
    width: 29.33%;
    float: left;
    padding: 1% 1%;
    margin: 1% 1%;
}

.content-3coll img {
    width: 98%;
    height: auto;
    border-radius: 10px;
    margin: 3% 0;
}

/* Footer styles */
.footer {
    width: 100%;
    float: left;
    margin-top: 2%;
    margin-bottom: 2%;
    padding-left: 0;
    background-color: rgba(0,0,0,0.5);
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    color: #FFF;
}

.footer p {
    width: 91%;
    margin: 2% auto;
}


/* Image thumbnail hover effect */
.ImgThumbnail {
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s;
    height: 250px;
    width: 250px;
}

.ImgThumbnail:hover {
    transform: scale(1.05);
}

.ImgThumbnail:nth-of-type(1) {
    margin-left: 1%;
}
