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

body {
    background-color: #002616;
    color: #EBF2D3;
    font-family: 'Gabarito', sans-serif;
    letter-spacing: 0.03em;
    height: 100vh;
    height: 100dvh; /* Dynamic viewport height for mobile browsers */
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.three-columns {
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding: clamp(16px, 4vh, 40px) clamp(20px, 5vw, 60px);
    width: 100%;
}

.column {
    text-align: center;
    font-size: 14px;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    min-height: 0;
}

.logo-row {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(18px, 2vw, 32px);
}

.logo-row picture {
    order: 2;
    width: 100%;
    max-height: 342px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-side {
    font-size: 14px;
    white-space: nowrap;
}

.logo-side.top {
    order: 1;
}

.logo-row img {
    height: auto;
    width: 100%;
    max-height: 342px;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

.bottom-text {
    text-align: center;
    padding: clamp(10px, 2.5vh, 20px) 0;
    font-size: 14px;
}

@media (max-width: 1024px) {
    .three-columns {
        padding: 30px 40px;
    }
    
    .logo-container {
        padding: 80px;
    }
}

@media (max-width: 768px) {
    .three-columns {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 20px 40px;
    }

    .column {
        font-size: 13px;
    }

    .logo-container {
        padding: 60px 40px;
    }

    .logo-row {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .logo-row picture {
        order: 2;
    }

    .logo-side.top {
        order: 1;
        justify-self: center;
    }

    .logo-side.bottom {
        order: 3;
        justify-self: center;
    }

    .logo-row img {
        justify-self: center;
        align-self: center;
    }

    .bottom-text {
        font-size: 13px;
        padding: 15px 0;
    }
}

@media (max-width: 480px) {
    .three-columns {
        flex-direction: row;
        justify-content: space-between;
        padding: 15px 24px;
    }

    .column {
        font-size: 12px;
    }

    .logo-container {
        padding: 40px 24px;
    }

    .bottom-text {
        font-size: 12px;
        padding: 10px 0;
    }
}
