@import url('https://fonts.googleapis.com/css?family=Montserrat');

* {
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
  }
  
  body {
    font-family: 'Montserrat';
    padding: 20px;
    background: #f1f1f1;
  }
  
  /* Header/Blog Title */
  .header {
    padding: 30px;
    font-size: 19px;
    text-align: center;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 10px;
  }
  
  /* Create two unequal columns that floats next to each other */
  /* Left column */
  .leftcolumn {
    float: left;
    width: 75%;
  }
  
  /* Right column */
  .rightcolumn {
    float: left;
    width: 25%;
    padding-left: 20px;
  }
  
   
  .navbar {
    overflow: hidden;
    
}

.navbar a {
    float: right;
    display: block;
    color: black;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

.navbar a:hover {
    background-color: #ddd; /* You can choose your own hover background color */
    color: black;
}
  .image {
  
    width: 100%;
    height: 100%;
    object-fit: cover;
}
  
  /* Add a card effect for articles */
  .card {
    background-color: white;
    padding: 20px;
    margin-top: 20px;
    border-radius: 10px;
    text-align: center; /* Center the content */
    width: 100%;
    font-size: 12px;
  }
  
  /* Clear floats after the columns */
  .row:after {
    content: "";
    display: table;
    clear: both;
  }
  
  /* Footer */
  .footer {
    padding: 20px;
    text-align: center;
    background: #ddd;
    margin-top: 20px;
    border-radius: 10px;
  }
  

  .post {
    float: left;
    width: 50%; /* Each post takes up 50% of the available width */
    padding: 20px; /* Add padding for spacing between posts */
    box-sizing: border-box; /* Include padding in the width calculation */
    border-radius: 10px;
}

/* Clear floats after every 2 posts to start a new row */
.post:nth-child(2n+1) {
    clear: left;
}

/* Add styling to image containers within posts */
.post .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
     
}

.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.popup-content {
    background-color: white;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 800px;
}
.card .image {
  height: 100px;
  width: 100px; /* Set both width and height to create a square */
  overflow: hidden;
  border-radius: 50%; /* Make it a circle */
  margin: 0 auto; /* Center the circle horizontally */
}

.card .image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensure the image covers the container without distortion */
  display: block;
  border-radius: 50%; /* Ensure the image itself is a circle */
}


/* Close button */
.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 30px;
    cursor: pointer;
}

@media screen and (max-width: 575.98px) {
  .leftcolumn, .rightcolumn {
      width: 100%;
      padding: 0;
  }

  .post {
      width: 100%;
      float: center;
      clear: both; /* Ensure each post starts on a new line */
      box-sizing: border-box;
      padding: 15px; /* Add padding for spacing between posts on smaller screens */
  }

  .rightcolumn {
      display: none;
  }
}
