body {
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.image-row {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
}

.image-row a {
    width: calc(100% / 3);
    display: block;
}

.image-row a img {
    width: 100%;
    height: auto;
    display: block;
}

.image-row.single a {
    width: 100%;
}

.image-row.single a img {
    object-fit: contain;
}

.logo {
    position: fixed;
    top: 20px;
    left: 20px;
    width: 100px;
    height: auto;
    z-index: 1000;
}

.logo-link {
    display: block;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
}

.logo-link img.logo {
    width: 100px;
    height: auto;
    display: block;
}

/* Text Box in the Top Right */
.text-box {
    position: fixed;
    top: 10px;
    right: 10px;
    padding: 10px;
    font-size: 12px;
    color: white;
    font-family: Helvetica, Arial, sans-serif;
    text-align: right;
    z-index: 1000;
    height: 100px; /* Same height as logo */
    width: 220px; /* 2x the width of logo */
    box-sizing: border-box;
    margin: 0;
}

/* This needs to be a completely separate rule */
.text-box p {
    margin: 0;
    padding: 0;
}

.text-box a.ucla-link {
    color: white;
    text-decoration: underline;
}

.text-box a.ucla-link:hover {
    opacity: 0.8;
}

.contact-info {
    position: fixed;             /* Fixed at bottom left */
    bottom: 10px;
    left: 10px;
    padding: 10px;
    font-size: 12px;
    color: white;
    font-family: Helvetica, Arial, sans-serif;
    z-index: 1000;
    text-align: left;
}

.contact-info a {
    color: white;
    text-decoration: underline;
}

/* No need for the hover underline effect since they're already underlined */
.contact-info a:hover {
    opacity: 0.8; /* Added subtle hover effect instead */
}

.contact-info p {
    margin: 0;
    line-height: 1.2;
}

.contact-info p:nth-child(3),
.contact-info p:nth-child(5) {
    margin-top: 10px; /* Spacer between elements */
}

/* Logo in the Bottom Right */
.logo-bottom {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 100px;
    height: auto;
    z-index: 1000;
}

.logo-bottom-link {
    display: block;
    position: fixed;
    bottom: 10px;
    right: 10px;
    z-index: 1000;
}