* {
  margin: 0;
  padding: 0;
  text-decoration: none;
  font-family: "Roboto";
}

body {
  background: linear-gradient(1000deg, #005f99, #00a8e8, #89cff0);
  color: #fdfdfd;
}
/* Navar arc 1 */
.Navar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 7%;
  background: linear-gradient(90deg, #003b73, #4ba3c7);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
}

.Navar .Navlogo {
  display: flex;
  align-items: center;
}

.Navar .Navlogo img {
  height: 45px;
  width: 45px;
  border-radius: 50%;
}

.Navar .Navmenu a {
  color: #fff;
  margin: 0px 1rem;
  font-weight: bold;
  font-size: 1.2rem;
}

.Navar .Navicon {
  display: inline-block;
  font-size: 1.2rem;
}

.Navar .Navicon i {
  cursor: pointer;
  margin: 0px 0.3rem;
}
/* Navar final arc */

/* jumbotron arc 1 */
.header {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  position: relative;
}

.header video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #4ba3c7;
  opacity: 0.3;
  z-index: 1;
}

.jumbotron {
  font-size: 2.3rem;
  text-align: center;
  z-index: 100;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.jumbotron h1 {
  color: aquamarine;
}

.jumbotron a {
  color: #005f99;
  background-color: #89cff0;
  text-shadow: none;
  font-weight: bold;
  margin: 10px;
  padding: 5px;
  border-radius: 5px;
}

/* Jumbotron final arc */

#hamburger-menu {
  display: none;
}

.about, 
.menu,
.e-book,
.contact{
  padding: 5rem 7% 1.5rem;
  box-sizing: border-box;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.about h1,
.menu h1,
.e-book h1,
.contact h1 {
  text-align: center;
  font-size: 2.6rem;
  margin-bottom: 2.2rem;
}

.about_row {
  width: 100%;
  display: flex;
  box-sizing: border-box;
}

.about_row .about_row_img,
.about_row .about_row_content {
  width: 50%;
}

.about_row .about_row_img img {
  width: 100%;
}

.about_row .about_row_content {
  padding: 0 0 0 2rem;
}

.about_row .about_row_content h3 {
  text-align: justify;
  margin-bottom: 1.2rem;
  font-size: 1.7rem;
  text-transform: capitalize;
}

.about_row .about_row_content p {
  margin-bottom: 1rem;
  text-align: justify;
  font-size: 1.2rem;
  line-height: 1.2;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.about_row .about_row_content b {
  color: #ff5f1f;
}

/* style menu course(makanan) */

.menu p,
.e-book p,
.contact p{
  width: 30rem;
  text-align: center;
  margin: -2rem auto 50px;
  line-height: 1.5;
  color: rgb(255, 255, 255);
}

.menu .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 0 30px;
}

.menu .row-item {
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: 200px;
  height: 280px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.menu .row-item .row-img {
  height: 70%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu .row-img img {
  width: 80%;
  height: 70%;
}

.menu .name-item {
  width: 100%;
  height: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  color: black;
  font-weight: bold;
  text-transform: uppercase;
}
.menu .row-text {
  height: 30%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.menu .row-text a {
  background-color: #f5cb62;
  color: #000000;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 20px;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 10px;
}

.e-book .row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.e-book .e-book-cart {
  text-align: center;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  text-shadow: 1px 1px 1px 2px #003b73;
  border-radius: 5%;
}

.e-book .e-book-cart .e-book-icons  {
  display: flex;
  justify-content: center;
  gap:  1rem;
}

.e-book-icons i {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.e-book-cart .images-book img {
  height: 15rem;
  border-radius: 5%;
  object-fit: cover;
} 

.e-book-content h3 {
  font-size: 1.5rem;
}

.book-price {
  font-weight: bold;
}

.potong {
  text-decoration: line-through;
  color: darkolivegreen;
}

/* Section contact */

.contact .row{
  width: 100%;
  background-color: #00a8e8;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  text-shadow: 1px 1px  1px 2px #003b73;
  margin-top: -20px;
  display: flex;
  margin-bottom: 1rem;
}

.contact .row .map{
  object-fit: cover;
  flex: 1 1 45rem;
}

.contact .row form {
  flex: 1 1 45rem;
  padding: 20px 20px;
}

.contact .row form .input-name {
  display: flex;
  align-items: center;
  margin-top: 2rem;
  height: 3rem;
  background-color: white;
}

.contact .row form .input-name i {
  font-size: 1.8rem;
  margin-left: 2rem;
  color: #005f99;
}

.contact .row form .input-name input{
  outline: none;
  padding: 1.2rem;
  font-size: 1.7rem;
  width: 100%;
  text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.8);
  background: none;
  border: none;
}

.contact .row form button{
  margin-top: 2rem;
  width: 50%;
  margin-left: 25%;
  padding: 0.6rem 0;
  font-size: 1.3rem;
  box-sizing: border-box;
  text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.8);
}

footer {
  background-color: #005f99;
  text-align: center;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

footer .social-media {
  padding: 1rem 0;
}

footer .social-media a {
  color: #fff;
  margin: 1rem;
  font-size: 1.2rem;
}

footer .links {
  padding: 0 0 0.5rem 0;
}

footer .links a {
  margin: 0 0.3rem;
  color: #fff;
}

footer .creadit a{
  padding: 1rem 0;
  color: #f5cb62;
}

footer a:hover {
  color: chartreuse;
}

footer .social-media a i {
  transition: 0.6s;
}

footer .social-media a:hover i {
  transform: rotate(360dg) scale(1.2);
}

/* Search form start */

.icons-search {
  position: absolute;
  width: 30rem;
  top: 100%;
  right: 7%;
  background-color: #fff;
  display: flex;
  align-items: center;
  padding: 10px;
  transform: scaleY(0);
  transform-origin: top;
  transition: 0.4s;
}

.Navar .icons-search.active2 {
  transform: scaleY(1);
}

.icons-search i {
  color: #4c1fff;
}

.icons-search input{
  width: 100%;
  height: 100%;
  margin-left: 5px;
  border: none;
  outline: none;
  font-size: 1.2rem;
}

.icons-search label {
  margin: 0 5px;
  cursor: pointer;
}

/* Modal */

.model {
  position: fixed;
  z-index: 999;
  left: 0;
  top: -100;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
  color: #000000;
  transition: 0.3s;
}

.model.active4 {
  top: 0;
}

.modal-container {
  position: relative;
  background-color: white;
  margin: 15% auto;
  padding: 1.2rem;
  border: 3px solid gold;
}

.modal-container .close-icon {
  position: absolute;
  right: 1rem;
  font-size: 1.6rem;
}

.modal-content {
  display: flex;
}

.modal-content img{
  height: 12rem;
  margin: 0 2rem 2rem 0;
}

.modal-content p {
  font-size: 1.2rem;
  line-height: 1.2;
  margin-top: 1.2rem;
}

.modal-content a{
  display: flex;
  gap: 1rem;
  width: 8rem;
  border: 1px solid;
  background-color: #daa520;
  color: #fff;
  margin-top: 1rem;
  padding: 1rem 1.6rem;
}

.shopping-cart {
  position: absolute;
  top: 100%;
  right: -100%;
  width: 28rem;
  height: 100vh;
  background-color: white;
  color: #000000;
  padding: 0 1.5rem;
  transition: 0.3s;
}

.shopping-cart .cart-item {
  margin: 2rem 0;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: dashed 1px #daa520;
  position: relative;
}

.shopping-cart .cart-item img {
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  object-fit: cover;
}

.shopping-cart .cart-item .item-detail h3 {
  font-size: 1.5rem;
  padding-bottom: 0.5rem;
}

.shopping-cart .item-price {
  font-size: 1.2rem;
}

.shopping-cart .remove-item {
  position: absolute;
  right: 0.4rem;
}

.shopping-cart .remove-item i{
  color: #005f99;
  cursor: pointer;
  font-size: 1.2rem;
}

.shopping-cart .remove-item i:hover {
  color: #daa520;
}

.shopping-cart.active3 {
  right: 0;
}

/* tablet */
@media (max-width: 768px) {
  .header .jumbotron h1 {
    font-size: 3rem;
  }

  html {
    font-size: 76%;
  }

  .about .about_row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }

  .about .about_row .about_row_img,
  .about .about_row .about_row_content {
    width: 100%;
    padding: 0;
  }

  .about .about_row .about_row_content h3 {
    margin: 2rem 1rem;
  }

  .contact .row {
    display: flex;
    flex-wrap: wrap;
  }

  .contact .row .map{
    height: 30rem;
  }
}

/* Hp */
@media (max-width: 555px) {
  html {
    font-size: 65%;
  }

  #hamburger-menu {
    display: inline-block;
  }

  .Navar .Navmenu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -100%;
    width: 20rem;
    height: 100vh;
    background: linear-gradient(90deg, #003b73, #4ba3c7);
    transition: 0.5s;
    padding-top: 6rem;
    z-index: 999;
  }

  .Navar .Navmenu.active {
    right: 0;
  }

  .Navar .Navmenu a {
    display: block;
    margin: 2rem;
    font-size: 1.6rem;
  }

  .Navar .Navicon {
    font-size: 1.6rem;
  }
}

html {
  scroll-behavior: smooth;
}