body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

header {
    background-color: #333;
    color: white;
    padding: 20px;
    text-align: center;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav li {
    display: inline;
    margin-right: 20px;
}

nav a {
    text-decoration: none;
    color: white;
    font-size: 18px;
}

.main-content {
    padding: 20px;
}

.about-section img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.friends-section {
    margin-top: 20px;
}

.friends-section h2 {
    font-size: 24px;
    color: #333;
}

.friends-section ul {
    list-style: none;
    padding: 0;
}

.friends-section li {
    margin-bottom: 10px;
}

/* ... (existing styles) ... */

@keyframes moveLeftToRight {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.headline-loop {
    overflow: hidden;
    white-space: nowrap;
    background-color: #4d4d4d;
    padding: 10px;
    border-radius: 10px;
    margin-top: 20px;
}

.headline-loop p {
    display: inline-block;
    margin: 0;
    white-space: nowrap;
    animation: moveLeftToRight linear infinite;
    animation-duration: calc(var(--text-length) * 0.1s);
    min-animation-duration: 5s;
    color: #ffcc00;
}

.centered-title {
    text-align: center;
    font-size: 36px;
    margin-top: 10px;
}

.photo-frame {
    border: 5px solid #333;
    border-radius: 10px;
    overflow: hidden;
}

.photo-frame img {
    max-width: 100%;
    height: auto;
    display: block;
}

.description {
    margin-top: 20px;
}

.description h2 {
    font-size: 24px;
    color: #333;
}

/* Add your existing styles... */

/* Loading Overlay Styles */
#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff; /* Choose a background color */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

.loading-spinner {
    border: 4px solid #3498db; /* Choose a spinner color */
    border-top: 4px solid transparent;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Huge Title Styles */
.huge-title {
    text-align: center;
    font-size: 48px;
    margin-top: 20px;
    color: #333; /* Choose a color for the title */
}

/* ... Existing styles ... */

/* Card Styles */
.real-ones-card {
    text-align: center;
    margin-top: 50px; /* Adjust the top margin as needed */
}

.card {
    perspective: 1000px;
    width: 300px; /* Adjust the card width as needed */
    height: 200px; /* Adjust the card height as needed */
    margin: 0 auto; /* Center the card horizontally */
}

.card-inner {
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.5s;
}

.card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    width: 100%;
    height: 100%;
    position: absolute;
    backface-visibility: hidden;
}

.card-front {
    background-color: #4d4d4d; /* Front card color */
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-back {
    background-color: #ffd700; /* Back card color */
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.golden-plate {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.golden-plate li {
    margin-bottom: 5px;
    color: #333; /* Text color for the back of the card */
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px;
    position: fixed;
    bottom: 0;
    width: 100%;
}
