body, html {
    height: 100%;
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: black;
    color: white;
    overflow: hidden; /* Prevent scrollbars */
}

.content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    padding: 0 20px; /* Add some side padding to ensure text doesn't touch the screen sides */
}

.title {
    font-size: 4em;
    font-weight: bold;
}

.rotating-text-container {
    position: relative;
    min-height: 75px; /* Let's keep a minimum height to accommodate any size of text */
    width: 100%;  /* Full width to accommodate longer text */
    overflow: hidden;
    margin-top: 20px; /* Space between the title and the rotating text */
}

.rotating-text {
    position: absolute;
    left: 50%;  /* Position the text in the center of the container */
    top: 0;
    transform: translate(-50%, 100%);
    text-align: center;
    font-size: 2em;
    font-weight: bold;
    white-space: nowrap; /* Keep text in a single line */
    animation: slide 0.5s forwards;
}

@keyframes slide {
    100% { transform: translate(-50%, 0); } /* Slide the text into place */
}

/* ... (other styles up top remain unchanged) ... */

.title {
    font-size: 4em;
    font-weight: bold;
    margin: 0; /* remove the bottom margin to reduce space */
    padding-bottom: 20px; /* Reduced space between "elav.io" and the rotating text */
}

.rotating-text-container {
    position: relative;
    min-height: 75px;
    width: 100%;
    overflow: hidden;
}

.rotating-text {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, 0);
    text-align: center;
    font-size: 2em;
    font-weight: bold;
    white-space: nowrap;
    opacity: 0; /* Make texts transparent by default, they will fade in through animation */
    transition: opacity 0.5s; /* A smoother transition effect */
}

.gold {
    color: gold; /* Style for the gold-colored first word */
}

.columns {
    display: flex;
    justify-content: space-between;
    margin-top: 50px; /* Adjust as needed */
}

.column {
    flex-basis: 30%; /* this means each column will take up approximately a third of the space */
    padding: 0 10px; /* some padding so content doesn't look squeezed */
    box-sizing: border-box;
}

/* For mobile responsiveness */
@media (max-width: 768px) {
    .columns {
        flex-direction: column;
    }
    .column {
        margin-bottom: 20px; /* space between columns when they're stacked vertically */
        flex-basis: auto; /* allow columns to stack with natural height */
    }
}
