body {
    height: 100%;
    font-family: 'Roboto', sans-serif;
}

.content-container{
    padding: 0 30px;
    margin: 0 auto;
}

h1 {
    margin-top: 20px;
    padding: 10px;
    background-color: #333;
    color: #fff;
    font-size: 30px;
}

h2 {
    margin-top: 20px;
    padding: 10px;
    background-color: #333;
    color: #fff;
    font-size: 24px;
}

p, strong {
    line-height: 1.6;
    font-size: 18px;
}


.alternating-section .row,
.row {
    display: flex;
}

.alternating-section .text,
.alternating-section .image,
.text,
.image {
    flex: 1;
    margin: 0 auto;
    font-size: 18px;
    
}

.alternating-section .text strong,
.text strong {
    font-weight: bold;
}

.alternating-section .text p,
.text p {
    margin-top: 10px;
}

.alternating-section .image img,
 .image img {
    display: flex;
    width: 550px;
    height: 300px;

}

.superUniqueImageSize {
    display: flex;
    width: 100%;
    height: 400px;
    object-fit: cover;
    padding-left: 100px;
}

/* THE HEADER */

.header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 2;
    transition: all 0.5s ease;
    background-color: transparent;
    height: 80px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

body {
    margin: 0 auto;
    font-family: 'Roboto', sans-serif;
    color: #000000;
}


.logo {
    position: relative;
    height: 50px;
    width: 400px;
    overflow: hidden;
}

.logo-img {
    position: absolute;
    top: 0;
    left: 0;
    height: 50px;
    transition: opacity 0.5s ease;
    padding-left: 40px
}

#logoImg1 {
    opacity: 1;
}

#logoImg2 {
    opacity: 0;
}


.nav-links {
    display: flex; 
}

.nav-links a {
    display: flex;
    color: inherit;
    text-align: center;
    padding: 28px 20px;
    text-decoration: none;
}

/* hides burger icon on wider screen widths*/
.nav-links .icon {
  display: none;
}

@media screen and (max-width: 1100px){ 

  /*Only displays the burger icon if responsive class is not on */
  .nav-links:not(.responsive) a:not(.icon){
  display: none;}

  .nav-links a.icon {
    display: flex;
  }

  /* Allows all the links to be visible */
  .header{
    overflow: visible !important;
  }

  /* Styles the entire dropdown format */
  .nav-links.responsive{
    position: absolute;
    top: 80px;
    display: flex;
    right: 0;
    left: 0;
    flex-direction: column;
    z-index: 1000;
    background-color:rgba(166, 166, 166, 0.5) ;
    max-width: 100%;
  }

  /* Styles individual nav-links in dropdown format */
  .nav-links.responsive a {
    position: static;
    display: block;
    width: auto;
    text-align: left;
    padding: 16px 20px;
  }

  .nav-links a.icon{
    text-align: center;
  }
}

.image-container {
    position: relative;
    z-index: 1;
    width: 100%;  
}

.image-container img {
    width: 100%;
    height: 430px;
    object-fit: cover;
}

/* Grey horizontal line to separate sections */
.divider { 
    height: 10px;
    background-color: lightgrey;
    margin: 20px 0; 
}

.centered-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 36px;
  text-align: center;
  color: white;
  font-family: 'Roboto', sans-serif;
  background-color: rgba(166, 166, 166, 0.5); 
  padding: 10px 20px; 
  border-radius: 0px; 
}

/* STYLES */

body {
    font-family: 'Roboto', sans-serif;
    color: #4a4a4a;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
}

h1, h2{
    margin-top: 20px;
    padding: 10px;
    background-color: #ffffff;
    color: #000000;
    font-weight: 300;
    text-align: center;
}

 .heading {
    text-align: center;
    margin-bottom: 20px;  
  }

/*Top Apparatus Image */
.large-image-box {
    text-align: center;  
    padding-bottom: 20px;  
    padding-top: -40px;
    z-index: -1
  }
  
.large-image-box img {
    max-width: 100%;
    height: auto;
    z-index: -1; 
  }

.CircularNumberedList {
    counter-reset: section;
    padding-left: 0;
    list-style-type: none;
    margin: 0;
}

.CircularNumberedList li {
    counter-increment: section;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5em;
}

.CircularNumberedList li h1{
   margin: 0;
}

.CircularNumberedList li h1::before {
    content: counter(section);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;                /* Adjust width to control spacing */
    height: 30px;               /* Increase height if necessary */
    text-align: center;
    line-height: 30px;
    border: 2px solid black;
    border-radius: 50%;
    background: white;
    color: black;
    flex-shrink: 0;
    margin-right: 10px;
}

.image-container-cres img{
    margin-top: -10px;
    height: auto;
    max-width: 100%;
    object-fit: scale-down;
    transform: scale(0.8);
}

.image-container-cres{
    text-align: center;
}

.image-container-selector{
    text-align: center;
}

.image-container-selector img{
    object-fit: scale-down;
    max-width: 100%;
}

.image-container-receiver img{
    height: auto;
    max-width: 100%;
}

.image-container-receiver{
    text-align: center;
}

.grid-1x2 {
    display: grid;
    grid-template-columns: repeat(1,1fr);
    position: relative;
    width: 100%;}

.grid-item-tr {
    
    padding: 0;
    margin-left: 0 auto;      
    }

.grid-item {
    box-sizing: border-box;
    padding: 0;
}

/*Grey border around detailed sections*/
.extra-bit{ 
   margin-top: 20px; 
   border: 2px solid lightgrey;
   padding: 0 20px;
}

.row-to-column {
    display: flex;
    flex-direction: row;
    column-gap: 10px;
}

@media screen and (max-width: 800px) {
    .row-to-column {
        flex-direction: column;
    }
}

/* FOOTER */
.footer-container {
    background-color: #d7345d;
    width: 100%;
    margin-top: 40px;
  }
  
  .custom-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px; 
  }
  
  .footer-left,
  .footer-middle,
  .footer-right {
    flex: 1;
    text-align: center;
  }
  
  .footer-logo {
    max-width: 300px; 
    height: auto;
  }