@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

::-webkit-scrollbar {
  display: none;
}

a {
  text-decoration: none;
  color: black;
}

ul {
  list-style: none;
}

.main-color {
  color: #fdad17;
}

nav {
  display: flex;
  height: 80px;
  width: 100%;
  background: #fdad17;
  align-items: center;
  justify-content: space-between;
  padding: 0 50px 0 100px;
  flex-wrap: wrap;
  border-bottom: 1px solid white;
}
nav .logo {
  color: #fff;
  font-size: 35px;
  font-weight: 600;
}
nav ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
}
nav ul li {
  margin: 0 5px;
}
nav ul li a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  padding: 8px 15px;
  border-radius: 5px;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

nav ul li a:hover {
  color: #111;
  background: white;
}
nav .menu-btn i {
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  display: none;
}
input[type="checkbox"] {
  display: none;
}
@media (max-width: 1000px) {
  nav {
    padding: 0 40px 0 50px;
  }
}
@media (max-width: 770px) {
  nav .menu-btn i {
    display: block;
  }
  #click:checked ~ .menu-btn i:before {
    content: "\f00d";
  }
  nav ul {
    position: fixed;
    top: 80px;
    left: -100%;
    background: #fdad17;
    height: 100vh;
    width: 100%;
    text-align: center;
    display: block;
    transition: all 0.2s ease;
  }
  #click:checked ~ ul {
    left: 0;
  }
  nav ul li {
    width: 100%;
    margin: 40px 0;
  }

  nav ul li a {
    width: 100%;
    margin-left: -100%;
    display: block;
    font-size: 20px;
    transition: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  }
  #click:checked ~ ul li a {
    margin-left: 0px;
  }

  nav ul li a:hover {
    background-color: white;
    color: #fdad17;
  }
}

@media (max-width: 380px) {
  nav {
    padding: 0 25px;
  }
}

/* ! Main Css Start */
main {
  height: auto;
  min-height: 600px;
  padding: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: whitesmoke;
  flex-direction: column;
}

.blog-box {
  background-color: white;
  padding: 30px 50px;
  border-radius: 10px;
  width: 70%;
  box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
  margin: 20px;
}

.blog-box h2 {
  margin: 16px 0;
}

.blog-date {
  color: #4b5563;
}

@media (max-width: 1050px) {
  .blog-box {
    width: 75%;
  }
}

@media (max-width: 880px) {
  .blog-box {
    width: 85%;
  }
}

@media (max-width: 750px) {
  .blog-box {
    width: 90%;
  }
}

@media (max-width: 600px) {
  main {
    padding: 30px;
  }

  .blog-box {
    width: 95%;
  }
}

@media (max-width: 500px) {
  .blog-box {
    padding: 20px 25px;
  }
}

@media (max-width: 450px) {
  .blog-box {
    padding: 20px 25px;
  }

  main {
    padding: 20px 15px;
  }
}

/* ! Main Css End */

footer {
  background-color: rgba(0, 0, 0, 0.8);
  height: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  flex-wrap: wrap;
}

footer div {
  color: white;
  text-align: center;
}

/* ? Social media icons css start */
.copyright {
  margin: 0 20px;
  text-align: center;
}

.social-icons {
  height: 100%;
  width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 20px;
}

.fa::before {
  padding: 10px;
  font-size: 30px;
  text-align: center;
  text-decoration: none;
  margin: 5px 2px;
}

.fa:hover {
  opacity: 0.7;
}

.fa-twitter {
  background: #55acee;
  color: white;
  border-radius: 100px;
}

.fa-quora {
  background: #cb2027;
  color: white;
  border-radius: 100px;
  margin: 20px;
}

.fa-telegram {
  background: #00aff0;
  color: white;
  border-radius: 100px;
}

/* ? Social media icons css end */

@media (max-width: 524px) {
  footer {
    justify-content: center;
  }

  .social-icons {
    width: 100%;
  }

  .copyright {
    width: 100%;
    margin-top: 20px;
    border-bottom: 1px solid white;
  }
}
