body {
    margin: 0;
    padding: 0;
    background-image: url("https://res.cloudinary.com/dbpmxkrgz/image/upload/v1685454525/Sanaa%27s%20World/Under_sea_-_Blog_page_uojmht.png");
    height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
  }

 
  
  
  h1, h2, h3, p, ul, li {
    background-image: none; /* Reset the background image for these elements */
  }
  
  /* This is for the site title */
  h1{margin-top: 15px;
    margin-left: 20px;
    color: #FFF9E3;
    font-family: Garamond, serif;
    font-size: 40px;
    font-weight: lighter;
    font-style: italic;
    text-size-adjust: auto;}


  .container {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px;
    background-color: #feb1a5;
    
  }
  
  header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
  }
  
  nav ul {
    list-style-type: none;
  }
  
  /* This is for the home button */
  nav ul li {
    display: flex;
    margin-top: 5px;
    margin-right: 20px;
    color: #FFF9E3;
    font-family: Garamond, Serif;
    font-size: 25px;
    font-weight: lighter;
    text-size-adjust: auto;
  }
  
  nav ul li a {
    /* This text decoration stops it from being purple once clicked */
    text-decoration: none;
    color: #FFF9E3;
   
  }
  
  main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-gap: 20px;
    
  }
  
  .featured {
    background-color: ;
    padding: 20px;
  }
  
  .featured h2 {
    margin-bottom: 10px;
  }
  
  .articles {
    padding: 20px;
    grid-column: 1 / -1;
      
  }
  
  .articles h2 {
    margin-top: 15px;
    margin-left: 20px;
    color: #FFF9E3;
    font-family: Garamond, serif;
    font-size: 40px;
    font-weight: lighter;
    font-style: italic;
    text-size-adjust: auto;
    margin-bottom: 10px;
   

  }

  #copyright{
    color: #FFF9E3;
  }
  .articles h2{
      color: #FFF9E3;
      text-decoration: none;
  }
  
  .article-list {
    display: grid;
    grid-gap: 20px;
  }
  
  article {
    border: 1.5px dashed #FFF9E3;
    padding: 20px;
  }
  
  a h3{
    text-decoration: none;
  }
  article h3 {
    margin-bottom: 0px;
    margin-top: 0px;
    margin-left: 0px;
    color: #FFF9E3;
    font-family: Garamond, serif;
    font-size: 40px;
    font-weight: lighter;
    font-style: italic;
    text-size-adjust: auto;
  }
  
  footer {
    margin-top: 20px;
    text-align: center;
    color: #777;
  }

  Add this CSS to your existing stylesheet
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
  }
  
 .article-date{
    font-family: Garamond, Serif;
    color:#FFF9E3;
    font-size:medium;
    font-weight: lighter;
    text-size-adjust: auto ;
    position: fixed;
    right: 35px ;
}

.credit {
  font-family: Garamond; serif;
      color: #FFF9E3;
      font-size: 2.5vh;
      position: fixed;
      top: 5px;
      right: 10px;
}
.credit a{
  color: #FFF9E3;
}

@media only screen and (max-width: 768px) {
  /* CSS rules for smaller screens */

  body {
    position: relative;
    overflow-x: hidden;
  }

  .credit {
    font-family: Garamond, serif;
    color: #FFF9E3;
    font-size: 12px; /* Adjust the font size as per your preference */
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 10px;
    text-align: right;
    transform: translateY(calc(100vh - 60px)); /* Adjust the value (60px) to accommodate the height of the .credit element */
  }
}


  /* .popup-content {
    background-color: #fff;
    padding: 20px;
    max-width: 600px;
    width: 90%;
    max-height: 80%;
    overflow-y: auto;
  }
  
  .close-button {
    position: absolute;
    top: 10px;
    right: 10px;
  }
   */