@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
  text-transform: capitalize;
  font-family: "Poppins", sans-serif;
}
html {
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-padding-top: 9rem;
    scroll-behavior: smooth;
  }
  :root{
    --main-color: #FFC0CB;
    --second-color: #4a4a4a;
    --third-color: #F5F5F5;
    --fourth-color: #2d2d2d;
  }

  .header {
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 7%;
    position: sticky;
    top: 3.7rem;
    z-index: 1000;
    -webkit-box-shadow: 0px 2px 15px 0px rgba(74,74,74,1);
-moz-box-shadow: 0px 2px 15px 0px rgba(74,74,74,1);
box-shadow: 0px 2px 15px 0px rgba(74,74,74,1);
  }
  
  .header .logo img {
    height: 8rem;
    padding: 0.5rem;
    padding-top: 1.5rem;
  }
  
  .insta i:hover{
    color: rgb(245, 124, 209);
    transition: 0.4s ease;
  }

  .facebook i:hover{
    color: #3b5998;
    transition: 0.4s ease;
  }

  .twitter i:hover{
    color: #1DA1F2;
    transition: 0.4s ease;
  }
  
  
  
  .header .navbar a {
    margin: 0 2.5rem;
    font-size: 1.6rem;
    color: var(--second-color);
    border-bottom: 0.1rem solid transparent;
  }
  
  .navbar{
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
  .navbar ul{
    list-style: none;
    display: flex;
  }
  .navbar ul li{
    padding: 1rem 1rem;
    position: relative;
    
  }
  .navbar ul li a{
    color: var(--second-color);
    text-decoration: none;
    font-size: 2rem;
  }
  
  .underline-animation {
    display: inline-block;
    position: relative;
  }
  
  .underline-animation::after {
    content: "";
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 0.2rem;
    bottom: 0;
    left: 0;
    background-color: var(--second-color);
    transition: transform 0.25s ease-out;
    margin-bottom: -0.5rem;
    opacity: 0.7;
  }
  
  .underline-animation:hover::after {
    transform: scaleX(1);
  }
  
  .hover-underline-animation.center::after {
    transform-origin: bottom center;
  }
  .hover-underline-animation.center:hover::after {
    transform-origin: bottom center;
  }
  
  .drop{
    display: none;
  }
  
  .navbar ul li:hover .drop{
    display: block;
    position: absolute;
    left: 0;
    top: 100;
    background-color: #fff;
    
  }

  .drop ul{
    display: block;
    
  }
  
  .drop ul li{
    width: 17.5rem;
    padding-top: 2rem;
    
    
  }



  #menu-btn{
    display: none;
  }

  .secondHeader{
    padding: 1rem;
    background-color: var(--main-color);
    align-items: center;
    top: 0;
    position: sticky;
    z-index: 1001;
    box-shadow: none;
  }

  .secondHeader a{
    color: #fff;
  }

  .secondHeader i{
    font-size: 1.5rem;
    padding: 0 1rem;
    color: #fff;
  }

  .pageInfo{
    width: 100%;
    height: 10vh;
    background-color: var(--third-color);
    display: flex;
    flex-direction: row;
    gap: 3rem;
    padding-left: 20rem;
    align-items: center;
  }

  .pageInfo a{
    font-size: 1.6rem;
    color: var(--second-color);
  }

  .pageInfo i{
    font-size: 1.6rem;
    color: var(--second-color);
  }

  .decor{
    width: 3%;
    height: 0.5rem;
    background-color: var(--main-color);
    border-radius: 1rem;
    margin-top: 2rem;
  }

  .wp{
    bottom: 0;
    position: fixed;
    z-index: 100;
    margin-left: 95vw ;
    margin-bottom: 3vh;
    color: #25D366;
    
   }

   .of{
    bottom: 0;
    position: fixed;
    z-index: 100;
    margin-left: 2vw ;
    margin-bottom: 3vh;
    background-color: var(--main-color);
    color: var(--third-color);
    padding: 1rem;
    border-radius: 1rem;
   }

   .blogTitle h2{
    text-align: center;
    margin-top: 10rem;
    font-size: 3rem;
    background-color: var(--third-color);
    padding-top: 5rem;
  }

  .blogTitle h1{
    text-align: center;
    margin-top: 10rem;
    font-size: 3rem;
    background-color: var(--third-color);
    padding-top: 5rem;
  }
  
  .blogContainer{
    display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem,auto));
  grid-gap: 4rem;  
  row-gap: 5rem;
  padding: 1rem;
  padding: 5rem 10%;
  background-color: var(--third-color);
  }
  
  
  
  .blog{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: white;
    padding: 2rem 2rem;
    -webkit-box-shadow: 0px 0px 15px 1px rgba(0,0,0,0.3);
    -moz-box-shadow: 0px 0px 15px 1px rgba(0,0,0,0.3);
    box-shadow: 0px 0px 15px 1px rgba(0,0,0,0.3);
  }
  
  .blog img{
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    height: 15rem;
    top: 0;
  }
  
  .blog h3{
    font-size: 2rem;
    margin-top: 3rem;
    color: var(--second-color);
  }
  
  .blog p{
    font-size: 1.8rem;
    text-align: center;
    margin-top: 2rem;
    color: var(--second-color);
  }
  
  .blog button{
    margin-top: 3rem;
    width: 15rem;
    height: 4rem;
    background-color: var(--second-color);
    color: var(--third-color);
    font-size: 1.6rem;
    border-radius: 2rem;
    cursor: pointer;
  }
  
  .blog:hover{
    scale: 1.05;
    transition: 0.3s ease-in;
  }
  
  .blog button:hover{
    background-color: white;
    color: var(--second-color);
    border: 1px solid var(--second-color);
    transition: 0.3s ease-in;
  }

  .blogTitle span{
    color: var(--main-color);
  }

   footer{
    width: 100%;
    height: 50vh;
    background-color: var(--fourth-color);
    margin-top: 10rem;
    display: flex;
    justify-content: space-between;
    padding: 3rem 0rem;
   }

   footer .left{
    width: 33%;
    border-right: 1px solid black;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5rem;
    
   }

   footer .left img{
    width: 30rem;
    
   }

   footer .left .contacts{
    display: flex;
    flex-direction: column;
    gap: 3rem;
   }

   footer .left .contacts .phone, .mail, .address{
    display: flex;
    align-items: center;
   }

   footer .left .contacts .phone, .mail, .address i{
    font-size: 2rem;
    color: var(--third-color);
   }

   footer .left .contacts .phone p{
    font-size: 1.6rem;
    margin-left: 2rem;
    color: var(--third-color);
   }

   footer .left .contacts .mail p{
    font-size: 1.6rem;
    margin-left: 2rem;
    color: var(--third-color);
    text-transform: none;
   }

   footer .left .contacts .address p{
    width: 30rem;
    font-size: 1.6rem;
    margin-left: 2rem;
    color: var(--third-color);
    text-transform: none;
    
   }

   footer .left .socials{
    display: flex;
    justify-content: space-between;
    width: 30%;
   }

   footer .left .socials i{
    font-size: 2rem;
    background-color: none;
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4rem;
    color: var(--third-color);
    transition: 0.3s ease;
   }

   footer .left .socials i:hover{
    background-color: var(--third-color);
    color: var(--second-color);
    transition: 0.3s ease;
   }

   footer .middle{
    width: 30%;
    padding: 0rem;
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 5rem;
   }

   footer .middle h3{
    font-size: 3rem;
    text-align: center;
    color: var(--third-color);
   
   }

   footer .middle  a{
    text-decoration: none;
    font-size: 2rem;
    color: var(--third-color);
   }

   footer .middle li{
    margin-top: 3rem;
    list-style:none;
   }

   footer .middle li i{
    padding-right: 1rem ;
   }

   footer .right{
    width: 33%;
    padding: 0rem;
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 5rem;
    border-left: 1px solid black;
   }

   footer .right h3{
    font-size: 3rem;
    text-align: center;
    color: var(--third-color);
   
   }

   footer .right ul li{
    list-style: none;
    margin-top: 2rem;
   }

   footer .right ul li a{
    color: var(--third-color);
    font-size: 2rem;
    text-decoration: none;
   }

   span{
    font-weight: bold;
   }

   @media (max-width: 1366px) {
      html{
        font-size: 55%;
      }

      .header .navbar a{
        margin: 0 1.5rem;
      }

      footer{
        height: auto;
      }
   }

   @media (max-width:1024px) {
   
    html {
      font-size: 50%;
    }

    .header .navbar a{
      font-size: 1.4rem;
      margin: 0 0.8rem;
    } 

    footer .left{
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 10rem;
      justify-content: center;
     }
  
     footer .left img{
      width: 25rem;
      
     }

     footer .left .contacts{
      gap: 6rem;
     }

     footer .left .socials{
      width: 50%;
     }

     footer .right ul{
      padding: 5rem 8rem;
     }
      
  }

  @media (max-width: 800px) {
    
    html{
      font-size: 50%;
    }

    .header{
      justify-content: space-between;
    }
  
    #menu-btn{
      display: inline-block;
      cursor: pointer;
      font-size: 3rem;
      background-color: transparent;
      color: var(--main-color);
    }

    .header .navbar{
      position: absolute;
      top: 95%;
      background-color: white;
      height: calc(100vh - 10rem);
      width: 25rem;
      box-shadow: -5px 5px 15px 0px rgba(0, 0, 0, 0.5);
      display: none;
     }
    
     .header .navbar ul{
      color: var(--second-color);
      display:block;
      margin: 1.5rem;
      padding: 0.5rem;
      font-size: 4rem;
      padding-left: 1rem;
     }
    
    .header .navbar.active{
      right: 0;
      display: block;
    }
    
    .navbar ul li:hover .drop{
      position: relative;
    }

    .header .navbar ul li a{
      margin: 0;
      padding: 0;
      font-size: 1.6rem;
    }
    .header .navbar ul li{
      margin: 0;
      padding: 0.2rem;
    }

    .blogContainer{
    grid-template-columns: repeat(auto-fit, minmax(25rem,auto));
    }

    .secondHeader{
      justify-content: space-around;
   }

    .secondHeader i{
      font-size: 2rem;
      padding: 0 2rem;
    }

    .secondHeader p{
      font-size: 1.4rem;
    }

    .header .logo img{
      height: 6rem;
    }

    .wp, .of{
      margin-bottom: 5vh;
    }

    footer{
      flex-direction: column;
      align-items: center;
      justify-content: center;
      height: auto;
    }


    footer .left{
      width: 80%;
      border: none;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      border-bottom: 1px solid var(--third-color);
      padding: 2rem 0;
      
     }
  
     footer .left img{
      width: 20rem;
      
     }
  
     footer .left .contacts{
      display: flex;
      flex-direction: column;
      gap: 5rem;
      padding: 0 5rem;
     }
  
  
     footer .left .contacts .address p{
      width: 100;
     }
  
     footer .left .socials{
      width: 70%;
     }

     footer .middle{
      width: 80%;
      padding: 5rem 2rem;
      align-items: center;
      justify-content: center;
      border-bottom: 1px solid var(--third-color);
     }

     footer .middle{
      width: 80%;
      border-bottom: 1px solid var(--third-color);
      padding: 5rem 3rem;
      align-items: left;
      justify-content: left;
      display: flex;
      flex-direction: column;
     }

     footer .middle h3{
      text-align: center;
      font-size: 3rem;
      color: var(--third-color);
     }

     footer .middle ul{
      padding: 0;
     }

     footer .middle li{
      margin-top: 3rem;
      list-style: none;
     }

     footer .middle li i{
      padding-right: 3rem;
     }
  
     footer .middle li a{
      font-size: 2rem;
      color: var(--third-color);
     }

     footer .right{
      width: 80%;
      border: none;
      padding: 5rem 3rem;
      align-items: left;
      justify-content: left;
      display: flex;
      flex-direction: column;
     }
  
     footer .right h3{
      text-align: center;
      font-size: 3rem;
      color: var(--third-color);
     }
  
     footer .right ul{
      padding: 0;
     }
  
     footer .right li{
      margin-top: 3rem;
      list-style: none;
     }
  
     footer .right li i{
      padding-right: 3rem;
     }
  
     footer .right li a{
      font-size: 2rem;
      color: var(--third-color);
     }


     .decor{
      width: 8rem;
     }

     .pageInfo{
      padding-left: 3rem;
      gap: 1rem;
     }

     .wp{
      margin-left: 85vw;
    }
  }