.home {
    background-color: var(--primaria);
    padding: 20px;
    color: var(--text);

    justify-content: center;

    min-height: 150px;
    display: flex;
    flex-direction: column;


}

.infos {
    max-width: 60%;
    text-align: center;
    align-items: center;
}

.infos h1 {
    font-size: 1.2rem;
}

.padrinhos_content {
    padding: 20px;
    text-align: center;
}

.padrinhos_content .lista_categorias_padrinhos {
    width: 100%;
    overflow: auto;
    margin: auto;

    justify-content: center;

}


.padrinhos {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

.padrinhos .iten_pradinho {
    background-color: var(--gelo);
    font-size: .9rem;
    padding: 10px;

    width: 200px;
    min-height: 100px;

    text-align: center;
    cursor: pointer;
    border-radius: 10px;
    transition: all .3s ease;


    justify-content: center;
    min-width: 200px;
}

.padrinhos .iten_pradinho img {
    max-width: 100px;
    margin: auto;
}

.padrinhos .iten_pradinho.ative {
    background-color: var(--primaria);
    color: var(--text);
}


.sobre_curto {
    padding: 20px;
}

.sobre_curto .content_sobre {
    text-align: center;
    max-width: 70%;
    margin: auto;

    font-size: .95rem;
}



/* table */

.table {
    max-height: 400px;

}


.left_links {
    display: flex;
    flex-direction: column;
    gap: 10px;

    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-60%);
    padding: 10px;
    border-radius: 10px;
    
    gap: 10px;
    background-color: #f3c7ad;
}

.left_links a {
    text-decoration: none;
    color: #ff4500;

    font-size: 1.5rem;
}


/* carrocel */

.carrocel {
    flex: 1;
    width: 90%;
    overflow-x: hidden;
    min-height: 150px;

    margin: auto;

}

.carrocel::-webkit-scrollbar {
    display: none;
}

.content_carrocel {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    animation: spin 10s linear infinite;

    flex: 1;
    padding-right: 10px;
}

.content_carrocel .iten_carrocel {
    flex: 0 0 100px;
}

.content_carrocel .iten_carrocel img {
    max-width: 100%;
}



@keyframes spin {
    from {
        translate: 0;
    }

    to {
        translate: -100%;
    }
}


.contetn_opc {
    margin: 0 auto; 
    width: 100%; 
    justify-content: center;
}


.header_bottons {
    display: flex;
    gap: 1-4rem;
    margin-top: 1.3rem;
}


@media (max-width:680px) {

    .home {
        max-height: 500px;
        min-height: auto;
    }

    .padrinhos {
        grid-template-columns: repeat(2, 1fr);

    }

    .contetn_opc {
        justify-content: start;
        align-items: start;
        overflow: auto;

        padding: 20px 10px;
    }

    .padrinhos .iten_pradinho {
        width: 100%;
        min-width: 160px;
        max-width: 200px;
    }

    .infos {
        min-width: 100%;
    }

    .infos h1 {
        font-size: 1rem;
    }

    .modal {
        min-width: 100%;
    }

    .left_links {
        display: flex;
        flex-direction: row;
        gap: 10px;

        position: absolute;
        top: 10px;
        left: 50%;
        transform: translateX(-60%);
        transform: translateY(0%);
        background-color: #f3c7ad;
        padding: 10px;
        border-radius: 10px;

    }

    .left_links a {
        font-size: .8rem;

    }

    .padrinhos_content .lista_categorias_padrinhos {
        justify-content: start;
    }

    .carrocel {
        margin: auto 20px;
    }
    .header_bottons {
        flex-direction: column;
        gap: 1rem;
        margin-top: 0;
    }
}