@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
*{
    padding: 0;
    margin: 0;
    font-family: sans-serif;
}
.carrucel {
    position: relative;
    background: #fff;
}
.slide-1 {
    background: url('../images/portada/cadi_collage.png');
}
.slide-2 {
    background: url('../images/portada/canton2.png');
}
.slide-3 {
    background: url('../images/portada/yiwu2.png');
}

.slide {
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow-x: hidden;
}

@keyframes slide {
    0% { margin-left: 0; }
    20% { margin-left: 0; }

    25% { margin-left: -100; }
    45% { margin-left: -100; }

    50% { margin-left: -200; }
    70% { margin-left: -200; }

    75% { margin-left: -300; }
    100% { margin-left: -300; }
}


.tranparente {
    background: rgba(0, 0, 0, 0.03);
    width: 100%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 40px 0px;
}

.carrucel .slide .caption{
    position: absolute;
    top: 40%;
    width: 1140px;
    max-width: 80%;
    left: 45%;
    transform: translateX(-50%);
    padding-right: 30%;
    box-sizing: border-box;
    color: #fff;
    text-shadow: 0 5px 10px #0004;
}
.carrucel .slide .caption .tema{
    font-weight: bold;
    letter-spacing: 10px;
}
.carrucel .slide .caption .titulo{
    font-size: 5em;
    font-weight: bold;
    line-height: 1.3em;
}
.carrucel .slide .caption .contenido{
    font-size: 18px;
    animation-delay: 1.6s!important;
}
.carrucel .slide .caption .buttons{
    display: grid;
    grid-template-columns: repeat(2, 130px);
    grid-template-rows: 40px;
    gap: 5px;
    margin-top: 20px;
}
.carrucel .slide .caption .buttons button{
    border: none;
    background-color: #fab800;
    border-radius: 7px;
    letter-spacing: 3px;
    font-family: Poppins;
    font-weight: 500;
}
.carrucel .slide .caption .logo{
    position: absolute;
    top: 40%;
    width: 20%;
    left: 90%;
}
/*
.caption h3 {
    color: #fff;
    text-align: center;
    left: 10%;
    font-size: 50px;
    padding: 18px;
}
.caption p {
    max-width: 600px;
    width: 90%;
    left: 50%;
    margin: 0px 5%;
    color: #ccc;
    text-align: center;
    font-size: 18px;
    line-height: 1.5em;
}*/
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 100;
    background: rgba(0, 0, 0, .1);
    border-radius: 50%;
    transform: background 500ms;
}
.arrow img {
    width: 50px;
}
.arrow:hover {
    background: rgba(0, 0, 0, .4);
}
.l {
    left: 0;
}
.r {
    right: 0;
}

@media screen and (max-width: 678px) {
    .carrucel .slide .caption {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-55%, -50%);
        padding-right: 5%;
    }
    .carrucel .slide .caption .logo{
        transform: translate(-20%);
    }
    .carrucel .slide .caption .titulo{
        font-size: 25px;
    }
    .l{
        top: 80%;
        left: 10%;
    }
    .r{
        top: 80%;
        right: 10%;
    }

  
    
}