html {
    background-color: #ffffff;
}

body {
    height: 100%;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #0041c0;
}

.linktree-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding-bottom: 60px;
}

.left-side {
    flex: 1;
    min-width: 300px;
    text-align: left;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.left-side img {
    max-width: 100%;
    height: auto;
    display: block;
}

.right-side {
    flex: 2;
    min-width: 300px;
    text-align: center;
    box-sizing: border-box;
}

.icones-redes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.buttons-icon {
    display: flex;
    align-items: center;
    max-width: 292px;
    min-width: 237px;
    height: 45px;
    background-color: #FFFFFF;
    color: #0041C0;
    font-weight: 900;
    line-height: 56px;
    text-decoration: none;
    text-align: center;
    border-radius: 55px;
    font-size: 16px;
    padding: 0 15px;
    box-sizing: border-box;
}

.buttons-icon img {
    margin-right: 10px;
    width: 35px;
    height: 35px;
}

.buttons-icon2 {
    display: flex;
    align-items: center;
    max-width: 292px;
    min-width: 237px;
    height: 45px;
    background-color: #FFFFFF;
    color: #0041C0;
    font-weight: 900;
    line-height: 56px;
    text-decoration: none;
    text-align: center;
    border-radius: 55px;
    font-size: 16px;
    padding: 0 15px;
    box-sizing: border-box;
}

.buttons-icon2 img {
    margin-right: 10px;
    width: 22px;
    height: 27px;
}

.central-button {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0 auto;
    grid-column: span 2;
    /* Garante que o botão ocupe duas colunas no desktop */
}

.button {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Layout em duas colunas no desktop */
    gap: 20px;
    margin: 0 auto;
    margin-top: 40px;
}

@media (max-width: 991px) {
    .button {
        grid-template-columns: 1fr;
        /* Altera para uma única coluna no mobile */
        gap: 15px;
    }

    .central-button {
        grid-column: span 1;
        /* No mobile, o botão ocupa uma única coluna */
    }
}


.buttons-princ {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 64px;
    background-color: #FFFFFF;
    border-radius: 55px;
    overflow: hidden;
}

.link-button {
    flex: 1;
    color: #0041C0;
    text-decoration: none;
    text-align: center;
    font-size: 16px;
    font-weight: 900;
}

.buttons-princ img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin-right: 10px;
}

.title-mascote {
    font-size: 23px;
    color: #FFFFFF;
    display: flex;
    justify-content: center;
    font-weight: 400;
}

.title-link {
    font-size: 45px;
    color: #FFFFFF;
    margin-bottom: 20px;
    font-weight: 700;
}

.img-logo {
    margin: 30px;
}

.footer-text {
    font-size: 12px;
    text-align: left;
    padding: 10px;
    color: #ffffff;
    position: relative;
}

.footer-container {
    width: 100%;
    text-align: left;
    padding: 10px;
    background-color: #0041c0;
    color: #ffffff;
    position: relative;
    bottom: 0;
}

@media (max-width: 991px) {
    .footer-container {
        font-size: 0.6rem;
        position: relative;
    }

    .linktree-container {
        padding-bottom: 80px;
    }

    .button {
        grid-template-columns: 1fr;
    }

    .icones-redes {
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }

    .buttons-icon img {
        margin-right: 0;
    }

    .buttons-icon {
        justify-content: center;
        font-size: 0;
    }

    .buttons-icon2 img {
        margin-right: 0;
    }

    .buttons-icon2 {
        justify-content: center;
        font-size: 0;
    }

    .left-side {
        text-align: center;
    }

    .title-leo,
    .title-mascote {
        margin-top: 0;
    }

    .title-leo {
        margin-bottom: 10px;
    }

    .left-side img {
        margin-bottom: 20px;
    }

    .buttons-icon {
        display: flex;
        align-items: center;
        max-width: 180px;
        min-width: 55px;
        height: 56px;
        width: 40px;
    }

    .buttons-icon2 {
        display: flex;
        align-items: center;
        max-width: 180px;
        min-width: 55px;
        height: 56px;
        width: 40px;
    }

    .title-link {
        font-size: 20px;
        color: #FFFFFF;
        margin-bottom: 20px;
        font-weight: 700;
    }

    .left-side {
        flex-direction: column;
    }

    .title-leo,
    .title-mascote {
        order: -1;
    }

    .leo-img {
        order: 2;
        content: url('../images/leo-mobile2.png');
    }

    .img-logo {
        order: -1;
    }
}

@media (min-width: 992px) {
    .left-side {
        text-align: center;
    }

    .title-leo,
    .title-mascote {
        margin-top: -10px;
    }

    .left-side {
        flex-direction: column;
    }

    .title-leo,
    .title-mascote {
        order: initial;
    }
}