/*********************************************
  Global
*********************************************/
:root {
  --color-bg: #1f1e1e;
  --color-h1: #ffffff;
  --color-h2: #e8e8e8;
  --color-text: #c9c9c9;
  --color-dark: #333333;
  --color-mid: #555555;
  --color-accent: #ff750b;
}

/* Default page settings */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

body {
    background-color: var(--color-bg); 
    padding-top: 60px; /* room for top menu */
    overflow-x: hidden;
  }

p {
  margin-bottom: 1rem; /* add spacing between paragraphs */
}

h1 {
  margin-bottom: 1rem;
  font-size: 2rem;
}

h3 {
  margin-bottom: 0.25rem;
}

body {
  font-family: 'Open Sans', sans-serif;
}

ul {
  list-style-position: outside;   /* show bullet outside text block */
  margin-left: 1.5rem;           
}

li {
  padding-left: 1.5rem;          
  text-indent: -1.5rem;          /* hanging indent */
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Top menu for all pages */
.top-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #333;  
  padding: 10px 20px;
  z-index: 1000;  
  transition: transform 1.6s ease, opacity 1.6s ease;
  transform: translateY(0);          /* visible initially */
}

.menu-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 5px; /* vertical spacing between entries */
  align-items: flex-end;
}

.contact-info a {
  text-decoration: none;
  color: #fff;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.contact-info a:hover {
  color: var(--color-accent);
}

.menu-links {
  list-style: none;
  display: flex;
  margin-left: 4rem;
  gap: 20px; /* horiz spacing between entries */
}

.menu-links li a {
  text-decoration: none;
  color: var(--color-h1);
  font-size: 1rem;
  font-weight: bold;
  transition: color 0.3s;
}

.menu-links li a:hover {
  color: var(--color-accent); 
}

@media (max-width: 1080px) {
  /* Hide on mobile */
  .contact-info {
    display: none;
  }

  .menu-container {
    justify-content: center; 
  }
  /* Reset margin */
  .menu-links {
    margin-left: 0;
    gap: 50px;
  }
  /* Increase font size of links */
  .menu-links li a {
    font-size: 2rem;
  }
}

/*********************************************
  Banners
*********************************************/

/* Banner with full-width background image and text */
.banner {
    position: relative;
    background-size: cover;
    background-position: bottom center;
    color: white;
    padding: 2rem 2rem;
    padding-bottom: 0rem;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
  }

/* Background overlay */
.banner::before {
    content: "";
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65); /* set opacity */
    z-index: 1;
  }

/* Content goes above overlay */
.banner-content {
    position: relative;
    z-index: 2;           
    display: flex;        
    flex-wrap: wrap;      
    justify-content: space-between;
    width: 90%;           
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;    
  }

/* Main text area on the left */
.banner-text {
    flex: 3; 
    min-width: 250px;
    max-width: 400px;
    margin-bottom: 8rem;
  }

/* Banner text*/  
.banner-text h1 {
    font-size: 2rem;
    margin-top: 0; 
    margin-bottom: 1rem;
  }

.banner-text p {
    font-size: 1.2rem;
    margin-top: 0;
    margin-bottom: 1rem; /* give space for background image */
    width: 100%; 
  }

.banner-text li {
    margin-top: 1rem;
  }

/* Banner links */
.banner-text a {
    text-decoration: none;
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    transition: color 0.3s;
  }

.banner-text a:hover {
    color: var(--color-accent);
  }


/* Adjust mobile to column layout */
@media (max-width: 1080px) {
    .banner-content {
      flex-direction: column;
      margin-left:auto;
      margin-right: auto;
      align-items: center;
    }
    .banner-text {
      text-align: center; 
      min-width:200px;
      max-width:600px; 
    }
    .banner-text p {
      font-size:1.5rem;
    }
  }


/* Banner for photos landing page with full-width text */
.photos-banner {
  position: relative;
  background: url("images/mountainglare2.jpg") no-repeat center center;
  background-size: cover;
  color: white;
  padding: 8rem 1rem;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.photos-banner::before {
  content: "";
  position: absolute;
  top: 0; 
  left: 0;
  width: 100%;
  height: 1000px;
  background-color: rgba(0, 0, 0, 0.65); /* overlay */
  z-index: 1;
}

.photos-banner-content {
  position: relative;
  z-index: 2;           
  display: flex;        
  flex-wrap: wrap;      
  justify-content: space-between;
  width: 90%;           
  max-width: 1200px;    
}

.photos-banner-text {
  flex: 3; 
  min-width: 250px;
}

.photos-banner-text h1 {
  font-size: 2rem;
  margin-top: 0; 
  margin-bottom: 1rem;
}

.photos-banner-text p {
  font-size: 1.2rem;
  margin-top: 0;
  margin-bottom: 1rem;
  width: 100%; 
}

/**********************************
 Container styles 
**********************************/
/* Overall container style */
.container {
  width: 600px;
  padding: 20px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 2rem;
  box-sizing: border-box;
  border-radius: 10px;
  text-align: center;
  background-color: var(--color-dark);
}


/* H1 styling with icon */
.container h1 {
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  color: var(--color-h1)
}
.container h1 img {
  margin-right: 10px;
  width: 100px;  /* adjust size as needed */
  height: auto;
}

/* Links container: indented to simulate "tabs" */
.links {
  margin-left: 0px;  /* adjust this value to simulate 2-3 tabs */
  margin-top: 0px;
}

.links ul {
  display: inline-block;
  list-style: none;
  list-style-position: inside;
  text-align: left;
  color: var(--color-h1);
  padding-left: 30px; /* ensures space for the bullets */
}

.links a {
  display: inline;
  margin-left: 15px;
  text-decoration: none;
  color: var(--color-text);
}

.links li {
  margin-top: 1rem;
  margin-bottom: 1rem;
}
 
.links a:hover{
  color:var(--color-accent);
  transition: color 0.3s;
}

@media screen and (max-width: 1080px) {
  .container {
    width: 75%;         
    padding: 15px;      
  }

  .container h1 {
    font-size: 1.6em;
  }
  .container h1 img {
    width: 80px;        
  }

  .links {
    margin-left: 0;
    margin-bottom: 0.5rem;
  }

  .links ul {
    display: block;         
    padding-left: 20px;     
    margin: 0 auto;         
    color: var(--color-dark);
  }

  .links ul::first-letter {
    color: var(--color-h1);
  }
  .links a {
    display: block;
    width: 80%;  
    margin: 0 auto;  
  }

}

.dot {
  color: var(--color-h1); /* or any other color */
  font-weight: bold; /* optional */
}

/* Two-column, full-width vertical containers */
.vertical-container {
    display: flex;
    flex-direction: column;  
    gap: 2rem;              
    margin: 2rem auto;
    width: 1080px;      
    max-width: 1600px;
    max-height: 800px;      
    padding: 0 1rem;        
  }

/* Image slider with link on right side */
.vertical-link {
  display: flex;                  
  justify-content: center;       
  align-items: center;           
  text-align: center;
  color: #fff;
  background: #333;
  border-radius: 4px;
  padding: 0.5rem 1rem;
  height: 50px;
  width: auto;
  text-decoration: none;
  }
  
.vertical-link:hover {
    background: #555;
  }

.vertical-slider {
  flex: 1;
  position: relative;
  height: 250px; 
  overflow: hidden;
}

/* General image slider with optional button*/
.slider-container {
  position: relative;
  width: 100%;
  height: 250px;
}

.slide {
  position: absolute;    
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; 
  opacity: 0;       /* hide by default, make active slide full opacity */
  transition: opacity 1s ease-in-out;
  display: flex;         
  justify-content: center;    
  align-items: center;        
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; 
  position: absolute; 
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* to enlarge and center */
}

/* Optional button */
.slide-button {
  position: relative;    
  z-index: 1;            
  text-decoration: none;
  color: #fff;
  background: #333;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: background 7s;
}

.slide-button:hover {
  background: #555;
}

@media (max-width: 1080px) {
  .slider-container {
    height: 200px; 
    overflow: hidden; 
    position: relative;
  }
  .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .slide.active {
    opacity: 1;
  }
  .slide img {
    width: auto;
    height: 100%; 
    object-fit: cover; 
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

/* Full-width slider */
.full-width-slider {
  width: 100%;
  height: 800px;
  position: relative;
  overflow: hidden;
  margin-top: 20px;
}

.full-width-slider .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.full-width-slider .slide.active {
  opacity: 1;
}

.full-width-slider .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* stack the text and slider vertically on small screens */
@media (max-width: 1080px) {
  .vertical-slider {
    display: none;
  }
  .slider-container {
    min-height: 250px; 
  }
}

/* About me section - vertical image on left, large block of text on right */
.about-me {
  display: flex;
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom:2rem;
  background-color: transparent; 
  padding: 2rem;
  align-items: center;
}

.about-image {
  flex: 0 0 33.33%;
}

.about-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.about-content {
  flex: 0 0 66.67%;
  margin-left: auto;
  margin-right: auto;
  color: #e8e8e8;    
  padding: 2rem 2rem; 
}

.about-content h2 { 
  margin-bottom: 1rem;
}
.about-content li {
  margin-bottom: 1em;
  color: var(--color-text);
}
.about-content p {
  margin-bottom: 1rem;
  color: var(--color-text);
}
@media (max-width: 850px) {
  .about-me {
    flex-direction: column;
    text-align: center;
    padding: 2rem 2rem; /* top/bottom: 2rem, left/right: 1rem */
  }
  
  .about-image,
  .about-content {
    flex: 1 1 100%;
    padding: 0;
  }
  
  .about-content {
    margin-top: 1rem;
    margin-bottom: 2rem;
  }
}

/* Categories section for photos page */
.categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin: 20px auto;
  width: 100%;
  max-width: 1200px;
}

.categories-wrapper {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin: 2rem 0; /* Optional spacing around the whole section */
  width: 100%;
}

.white-bar {
  height: 2px;               
  background-color: var(--color-text);  
  width: 66%;         
  margin-top: auto;
  margin-bottom: auto;
  margin-left: auto;
  margin-right: auto;      
}

.category {
  width: 23%;
  min-width: 220px;
  height: 200px;
  margin-top: 15px;
  margin-bottom: 15px;
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.category-content {
  position: absolute;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  width: 100%;
  padding: 10px;
  text-align: center;
}

.category-content .category-button {
  margin-top: 5px;
  padding: 5px 10px;
  border: none;
  border-radius: 4px;
  background-color: #fff;
  cursor: pointer;
  display: inline-block;      
  transition: background-color 0.3s ease;
}

.category-content .category-button:hover {
  background-color: #ddd;
}

/* Two-column vertical containers - left-aligned, no background */
.vertical-left-container {
  display: flex;
  flex-direction: column;  
  gap: 2rem;              
  margin: 2rem auto;      
  max-width: 1200px;    
  max-height: none;  
  padding: 0 1rem;        
}

.vertical-left-item {
  display: flex;
  flex-direction: row;
  background: transparent;  
  border-radius: 0;
  box-shadow: none;           
}

.vertical-left-item a {
  display: inline-flex;        
  align-items: center;       
  justify-content: center;   

  height: 50px;               
  padding: 0 1rem;             

  text-decoration: none;
  color: #fff;
  background: #333;
  border-radius: 4px;
  transition: background 0.3s, color 0.3s;
}

.vertical-left-item a:hover {
  background: #555;
  color: var(--color-accent);
}

.vertical-left-text {
  flex: 1;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center; 
  align-items: flex-start;     /* Left align */
  text-align: left;            /* Left align */
}

.vertical-left-text h2 {
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.vertical-left-text h3 {
  margin-bottom: 0.25rem;
  color: #ffffff;
}

.vertical-left-text p {
  margin-bottom: 1rem;
  color: #c9c9c9;
}

.vertical-left-text li {
  color: #c9c9c9;
  margin-bottom: 0.25rem;
  margin-left: 1.5rem;
  margin-right: 1.5rem;
  width: 75%;
}

.vertical-left-text em {
  color:var(--color-accent);
}

.vertical-left-text strong {
  color: #ffffff;
}


.vertical-left-link:hover {
  background: #555;
}

.vertical-left img {
  max-height: 600px;
  object-fit: contain;
  margin-top: 5rem;
  margin-bottom: 5rem;
}

/* Stack for mobile */
@media (max-width: 1080px) {
  .vertical-left-item {
    flex-direction: column; 
    align-items: center;    /
  }

  .vertical-container {
    max-height: none; 
  }
}

/*********************************************
Image gallery styles
*********************************************/

/* 4/5 banner section */
.fourfifths {
  display: flex;
  width: 100%;
  max-width: 1600px;
  max-height: 800px;
  margin-left: auto;
  margin-right: auto;
  background-color: transparent;  
  padding: 2rem;
  align-items: flex-start;
}

.fourfifths-image {
  flex: 0 0 80.0%;
}

.fourfifths-image img {
  width: 100%;
  max-height: 600px;
  height: auto;
  object-fit: contain;
  display: block;
}

.fourfifths-content {
  flex: 0 0 20%;
  padding-left: 2rem; 
  color: #e8e8e8;    
}

.fourfifths-content h1 {
  font-size: 5rem;
  color: var(--color-h1);
}

.fourfifths-content p {
  font-size: 1rem;
  color: var(--color-text);
}

.fourfifths-content h2 { 
  margin-bottom: 1rem;
  color: var(--color-h2)
}

@media (max-width: 1080px) {
  .fourfifths {
    flex-direction: column;
    text-align: center;
  }
  
  .fourfifths-image,
  .fourfifths-content {
    flex: 1 1 100%;
    padding: 0;
  }
  
  .fourfifths-content {
    margin-top: 1rem;
  }
}


/* One third panel for small photo and large text */
.onethird {
  display: flex;
  width: 100%;
  max-width: 1600px;
  max-height: 800px;
  margin-left: auto;
  margin-right: auto;
  background-color: transparent;  
  padding: 2rem;
  align-items: flex-start;
}

.onethird-image {
  flex: 0 0 40%;
}

.onethird-image img {
  width: 100%;
  max-height: 450px;
  height: auto;
  object-fit: contain;
  display: block;
}

.onethird-content {
  flex: 0 0 60%;
  padding-left: 2rem; /* Creates space between the image and text */
  color: #e8e8e8;    /* Adjust text color as needed */
}

.onethird-content h1 {
  font-size: 7.5rem;
  color: var(--color-h1);
}
.onethird-content h2 {
  font-size: 2rem;
  color: var(--color-h2);
}
.onethird-content p {
  font-size: 1.25rem;
  color: var(--color-text);
}
.onethird-content h2 { 
  margin-bottom: 1rem;
  color: var(--color-h2);
}
@media (max-width: 1080px) {
  .onethird {
    flex-direction: column;
    text-align: center;
  }
  
  .onethird-image,
  .onethird-content {
    flex: 1 1 100%;
    padding: 0;
  }
  
  .onethird-content {
    margin-top: 1rem;
  }
}

/* One half panel for equal photos */
.onehalf {
  display: flex;
  gap: 1rem;
  width: 100%;
  max-width: 1600px;
  max-height: 800px;
  margin-left: auto;
  margin-right: auto;
  background-color: transparent;  /* You can adjust this background color */
  padding: 1rem;
  align-items: flex-start;
}

.onehalf-image {
  flex: 0 0 49%;
}

.onehalf-image img {
  width: 100%;
  max-height: 600px;
  height: auto;
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.onehalf-content {
  flex: 0 0 49%;
  color: #e8e8e8;    /* Adjust text color as needed */
}

.onehalf-content h1 {
  font-size: 7.5rem;
  color: var(--color-h1);
}

.onehalf-content h2 { 
  margin-bottom: 1rem;
  color: var(--color-h2);
}

.onehalf-content p {
  font-size: 1.5rem;
  color: var(--color-text);
}

@media (max-width: 1080px) {
  .onehalf {
    flex-direction: column;
    text-align: center;
  }
  
  .onehalf-image,
  .onehalf-content {
    flex: 1 1 100%;
    padding: 0;
  }
  
  .onehalf-content {
    margin-top: 1rem;
  }
}

/* Three even panels for equal photos */
.eventhirds {
  display: flex;
  gap: 1rem;
  width: 100%;
  max-width: 1600px;
  max-height: 800px;
  margin: 0 auto;
  background-color: transparent; 
  padding: 1rem;
  align-items: flex-start;
}

.eventhirds-panel {
  flex: 0 0 33.33%;
}

.eventhirds-panel img {
  width: 100%;
  max-height: 500px;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

@media (max-width: 1080px) {
  .eventhirds {
    flex-direction: column;
    text-align: center;
  }
  
  .eventhirds-panel {
    flex: 1 1 100%;
    padding: 0;
  }
}

/* Two panel, two-thirds dominant */
.twothirds {
  display: flex;
  width: 100%;
  max-width: 1200px;
  max-height: 800px;
  margin-left: auto;
  margin-right: auto;
  background-color: transparent;  /* You can adjust this background color */
  padding: 2rem;
  align-items: center;
}
section.twothirds:nth-child(even) {
  flex-direction: row-reverse;
}
.twothirds-image {
  flex: 0 0 33.33%;
}

.twothirds-image img {
  width: 100%;
  max-height: 400px;
  height: auto;
  object-fit: contain;
  display: block;
}

.twothirds-content {
  flex: 0 0 66.67%;
  padding-left: 2rem; /* Creates space between the image and text */
  color: #e8e8e8;    /* Adjust text color as needed */
}

.twothirds-content h2 { 
  margin-bottom: 1rem;
  color: var(--color-h2);
}
@media (max-width: 1080px) {
  .twothirds {
    flex-direction: column;
    text-align: center;
  }
  
  .twothirds-image,
  .twothirds-content {
    flex: 1 1 100%;
    padding: 0;
  }
  
  .twothirds-content {
    margin-top: 1rem;
  }
}

/* Three panel, equal photos */
.onethirds {
  display: flex;
  width: 100%;
  max-width: 1200px;
  max-height: 800px;
  margin: 0 auto;
  background-color: transparent;  
  padding: 2rem;
  align-items: center;
}

.onethirds-item {
  flex: 0 0 33.33%;
}

.onethirds-item img {
  width: 100%;
  max-height: 400px;
  height: auto;
  object-fit: contain;
  display: block;
}

@media (max-width: 1080px) {
  .onethirds {
    flex-direction: column;
    text-align: center;
  }
  
  .onethirds-item {
    flex: 1 1 100%;
    padding: 0;
  }
}


/* Full width banner section */
.fullwidth {
  width: 100%;
  max-width: 1600px;
  align-content: center;
  padding: 0; 
  margin: 0 auto;
  background-color: transparent;
}

.fullwidth-image img {
  width: 100%;
  max-height: 650px;
  height: auto;
  object-fit: cover;
  object-position: center;
  display: block;
}

.fullwidth-content {
  text-align: center;
}
.fullwidth-content h1{ 
  font-size: 7.5rem;
  color: white;
}
.fullwidth-content h2{ 
  font-size: 2rem;
  color: white;
}
.fullwidth-content p{ 
  font-size: 1.5rem;
  color: rgb(209, 209, 209);
  margin-top: 2rem;
}

.fullwidth-content a{
  color: var(--color-accent)
}

.fullwidth-content a:hover {
  color:#c9c9c9;
} 

/* Full width for left-aligned text */
.fullwidthalt {
  width: 100%;
  max-width: 1600px;
  align-content: center;
  padding: 0; 
  margin: 0 auto;
  background-color: transparent;
}

.fullwidthalt-content {
  text-align: center;
  padding-left: 2rem;
  padding-top: 2rem
}

.fullwidthalt-content h1{ 
  font-size: 5rem;
  color: var(--color-h1);
}

.fullwidthalt-content h2{ 
  font-size: 2rem;
  color: var(--color-h2);
}

.fullwidthalt-content p{ 
  font-size: 1.5rem;
  color: var(--color-text);
  margin-top: 2rem;
}



@media (max-width: 1080px) {
  /* For all flex-based section layouts */
  .eventhirds,
  .onehalf,
  .onethird,
  .twothirds,
  .fourfifths {
    flex-direction: column;
    text-align: center;
    padding: 2rem 0;
    max-height: none;
    margin-left: auto;
    margin-right: auto;
    align-items: center;
    max-height: none;
    width: 100vw;
  }

  .eventhirds-panel,
  .onehalf-image,
  .onethird-image,
  .twothirds-image,
  .fourfifths-image {
    display: flex;
    justify-content: center;
    flex: none;
    max-width: 100%;
  }

  .eventhirds-panel img,
  .onehalf-image img,
  .onethird-image img,
  .twothirds-image img,
  .fourfifths-image img {
    margin-left: auto;
    margin-right: auto;
    max-height: none;
    max-width:100%;
  }
  .twothirds-image,
  .onehalf-image {
    flex-direction: column;
    gap: 3rem;
  }
}

/* Three columns with images, text and button */
.three-card-grid {
  display: flex;               
  flex-wrap: wrap;             
  gap: 2rem;                   
  justify-content: space-between; 
  max-width: 1200px;           
  margin: 2rem auto;           
  padding: 0 0rem;
  margin-top: 0;
  padding-bottom: 5rem;
  align-items: stretch;
}

.three-card-item {
  flex: 1 1 300px;             
  background-color: transparent;   
  border-radius: 4px;
  box-shadow: 0 0 4px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;      
  align-items: center;         
  text-align: center;         
  padding: 1rem;
}

.three-card-item img {
  width: auto;
  height: 200px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
  border-radius: 8px;          
}

.three-card-item h2 {
  margin-bottom: 0.5rem;
  color: var(--color-h2);
}

.three-card-item em {
  color:var(--color-accent);
}
.three-card-item p {
  margin-bottom: 1rem;
  color: var(--color-text);
}

.three-card-item a {
  display: inline-block;       
  text-decoration: none;
  color: #fff;
  background: #333;
  padding: 0.5rem 1rem;
  border-radius: 4px;
}

.three-card-item a:hover {
  background: #555;
  color: var(--color-accent);
  transition: background 0.3s, color 0.3s;
}

/* Stack for mobile */
@media (max-width: 1080px) {
  .three-card-grid {
    flex-direction: column;    
    align-items: center;
    gap: 0rem;
  }

  .three-card-item {
    width: 100%;  
    margin-top: 0;             
    margin-bottom: 0rem;
  }

  /* Make texts larger for mobile */
  .three-card-item h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--color-h2);
  }

  .three-card-item p {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-text);
  }
  
  .three-card-item a {
    display: inline-block;       
    text-decoration: none;
    color: #fff;
    background: #333;
    padding: 0.5rem 1rem;
    border-radius: 4px;
  }
  
  .three-card-item a {
    display: inline-block;       
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    background: #333;
    padding: 1rem 2rem;
    border-radius: 4px;
  }
}

/*******************************************
Control panel for rocket simulation 
*******************************************/
.rocket-params { 
  margin-top: 1em;
  background-color: #333;
  padding: 15px;
  border-radius: 5px;
}

/* Param row set inside the simulation params container */
.rocket-params .param-row {
  display: flex;
  align-items: center;
  margin-bottom: 1em;
  gap: 0.5em; 
}

/* Styling for input label */
.rocket-params label {
  flex: 1;
  margin-bottom: 0.5em;
  font-weight: bold;
  color:#f7f7f7;
}

/* Control panel title */
.rocket-params h1 {
  color: #ffffff;
  margin-left: auto;
  margin-right: auto;
}

/* Input entry */
.rocket-params input {
  background-color: #444;
  color: #fff;
  border: 1px solid #555;
  padding: 0.25em;
  width: 100%;
  max-width: 200px;
}

/* Styling for the run simulation button */
.rocket-params button {
  background-color: #555;
  color: #fff;
  border: none;
  padding: 0.5em 1em;
  cursor: pointer;
  margin-left: auto;
  margin-right: auto;
}

/* Disabled button styling */
.rocket-params button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  margin-left: auto;
  margin-right: auto;
}

/* Plot container styling */
#plot-container{
  margin-top:2em;
  display:flex;              /* let flexbox do the centring */
  justify-content:center;    /* horizontal centre */
}

#plot-container img{
  display:block;
  max-width:100%;            /* never wider than the viewport */
  height:auto;               /* keep aspect ratio */
}

/*********************************************
Footer
*********************************************/
.site-footer {
  background-color: #333;
  color: #fff;
  padding: 1rem 0rem;
  text-align: center;
  margin-top: 2rem;
  }
  
  .footer-container {
  max-width: 1200px;
  margin: 0 auto;
  }
  
  .footer-name {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  font-weight: bold;
  }
  
  .footer-contact a, .footer-note a {
  color: var(--color-accent);
  text-decoration: none;
  }
  
  .footer-contact a:hover, .footer-note a:hover {
  text-decoration: underline;
  }

