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

html, body {
    height: 100%;
    width: 100%;
    overflow: hidden; /* Prevent any overflow */
    font-family: 'Sofia Sans Condensed', sans-serif;
}

/* Container Styling */
.container {
    display: flex;
    height: 100vh; /* 100% of viewport height */
    width: 100vw; /* 100% of viewport width */
    flex-wrap: nowrap; /* Ensure columns stay in one row */
    overflow: hidden; /* Prevent scrolling issues */
}

/* Keyframes for fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Common column styles */
.column {
    display: flex;
    justify-content: flex-end; /* Align content at the bottom */
    align-items: flex-end; /* Align content to the right */
    flex-direction: column;
    flex: 1;
    text-align: right; /* Right-align text */
    color: #000;
    position: relative; /* To position absolute elements within columns */
    padding: 0;
    height: 100%;
    width: 100%;
    opacity: 0; /* Initially hidden */
    animation: fadeIn 1s forwards; /* Apply fade-in animation */
}

/* Add a delay for each column for staggered fade-in effect */
.column.white {
    animation-delay: 0.2s;
}

.column.neon {
    animation-delay: 0.4s;
}

.column.gradient {
    animation-delay: 0.6s;
}

.column.red {
    animation-delay: 0.8s;
}

/* Gradient column-specific styling */
.gradient {
    background: linear-gradient(180deg, #C2FF04, #0177BF, #1E9CD7, #FF2AD0, #FE0633);
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center the "Coming Soon" block vertically */
    align-items: center; /* Center horizontally */
    position: relative;
    padding: 0;
    text-align: center;
    height: 100%;
    width: 100%;
}

/* Typography */
h1 {
    font-size: 3.5vw;
    font-weight: 900; /* Set to Black (900 weight) for "Estudio Brillo Creativo" */
    line-height: 0.8; /* Maintain consistent line-height */
    margin-right: 20px;
    margin-bottom: 20px;
}

h5 {
    font-weight: normal;
}

p {
    font-size: 1vw;
    font-weight: 400; /* Regular weight for other text */
    margin-top: 20px;
}

/* Coming Soon Styling */
.coming-soon {
    background-color: #000;
    width: 100%; /* Make the black rectangle span the full width */
    padding: 10px 0;
    color: #fff;
    font-size: 3vw;
    font-weight: normal; /* Normal weight for "Coming Soon" */
    text-align: center;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%); /* Vertically center */
}

/* Address Styling */
.address {
    position: absolute;
    bottom: 20px;
    right: 0;
    color: #000;
    font-size: 0.9vw;
    margin-right: 20px;
    text-align: right;
}

.address i {
    margin-right: 8px;
    font-size: 1.2vw; /* Adjust size of the location icon */
}

/* Column-specific colors */
.white {
    background-color: #fff;
}

.neon {
    background-color: #ccff00;
}

.red {
    background-color: #ff0033;
    color: #000;
}

@media (max-width: 768px) {
    .container {
        display: flex;
        flex-direction: column; /* Stack columns vertically */
        height: 100vh; /* Full height of the viewport */
        width: 100vw; /* Full width of the viewport */
        padding: 0;
        overflow: hidden;
    }

    .column {
        flex: 1; /* Divide height equally among columns */
        display: flex;
        justify-content: right;
        align-items: right;
        text-align: right;
        width: 100%; /* Full width for each column */
        padding: 10px;
    }

    /* Gradient specific styling */
    .gradient {
        background: linear-gradient(180deg, #C2FF04, #0177BF, #1E9CD7, #FF2AD0, #FE0633);
        display: flex;
        flex-direction: column; /* Stack "Coming Soon" and address vertically */
        justify-content: center; /* Center them vertically */
        align-items: center;
        text-align: center;
        padding: 20px;
    }

    .coming-soon {
        font-size: 5vw; /* Adjust font size */
        padding: 5px 0; /* Add padding to give it space */
        background-color: #000;
        color: #fff;
        text-align: center;
        width: 100%;
        margin-bottom: 40vh; /* Use relative margin to adjust dynamically */
    }

    .address {
        font-size: 3vw; /* Adjust font size for the address */
        text-align: right;
        width: 100%;
        margin-top: 40vh; /* Use relative margin to adjust dynamically */
    }

    h1 {
        font-size: 5vw; /* Shrink font size for better visibility */
        line-height: 1.2;
        margin: 10px;
    }

    p {
        font-size: 2.8vw;
        margin-top: 5px;
    }
}
