| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323 |
- * {
- 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);
- }
- }
|