body {
  font-family: "Roboto", sans-serif;
  font-weight: 200;
  color: #333333;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Poppins", sans-serif;
  color: #2c3e50;
  margin-top: 20px;
}

p {
  line-height: 1.8;
  margin-bottom: 20px;
}

a {
  color: #0070f3;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.blog-post__cover {
  position: relative;
  height: 40vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.blog-post__cover picture {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 40vh;
  overflow: hidden;
}
.blog-post__cover img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-post__cover-content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
}
.blog-post__cover-content__container {
  background-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px) saturate(50%);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease-in-out;
}
.blog-post__cover-content__container:hover {
  backdrop-filter: blur(10px) saturate(100%);
}
.blog-post__cover-content__info {
  width: 100%;
}
.blog-post__cover-content__date {
  margin: 10px 0;
}
.blog-post__cover-content__author {
  text-transform: uppercase;
  font-size: 0.9rem;
  padding: 15px 0;
  display: inline-block;
}
.blog-post__cover-content__title {
  font-family: "Italiana", serif;
  font-size: 3.4rem;
  margin: 0;
  line-height: 1.2;
  letter-spacing: 0.4px;
  max-width: 800px;
  text-wrap: balance;
}
@media (max-width: 768px) {
  .blog-post__cover-content__title {
    font-size: 1.8rem;
    padding: 20px;
  }
}
.blog-post__cover-content__subtitle {
  font-size: 1.4rem;
  margin-top: 25px;
}

.blog-post__content {
  max-width: 800px;
  margin: 20px auto;
  padding: 20px;
  font-size: 1.3rem;
  line-height: 1.8;
}

.blog-post__navigation {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 40px;
  height: 25vh;
}
.blog-post__navigation__prev, .blog-post__navigation__next {
  width: 50%;
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  text-decoration: none;
  transition: transform 0.3s ease;
}
.blog-post__navigation__prev:hover, .blog-post__navigation__next:hover {
  text-decoration: none;
}
.blog-post__navigation__prev__title, .blog-post__navigation__next__title {
  position: relative;
  z-index: 2;
  font-size: 2rem;
  margin: 0;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: saturate(50%);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease-in-out;
}
.blog-post__navigation__prev__title:hover, .blog-post__navigation__next__title:hover {
  backdrop-filter: saturate(100%);
}
@media (max-width: 768px) {
  .blog-post__navigation {
    flex-direction: column;
    height: auto;
  }
  .blog-post__navigation__prev, .blog-post__navigation__next {
    height: 20vh;
    width: 100%;
  }
}

.homepage {
  position: relative;
  width: 100%;
  height: 100vh;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

.homepage__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: saturate(40%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.homepage__content {
  text-align: center;
  padding: 20px;
  margin-bottom: 15vh;
  z-index: 999;
}

.homepage__title {
  font-size: 6rem;
  margin: 0;
  color: #333;
}

.homepage__title--highlight {
  color: #166a82;
  font-weight: bold;
  font-family: Italiana, serif;
  font-size: 8rem;
}

.homepage__subtitle {
  font-size: 2.5rem;
  margin-top: 0;
  color: #555;
}

@media (max-width: 768px) {
  .homepage__title {
    font-size: 4rem;
  }
  .homepage__title--highlight {
    font-size: 10rem;
    line-height: 120px;
  }
  .homepage__subtitle {
    font-size: 3rem;
    line-height: 3rem;
    margin-top: 10px;
  }
}
.latest-posts-wrapper {
  margin: 100px 0;
  width: 100%;
  background-color: #fff;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.latest-posts-wrapper h2 {
  color: #166a82;
  text-transform: uppercase;
  font-size: 1.6rem;
}

.latest-posts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.home-intro {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-intro__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: saturate(40%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-intro__container {
  display: flex;
  max-width: 1200px;
  width: 100%;
  height: 50vh;
  align-items: stretch;
  justify-content: center;
}

.home-intro__image {
  flex: 1;
  overflow: hidden;
  display: flex;
  justify-content: center;
}
.home-intro__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-intro__content {
  flex: 1;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.home-intro__content h1 {
  font-size: 2.8rem;
  margin-bottom: 15px;
  color: #166a82;
}
.home-intro__content p {
  font-size: 1.4rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

@media (max-width: 768px) {
  .home-intro {
    height: 60vh;
  }
  .home-intro__container {
    flex-direction: column;
    height: auto;
  }
  .home-intro__image {
    display: none;
  }
  .home-intro__content {
    padding: 20px;
  }
}
.circle-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.circle-bg__circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.2;
  filter: blur(80px);
  transition: transform 0.3s ease, filter 0.7s ease;
  will-change: transform, filter;
  transform: translateZ(0);
}

.circle-bg__circle:hover {
  transform: scale(1.3);
  filter: blur(70px) hue-rotate(30deg);
}

.circle-bg__circle:nth-child(1) {
  width: 350px;
  height: 350px;
  background-color: #0F4C5C;
  top: 20%;
  left: 10%;
}

.circle-bg__circle:nth-child(2) {
  width: 400px;
  height: 400px;
  background-color: #145C6C;
  top: 40%;
  left: 15%;
}

.circle-bg__circle:nth-child(3) {
  width: 500px;
  height: 500px;
  background-color: #1A6C7C;
  top: 25%;
  left: 55%;
}

.circle-bg__circle:nth-child(4) {
  width: 300px;
  height: 300px;
  background-color: #217C8C;
  top: 65%;
  left: 35%;
}

.circle-bg__circle:nth-child(5) {
  width: 550px;
  height: 550px;
  background-color: #2C8D9C;
  top: 5%;
  left: 65%;
}

.circle-bg__circle:nth-child(6) {
  width: 450px;
  height: 450px;
  background-color: #348E9C;
  top: 55%;
  left: 65%;
}

.circle-bg__circle:nth-child(7) {
  width: 500px;
  height: 500px;
  background-color: #3D9FAC;
  top: 15%;
  left: 75%;
}

.circle-bg__circle:nth-child(8) {
  width: 350px;
  height: 350px;
  background-color: #51B4C2;
  top: 60%;
  left: 10%;
}

.circle-bg__circle:nth-child(9) {
  width: 400px;
  height: 400px;
  background-color: #66C3D1;
  top: 10%;
  left: 85%;
}

.circle-bg__circle:nth-child(10) {
  width: 300px;
  height: 300px;
  background-color: #4AA5B1;
  top: 45%;
  left: 50%;
}

.circle-bg__circle:nth-child(11) {
  width: 650px;
  height: 650px;
  background-color: #125060;
  top: 55%;
  left: 25%;
}

.circle-bg__circle:nth-child(12) {
  width: 500px;
  height: 500px;
  background-color: #1F6374;
  top: 30%;
  left: 80%;
}

@media (max-width: 768px) {
  .circle-bg__circle:hover {
    transform: none;
    filter: blur(80px);
  }
  .circle-bg__circle:nth-child(n+6) {
    display: none;
  }
}
.header__nav {
  display: flex;
  position: absolute;
  top: 0;
  width: 100%;
  justify-content: center;
  z-index: 99999;
}

.header__nav a {
  padding: 20px 0;
  font-size: 1.4rem;
  display: inline-block;
  width: 5vw;
  cursor: pointer;
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.header__nav a.active {
  font-family: Italiana, serif;
  font-weight: 600;
}

.header__nav a:hover {
  text-decoration: none;
}

.isHome a {
  color: #166a82;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  cursor: pointer;
}

.burger__line {
  height: 3px;
  width: 100%;
  background-color: #333;
  border-radius: 2px;
}

.header__nav-links {
  display: flex;
}

@media (max-width: 768px) {
  .header__nav {
    justify-content: flex-start;
  }
  .header__nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 20px;
    width: calc(100% - 80px);
    background-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    backdrop-filter: blur(10px);
  }
  .header__nav-links a {
    padding: 15px 20px;
    width: auto;
  }
  .burger {
    display: flex;
    margin: 15px;
  }
  .header__nav-links.open {
    display: flex;
  }
}
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 40px 0;
  font-size: 1.2rem;
  gap: 20px;
}
.pagination__link {
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 100%;
  background-color: #166a82;
  color: #fff;
  transition: transform 0.3s ease;
}
.pagination__link:hover {
  text-decoration: none;
  transform: scale(1.1);
}

.blog-post-tile {
  position: relative;
  height: 30vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  font-size: 1.4rem;
  text-wrap: balance;
  filter: grayscale(100%);
  transition: filter 0.6s ease;
}
.blog-post-tile picture {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 30vh;
  overflow: hidden;
}
.blog-post-tile img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-post-tile:hover {
  text-decoration: none;
}

.blog-post-tile-wrapper {
  position: relative;
}

.blog-post-tile-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(22, 106, 130);
  mix-blend-mode: screen;
  z-index: 200;
  pointer-events: none;
  transition: all 0.6s ease;
}

.blog-post-tile-title {
  background-color: rgba(255, 255, 255, 0.6);
  padding: 30px 40px;
  color: #333;
  font-weight: 300;
  min-height: 5vh;
  width: 100%;
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  transition: min-height 0.6s ease;
  z-index: 300;
  font-family: Italiana, serif;
}

.blog-post-tile:hover .blog-post-tile-title {
  min-height: 8vh;
}

.blog-post-tile-wrapper:hover .blog-post-tile-overlay {
  background-color: transparent;
}

.blog-post-tile-wrapper:hover .blog-post-tile {
  filter: none;
}

.blog-post-tile-date {
  font-size: 1rem;
  font-family: Roboto, "sans-serif";
}

@media (max-width: 768px) {
  .latest-posts {
    grid-template-columns: 1fr;
    gap: 0;
    margin: 0;
  }
  .blog-post-tile {
    height: 20vh;
    margin-bottom: 10px;
  }
  .blog-post-tile picture {
    height: 20vh;
  }
  .blog-post-tile-title {
    height: calc(20vh - 40px);
    margin: 0;
    padding: 20px;
  }
}
.about-page {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-page__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: saturate(40%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-page__container {
  display: flex;
  max-width: 1600px;
  width: 100%;
  height: 70vh;
  align-items: stretch;
  justify-content: center;
}

.about-page__image {
  flex: 1;
  overflow: hidden;
  display: flex;
  justify-content: center;
}
.about-page__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-page__content {
  flex: 1;
  padding: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-page__content h1 {
  font-size: 3.2rem;
  margin-bottom: 20px;
  color: #166a82;
}
.about-page__content p {
  font-size: 1.6rem;
  line-height: 1.8;
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  .about-page__container {
    flex-direction: column;
    height: auto;
  }
  .about-page__image {
    display: none;
  }
  .about-page__content {
    padding: 20px;
  }
  .about-section .circle-bg {
    display: none;
  }
}
.footer {
  width: 100%;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  text-align: center;
  border-top: 1px #166a82 solid;
}
.footer__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}
.footer__text {
  font-size: 1rem;
  color: #333;
  margin-bottom: 10px;
}
.footer__social {
  display: flex;
  gap: 15px;
}
.footer__social-link {
  display: inline-block;
  transition: transform 0.3s ease;
}
.footer__social-link:hover {
  transform: scale(1.1);
}
.footer__icon {
  width: 24px;
  height: 24px;
  fill: #166a82;
  transition: fill 0.3s ease;
}
.footer__icon:hover {
  fill: #0f4c5c;
}

.error__title--highlight {
  color: #166a82;
  font-weight: bold;
  font-size: 12rem;
}

.error-page__link {
  color: #166a82;
  font-weight: bold;
  font-size: 1.8rem;
  text-decoration: underline;
  text-transform: uppercase;
}

.contact-page {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-page__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: saturate(40%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-page__container {
  display: flex;
  max-width: 1200px;
  width: 100%;
  height: 70vh;
  align-items: stretch;
  justify-content: center;
  padding: 0 40px;
  position: relative;
}

.contact-page__content {
  width: 50%;
  padding: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: -120px;
}
.contact-page__content h1 {
  font-size: 3.2rem;
  margin-bottom: 20px;
  color: #166a82;
}
.contact-page__content p {
  font-size: 1.6rem;
  line-height: 1.8;
  margin-bottom: 15px;
  max-width: 500px;
}

.contact-page__links {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-page__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-page__item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.4rem;
}
.contact-page__item a {
  color: #166a82;
  text-decoration: none;
}
.contact-page__item a:hover {
  text-decoration: underline;
}

.contact-page__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

@media (max-width: 768px) {
  .contact-page__container {
    flex-direction: column;
    height: auto;
    padding: 20px;
  }
  .contact-page__content {
    padding: 20px;
    width: 80%;
  }
  .contact-page__links {
    padding: 20px;
    width: 80%;
    justify-content: flex-start;
    margin-top: 30px;
  }
  .contact-page__list {
    align-items: flex-start;
  }
}
