/* CSS Document */

/* Styles */

.sub-header {
  display: none;
}

.site-inner .wrap {
  max-width: 100%;
}

.content .wrap {
  max-width: 2000px;
}

.octane-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.octane-background img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  object-position: 0% 70%;
}

.octane-content {
  position: relative;
  height: 100%;
}

.octane-position {
  position: relative;
}

/* change to match site */
.title {
  text-align: center;
  display: block;
  font-family: var(--main-font);
  text-transform: uppercase;
  color: var(--style-main);
  font-size: 36px;
  line-height: 38px;
  margin: 0 0 40px;
}   

/* Hero */

.hero-flex {
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 500px;
}

.hero-title {
  display: block;
  font-family: var(--main-font);
  color: var(--style-sec);
  text-transform: uppercase;
  font-size: 70px;
  line-height: 74px;
  margin: 0;
}

.hero .octane-background {
    width: 100%;
    display: flex;
    overflow: hidden;
}

.hero .octane-background img{
    width: 50%;
}

/* About Content */

.about-content {
  padding: 50px 0;
}

.about-content h1:not(:is(.title)),
.about-content h2:not(:is(.title)),
.about-content h3:not(:is(.title)),
.about-content h4:not(:is(.title)),
.about-content h5:not(:is(.title)) {
  font-family: var(--main-font);
  color: var(--style-main);
  font-size: 27px;
}

.about-content ol,
.about-content ul {
  margin-bottom: 28px;
}

.about-content ol > li {
  list-style-type: decimal;
  list-style-position: inside;
}

.about-content ul > li {
  list-style-type: disc;
  list-style-position: inside;
}

.about-content ol ol,
.about-content ul ul {
  margin-bottom: 0;
}

    .about-content p:last-child {
      margin: 0;
    }

/* Team Members */

.team-section {
  padding: 50px 0;
}

  .team-section:not(:is(.about-content)) {
    padding: 0 0 50px;
  }

.team {
  text-align: center;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 35px 2%;
  max-width: 1200px;
  margin-inline: auto;
}

.team-member {
  background: var(--style-main);
  flex: 0 0 31%;
  padding: 20px;
}

.team-member a, .team-member p {
    color: white;
}

.team-member img {
  object-fit: cover;
  width: 100%;
  /* height: 400px; */
  aspect-ratio: 3 / 4;
  margin: 0 auto 20px;
}

.member-name {
  font-family: var(--main-font);
  color: var(--style-sec);
  font-size: 27px;
  margin: 0 0 5px;
}

.member-title {
  display: block;
  color: var(--style-sec);
  margin: 0 0 20px;
}

.member-bio {
  color: var(--style-sec);
}

  .member-bio p:last-child {
    margin: 0;
  }

/* Responsive Design */

@media (max-width: 2200px) {

    .content .wrap {
        max-width: 1900px;
    }    
}

@media (max-width: 2100px) {

    .content .wrap {
        max-width: 1800px;
    }    
}

@media (max-width: 1920px) {

    .content .wrap {
        max-width: 1600px;
    } 

}

@media (max-width: 1750px) {

    .content .wrap {
        max-width: 1550px;
    }    
}

@media (max-width: 1650px) {
  
  .content .wrap {
    max-width: 1400px;
  }     
}

@media (max-width: 1550px) {
  
  .content .wrap {
    max-width: 1300px;
  } 

}

@media (max-width: 1440px) {
 
    .content .wrap {
        max-width: 1200px;
    }  

/* Hero */
    
    .hero-flex {
        height: 460px;
    }
    
    .hero-title {
        font-size: 66px;
    }
    
}
 
@media (max-width: 1350px) {

    .content .wrap {
        max-width: 1100px;
    }

/* Hero */
    
    .hero-flex {
        height: 420px;
    }
    
    .hero-title {
        font-size: 62px;
    }
    
    .hero-link {
        font-size: 23px;
    }  
    
/* Team Members */

  .team-member {
    flex: 0 0 32%;
  }

}

@media (max-width: 1250px) {

    .content .wrap {
        max-width: 1000px;
    }  

/* Hero */
    
    .hero-title {
        font-size: 58px;
    }
}

@media (max-width: 1150px) {

    .content .wrap {
        max-width: 900px;
    }   

/* Hero */
    
    .hero-flex {
        height: 380px;
    }
    
    .hero-title {
        font-size: 54px;
    }
    
    .hero-link {
        padding: 0 20px;
    }     
    
/* Team Members */

  .team-member {
    padding: 15px;
  }
  
  .member-title {
      margin: 0 0 15px;
  }  
}

@media (max-width: 1024px) {
    
    .content .wrap {
        max-width: 90%;
    }     

/* Hero */
    
    .hero-title {
        font-size: 50px;
    }
    
    .hero-link {
        font-size: 18px;
        padding: 0 20px;
    }      
    
/* Team Members */

  .team {
      gap: 25px 2%;
  }
  
  .team-member {
    flex: 0 0 48%;
    padding: 20px;
  }

  .member-title {
      margin: 0 0 20px;
  }
}

@media (max-width: 768px) {

    .content .wrap {
        max-width: 85%;
    }     

/* Hero */
    
    .hero-title {
        font-size: 46px;
    }

    .hero .octane-background {
        flex-direction: column;
    }

    .hero .octane-background img {
        width: 100%;
        height: 50%;
    }

/* About Content */

  .about-content {
    text-align: center;
  }
    

}


@media (max-width: 550px) {

.title {
    font-size: 32px;
    margin: 0 0 30px;
}

.link {
    width: 85%;
    font-size: 18px;
    padding: 5px 10px;
}

  /* Team Members */

  .team {
      gap: 15px 0;
  }
  
  .team-member {
    flex: 0 0 100%;
  }
   
}

@media (max-width: 450px) {

.title {
    font-size: 27px;
}
    
.link {
    width: 90%;
}

/* Hero */
    
    .hero-flex {
        height: 340px;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
}

@media (max-width: 350px) {

.link {
    width: 100%;
}

/* Hero */

    .hero-flex {
        height: 300px;
    }
  
    .hero-link {
        width: 100%;
    }     
    
/* Team Members */

  .team-member {
    padding: 15px;
  }   

  .member-title {
      margin: 0 0 15px;
  }  
}