/* CSS Document */

/* Styles */

.sub-header {
  display: none;
}

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

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

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

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

.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: white;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 70px;
  line-height: 74px;
  margin: 0;
}

.hero .octane-content {
    background: rgba(0,0,0,.5);
}

/* 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 */

.pad {
  padding-block: 50px;
}

.ww-title {
  text-align: center;
    font-weight: 500;
    color: var(--black);
    font-size: 1.8rem;
    text-wrap: balance;
}

.team-intro p {
    font-size: 1.1rem;
    text-align: center;
    max-width: 1100px;
    margin-inline: auto;
    color: var(--black);
}

.team-members {
    display:flex;
    gap: 25px;
    justify-content: center;
    margin-top: 30px;
}

.member {
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    max-width: 460px;
    width: 20%;
    flex-grow: 1;
}

.member-content {
    padding: 20px;
}

.member img {
    aspect-ratio: 5 / 6;
    object-fit: cover;
    object-position: top;
    background: linear-gradient(120deg, rgb(255 255 255) 50%, rgba(208,58,51,1) 50%);
    background-size: 300%;
    background-position: left;
    transition: background-position .7s ease-out;
}

.member:hover img {
  background-position: right;
}

.member-name {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--black);
    margin-bottom: 10px;
    text-align: center;
}

.member-top {
    display: flex;
    justify-content: space-between;
}

.member-link {
    text-align: center;
    color: var(--style-main);
    font-weight: 500;
    font-size: .9rem;
}

.member-title {
    color: var(--style-main);
    font-size: .9rem;
    margin-bottom: 10px;
    font-weight: 500;
}

.member-contact {
    display: block;
    width: fit-content;
    font-size: 1.1rem;
    color: var(--style-main);
    text-decoration: underline;
}

.member-contact i {
    margin-right: 10px;
}

@media(max-width: 1250px) {
    .member-name {
        font-size: 1.1rem;
    }

    .member-contact {
        font-size: .9rem;
    }
}

@media(max-width: 1550px) {
    .team-members {
        flex-wrap: wrap;
    }

    .member {
        width: 48%;
    }
}

@media(max-width: 768px) {
    .member-title {
        text-align: left;
    }

    .member {
        width: 100%;
    }

    .team-intro p {
        font-size: .9rem;
    }
}

/* Responsive Design */

@media (max-width: 1920px) {
/* Team Members */
  
  .team-member img {
    height: 300px;
  }  
}

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

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

/* Team Members */
  
  .team-member img {
    height: 270px;
  }  
}

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

/* Hero */
    
    .hero-flex {
        height: 460px;
    }
    
    .hero-title {
        font-size: 66px;
    }
    
/* Team Members */

  .team-member img {
    height: 230px;
  }
}
 
@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%;
  }
  
  .team-member img {
    height: 270px;
  }
}

@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;
  }
  
  .team-member img {
    height: 270px;
  }

  .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;
  }
  
  .team-member img {
    height: 350px;
  }

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

@media (max-width: 900px) {

/* Team Members */
  
  .team-member img {
    height: 300px;
  }
}

@media (max-width: 768px) {

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

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

/* About Content */

  .about-content {
    text-align: center;
  }
    
/* Team Members */

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

@media (max-width: 660px) {

/* Team Members */
  
  .team-member img {
    height: 430px;
  }                              
}

@media (max-width: 550px) {

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

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

/* Team Members */
  
  .team-member img {
    height: 390px;
  }     
}

@media (max-width: 450px) {

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

/* Hero */
    
    .hero-flex {
        height: 340px;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
/* Team Members */
  
  .team-member img {
    height: 300px;
  } 
}

@media (max-width: 350px) {

.link {
    width: 100%;
}

/* Hero */

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

  .team-member {
    padding: 15px;
  }
  
  .team-member img {
    height: 250px;
  }    

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