:root{
    --navbar-height: 59px;
}

/* Navigation Bar */
#navbar{
    display: flex;
    align-items: center;
    position: sticky;
    top: 0px;
}

#navbar::before{
    content: "";
   
    position: absolute;
    top:0px;
    left:0px;
    height: 100%;
    width:100%;
    z-index: -1;
    opacity: 0.7;
}

/* Navigation Bar: Logo and Image */
#logo{
    margin: 10px 34px;
}

#logo img{
    height: 59px;
    margin: 3px 6px;
}


 /*Navigation Bar: List Styling*/

#navbar ul{
    display: flex;
    /* font-family: 'Baloo Bhai', cursive; */
  
}

#navbar ul li{ 
    list-style: none;
    font-size: 1.5rem;
}

#navbar ul li a{
    color: white;
    display: block;
    padding: 3px 22px;
    border-radius: 20px;
    text-decoration: none;
}

#navbar ul li a:hover{
    color: black;
    background-color: rgb(129, 129, 129);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);

}

/* MOBILE */
.btn-mobile-nav {
  border: none;
  background: none;
  cursor: pointer;

  display: none;
}

.icon-mobile-nav {
  height: 4.8rem;
  width: 4.8rem;
  color: #333;
}

.icon-mobile-nav[name="close-outline"] {
  display: none;
}

.top {
    font-family: "bell melt", cursive;
    /* text-align: center; */
    display:grid;
    grid-template-columns: 1fr 1fr;
    line-height: 2;
   font-size : 1.5rem;
    background-color: rgb(151 103 139);
    padding:2rem;
    position: relative;
     }
.left{
      padding:1rem;
     
     }
.left-head{
  font-size: 2.5rem;

  margin-top:7.2rem;

}
.left-text{
  font-size: 1.5rem;
  line-height: 2rem;
  position:absolute;
  background-color:rgb(151 103 139) ;
  width:90%;
  top:15rem;
  left:7rem;
  right:2rem;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
padding:1em;

}
.right img{
    width:35rem;
  margin-top:4rem;
  margin-left:5rem;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

body {
   
    box-sizing: border-box;
    background-color:   rgb(219 176 193);
    color: aliceblue;
    font-family: "Merriweather", serif;
    width: 100%;
height: 100%;
padding: 0px;
margin: 0px;
overflow-x: hidden;
  }
  h2{
    font-size:3rem;
    margin-top:4em;
  }
  hr {
    border:rgb(219 176 193);
    border-bottom: none;
    width: 4%;
    margin: 65px auto;
  }
/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  color:black;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
  .topnav {
    background-color:   rgb(219 176 193);
    overflow: hidden;
    position: relative;
  }
  
  .topnav a {
    float: right;
    margin-right: 2rem;

    text-align: center;
    padding: 16px 18px;
    text-decoration: none;
    font-size: 17px;
  }
  
  .topnav a:hover {
    background-color: #a57690;
    color: black;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);

  }
  
  .topnav a.active {
    background-color: #04aa6d;
    color: white;
  }
  
  .middle {
    background-color: rgb(231, 133, 187);
  }
 .mimg{
    height:300px;
    width: 300px;
    
    padding:3rem;

 }
 .mtxt{
    line-height: 1rem;
    font-size: 18px;
    padding-bottom: 2rem;
 }
  .grid-container {

    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
   
    gap: 2rem;
    margin: 0 4rem 5rem 4rem;
  }
  
  .grid-item {
    text-align: center;
    font-size: 52px ;
    border-radius: 1rem;
width:auto;
    justify-content: center;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    padding:1rem;
   
  }
  .itemlast{
    position:absolute;
    top:2.5em;
    right:5em;
    background-color:rgb(219 176 193);
    color: white;
    border-radius: 6px;
   
    padding: 1rem;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);

  }
  
  * {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin:auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}
.simg{
  height:500px;
  object-fit:cover ;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: white;
  border-radius: 50%;
  display: inline-block;
  transition: grey 0.6s ease;
}

.active, .dot:hover {
  background-color: black;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}
  /* .grid-item img {
    width: 60%;
    margin: 7rem 7rem 2rem 7rem;
    align-items: center;
  } */
  
  .bottom {
    text-align: center;
  }
  .btn {
    color: black;
    border-radius: 6px;
    background-color:white;
    padding: 1rem;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);

  }
.blog-list{
  display:flex;
  flex-direction:column;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
width:300px;
height:300px;
border-radius: 0.5em;
overflow:hidden;
padding:1em;
background-color:rgb(151 103 139);
}
.blog{
  display:flex;
  flex-direction: column;
gap:2em;
padding:4em;
background-color:rgb(151 103 139);
margin:0 auto;
align-items:center;
}
.list-container{
  display:flex;
gap:2em;
padding-left:0px;
margin:0 auto;
flex-wrap: wrap;
align-self:center;
}
.blog-text{
  margin:0 auto;
  text-align: justify;
  line-height: 2em;
  padding:0 6.7rem;
}
.blogB{
  padding:0.4rem;
  border-radius: 6px;
  background-color: aliceblue;
  width:4rem;
}
.blog h3{
  color:black;
}
  .footer {
    background-color: rgb(37, 36, 36);
    padding: 50px 0 20px;
    text-align: center;
  }
  
  /* Login Page */
  .login{
background-color: rgb(219 176 193);
  }
  
  .topl{
    /* font-family: "bell melt", cursive; */
    text-align: center;
    line-height: 2;
    font-size: 2.5rem;
    background-color: rgb(151 103 139);
  }
  
  .input {
    text-align: center;
    background-color:rgb(151 103 139);
    padding:2rem;
    border-radius: 1rem;
    width:400px;
    margin:0 auto;
    display:flex;
    flex-direction: column;
    gap:1rem;
  }
  input[type="email"],
  select {
    width: 80%;
    padding: 12px 20px;
  
    display: inline-block;
    border: 1px solid rgb(151 103 139);
    border-radius: 6px;
    box-sizing: border-box;
  }
  input[type="password"],
  select {
    width: 80%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
  }
  input[type="text"],
  select {
    width: 80%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
  }
  
  input[type="submit"] {
    width: 50%;
    background-color: #4caf50;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    border-radius: 15px;
    cursor: pointer;
  }
  
  input[type="submit"]:hover {
    background-color: #45a049;
  }
  
  /*catalogue*/
  .body{
    background-color: rgb(219 176 193);
  }
  .container{
    display: grid;
    grid-row:1;
    margin:2rem;
    padding: 3rem;
    margin-top: 0rem;
    font-size: 1.5rem;
    justify-content: center;
    align-content: center;
  }

  .right ul{
    width:20rem;
  }
  .items {
    float: left;
    display: flex;
    justify-content:space-around;
    border: #f2f2f2 2px solid;
    color:black;

        /* border: 2px solid grey; */
        border-radius: 1rem;
        margin:2rem;
        padding: 3rem;
        width:50rem;
        animation-name: show;
  animation-duration: 6s;
  animation-iteration-count:infinite;
  }
  @keyframes show {
    from {background-color:#54305b }
    to {background-color:plum }
  }
  .left img{
    width:300px;
    height:300px;
  justify-self:flex-end ;
   padding:2rem;
   border-radius: 1rem;

    }
  h1{
    background-color:rgb(151 103 139);
padding:1rem 0;
margin:0 auto;
    text-align: center;
    font-weight: 900;
    font-size: 4rem;
  }
  ul {
    list-style:circle;
  }
  li a{
    text-decoration: none;
    color:#54305b;
  }

/* responsive */
@media (max-width: 85em) {
  .right img{
    width:35rem;
    margin-left:0;
  }
  .left h1{
    font-size:2.5rem;
  }
  
}
/* BELOW 1200px */
@media (max-width: 75em) {
  #navbar ul li{ 
     font-size: 0.5rem;
}
.blog-text{
  padding:0;
}
.left-text{
  left:3rem;
}
/* .slideshow-container{
  margin:8rem 8rem;
} */
.top .left{
  width:100%;
}
.top {
  font-size : 1rem;
  grid-template-columns: 1fr;
  text-align: center;
}
.close {
  font-size: 20px;
}
.topnav a{
  font-size: 12px;
}
.mtxt{
  font-size:10px;
}
.grid-item{
  font-size: 48px;
  margin:3rem;
}
.grid-container {
  grid-template-columns: 1fr 1fr;
  justify-content: center;
  text-align: center;

}
.prev, .next {
  font-size: 12px;
}
.text {
  font-size:10px;
}
.number text {
  font-size:8px;
}
.topl
 {
  font-size: 2rem;
}
/* .container{
  font-size: 1rem;
}
.items{
  width:40rem;
  padding: 3rem;
} */
.slideshow-container{
  margin: 0 4rem;
}
/* same for next */
}
/* 944px */
@media (max-width: 59em){

  .main-nav {
    background-color: rgba(255, 255, 255, 0.97);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: translateX(100%);

    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease-in;

    /* Hide navigation */
    /* Allows NO transitions at all */
    /* display: none; */

    /* 1) Hide it visually */
    opacity:1;

    /* 2) Make it unaccessible to mouse and keyboard */
    pointer-events: none;

    /* 3) Hide it from screen readers */
    visibility: hidden;
  }

.btn-mobile-nav{
  display: block;
  color: black;
  position:absolute;
  top:2rem;
  right:3rem;
}
.itemlast{
  display: none;
}
.nav-open .main-nav {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateX(0);
}

.nav-open .icon-mobile-nav[name="close-outline"] {
    display: block;
  }

  .nav-open .icon-mobile-nav[name="menu-outline"] {
    display: none;
  }

.main-nav ul {
    flex-direction: column;
    gap: 4.8rem;
    width:100%;
  }
  .main-nav-link:link,
  .main-nav-link:visited {
    font-size: 3rem;
  }


.close {
 font-size: 15px;
}
.topnav a{
 font-size: 8px;
}
.mtxt{
 font-size:10px;
}
.grid-item{
 font-size:48px;
}
.grid-container {
  grid-template-columns: 1fr ;
  justify-content: center;
  text-align: center;
}
.prev, .next {
 font-size: 8px;
}
.text {
 font-size:10px;
}
.topl
{
 font-size: 1.5rem;
}
.container {
 font-size: 1rem;
}
.items{
 width:38rem;
 padding:3rem;
}
.right{
  padding-left: 1rem;
}
.left img{
  height:15rem;
  width:15rem;
}

}
/* 858px */
@media (max-width: 53em){
  
  html,
body{
width:100%;
overflow-x:hidden;
}
.itemlast{
  top:4em;
}
  .top{
    font-size: 0.8rem;
    background-color: rgb(151 103 139);
  }
  .top h1{
    font-size:2rem;
    }

 
  .right img{
    height:20rem;
    width:auto;
  }
  .simg{
    height:433px;
 
  }
  
}
/* 580px */
@media (max-width: 37em){

.top{
  font-size: 18px;
}
.right img{
  height:17rem;
  width:auto;
}
.text {
  font-size:8px;
 }
.left-text{
  left:1rem;
}
.left-head{
  font-size: 2rem;
  padding:0;
  margin:0;
 
  text-align: center;
}
.right img{
  padding:0;
  width:300px;
  margin:0;
}
.right{
  padding: 0;
  margin: 0;
}
.top{
  padding:1rem;
}
.left{
  padding:0;
  margin:0;
}
.btn-mobile-nav {
  top:3em;
  right:0em;
}
#logo{
  margin:10px;
}
.icon-inner{
  height: 4em;
    width: 4em;
}
}


/* @media(max-width: 37em){

} */
