* {
    font-family: 'Times New Roman', Times, serif;
    font-size: 20px;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #8e8ee2;
    background: linear-gradient(to right, #67cada, #7965b1);
    padding: 20px;
}

.container {
    background: white;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
    background: white;
    padding: 10px;
    border-radius: 10px;
    display: inline-block;
}

.showcase {
    width: 200px;
    padding: 10px;
    margin: 10px;
    border: 2px solid black;
    text-align: center;
    border-radius: 10px;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.showcase:hover {
    transform: scale(1.05);
}

img {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    object-fit: cover;
}

.description {
    margin-top: 10px;
    font-size: 16px;
}

.links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    border-radius: 10px;
    padding: 15px;
    margin-top: 20px;
}

.links a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.links a:hover {
    color: #67cada;
}

/* Fullscreen Popup Image on Hover */
.popup-container {
  position: relative;
  display: inline-block;
}

/* Apply only to images inside popup-container that are NOT popup-image */
.popup-container img:not(.popup-image) {
  width: 100px;
  height: 100px;
  border-radius: 10px;
  object-fit: cover;
  cursor: pointer;
}

.popup-image {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90vw;
    height: auto;
    max-height: 90vh;
    max-width: 90vw;
    object-fit: contain;
    z-index: 9999;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 0;
    margin: 0;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
}

/* This is important to prevent the global img rules from affecting the popup */
img.popup-image {
    width: 90vw !important;
    height: auto !important;
}

.popup-container:hover .popup-image {
  display: block;
}
