@font-face {
    font-family: 'Roboto';
    src: url(./fonts/Roboto-Black.ttf);
}
@font-face {
    font-family: 'RobotoBold';
    src: url(./fonts/Roboto-Bold.ttf);
    font-weight: 800;
}
@font-face {
    font-family: 'RobotoThin';
    src: url(./fonts/Roboto-Thin.ttf);
    font-weight: 100;
}
@font-face {
    font-family: 'RobotoLightItalic';
    src: url(./fonts/Roboto-LightItalic.ttf);
}

/* --------------------------------------------------------------MAIN-------------------------------------------------------------- */

body{
    margin: 0;
}

header{
    background-color: #1f2937;
    display: flex;
    justify-content: space-between;
    border: 1px solid white;
}

.left-hero {
    font-family: 'RobotoBold';
    font-size: 24px;
    color: #f9faf8;
    margin-left: 5%;
}
  
.right-hero {
    display: flex;
    align-items: center;
    margin-right: 5%;
}

.right-hero a{
    text-decoration: none;
    font-family: 'RobotoThin';
    font-size: 18px;
    color: #e5e7eb;
    margin-right: 20px;
}

footer{
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: #1f2937;
    padding-bottom: 20px;
    font-family: 'RobotoThin';
    font-size: 18px;
    color: #f9faf8;
    justify-content: center;
    text-align: center;
}

footer a{
    text-decoration: none;
    padding: 0 100px;
    font-family: 'RobotoThin';
    font-size: 18px;
    color: #e5e7eb;
}

/* --------------------------------------------------------------INDEX-------------------------------------------------------------- */

.box-2{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    background-color: #1f2937;
}

.deep-box-2{
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    align-items: center;
    margin: 5% 0;
}

.welcome-box-2{
    font-family: 'RobotoThin';
    font-size: 32px;
    color: #f9faf8;
}

.title-box-2{
    font-family: 'RobotoBold';
    font-size: 48px;
    color: #f9faf8;
    width: 80%;
}

.context-box-2{
    font-family: 'RobotoThin';
    font-size: 18px;
    color: #e5e7eb;
}

.button-box-2{
    background-color: #3882f6;
    color: #f9faf8;
    padding: 10px 20px;
    border-radius: 5px;
    border-color: white;
    font-family: 'RobotoBold';
    font-size: 18px;
    width: 150px;
}

.box-2 img{
    max-width: 100%;
    max-height: 400px;
    border: 1px solid white;
    border-radius: 5px;
}

/* ---------------------------------------------------------------------------------------------------------------------------- */

.header-2{
    font-family: 'RobotoBold';
    font-size: 36px;
    text-align: center;
    color: #1f2937;
    margin: 0 auto;
    margin-top: 5%;
    margin-bottom: 5%;
    width: 50%;
}

.four-boxes{
    display: flex;
    justify-content: center;
    text-align: center;
    font-family: 'RobotoThin';
    font-size: 18px;
    color: #1f2937;
}

.four-boxes img{
    width: 100%;
    height: 220px;
    border-radius: 5px;
    object-fit: cover;
}

/* ---------------------------------------------------------------------------------------------------------------------------- */

.quote{
    display: flex;
    background-color: #e5e7eb;
    align-items: center;
    justify-content: center;
    font-family: 'RobotoLightItalic';
    font-size: 36px;
    text-align: center;
    color: #1f2937;
    margin: 0 auto;
    margin-top: 5%;
    padding: 5% 0;
}

.quote p{
    width: 50%;
}

/* ---------------------------------------------------------------------------------------------------------------------------- */

.subscribe-box{
    display: flex;
    background-color: #3882f6;
    color: #e5e7eb;
    justify-content: center;
    border-radius: 5px;
    margin: 5% auto;
    gap: 15%;
    width: 70%;
    padding: 2% 0;
}

.subscribe-box h3{
    font-family: 'RobotoBold';
    font-size: 24px;
    margin: 0;
}

.subscribe-box p{
    font-family: 'RobotoThin';
    font-size: 18px;
    margin: 0;
}

.subscribe-button{
    background-color: #3882f6;
    color: #f9faf8;
    border-radius: 5px;
    border-color: white;
    font-family: 'RobotoBold';
    font-size: 18px;
    width: 10%;
}

/* --------------------------------------------------------------COURSES-------------------------------------------------------------- */

.courses-no-background-box, .courses-background-box{
    display: flex;
    justify-content: space-evenly;
    font-family: 'RobotoThin';
    font-size: 24px;
    text-align: center;
}

.courses-no-background-box{
    color: #1f2937;
}

.courses-background-box{
    background-color: #1f2937;
    color: #f9faf8;
    border: 1px solid white;
}

.courses-no-background-box p, .courses-background-box p{
    padding-top: 5%;
}

.courses-no-background-box img, .courses-background-box img{
    width: 100%;
    height: 325px;
    border-radius: 5px;
    border: 1px solid white;
}

.courses-text{
    display: flex;
    width: 50%;
}

/* --------------------------------------------------------------INSTRUCTORS-------------------------------------------------------------- */

.instructors-box{
    display: flex;
    justify-content: space-evenly;
    font-family: 'RobotoThin';
    font-size: 24px;
    text-align: center;
    color: #e5e7eb;
}

.instructors-box img{
    width: 100%;
    height: 250px;
    border-radius: 5px;
    border: 1px solid white;
}

.instructors-box-content{
    display: flex;
    background-color: #1f2937;
}

/* --------------------------------------------------------------MEMBERSHIP-------------------------------------------------------------- */

.membership{
    display: flex;
    flex-direction: column;
    background-color: #1f2937;
    border-radius: 15px;
    margin: 5px auto;
    margin-top: 50px;
    padding: 20px 0;
    text-align: center;
    color: #e5e7eb;
    width: 50%;
}
.thin{
    font-family: 'RobotoThin';
    font-size: 24px;
}
.bold{
    font-family: 'RobotoBold';
    font-size: 32px;
}

.membership p{
    margin: 0;
}

.membership-plans{
    display: flex;
    justify-content: space-between;
    gap: 50px;
    margin: 0 50px;
    margin-top: 50px;
    color: #e5e7eb;
}

.membership-plan{
    display: flex;
    flex-direction: column;
    background-color: #1f2937;
    text-align: center;
    border-radius: 15px;
}

.membership-plan:first-child{
    height: 100%;
}

.membership-plan-title{
    font-family: 'RobotoBold';
    font-size: 48px;
}

.membership-fees{
    font-family: 'RobotoThin';
    font-size: 24px;
}

.membership-plan-content{
    font-family: 'RobotoThin';
    font-size: 18px;
    text-align: left;
}

.membership-plan-content ul li{
    margin-bottom: 15px;
}

.mid-hr{
    width: 50%;
}

.small-hr{
    width: 30%;
}

.membership-subscribe-button{
    background-color: #3882f6;
    color: #f9faf8;
    border-radius: 5px;
    border-color: white;
    font-family: 'RobotoBold';
    font-size: 18px;
    padding: 10px 20px;
    width: 150px;
    margin: 0 auto;
    margin-top: 10px;
    margin-bottom: 30px;
}

/* --------------------------------------------------------------STYLES-------------------------------------------------------------- */

@media only screen and (max-width: 600px) {
    .left-hero{
        font-size: 18px;
    }

    .right-hero a{
        font-size: 12px;
    }

    .box-2 {
      flex-direction: column;
    }
  
    .deep-box-2 {
      margin: 40px;
      padding: 40px;
    }
  
    .title-box-2 {
      font-size: 36px;
    }
  
    .img {
      margin-top: 40px;
      max-height: 300px;
      max-width: 99%;
    }
  }

  /* ---------------------------------------------------------------------- */

  @media (max-width: 768px) {
    .header-2 {
        font-size: 24px;
        width: 80%;
    }

    .four-boxes {
      flex-wrap: wrap;
    }
    
    .four-boxes figure {
      flex-basis: 100%;
      margin-bottom: 20px;
    }
    
    .four-boxes img {
      width: 100%;
      height: auto;
    }
  }

  /* ---------------------------------------------------------------------- */

  @media only screen and (max-width: 768px) {
    .quote {
      flex-direction: column;
      font-size: 24px;
      padding: 10% 0;
    }
    
    .quote p {
      width: 80%;
    }
  }

  /* ---------------------------------------------------------------------- */

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

    .subscribe-box {
      flex-direction: column;
      gap: 5%;
      width: 70%;
      padding: 5%;
      text-align: center;
    }
    
    .subscribe-box h3 {
      font-size: 18px;
    }
    
    .subscribe-button {
      width: 40%;
      margin: 0 auto;
    }
  }

  /* ---------------------------------------------------------------------- */

  @media only screen and (max-width: 768px) {
    .courses-no-background-box, .courses-background-box{
        font-size: 20px;
    }
    
    .courses-no-background-box, .courses-background-box{
        flex-direction: column;
        align-items: center;
    }
    
    .courses-no-background-box img, .courses-background-box img{
        height: 200px;
    }
    
    .courses-no-background-box p, .courses-background-box p{
        padding: 5%;
        width: 80%;
    }
  }
