* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins";
  list-style: none;
  text-decoration: none;
}
.main {
  max-width: 1800px;
  display: block;
  margin: 0 auto;
  width: 100%;
}
@font-face {
  font-family: Poppins;
  src: url(../fonts/poppins-v21-latin/poppins-v21-latin-500.woff2);
}
/* --------------cover-title------------ */
@font-face {
  font-family: "Yatra One";
  src: url(../fonts/Yatra_One/YatraOne-Regular.ttf);
}
body {
  min-height: 100vh;
}
header {
  position: relative;
  width: 100%;
  top: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #e0e8d0;
  padding: 0px 10%;
  transition: all 0.5s ease;
  overflow-x: clip;
}
.navbar {
  display: flex;
}
.navbar a {
  color: #4a5632;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 5px 0;
  margin: 0px 30px;
  transition: all 0.05s ease;
}
.navbar a:hover {
  color: #2e2e2e;
}
.navbar a:hover a.active {
  color: none;
}

.logo img {
  width: 120px;
}
.buttons {
  display: flex;
  align-items: center;
  gap: 15px;
}
.btn2,
.btn3 {
  height: 45px;
  font-size: 18px;
  padding: 1px 15px;
  color: white;
  background-color: #6b8e23;
  border: none;
  transition: all 0.3s ease;
}
.btn2 {
  width: 180px;
}
.btn2 .fa-solid {
  color: #fdff00;
  font-size: 22px;
}
.buttons a span {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 45px;
  width: 45px;
  background: #6b8e23;
  font-size: 18px;
  font-weight: bold;
  color: white;
}
.buttons a span:hover {
  border-radius: 50%;
}
.buttons button:hover {
  background-color: #2e2e2e;
}
#menu-icon {
  color: #8e9134;
  cursor: pointer;
  z-index: 10001;
  display: none;
}

/* ------for smallscreen--------------  */
@media (max-width: 1280px) {
  header {
    padding: 0 2%;
    transition: 0.2s;
  }
  .navbar a {
    padding: 5px 0;
    margin: 0px 20px;
  }
}
@media (max-width: 1090px) {
  #menu-icon {
    display: block;
  }
  .fa-bars {
    font-size: 40px;
  }
  .navbar {
    position: absolute;
    top: 100%;
    right: 0;
    right: -100%;
    width: 150px;
    height: 29vh;
    background-image: radial-gradient(
      circle farthest-corner at 10% 20%,
      rgba(234, 251, 86, 0.88) 0%,
      rgba(165, 225, 27, 1) 90%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border-radius: 0 0 0 10px;
    transition: all 0.5s ease;
  }
  .navbar a {
    display: block;
    margin: 15px 0;
    padding: 0px 25px;
    transition: all 0.5s ease;
    color: #1a1a1a;
  }
  .navbar a:hover {
    transform: translateY(5px);
  }

  .navbar.open {
    right: 0;
  }
  .btn2,
  .btn3 {
    height: 40px;
  }
}
@media (max-width: 1000px) {
  .logo img {
    width: 100px;
  }
}
@media (max-width: 800px) {
  .logo img {
    width: 90px;
  }
  .navbar {
    height: 18vh;
  }
  .navbar a {
    margin: 5px 0;
  }
}
@media (max-width: 600px) {
  .logo img {
    width: 80px;
  }
  .navbar {
    height: 14vh;
    width: 120px;
  }
  .navbar li {
    margin-left: 10px;
  }
  .navbar a {
    margin: 3px 0;
    font-size: 0.8rem;
  }
}
@media (max-width: 550px) {
  .navbar {
    width: 100px;
  }
  .navbar li {
    margin-left: 5px;
  }
  .navbar a {
    font-size: 0.8rem;
  }
  .buttons {
    gap: 10px;
  }
  .btn2,
  .btn3 {
    height: 35px;
    font-size: 15px;
    padding: 1px 15px;
  }
  .btn2 {
    width: 160px;
  }
}
@media (max-width: 430px) {
  .logo img {
    width: 70px;
  }
  .navbar {
    width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .btn2 .fa-solid {
    display: none;
  }
  .buttons {
    gap: 8px;
  }
  .btn1,
  .btn2,
  .btn3 {
    height: 30px;
    font-size: 13px;
    padding: 1px 9px;
  }
  .btn2 {
    width: 120px;
  }
}
.fa-bars {
  font-size: 30px;
}

@media (max-width: 320px) {
  .buttons {
    gap: 7px;
  }
  .btn2,
  .btn3 {
    font-size: 13px;
    padding: 1px 6px;
  }
  .btn2 {
    width: 120px;
  }
  .logo img {
    width: 70px;
  }
}
/* ================ARTICLE============== */
.small-container {
  max-width: 1080px;
  margin: auto;
  padding-left: 25px;
  padding-right: 25px;
}
.row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-around;
}
.col-4 {
  flex-basis: 25%;
  padding: 10px;
  min-width: 200px;
  margin-bottom: 50px;
  transition: transform 0.5s;
}
.col-4 img {
  width: 100%;
  height: 333px;
}
.col-4 p {
  font-size: 14px;
}
.rating .fa-solid,
.fa-regular {
  color: #ff523b;
}
.col-4:hover {
  transform: translateY(-5px);
}
.row-2 {
  justify-content: space-between;
  margin: 100px auto 50px;
}
.add-button {
  width: 150px;
  height: 32px;
  border: none;
  background-color: #c8e48e;
  border: 1px solid #acb59b;
}
.add-button:hover {
  background-color: #6b8e23;
  color: #fff;
  border: none;
  outline: none;
}
select {
  border: 1px solid #8e9134;
  padding: 5px;
  width: 150px;
}
select:hover {
  background-color: none;
}
select:focus {
  outline: none;
}
.row-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(250px, 1fr));
}
.page-btn {
  margin: 0 auto 80px;
}
.page-btn span {
  display: inline-block;
  border: 1px solid #8e9134;
  color: black;
  margin-left: 10px;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 40px;
  cursor: pointer;
}
.page-btn span:hover {
  background: #8e9134;
  color: #fff;
}
@media (max-width: 1050px) {
  .row-4 {
    grid-template-columns: repeat(3, minmax(250px, 1fr));
  }
}
@media (max-width: 800px) {
  .row-4 {
    grid-template-columns: repeat(3, minmax(200px, 1fr));
  }
}
@media (max-width: 700px) {
  .row-4 {
    grid-template-columns: repeat(2, minmax(250px, 1fr));
  }
}
@media (max-width: 550px) {
  .row-4 {
    grid-template-columns: repeat(2, minmax(200px, 1fr));
  }
}
@media (max-width: 460px) {
  .row-4 {
    grid-template-columns: repeat(2, minmax(150px, 1fr));
  }
}
@media (max-width: 450px) {
  .row-4 {
    grid-template-columns: repeat(1, minmax(100px, 1fr));
    padding: 10%;
  }
}
@media (max-width: 362px) {
  .row {
    flex-direction: column;
    gap: 10px;
  }
  .article-add {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
}
/* ==================FOOTER==================== */

.footer {
  background-image: url(../images/footer3.jpg);
  font-family: "Libertinus Sans", sans-serif;
}
.container2 {
  padding: 0 125px;
  color: white;
}
.row-ar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
.row-ar h3 {
  color: #d4b483;
}
.face {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.face img {
  width: 150px;
}
.face p {
  margin: 0;
  font-size: 16px;
}
ul li {
  margin-left: 20px;
}
.footer ul li {
  color: white;
}
.footer2 ul {
  list-style: none;
}
.footer2 ul li:hover {
  color: #8e9134;
  cursor: pointer;
}
.footer3 ul a{
  list-style: none;
  color: white;
}
.footer3 ul i {
  color: #7dae92;
  font-size: 17px;
}
.fa-square-facebook:focus {
  outline: none;
}
.footer3 ul a:hover,
.footer3 ul i:hover {
  color: #8e9134;
  cursor: pointer;
}
.footer4 ul {
  list-style: none;
  position: relative;
}
.ads {
  text-align: justify;
}
.footer4 .ads::before {
  font-family: "Font Awesome 5 Free";
  content: "\f3c5";
  font-weight: 900;
  font-size: 1.1em;
  color: #7dae92;
  position: absolute;
  left: 3px;
}
.footer4 .number::before {
  font-family: "Font Awesome 5 Free";
  content: "\f095";
  font-weight: 900;
  font-size: 1em;
  color: #7dae92;
  position: absolute;
  left: 0px;
  top: 100px;
}
.footer4 .mail::before {
  font-family: "Font Awesome 5 Free";
  content: "\f0e0";
  font-weight: 900;
  font-size: 1em;
  color: #7dae92;
  position: absolute;
  left: 0px;
  top: 125px;
}

.footer5 img {
  height: 150px;
}
.footer1,
.footer2,
.footer3,
.footer4,
.footer5 {
  padding-top: 50px;
}
.copyright {
  padding: 10px 0;
  text-align: center;
}
@media (max-width: 1462px) {
  .footer4 .number::before {
    top: 124px;
  }
  .footer4 .mail::before {
    top: 148px;
  }
}
@media (max-width: 1294px) {
  .footer4 .number::before {
    top: 148px;
  }
  .footer4 .mail::before {
    top: 172px;
  }
}
@media (max-width: 1103px) {
  .footer4 .number::before {
    top: 172px;
  }
  .footer4 .mail::before {
    top: 196px;
  }
}
@media (max-width: 1073px) {
  .footer4 .number::before {
    top: 196px;
  }
  .footer4 .mail::before {
    top: 220px;
  }
}
@media (max-width: 1060px) {
  .row-ar {
    grid-template-columns: repeat(2, 1fr);
    align-content: center;
    justify-content: center;
  }
  .footer2 {
    grid-row: 2;
  }
  .footer4 {
    grid-row: 1;
    grid-column: 2;
    margin-top: 50px;
  }
  .footer4 .number::before {
    top: 76px;
  }
  .footer4 .mail::before {
    top: 100px;
  }
}
@media (max-width: 1037px) {
  .footer4 .number::before {
    top: 100px;
  }
  .footer4 .mail::before {
    top: 124px;
  }
}
@media (max-width: 850px) {
  .footer4 .number::before {
    top: 124px;
  }
  .footer4 .mail::before {
    top: 148px;
  }
}
@media (max-width: 768px) {
  .footer4 .number::before {
    top: 148px;
  }
  .footer4 .mail::before {
    top: 172px;
  }
}
@media (max-width: 671px) {
  .footer4 .number::before {
    top: 172px;
  }
  .footer4 .mail::before {
    top: 196px;
  }
}
@media (max-width: 616px) {
  .footer4 .number::before {
    top: 196px;
  }
  .footer4 .mail::before {
    top: 220px;
  }
}
@media (max-width: 600px) {
  .container2 {
    width: 80%;
    padding: 0;
    margin: 0 auto;
  }
  .row-ar {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer4 {
    margin-top: 10px;
    margin-bottom: 10px;
  }
  .footer4 .number::before {
    top: 80px;
  }
  .footer4 .mail::before {
    top: 100px;
  }
  .footer1,
  .footer2,
  .footer3,
  .footer4,
  .footer5 {
    padding-top: 0px;
  }
  .face {
    align-items: center;
  }
}
@media (max-width: 485px) {
  .footer4 .number::before {
    top: 100px;
  }
  .footer4 .mail::before {
    top: 124px;
  }
}
@media (max-width: 369px) {
  .footer4 .number::before {
    top: 124px;
  }
  .footer4 .mail::before {
    top: 148px;
  }
}

