@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100;200;300;400;500;600;700;800;900&family=Paytone+One&display=swap');

:root {
  --color-primary-blue: #004A78;
  --color-primary-cyan: #0891B2;
  --color-bright-cyan: #22D3EE;
  --color-accent-yellow: #F59E0B;
  --color-accent-green: #10B981;
  --color-bg-light: #F0F9FF;
  --color-text-primary: #374151;
  --color-text-light: #F0F9FF;
  --color-border-cyan: #0891B2;
  --color-border-dark: #004A78;
   --font-primary: 'Outfit', sans-serif;
  --font-heading: 'Paytone One', sans-serif;
}

html {
    scroll-behavior: smooth
}


#content {
  background: var(--color-bg-light);
}


/* html {
  overflow-x: hidden;
  max-width: 100vw;
  margin: 0;
  padding: 0;
} */

/* Hide the checkbox */
.sidebar-toggle {
  display: none;
}

/* Container setup */
.layout-container {
  display: flex;
  min-height: 100vh;
  background: var(--color-bg-light);
}

.main-content {
  flex: 1;
  width: 100%;       /* lets content inside scale to the column width */
  max-width: 820px;
  margin: 0 auto;
  padding: 2rem;
  /* margin-left: 180px; */
  /* margin-right: 20px; */
  min-height: 100vh;
  color: var(--color-text-primary);
  font-family: var(--font-primary);
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  justify-content: center; 
  align-items: flex-start;
  overflow-x: hidden;
}

.sidebar {
  position: sticky;
  top: 20px;  /* 20px space from top when it sticks */
  left: 0;
  width: 280px;
  max-height: calc(100vh - 40px);  /* Full height minus top/bottom space */
  background: var(--color-primary-blue);
  color: var(--color-text-light);
  overflow-y: auto;
  z-index: 1000;
  border: 4px solid var(--color-border-cyan);
  border-radius: 0 20px 20px 0;
  /* margin-left: 20px; */
  border-left: none;
}

.sidebar-header {
  padding: 2rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-nav a {
  display: block;
  padding: 1rem 0rem 1rem 2rem;
  color: var(--color-text-light);
  text-decoration: none;
  transition: background 0.3s, padding-left 0.2s;
  border-left: 4px solid transparent;
  color: var(--color-text-light);
  font-family: var(--font-heading);
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  padding-right: 1rem;
  margin-left: -30px;
  width: 190px;
  
}

.sidebar-nav a:hover {
  background: rgba(255,255,255,0.1);
  padding-left: .5rem;
  border-left-color: var(--color-accent-yellow);
  margin-right: 20px;
}

body {
  margin: 0;
  padding: 0;
  background: var(--color-bg-light);
}

.hero-image {
  width: 100%;
  display: block;
  height: auto;
  position: relative;
  z-index: 0;
  padding-bottom: 120px;
}

.logo {
  width: 100%;  /* Adjust this to scale the logo size */
  max-width: 1500px;
  height: auto;
  position: absolute;
  display: block;
  top: 50%;  /* Distance from top as percentage */
  left: 0%;  /* Distance from left as percentage */
}

h1 {
  text-align: center;
  margin-top: -100px;
  font-family: var(--font-heading);
  font-size: 4rem;
  background: var(--color-primary-blue);
  border-radius: 15px;
  margin: 2rem auto;
  color: var(--color-text-light);
  max-width: fit-content;
  padding-left: 20px;
  padding-right: 20px;

}

.sidebar ul {
  list-style: none;
}

p, li {
  line-height: 24px;
}

.main-content ul li::marker {
  color: var(--color-border-dark);
  opacity: 0.5; 
  
}
 
li {
  padding-left: 4px;
  line-height: 2rem;
  margin-top: 2px;
}

h3 {
  color: var(--color-accent-green);
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin-bottom: 12px;

}

h2 {
  color: var(--color-primary-cyan);
  font-family: var(--font-heading);
  font-size: 2rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  border-left: 2px solid var(--color-border-dark);
  border-width: 5px;
  padding-left: 10px;

}

ul {
  margin-top: -10px;
}

.skyline {
width: 100%;
height: 100px;
flex-shrink: 0;
padding-bottom: 20px;
max-width: auto;
}

.full-skyline{
  width: 100%;
  max-width : auto;
  margin-top: 20px;
  height: 110px;
}

.nav-skyline {
  width: 100%;
  height: 120px;
  position: relative;
  margin-top: 30px;
}

#section-8 {
  background:var(--color-primary-blue);
  color: var(--color-text-light);
}

.sidebar-nav li:first-child {
  margin-top: 2rem; 
}

.game-images {
  width: 100%;
  align: center;
  border-radius: 10px;
  margin-top: 30px;
  margin-bottom: 30px;
  border: 2px solid var(--color-border-dark);
}


#buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 800px;
  margin: 4rem auto;
  margin-top: 0; 
}

/* Button 1 */
.button-1 {
  display: flex;
}

.button-1 p {
  display: flex;
  border: 3px solid var(--color-border-cyan);
  max-width: fit-content;
  color: var(--color-text-light);
  font-family: var(--font-heading);
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  border-radius: 12px;
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 20px;
  padding-bottom: 20px;
  margin: 30px;
}

.button-1 p:hover {
  background: var(--color-text-light);
  color: var(--color-primary-cyan);
  border: none;
}

/* Button 2 */
.button-2 {
  display: flex;
}

.button-2 p {
  display: flex;
  border: 3px solid var(--color-border-cyan);
  max-width: fit-content;
  color: var(--color-text-light);
  font-family: var(--font-heading);
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  border-radius: 12px;
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 20px;
  padding-bottom: 20px;
  margin: 30px;
  
}

.button-2 p:hover {
  background: var(--color-text-light);
  color: var(--color-primary-cyan);
  border: none;
}

footer, .footer-link{
  text-align: center;
  align-content: center;
  font-family: var(--font-primary);
  font-size: 15px;
  color: var(--color-text-light);
}

#yellow-header {
  color: var(--color-accent-yellow);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-bottom: -10px;
}


#border {
  border: 3px solid var(--color-accent-yellow);
  padding: 20px;
  border-radius: 12px;
  margin-top: 30px;
}


/* Hide checkbox */
.mobile-header {
  display: none;
  background: var(--color-primary-blue);  /* Already has this */
  padding: 1rem 1.5rem;
  position: sticky;  /* Makes it stick when scrolling */
  top: 0;  /* Sticks to top */
  z-index: 999;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);  /* Optional: adds shadow */
}

/* Give hamburger a background box */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  width: 30px;
  background: rgba(255, 255, 255, 0.1);  /* Light background */
  padding: 0.75rem;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.2);  /* Lighter on hover */
}

.hamburger span {
  width: 100%;
  height: 3px;
  background: var(--color-text-light);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.close-btn {
  display: none;
}


code, pre code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, "Roboto Mono", "Courier New", monospace;
  }

 pre {
    padding: 1rem 1.25rem;
    border-radius: 8px;
    overflow: auto;
    max-width: 100%;
    font-size: 0.95rem;
    line-height: 1.45;
    margin: 1rem 0;
  }

#deco-1 {
  position: absolute;
  width: 180px;
  height: 180px;
  aspect-ratio: 1/1;
  opacity: 0.3;
 margin-top: -200px;
  right: 10%;
}

#deco-2 {
  position: absolute;
  width: 180px;
  height: 180px;
  aspect-ratio: 1/1;
  opacity: 0.3;
 margin-top: -200px;
  right: 10%;
}

#deco-3 {
  position: absolute;
  width: 180px;
  height: 180px;
  aspect-ratio: 1/1;
  opacity: 0.3;
 margin-top: -500px;
  right: 10%;
}

#deco-4 {
  position: absolute;
  width: 180px;
  height: 180px;
  aspect-ratio: 1/1;
  opacity: 0.3;
 margin-top: -200px;
  right: 20%;
}

#deco-5 {
  position: absolute;
  width: 180px;
  height: 180px;
  aspect-ratio: 1/1;
  opacity: 0.3;
 margin-top: -900px;
  right: 10%;
}

#deco-6 {
  position: absolute;
  width: 180px;
  height: 180px;
  aspect-ratio: 1/1;
  opacity: 0.3;
 margin-top: -900px;
  right: 10%;
}

#deco-7 {
  position: absolute;
  width: 180px;
  height: 180px;
  aspect-ratio: 1/1;
  opacity: 0.3;
 margin-top: -500px;
  right: 20%;
}



/* MOBILE STYLES - Must be at the bottom! */
@media (max-width: 640px)  {
  /* Show mobile header - STICKY */
  .mobile-header {
    display: block;
    background: var(--color-primary-blue);
    padding: 1rem 1.5rem;
    position: sticky;  /* Stays at top when scrolling */
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  }

  h1 {
    text-align: center;
    margin-top: -100px;
    font-family: var(--font-heading);
    font-size: 2rem;
    background: var(--color-primary-blue);
    border-radius: 15px;
    margin: 2rem auto;
    color: var(--color-text-light);
    max-width: fit-content;
    padding-left: 20px;
    padding-right: 20px;
  }

.hero-image {
  width: 100%;
  display: block;
  height: auto;
  position: relative;
  z-index: 0;
  padding-bottom: 10px;
}

.logo {
    width: 100%;
    top: 15%;  /* Changed from margin-top: -150px */
    left: 0%;  /* Changed from margin-left: 20px */
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 35px;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.75rem;
    border-radius: 8px;
    transition: background 0.3s ease;
  }
  
  .hamburger:hover {
    background: rgba(255, 255, 255, 0.25);
  }
  
  /* Center main content on mobile */
  .main-content {
    margin: 0 auto;
    padding: 1rem;
    max-width: 100%;
    margin-right: auto;
    overflow-x: hidden;
  }
  
  /* Hide sidebar off-screen by default */
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1000;
  }
  
  /* Show close button (X) on mobile */
  .close-btn {
    display: block;
    position: absolute;
    right: 1.5rem;
    top: 1rem;
    font-size: 2.5rem;
    cursor: pointer;
    color: var(--color-text-light);
    background: none;
    border: none;
    line-height: 1;
  }
  
  /* When checkbox is checked, slide sidebar in */
  .sidebar-toggle:checked ~ .sidebar-nav .sidebar {
    transform: translateX(0);
  }
  
  /* Dark overlay behind sidebar when open */
  .sidebar-toggle:checked ~ .sidebar-nav .sidebar::before {
    content: '';
    position: fixed;
    top: 0;
    left: 280px;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: -1;
  }

  #deco-1, #deco-2, #deco-3, #deco-4, #deco-5, #deco-6, #deco-7 {
    display: none;
  }
  
}


