body {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
}

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', sans-serif;
}

header {
  display: flex;
justify-content: space-between;
align-items: center;
padding: 0 auto;
width: 100%;
height: 75px;
background-color: #fff;
  margin-bottom: 5px;
  position: relative;
}

footer {
  margin-top: 50px;
  left: 0;
  position: relative;
  text-align: center;
  padding: 25px 0;
  display: flex;
  align-content: center;
  width: 100%;
  justify-content: center;
  background-color: #fff;
  border-top: 2px solid #eee;
  flex-direction: column;
  }
  
.hamburger {
        display: block;
        color: #000;
        margin-right: 25px;
        font-size: 22px;
    }
    
    .menu {
        display: none;
        flex-direction: column;
        background-color: #fff;
        width: 350px;
        text-align: center;
        transition: 0.3s;
        padding: 1rem 0;
      position: absolute;
      border: 3px solid #888;
      border-radius: 10px;
      z-index: 1001;
    }

  .menu li {
  list-style-type: none;
  padding-left: 0; /* Optional: Removes default left padding */
  }
    
    .menu.visible {
        display: block;
        top: 75px;
      right: 25px;
    }
    
    .menu-item {
        margin: 1rem 0;
    }

    .menu-item a:hover {
    background-color: #9040ff;
    border-radius: 4px;
    }

      /* crypto tracker */
.crypto-ticker-wrapper {
  background-color: #111133;
  overflow: hidden;
  width: 100%;
  padding: 10px 0;
  position: relative;
}

.crypto-ticker-track {
  display: flex;
  width: 100%;
  overflow: hidden;
}

.crypto-ticker {
  display: inline-block;
  white-space: nowrap;
  animation: tickerMove 20s linear infinite;
  color: #00FFA3;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
}

.ticker-item {
  margin: 0 20px;
}

@keyframes tickerMove {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

  
  

.post-page {
  margin: 10px 25px;
}

.site-name {
  margin-left: 25px;
}

a {
  text-decoration: none;
  color: black;
}

      blockquote {
  border-left: 4px solid #0077b6; /* Customize color */
  padding: 10px 20px;
  margin: 20px 5px;
  background: #f9f9f9;
  font-style: italic;
  color: #333;
  line-height: 1.6;
}

blockquote p {
  margin: 0;
}

blockquote cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-weight: 500;
  color: #333;
}

blockquote a {
  color: #0077b6;
  text-decoration: none;
}

blockquote a:hover {
  text-decoration: underline;
  }

.recent-posts {
  margin-left: 25px;
  margin-top: 40px;
}

.recent-posts ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.recent-posts li {
  position: relative;
  margin-bottom: 20px;
  padding-bottom: 25px;
  border-bottom: 1px solid #ccc;
}

/* First <a>: full width */
.recent-posts li > a:first-of-type {
  display: block;
  font-size: 18px;
  color: #333;
  text-decoration: none;
  padding-bottom: 20px; /* space for the second <a> and <span> */
  font-weight: bold;
}

/* Second <a>: float left at the bottom */
.recent-posts li > a:nth-of-type(2) {
  position: absolute;
  bottom: 5px;
  left: 5px;
  font-size: 15px;
  color: #888;
  text-decoration: none;
}

/* <span>: float right at the bottom */
.recent-posts li .post-meta {
  position: absolute;
  bottom: 5px;
  right: 20px;
  font-size: 16px;
  color: #888;
  font-weight: bold;
      }

.recent-posts li > a:first-of-type:hover {
  text-decoration: underline;
}

.post-item {
  align-items: flex-start;
  }

.not-found {
  margin: 25px;
        }

/* */
.container {
  display: flex;
  flex-direction: row;
}

.content {
  flex: 1;
  flex-wrap: wrap;
  gap: 10px;
}

.sidebar {
  width: 300px;
}

.post-card {
  border-radius: 5px;
  flex: 1 1 calc(33.333% - 10px);
  background: #fff;
  padding: 15px;
  box-sizing: border-box;
}

.post-card img {
  border-radius: 20px;
  height: 200px;
  width: 100%;
}


@media (min-width: 768px) {
  .content {
    max-width: 1200px;
  }
  
  .sidebar {
    width: 350px;
  }
  
  .post-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-left: 10px;
  }
    
  .post-card {
    margin: 15px;
    max-width: 500px;
  }

  .post-card img {
  border-radius: 10px;
  height: 150px;
  }
}

@media (max-width: 768px) {
  .post-card {
    margin: 15px auto;
    flex: 1 1 100%;
    max-width: 400px;
  }

  .post-card img {
    height: 250px;
  }

  .container {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
  }

  .content {
    flex-direction: column;
  }

  post-list {

}
}
