body {
    /* background-color: rgb(15, 136, 235); */
    font-family: 'Comic Sans MS', 'Chalkboard SE', 'Comic Neue', sans-serif;
    transition: background-color 1s ease;
    background-color: #e3e3e3;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

nav {
    background: #333;
    color: white;
    display: flex;
    justify-content: space-between;
    padding: 1rem 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: red;
    text-decoration: none
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li {
    margin-left: 1.5rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
}

.nav-links a:hover {
    color: #ccc;
}

/* Page content */
.content {
    padding: 2rem;
}

.image-pair {
    display: flex;
    justify-content: center;  /* Centers horizontally */
    align-items: center;      /* Centers vertically */
    gap: 20px;               /* Space between images */
    height: 50vh;            /* Adjust height as needed */
    margin: 0 auto;          /* Centers the container */
    transition: all 0.3s ease; /* Smooth transition for hover effects */
    cursor: pointer; /* Changes cursor to hand pointer */
  }
  
  .image-pair img {
    max-width: 40%;          /* Each image takes up to 40% width */
    max-height: 80%;         /* Controls image height */
    object-fit: contain;     /* Maintains aspect ratio */
  }

  .centeredbox{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80vh;
  }
  
  /* Hover effects */
  .image-pair img:hover {
    transform: scale(1.05); /* Slightly enlarges image */
  }
  
  /* Click" animation */
  .image-pair img:active {
    transform: scale(0.98); /* Slight shrink when clicked */
  }