body {
    background-color: #fff;
}

.portada {
    width: 100%;
    overflow: hidden;
    max-height: 590px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.acciones{
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin: 30px 0 10px;
}

.acciones h1{
    width: 100%;
    text-align: center;
    font-size: 50px;
}

.fila_acciones{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.acciones .btn_acciones{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: #cc9a59 solid 3px;
    padding: 10px 5px;
    width: 270px;
    background-color: #cc9a59;
    border-radius: 25px;
    transition: all 0.3s ease;
    cursor: pointer;
    transition: box-shadow 0.3s ease;
    color: black;
}

.acciones .btn_acciones .btn_img_icono{
    border-radius: 50%;
    width: 80px;
    filter: brightness(0%);
}

.acciones .btn_acciones .btn_nombre{
    font-weight: 600;
    font-size: 20px;
}

.acciones .btn_acciones:hover{
    padding: 10px 5px;
    width: 270px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transform: scale(1.1);
}

.slider {
    width: 100%;
    height: auto;
    overflow: hidden;
    position: relative;
}

.slider .slide-track {
    display: flex;
    width: calc((100px + 30px) * 12); /* Ajustado para incluir el gap */
    animation: scroll 20s linear infinite;
    align-items: center;
    gap: 30px;
}

.slider .slide {
    width: 100px; /* Tamaño de cada imagen */
    flex-shrink: 0;
}

.slider .slide img {
    width: 100%;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc((-100px - 30px) * 6)); /* Incluye el gap */
    }
}

@media (max-width: 1100px){
    .acciones h1{
        font-size: 40px;
    }

    .fila_acciones{
        gap: 30px;
    }
    
    .acciones .btn_acciones{
        width: 200px;
    }
    
    .acciones .btn_acciones .btn_img_icono{
        width: 70px;
    }
    
    .acciones .btn_acciones .btn_nombre{
        font-weight: 600;
        font-size: 15px;
    }
}

@media (max-width: 800px){
    .fila_acciones{
        gap: 20px;
    }
    
    .acciones .btn_acciones{
        flex-direction: column;
        gap: 0;
        height: 150px;
        width: 150px;
    }
}

@media (max-width: 760px){
    section{
        margin-top: 207px;
    }
}

@media (max-width: 650px){
    .acciones{
        gap: 20px;
    }

    .fila_acciones{
        gap: 20px;
        flex-direction: column;
    }
    
    .acciones .btn_acciones{
        flex-direction: row;
        gap: 0;
        height: 50px;
        width: 200px
    }

    .acciones .btn_acciones .btn_img_icono{
        width: 50px;
    }
}

@media (min-width: 800px) {
    .slider {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        overflow: hidden;
        position: relative;
    }
    
    .slider .slide-track .slide:nth-child(n+7) {
        display: none;
    }
   
    .slider .slide-track {
        display: flex;
        gap: 30px;
        animation: none;
        align-items: center;
        justify-content: center;
    }

    .slider .slide {
        width: 100px;
        flex-shrink: 0;
    }

    .slider .slide img {
        width: 100%;
    }
}

@media (min-width: 900px) {
    .slider .slide-track {
        gap: 70px;
    }
}

@media (min-width: 1200px) {
    .slider .slide-track {
        gap: 100px;
    }
}