
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body{
    background-color: white;
    color: grey;
}
.header{
    width: 100%;
    height: 150px;
    background-color: rgb(255, 165, 20);
    transition: 0.8s ease-in;
}
html{
    scroll-behavior: smooth;
    overflow: scroll;
}
.Main p,.header img, h1{
    padding-inline: 3%;
} 
/* @media */
.nav{
    float: right;
    top: 10px;
    margin-right: 20px;
    position: sticky;
    top: 0;
}
.nav ul li{
    display: inline-block;
    margin-left: 25px;
    margin-right: 25px;
    position: relative;
}
.nav ul li a{
    font-family: Tahoma;
    font-weight: 600;
    font-size: 18px;
    color: white;
    text-decoration: none;
    transition: 0.3s ease-in-out;
}
/* end */
/* Off-canvas menu styles */
.menu-toggle {
  position: relative;
  margin-top: -40px;
  margin-left: 30px;
  top: 100px;
  right: 20px;
  float: left;
  z-index: 1201;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
}
.menu-toggle span {
  display: block;
  height: 3px;
  width: 60%;
  background: dodgerblue;
  border-radius: 2px;
  transition: 0.3s;
}
.offcanvas-menu {
  position: fixed;
  top: 0;
  left: -260px;
  width: 240px;
  height: 100%;
  background: #fff;
  box-shadow: 2px 0 12px rgba(0,0,0,0.15);
  z-index: 1202;
  transition: left 0.3s cubic-bezier(.22,1,.36,1);
  padding: 0 0 2rem 0;
  overflow-y: auto;
}

.offcanvas-menu.open {
  left: 0;
}
.menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid #eee;
}
.offcanvas-menu ul {
  list-style: none;
  padding: 1rem;
  margin: 0;
  margin-left: 45px;
}
.offcanvas-menu ul li {
  margin-bottom: 2.2rem;
}
.offcanvas-menu ul li a {
  color: #046acf;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  transition: color 0.2s;
}
.offcanvas-menu ul li a:hover {
  color: #fff;
  background: #046acf;
  padding: 0.3em 0.8em;
  border-radius: 4px;box-shadow: 0 2px 4px rgba(0,0,0,0.1);

}
#menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #ffa514;
  cursor: pointer;
  line-height: 1;
}
.menu-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.2);
  z-index: 1200;
  opacity: 0;
  pointer-events: none;}
/* @media */
.nav{
    float: right;
    top: 10px;
    margin-right: 20px;
    position: sticky;
    top: 0;
    transition: opacity 0.3s;
}
.nav ul li{
    display: inline-block;
    margin-left: 25px;
    margin-right: 25px;
    position: relative;
}
.nav ul li a{
    font-family: Tahoma;
    font-weight: 600;
    font-size: 18px;
    color: white;
    text-decoration: none;
    transition: 0.3s ease-in-out;
    
}

.menu-backdrop.open {
  opacity: 1;
  pointer-events: all;
}
@media (max-width: 600px) {
  .offcanvas-menu {
    /* width: 80vw; */
    min-width: 180px;
    max-width: 320px;
  }
}
body{
    overflow: hidden;
    scroll-behavior: smooth;
}
.Logo{
    width: auto;
    height: 100px;
}
.Logo img{
    width: 600px;
    height: 140px;
    margin: 0;
}
 marquee{
    background-color: rgb(25, 125, 225);
    color: white;
    padding: 10px;
    font-size: 27px;
    font-weight: 400;
    position: static;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;

}
.container{
    width: 100%;
    min-height: 500px;
    font-family: Arial;
    font-size: 25px;
    font-weight: 500;
    color: rgb(233, 233, 233);
    text-align: center;
    background: /*linear-gradient(to top, rgba(0,0,0,0.5)50%, rgba(f,f,f,f)50%),*/url(flower\ bouquets.jpg); 
    background-size: cover;
    background-position: center;
    letter-spacing: 2px;
}
/* ...existing code... */
.scroll-animate {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}
.container h1{
    padding-top: 200px;
}
.content p{
    font-size: 15px;
    line-height: 42px;
    justify-content: center;
    margin-left: 80px;
    margin-right: 80px;
}
.content img{
    width: 80%;
    height: auto;
    margin-inline: 20px;
    border-radius: 12px;
}
/* .content #pr{
    
} */
.container2 img{
    width: 900px;
    height: 600px;
    float: right;
    padding-right: 80px;

}
/* inserted */
#myImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
  }
  
  /* The Modal (background) */
  .modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    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.9); /* Black w/ opacity */   
  }
  
  /* Modal Content (image) */
  .modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;   
  }
  
  /* Caption of Modal Image */
  #caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
  }
  
  /* Add Animation */
  .modal-content, #caption {  
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
  }
  
  @-webkit-keyframes zoom {
    from {-webkit-transform:scale(0)} 
    to {-webkit-transform:scale(1)}
  }
  
  @keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
  }
  
  /* The Close Button */
  .close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
  }
  
  .close:hover,
  .close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
  }
  
  /* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
    .modal-content {
        width: 100%;
    }
}
@media only screen and (min-width: 700px){
    .modal-content {
        width: 100%;
        height: auto;
        
    }
}
  /* inserted */
.container2 h2{
    font-family: Arial;
    font-size: 37px; 
    font-weight: 500;
    padding-left: 30px;
    color: rgb(255, 187, 16);
}
.container2 ul{
    font-size: 15px;
    line-height: 42px;
    justify-content: center;
    margin-left: 80px;
    margin-right: 80px;
    list-style: decimal-leading-zero;
}
/* inserted */
.Gallery{
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: auto;

    @media (width >= 550px){
        grid-template-columns: repeat(2, 1fr);
    }
    @media (width >= 900px){
        grid-template-columns: repeat(3, 1fr);
    }
    @media (width >= 1000px){
        grid-template-columns: repeat(4, 1fr);
    }
}
.Gallery{
    padding: 30px;
}
div.gallery {
    margin: 5px;
    width: 270px;
    border-radius: 18px;
    transition: 0.4s ease-in;
} 
div.gallery img {
    width: 100%;
    height: auto;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
}
  
div.desc {
    padding: 15px;
    text-align: center;
    background-color: rgb(255, 187, 13);
    color: rgb(245, 245, 245);
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
    transition: 0.4s ease-in;
}
 /* inserted */

/* Page styles */
.slide a svg{
    height: 20px;
    width: 20px;
    margin-right: 3px;
    margin-bottom: 0;
}
footer{
    background-color: rgb(255, 165, 20);
    color: rgb(2, 2, 95);
    font-family: Arial;
    font-size: 18px;
    padding: 45px;
    text-align: center;
    justify-content: center;
}

@media only screen and (max-width: 600px){
    marquee{
        font-size: 15px;
        padding: 7px;
    }
    .slide{
        width: 160px;
    }    
    body{
        background-color: #e4e3e3;
    }
    .Logo img{
        width: 100%;
        height: auto;
    }
    .header{
        width: 100%;
        height: auto;
    }
    footer{
        font-size: 12px;
    }
    footer img{
        width: 60px;
        height: auto;
        float: left;
    }
    .container{
        font-size: 25px;
    }
    .container h1{
        padding-top: 250px;
    }
    .content p{
        font-size: 14px;
        line-height: 30px;
        padding-inline: 20px;
        margin: 0;   
    }
    .content img{
        width: 90%;
        height: auto;
        margin-inline: 20px;

    }
    .container2 img{
        width: 100%;
        height: auto;
        padding-inline: 20px;
        float: none;
    }
    .container2 h2{
        font-size: 23px; 
        padding-left: 20px;
    }
    .container2 ul{

        font-size: 12px;
        line-height: 29px;
    }
    div.gallery{
        width: 80%;
        height: auto;
        margin-inline: 30px;
    }
    body{
        background-color: white;
        color: rgb(8, 8, 8);
    }
    div.desc {
        background-color: rgb(255, 187, 13);
        color: rgb(245, 245, 245);
        border-bottom-left-radius: 18px;
        border-bottom-right-radius: 18px;

    }
    .nav{
        display: none;
        visibility: hidden;
    }
}
@media(width >=1020px){
    label{
        visibility: hidden;
    }
    .nav{
        visibility: visible;
    }
    .container2 img:hover{
        animation: shake 0.5s;
        animation-iteration-count: infinite;
    }
    @keyframes shake {
        50% { transform: translate(-5px, 5px) rotate(-3deg); }
      }
}
@media(width <= 1020px){
    .nav{
        display: none;
    }
}  
