body {
    background-image: url(/Images/stars_2.gif);
    color: white;
    text-align: center;
}

#blog-container {
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
    padding: 10px;
    box-sizing: border-box;
}

.blog-card-1 { 
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 20px;
    align-items: center;
    background-color: black;
    border: 1px solid grey;
    padding: 20px;
    box-sizing: border-box;
    
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}

.blog-card-1.visible {
  opacity: 1;
  transform: translateX(0);
}

.blog-card-2 { 
    display: grid;
    grid-template-columns: 1fr 200px;
    gap: 20px;
    align-items: center;
    background-color: black;
    border: 1px solid grey;
    padding: 20px;
    box-sizing: border-box;
    
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}

.blog-card-2.visible {
  opacity: 1;
  transform: translateX(0);
}

.blog-image-1 {
    grid-row: span 2;
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
}

.blog-image-2 {
    grid-column: 2;
    grid-row: 1 / span 2;
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
}

.blog-title-1 {
    color: white;
    font-size: 1.25rem;
    margin-top: 0;
    margin-bottom: 10px;
}

.blog-title-2 {
    color: white;
    grid-column: 1;
    grid-row: 1;
    font-size: 1.25rem;
    margin-top: 0;
    margin-bottom: 10px;
}

.blog-excerpt-1 {
    color: white;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.blog-excerpt-2 {
    grid-column: 1;
    grid-row: 2;
    color: white;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

#images {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: center;

  opacity: 0;
  transform: translateY(-50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, transform;
}

#images.visible {
  opacity: 1;
  transform: translateY(0);
}

#images img {
  max-width: 100%;
  height: auto;
}

#scroll-up {
  opacity: 0;
  transform: translateY(-50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, transform;
}

#scroll-up.visible {
  opacity: 1;
  transform: translateY(0);
}