/* GLOBAL STYLES */

*{
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
}

body{
    background-color: #f1ebe1;
    margin: 0px;
}

a{
    text-decoration: none;
}

/*NAVBAR STYLES*/

header{
    background-color:white;
    padding:20px;
    
}

.menu-item {
    font-size:1.5em;
    margin: 5px 10px;
}

nav{
    display:flex;
    justify-content: space-between;
    align-items: center;
    height:50px;
    padding:5px;
}

.logo-img{
    width: 85px;
    height: auto;
}

.fa{
    color:  #8ba888;
}

/*HIDE THE DESKTOP NAV ON MOBILE*/
.desktop-nav{
    display: none;
}

/*THE HAMBURGER MENU*/

.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #c0cfb2;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
    }

    .sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #44624a;
    display: block;
    transition: 0.3s;
    }

    .sidenav a:hover {
    color: #f1f1f1;
    }

    .sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
    }

/*HOMEPAGE STYLES*/
.container {
    display:flex;
    flex-direction: column;
    justify-content:center;
    align-items: center;
    text-align: center;
    height:100vh;
    padding-left: 10%;
    padding-right: 10%;

}

.back-video{
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
}

.page-title{
    font-size:3em;
    color: #44624a;
    text-align: center;
}

#cta-button{
    background:#44624a;
    color:white;
    padding:20px;
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
    font-size: 1.2em;
}

h2{
  font-size:1em;
  color: #44624a;
  text-align: center;
}









/* HISTORY PAGE STYLES
I go the timeline from W3SCHOOLS! */ 
h1{
    font-size:3em;
    color: #44624a;
    text-align: center;
}

h2{
    font-size:1em;
    color: #44624a;
    text-align: center;
}
/* The actual timeline (the vertical ruler) */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  /* The actual timeline (the vertical ruler) */
  .timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: white;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
  }
  
  /* Container around content */
  .container-timeline {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
  }
  
  /* The circles on the timeline */
  .container-timeline::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -17px;
    background-color: #c0cfb2;
    border: 4px solid #44624a;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
  }
  
  /* Place the container to the left */
  .left {
    left: 0;
  }
  
  /* Place the container to the right */
  .right {
    left: 50%;
  }
  
  /* Add arrows to the left container (pointing right) */
  .left::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid white;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent white;
  }
  
  /* Add arrows to the right container (pointing left) */
  .right::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
  }
  
  /* Fix the circle for containers on the right side */
  .right::after {
    left: -16px;
  }
  
  /* The actual content */
  .content {
    padding: 20px 30px;
    background-color: white;
    position: relative;
    border-radius: 6px;
    text-align: center;
    font-size: 14px;
  }








/*HEALTH BENEFITS PAGE STYLES*/
.container-health {
    position: relative;
    /* width: 50%; */
  }
  
  .image {
    opacity: 1;
    display: block;
    width: 200px;
    height: 200px;
    object-fit: cover;
    transition: .5s ease;
    backface-visibility: hidden;
    padding: 5%;
  }
  
  .middle {
    transition: .5s ease;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
  }
  
  .container-health:hover .image {
    opacity: 0.3;
  }
  
  .container-health:hover .middle {
    opacity: 1;
  }
  
  .text {
    background-color: #c0cfb2;
    color: white;
    font-size: 14px;
    padding: 16px 32px;
  }




/*HOW TO MAKE MATCHA PAGE STYLES*/
.container-how {
  background-color: #c0cfb2;
  margin: auto;
  padding: 5px;
}

.left-box{
  display: flex;
  justify-content: center;
  max-width: 100%;
  height: auto;
}

.iced-matcha-pic, .hot-matcha-pic {
  width: 200px;
  height: 200px;
  object-fit: cover;
}

.right-box{
  text-align: center;
  padding: 5%;
  margin: 0;
}

.headline{
  font-size: 2.5em;
}

h3{
  font-size:1em;
  color: #44624a;
  text-align: left;
}

.box-one, .box-two, .box-three{
  padding: 5%;
  margin: 5px 10px;
}

.step-videos {
  display: flex;
  justify-content: center; 
  gap: 15px; 
  flex-wrap: wrap; 
  padding: 20px;
}

.how-to-video {
  width: 45%;
  max-width: 500px;
  border-radius: 10px; 
  object-fit: cover;
}





@media screen and (min-width:1081px){
    /*Hide the mobile nav once the screen is 1081 pixels wide*/
    .mobile-nav{
        display:none;
    }
    /*Show the desktop nav*/
    .desktop-nav{
        display:flex;
        justify-content: space-evenly;
        align-items: center;
    }

    .menu-item{
        color: #8ba888;
    }
    
    .back-video{
        width: auto;
        height: 100%;
    }

    .health-container{
        display: flex;
        flex-wrap: wrap;
        justify-content: space-evenly;
        align-items: center;
    }

    .container-health{
        width: 45%;
        margin: 2.5%;
        text-align: center;
    }

    .image {
        opacity: 1;
        width: 400px;
        height: 400px;
        object-fit: cover;
        transition: .5s ease;
        backface-visibility: hidden;
        padding: 5%;
      }
      
    .container-how{
      display: flex;
      justify-content: center;

    }

    .right-box{
      text-align: center;
      margin: 0 auto;
      padding-left: 20px; 
      max-width: 600px;
    }

    .iced-matcha-pic, .hot-matcha-pic {
      width: 350px;
      height: 350px;
      object-fit: cover;
    }

    .box-one, .box-two, .box-three{
      padding: 5%;
      margin: 5px 10px;
      text-align: center;
    }

    ul, ol {
      text-align: left;
      margin: 0 auto;
      padding-left: 60px; 
      max-width: 600px;
  }

    .how-to-video {
      width: 45%;
      max-width: 250px;
      border-radius: 10px; 
      object-fit: cover;
    }

    h3{
      font-size:1em;
      color: #44624a;
      text-align: center;
    }
      
  }
  

