* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Quicksand', sans-serif; background-image: url(../img/fondo.png); } /* Carrusel de inicio*/ .slider { scroll-snap-align: start; position: relative; width: 100%; height: calc(100vh - 90px); overflow: hidden; z-index: 0; } .slider-container { display: flex; transition: transform 1s ease; } .slide { min-width: 100%; } .slide img { width: 100%; display: block; } .btn { background-color: rgb(255, 255, 255); border: none; border-radius: 100%; width: 50px; height: 50px; color: #76225e; padding: 10px; cursor: pointer; position: absolute; top: 50%; transform: translateY(-50%); transform: scale(1.2); font-size: 24px; z-index: 10; } .prev { left: 15px; } .next { right: 15px; } /* Sección historias de exito */ .histories { margin-top: 20px; height: 85vh; background-color: #471d0116; display: flex; align-items: center; justify-content: center; } .content { display: flex; justify-content: space-around; width: 100%; max-width: 70%; height: auto } .text-content { padding-left: 20px; padding-right: 20px; display: flex; flex-direction: column; justify-content: center; width: 30%; } .histories-btn { text-decoration: none; color: white; border-radius: 30px; padding: 15px 30px; width: fit-content; font-weight: bold; background-color: #f04f48; } .other-content { padding-left: 20px; padding-right: 20px; width: 100%; max-width: 65%; position: relative; } .other-content .bg-img { border-radius: 50%; width: 100%; height: 100%; } /* ----------Carrussel de historias de exito------------ */ .carousel-container { position: absolute; bottom: -60px; left: 0; display: flex; flex-direction: column; align-items: center; } .carousel { display: flex; transition: transform 0.4s ease-in-out; overflow: hidden; width: 390px; height: 600px; } .carousel-track { display: flex; transition: transform 0.4s ease-in-out; } .card-car { min-width: fit-content; height: auto; margin-top: 50px; display: flex; flex-direction: column; text-align: center; align-items: center; font-size: 24px; border-radius: 10px; } .bubble { height: 500px; width: 425px; background-image: url(../img/pensamiento.png); background-size: cover; display: flex; align-items: center; justify-content: center; } .bubble-content { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 80%; } .purple-circle { background-color: #76225e; color: white; width: 60px; height: 60px; border-radius: 100%; display: flex; align-items: center; justify-content: center; } .bubble-title { color: #76225e; font-size: 22px; font-weight: bold; margin-top: 20px; } .bubble-text{ padding-left: 15px; padding-right: 15px; color: #000; font-size: 17px; margin-top: 20px; } .bubble-name{ color: #2c2c2c; font-size: 22px; font-weight: bold; margin-top: 20px; } .place{ font-size: 30px; font-family: 'Caveat', cursive; font-weight: 400; color: #04BFAA; } .card-car img { margin-left: 150px; margin-top: -20px; } .carousel-controls { margin-top: -50px; display: flex; justify-content: space-between; margin-top: 15px; } .carousel-btn { margin-right: 10px; margin-left: 10px; display: flex; align-items: center; justify-content: center; background-color: #ffffff; color: #76225e; font-weight: bold; font-size: 20px; border: none; width: 50px; height: 50px; cursor: pointer; border-radius: 50%; } /* Slider infinito */ .infinite-carousel { margin: 0 auto; padding: 20px 0; max-width: 65%; overflow: hidden; display: flex; height: 15vh; } .group { display: flex; align-items: center; justify-content: center; width: 100%; justify-content: space-between; padding-right: 20px; will-change: transform; animation: scrolling 30s linear infinite; } .card { display: flex; align-items: center; justify-content: center; border-radius: 24px; margin-left: 100px; /* &:nth-child(1) { background: #7958ff; } &:nth-child(2) { background: #5d34f2; } &:nth-child(3) { background: #4300da; } */ } .card img { border-bottom: 3px solid transparent; border-image: linear-gradient(to left, #dd9494 0%, #d62525 100%, #dd9494 0%) 1; height: 90px; width: 150px; } @keyframes scrolling { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } } @keyframes fadeInDown { from { opacity: 0; transform: translate3d(0, -20%, 0); } to { opacity: 1; transform: translate3d(0, 0, 0); } }