html, body {
    margin: 0px;
    padding: 0px;   
}

  
body {
    font-family: "Merriweather", sans-serif;
    background-color: #f4feff;
}

/* header */ 

.header{
  margin: 0;
  height: 100px;
  background-color: #30b1e0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 45px;
  padding-left: 0;
}

.header-title {
 margin: 0;
 padding: 0;
 display: flex;
 justify-content: space-between;
 color: white;
}

.header-title img {
  height: 85px;
  padding: 10px;
}

.header-title h1{
  padding: 10px;
}

.nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: space-between;
}

.nav li {
  margin-left: 25px;
  font-size: 25px;
  padding: 10px;
}

.nav a {
    color: white;
    text-decoration: none;
    display: block;
}

.nav a:hover{
    color: #daedff;
    transform: scale(0.9,0.9);
    transition: all 0.3s;
}

/* end of header */

/* start of first chunk */

.wrapper {
    background-color: #d9f2ff;
    margin: 0;
    display: grid;
    grid-template-columns: 47% 53%;
    padding: 10px;
    height: 50%;
    min-height: 600px;
    min-width: 600px;
  }

  .main{
    padding-top: 20px;
  }

  .main-inner {
    margin: 10px;
    text-align: left;
    line-height: 1.5;
    padding: 10px;
    max-width: 800px; 
    margin-right: 70px; 
  }
  
  .main-inner p {
    margin-bottom: 40px;
  }

  .main img {
    width: 500px; 
    margin-left: 20px;  
  }
  
  .main h1{
    font-weight: normal;
    font-size: 3rem;
    margin: 0;
  }
  
  .main p{
    font-size: 1.4rem;
    line-height: 1.7;
  }
  
  
  .button {
    background-color: #30b1e0;
    color: white;
    text-decoration: none;
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 1.3rem;
    display: inline-block;
  }
  
  .button:hover{
    color: #daedff;
  }

  .ribbon-wrapper {
    margin: 10px;
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-content: center;
    font-size: 45px;
    font-family: 'Merriweather';
  }


/* end of first chunk */

/*****************************/

/* start of first chunk */

.title {
  display: flex;
  flex-direction: row;
}
  .banner-left {
    background: #c2e5f8;
    color: black;
    padding: 20px;
    padding-left: 50px;
    font-size: 45px;
    text-align: center;
    position: relative;
    margin-left: -50px;
    margin-top: 50px;
    width: 600px;
  }
  
  .banner-left:after {
    content: "";
    width: 0;
    height: 0;
    border-top: 50px solid transparent;
    border-bottom: 46px solid transparent;
    border-right: 40px solid #f4feff;
    position: absolute;
    right: 0;
    top: 0;
    
  }

  .dot {
    height: 30px;
    width: 30px;
    margin-top: 80px;
    margin-left: 50px;
    background-color: #4BC8F4;
    border-radius: 50%;
    display: inline-block;
  }

 
.main2-inner {
    margin: 0 50px;
    margin: 20px;
    margin-bottom: 40px;
  }
  
  .main2-inner img {
    width: 600px;
    margin-top: 20px;
    border: 3px dotted gray;
    margin-right: 0px;
  }

  .main2-inner .item a {
    font-weight: bold;
  }

  .main2-inner .item a:hover {
    color: #4BC8F4;
  }
  .main2-inner .video {
    display: flex;
    flex-direction: column;
  }

  .video .text {
    align-self: center;
    text-align: center;
  }
  .video  iframe {
    width: 700px;
    height: 500px;
    margin-bottom: 20px;
    align-self: center;
}

  .main2-inner a {
    text-decoration: none;
    color: black;
  }
  
  .main2-inner a:hover {
    color: darkgray;
  }
  
  
  .main2-inner h1 {
    font-size: 30px;
    margin: 10px;
  }

  .main2-inner .item{
    margin: 15px;
    display: flex;
    flex-direction: right;
    align-content: center;
  }

  .main2-inner p {
    line-height: 2;
    font-size: 22px;
    padding: 10px 25px;
  }

  .main2-inner img {
    margin: 0;
    padding: 0;
  }

  .line {
    display: block;
    margin: 30px;
    margin-left: auto;
    margin-right: auto;
    background-color: #4BC8F4;
    height: 2px;
    width: 500px;
    border-radius: 15px;
  }

  /* end of second chunk */

  /**************************/

  /* start of 'our mentors' section */

  /* featured mentors */

.ribbon2 {
    padding: 15px;
    height: 50px;
    background: #c2e5f8;
    clip-path: polygon(100% 0, 95% 50%, 100% 100%, 0% 100%, 5% 50%, 0% 0%);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 700px;
    font-size: 40px;
  }
  
  .mentors {
    padding: 60px 45px;
    background-color: #f4feff;
  }


  .mentors-title {
      display: flex;
      justify-content: center;
      align-content: center;
      margin-top: -50px;
      font-size: 45px;
      font-family: 'Merriweather'; 
  }

  .dot2 {
    height: 30px;
    width: 30px;
    margin: 0px 20px;
    margin-top: 70px;
    background-color: #4BC8F4;
    border-radius: 50%;
    display: inline-block;
  }

  .mentors-inner {
    max-width: 1500px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  }

  .mentors-item {
    padding: 10px 27px;
    margin: 0;
  }
   
  .mentors-item {
    text-align: center;
    padding: 10px 27px;
    margin: 0;
  }
   
  .mentors-item p {
    line-height: 1.5;
    text-align: left;
    text-indent: 30px;
    color: #575151;
  }

  .landscape {
    display: inline-block;
    position: relative;
    width: 300px;
    height: 300px;
    overflow: hidden;
    border-radius: 50%;
  }
  
  .portrait{
    display: inline-block;
    position: relative;
    width: 300px;
    height: 300px;
    overflow: hidden;
    border-radius: 50%;  
  }
  
  .portrait img {
    width: 100%;
    height: auto;
  }
  
  .landscape img {
    width: auto;
    height: 100%;
  }
  
  /* end of 'our mentors' section */
  /**********************************************/


/* main3 title section */
.main3-title h1{
    text-align: center;
    font-size: 40px;
    padding: 30px;
    margin-bottom: 0%;
    border-top: 10px dotted #4BC8F4;
}

.main3-title {
  margin-top: 50px;
}

/* main3 */

.main3 {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-content: center;  
  }

  .main3, .main3-title {
    background-color: white;
  }

  .main3-item {
    margin: 20px;
    background-color: #d9f2ff;
    height: 650px;
    width: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
  }

  .main3 img{
    width: 400px;
    height: 300px;
  }

  .main3 p {
    padding: 20px;
    line-height: 1.5;
  }
/* end of main3 */
/*************************/

/* footer */

.footer{
    background-color: #4BC8F4;
    padding: 10px;
    margin: 0;
    margin-top: 10px;
    overflow: auto;
  
  }
  
  .footer-items {
    display: flex;
    justify-content: left;
    color: white;
    margin-left: 10px;
    
  }
  
  .footer-items a {
    padding: 30px;
    color: white;
    text-decoration: none;

  }
  
  
  .footer-items a:hover{
    color: #6a6e75;
    transform: scale(0.9,0.9);
    transition: all 0.3s;
  }

  /* end of footer */

  /* some carousel stuff */
  .carousel-wrapper{
    position: relative;
    height:400px;
    width: 700px;
    margin-top: 20px;
    margin-bottom: 10px;
    border: #78A2CC solid 3px;
  }

  .carousel-item{
    position:absolute;
    top:0;
    bottom:0;
    left:0;
    right:0;
    padding:25px 50px;
    opacity:0;
    transition: all 0.5s ease-in-out;
  }

  .carousel-item p {
    width: 683.5px;
    text-align: center;
    margin-left: -52px;
    margin-top: 334px;
    color: rgb(92, 92, 92);
    background-color: rgba(255, 255, 255, 0.9);
    padding: 10px;
    font-style: italic;
    font-size: 18px;
  }

  .arrow{
    border: solid #78A2CC;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 12px;
  }
  
  .arrow-prev{
    left:-30px;
    position:absolute;
    top:50%;
    transform:translateY(-50%) rotate(135deg);
  }
   
  .arrow-next{
    right:-30px;
    position:absolute;
    top:50%;
    transform:translateY(-50%) rotate(-45deg);
    }
  
  .light{
    color:white;
  }
  
  @media (max-width: 480px) {
        .arrow, .light .arrow {
          background-size: 10px;
          background-position: 10px 50%;
        }
      }
  
  
  /* Select every element */
  [id^="item"] {
      display: none;
    }
  
  .item-1 {
    z-index: 2;
    opacity: 1;
    background:url('../jpg/nepal_children.jpg');
    background-size:cover;
    }

  .item-2{
    background:url('../jpg/sl-class.jpg');
    background-size:cover;
     
  }

  .item-3{
    background:url('../jpg/turkey-class.jpg');
     background-size:cover;
  }


  *:target ~ .item-1 {
      opacity: 0;
    }
  
  #item-1:target ~ .item-1 {
      opacity: 1;
    }
  
  #item-2:target ~ .item-2, #item-3:target ~ .item-3 {
      z-index: 3;
      opacity: 1;
    }

  /* end of carousel stuff */
