@import url("https://fonts.googleapis.com/css2?family=Lora&display=swap");
body {
  font-family: "Lora", sans-serif;
}

p {
  font-size: 20px;
}

footer p {
  font-size: initial;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
}

.navbar-transparent {
  background: transparent;
}

.navbar-nav > li > a {
  color: white;
}

.navbar-nav > li > a:hover {
  color: white;
}

.navbar-nav > li:hover {
  border-bottom: 1px solid black;
  color: white;
}

.navbar-nav > .active {
  border-bottom: 1px solid black;
}

.navbar-brand {
  font-family: "Allerta Stencil", sans-serif;
  color: #83ff00;
}

.navbar-brand:hover {
  color: black;
}

.navbar-nav {
  z-index: 1;
}

.navbar-toggler:focus {
  text-decoration: none;
  outline: 0;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 600;
  color: #000;
  margin-bottom: 30px;
  text-align: center;
}

.post-box {
  background-color: #98c1d9;
  border: 1px solid #ddd;
  padding: 20px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
  border-radius: 20px;
}

.post-box .meta {
  margin-bottom: 10px;
  font-size: 14px;
  color: black;
}

.post-box .post-date {
  margin-right: 10px;
}

.post-box .post-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
}
.card-title {
  font-weight: 700;
}

.post-box p {
  font-size: 20px;
  color: black;
  line-height: 1.5;
  margin-bottom: 15px;
}

.post-img img {
  width: 260px;
  height: 150px;
  border-radius: 10px;
  object-fit: cover;
}

.post-img2 img {
  width: 520px;
  height: 150px;
  border-radius: 10px;
  object-fit: cover;
}

#back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  font-size: 24px;
  color: #000;
  background-color: #fff;
  padding: 10px;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
  z-index: 9999;
}

#back-to-top:hover {
  color: #fff;
  background-color: #000;
  transition: background-color 0.2s ease-in-out;
}

#back-to-top i {
  font-size: inherit;
  line-height: inherit;
}

.pagination a {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid black;
  border-radius: 999px;
  margin-right: 5px;
  text-decoration: none;
  color: black;
  background-color: #98c1d9;
}

.pagination a.active {
  background-color: #233d4d;
  color: #ffffff;
}

.fab {
  font-size: 2rem;
}

@media (max-width: 992px) {
  .navbar-toggler {
    position: relative;
    top: -22px;
  }
  .navbar-brand .img2 {
    z-index: 1;
    position: relative;
    top: 5px !important;
    height: 90px;
    width: auto;
  }
  .navbar-brand .img1 {
    z-index: 1;
    position: relative;
    top: 5px !important;
    height: 90px;
    margin-left: 1rem !important;
    width: auto;
  }

  .navbar-collapse {
    position: fixed;
    top: 90px;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; 
    background-color: #233d4d;
    padding: 10px;
    overflow-y: auto;
  }

  .navt1 {
    display: none;
  }
  .top140 {
    top: 140px !important;
  }
}

.square-image {
  position: relative;
  width: 100%;
  padding-bottom: 100%;
}

.square-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.responsive-img {
  height: calc(75vw) !important;
  max-height: 300px !important;
  display: block;
  margin: 0 auto;
}

.responsive-img2 {
  position: initial !important;
  height: calc(50vw) !important;
  max-height: 250px !important;
  max-width: 300px;
  display: block;
  margin: 0 auto;
}

.responsive-img3 {
  height: calc(75vw) !important;
  max-height: 500px !important;
  max-width: 600px;
  display: block;
  margin: 0 auto;
}

.responsive-img4 {
  position: initial !important;
  height: calc(50vw) !important;
  max-height: 250px !important;
  max-width: 400px;
  display: block;
  margin: 0 auto;
}

@media (max-width: 769px) {
  .navbar-toggler {
    position: relative;
    top: -22px;
  }

  .navbar {
    max-width: 7696px;
  }
  .responsive-img {
    height: calc(50vw) !important;
    max-height: 300px !important;
  }
}

@media (max-width: 500px) {
  .responsive-img {
    height: calc(50vw) !important;
    max-height: 300px !important;
    max-width: 400px !important;
    display: block;
    margin: 0 auto;
  }
  .responsive-img3 {
    height: calc(75vw) !important;
    max-height: 300px !important;
    max-width: 400px !important;
    display: block;
    margin: 0 auto;
  }

  .navbar-brand {
    margin-left: 1rem !important;
  }
}

@media (max-width: 376px) {
  .navbar-brand {
    margin-left: 10px !important;
  }
  .navbar-brand .img1 {
    margin-left: 10px !important;
  }

  .navbar-brand .img2 {
    height: 80px;
    width: 80px;
  }
  .navbar-brand .img1 {
    height: 80px;
    width: 110px;
  }

  .navbar-brand .img3 {
    height: 80px;
    width: 80px;
  }
  .navbar-brand .img4 {
    height: 80px;
    width: 110px;
  }
}

.section-divider {
  border-style: dashed;
  border-color: black transparent;
  line-height: 0;
  height: 0;
  margin: 0px 0;
  border-width: 0 0 6px 0;
  opacity: 0.2;
}
