@import url();

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Finlandica', sans-serif;
}

nav{
  position: fixed;
  z-index: 99;
  width: 100%;
  background: #364652;
}
nav .wrapper{
  position: relative;
  max-width: 1300px;
  padding: 0px 30px;
  height: 70px;
  line-height: 70px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wrapper .logo img{
    height: 100px;
    padding: 5px;
    margin-top: 25px;
    align-items: center;
    justify-content: center;
}
.wrapper .nav-links{
  display: inline-flex;
}
.nav-links li{
  list-style: none;
}
.nav-links li a{
  color: #f2f2f2;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  padding: 9px 15px;
  border-radius: 5px;
  transition: all 0.3s ease;
}
.nav-links li a:hover{
  background: #2a363f;
}
.nav-links .mobile-item{
  display: none;
}

.wrapper .btn{
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: none;
}
.wrapper .btn.close-btn{
  position: absolute;
  right: 30px;
  top: 10px;
}

@media screen and (max-width: 970px) {
  .wrapper .btn{
    display: block;
  }
  .wrapper .nav-links{
    position: fixed;
    height: 100vh;
    width: 100%;
    max-width: 350px;
    top: 0;
    left: -100%;
    background: #364652;
    display: block;
    padding: 50px 10px;
    line-height: 50px;
    overflow-y: auto;
    box-shadow: 0px 15px 15px rgba(0,0,0,0.18);
    transition: all 0.3s ease;
  }
  /* custom scroll bar */
  ::-webkit-scrollbar {
    width: 10px;
  }
  ::-webkit-scrollbar-track {
    background: #364652;
  }
  ::-webkit-scrollbar-thumb {
    background: #364652;
  }
  #menu-btn:checked ~ .nav-links{
    left: 0%;
  }
  #menu-btn:checked ~ .btn.menu-btn{
    display: none;
  }
  #close-btn:checked ~ .btn.menu-btn{
    display: block;
  }
  .nav-links li{
    margin: 15px 10px;
  }
  .nav-links li a{
    padding: 0 20px;
    display: block;
    font-size: 20px;
  }
  .nav-links .drop-menu{
    position: static;
    opacity: 1;
    top: 65px;
    visibility: visible;
    padding-left: 20px;
    width: 100%;
    max-height: 0px;
    overflow: hidden;
    box-shadow: none;
    transition: all 0.3s ease;
  }
  #showDrop:checked ~ .drop-menu,
  #showMega:checked ~ .mega-box{
    max-height: 100%;
  }
  .nav-links .desktop-item{
    display: none;
  }
  .nav-links .mobile-item{
    display: block;
    color: #f2f2f2;
    font-size: 20px;
    font-weight: 500;
    padding-left: 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
  }
  .nav-links .mobile-item:hover{
    background: #3A3B3C;
  }
  .drop-menu li{
    margin: 0;
  }
  .drop-menu li a{
    border-radius: 5px;
    font-size: 18px;
  }

}
nav input{
    display: none;
}

.title-container{
    width: 100%;
    height: 100px;  
    padding-top: 70px;
    align-items: center;
}

.title{
    text-align: center;
    padding: 30px;
    font-size: 28px;
}

.container{
    width: 100%;
    max-height: 100vh;
    padding-top: 40px;
    padding-left: 8%;
    padding-right: 8%;
    overflow: hidden;
}

.row{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 100px 0;
}

.col-1{
    flex-basis: 40%;
    position: relative;
    margin-left: 50px;
}

.col-1 h2{
    font-size: 54px;
}

.col-1 h3{
    font-size: 26px;
    color: #b7b7b7;
    font-weight: 100;
}

.buy-btn{
    width: 120px;
    border: 0;
    margin-top: 15px;
    padding: 12px 10px;
    outline: none;
    cursor: pointer;
    color: #000;
    background:  #f7bdcc;
    border-radius: 20px;
    transition: width 0.5s;
}

.buy-btn a{
    text-decoration: none;
    color: #000;
}

.buy-btn i{
    display: none;
}

.buy-btn:hover i{
    display: block;
} 

.buy-btn:hover{
    width: 130px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 40px;
}

.col-1::after{
    content: '';
    width: 10px;
    height: 57%;
    background: #f7bdcc;
    position: absolute;
    border-radius: 3px;
    left: -40px;
    top: 8px;
}

.col-2{
    position: relative;
    flex-basis: 60%;
    display: flex;
    align-items: center;
}

.col-2 .mug{
    width: 70%;
}

.color-box{
    position: absolute;
    right: 0;
    top: 0;
    background:  #f7bdcc;
    border-radius: 20px 0 0 20px;
    height: 100%;
    width: 90%;
    z-index: -1;
    transform: translateX(150px);
}

.row2{
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    margin: 40px 0;
}

.col-3{
    flex-basis: 40%;
    position: relative;
}

.col-3 h2{
    font-size: 54px;
    margin-right: 20%;
    text-align: right;
}

.col-3 h3{
    font-size: 26px;
    color: #b7b7b7; 
    margin-right: 20%;
    font-weight: 100;
    text-align: right;
}

.buy-btn-2{
    width: 120px;
    border: 0;
    margin-top: 20px;
    padding: 12px 10px;
    margin-left: 55%;
    outline: none;
    cursor: pointer;
    color: #000;
    background:  #BCFFC3;
    border-radius: 20px;
    transition: width 0.5s;
}

.buy-btn-2 a{
    text-decoration: none;
    color: #000;
}

.buy-btn-2 i{
    display: none;
}

.buy-btn-2:hover i{
    display: block;
} 

.buy-btn-2:hover{
    width: 130px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 40px;
}

.col-3::after{
    content: '';
    width: 10px;
    height: 67%;
    background: #BCFFC3;
    position: absolute;
    border-radius: 3px;
    right: 60px;
    top: 8px;
}

.col-4{
    position: relative;
    flex-basis: 60%;
    display: flex;
    align-items: center;
}

.col-4 .bookcover{
    width: 70%;
    margin-left: 20%;
}

.color-box-2{
    position: absolute;
    right: 0;
    top: 0;
    background:  #BCFFC3;
    border-radius: 0 20px 20px 0;
    height: 100%;
    width: 90%;
    z-index: -1;
    transform: translateX(-200px);
}

.row3{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 100px 0;
}

.col-5{
  flex-basis: 40%;
  position: relative;
  margin-left: 50px;
}

.col-5 h2{
  font-size: 54px;
}

.col-5 h3{
  font-size: 26px;
  color: #b7b7b7;
  font-weight: 100;
}

.buy-btn-3{
  width: 120px;
  border: 0;
  margin-top: 15px;
  padding: 12px 10px;
  outline: none;
  cursor: pointer;
  color: #000;
  background:  #E5CDFB;
  border-radius: 20px;
  transition: width 0.5s;
}

.buy-btn-3 a{
  text-decoration: none;
  color: #000;
}

.buy-btn-3 i{
  display: none;
}

.buy-btn-3:hover i{
  display: block;
} 

.buy-btn-3:hover{
  width: 130px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 40px;
}

.col-5::after{
  content: '';
  width: 10px;
  height: 57%;
  background: #E5CDFB;
  position: absolute;
  border-radius: 3px;
  left: -40px;
  top: 8px;
}

.col-6{
  position: relative;
  flex-basis: 60%;
  display: flex;
  align-items: center;
}

.col-6 .mug{
  width: 70%;
}

.color-box-3{
  position: absolute;
  right: 0;
  top: 0;
  background:  #E5CDFB;
  border-radius: 20px 0 0 20px;
  height: 100%;
  width: 90%;
  z-index: -1;
  transform: translateX(150px);
}

.end{
  position: relative;
  width: 100%;
  min-height: 10vh;
  margin-top: 40px;
  display: flex;
  background: #364652;
  align-items: center;
  justify-content: center;
}

.footer-text{
  text-align: center;
  padding: 20px;
  color: #fff;
}

@media only screen and (max-width: 700px){

    .container{
        padding-top: 50px;
    }

    .row{
        flex-direction: column-reverse;
        margin: 50px 0;
    }

    .col-2{
        flex-basis: 100%;
        margin-bottom: 50px;
    }

    .col-2 .mug{
        width: 77%;
    }

    .color-box{
        transform: translateX(75px);
    }

    .col-1{
        flex-basis: 100%;
    }

    .col-1 h2{
        font-size: 35px;
    }

    .col-1 h3{
        font-size: 20px;
    }



    .row2{
        flex-direction: column-reverse;
        margin: 50px 0;
    }

    .col-4{
        flex-basis: 100%;
        margin-bottom: 50px;
    }

    .col-4 .bookcover{
        width: 77%;
    }

    .color-box-2{
        transform: translateX(-130px);
    }

    .col-3{
        flex-basis: 100%;

    }

    .col-3::after{
        margin-right: -50%;
    }

    .col-3 h2{
        font-size: 35px;
        margin-right: -1%;
    }

    .col-3 h3{
        font-size: 20px;
        margin-right: -1.5%;
    }

    .buy-btn-2{
        margin-top: 25px;
        margin-right: 80px;
    }
        .row3{
      flex-direction: column-reverse;
      margin: 50px 0;
  }

  .col-6{
      flex-basis: 100%;
      margin-bottom: 50px;
  }

  .col-6 .mug{
      width: 77%;
  }

  .color-box-3{
      transform: translateX(75px);
  }

  .col-5{
      flex-basis: 100%;
  }

  .col-5 h2{
      font-size: 35px;
  }

  .col-5 h3{
      font-size: 20px;
  }
}

