home.css 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323
  1. * {
  2. margin: 0;
  3. padding: 0;
  4. box-sizing: border-box;
  5. }
  6. body {
  7. font-family: 'Quicksand', sans-serif;
  8. background-image: url(../img/fondo.png);
  9. }
  10. /* Carrusel de inicio*/
  11. .slider {
  12. scroll-snap-align: start;
  13. position: relative;
  14. width: 100%;
  15. height: calc(100vh - 90px);
  16. overflow: hidden;
  17. z-index: 0;
  18. }
  19. .slider-container {
  20. display: flex;
  21. transition: transform 1s ease;
  22. }
  23. .slide {
  24. min-width: 100%;
  25. }
  26. .slide img {
  27. width: 100%;
  28. display: block;
  29. }
  30. .btn {
  31. background-color: rgb(255, 255, 255);
  32. border: none;
  33. border-radius: 100%;
  34. width: 50px;
  35. height: 50px;
  36. color: #76225e;
  37. padding: 10px;
  38. cursor: pointer;
  39. position: absolute;
  40. top: 50%;
  41. transform: translateY(-50%);
  42. transform: scale(1.2);
  43. font-size: 24px;
  44. z-index: 10;
  45. }
  46. .prev {
  47. left: 15px;
  48. }
  49. .next {
  50. right: 15px;
  51. }
  52. /* Sección historias de exito */
  53. .histories {
  54. margin-top: 20px;
  55. height: 85vh;
  56. background-color: #471d0116;
  57. display: flex;
  58. align-items: center;
  59. justify-content: center;
  60. }
  61. .content {
  62. display: flex;
  63. justify-content: space-around;
  64. width: 100%;
  65. max-width: 70%;
  66. height: auto
  67. }
  68. .text-content {
  69. padding-left: 20px;
  70. padding-right: 20px;
  71. display: flex;
  72. flex-direction: column;
  73. justify-content: center;
  74. width: 30%;
  75. }
  76. .histories-btn {
  77. text-decoration: none;
  78. color: white;
  79. border-radius: 30px;
  80. padding: 15px 30px;
  81. width: fit-content;
  82. font-weight: bold;
  83. background-color: #f04f48;
  84. }
  85. .other-content {
  86. padding-left: 20px;
  87. padding-right: 20px;
  88. width: 100%;
  89. max-width: 65%;
  90. position: relative;
  91. }
  92. .other-content .bg-img {
  93. border-radius: 50%;
  94. width: 100%;
  95. height: 100%;
  96. }
  97. /* ----------Carrussel de historias de exito------------ */
  98. .carousel-container {
  99. position: absolute;
  100. bottom: -60px;
  101. left: 0;
  102. display: flex;
  103. flex-direction: column;
  104. align-items: center;
  105. }
  106. .carousel {
  107. display: flex;
  108. transition: transform 0.4s ease-in-out;
  109. overflow: hidden;
  110. width: 390px;
  111. height: 600px;
  112. }
  113. .carousel-track {
  114. display: flex;
  115. transition: transform 0.4s ease-in-out;
  116. }
  117. .card-car {
  118. min-width: fit-content;
  119. height: auto;
  120. margin-top: 50px;
  121. display: flex;
  122. flex-direction: column;
  123. text-align: center;
  124. align-items: center;
  125. font-size: 24px;
  126. border-radius: 10px;
  127. }
  128. .bubble {
  129. height: 500px;
  130. width: 425px;
  131. background-image: url(../img/pensamiento.png);
  132. background-size: cover;
  133. display: flex;
  134. align-items: center;
  135. justify-content: center;
  136. }
  137. .bubble-content {
  138. display: flex;
  139. flex-direction: column;
  140. align-items: center;
  141. justify-content: center;
  142. width: 80%;
  143. }
  144. .purple-circle {
  145. background-color: #76225e;
  146. color: white;
  147. width: 60px;
  148. height: 60px;
  149. border-radius: 100%;
  150. display: flex;
  151. align-items: center;
  152. justify-content: center;
  153. }
  154. .bubble-title {
  155. color: #76225e;
  156. font-size: 22px;
  157. font-weight: bold;
  158. margin-top: 20px;
  159. }
  160. .bubble-text{
  161. padding-left: 15px;
  162. padding-right: 15px;
  163. color: #000;
  164. font-size: 17px;
  165. margin-top: 20px;
  166. }
  167. .bubble-name{
  168. color: #2c2c2c;
  169. font-size: 22px;
  170. font-weight: bold;
  171. margin-top: 20px;
  172. }
  173. .place{
  174. font-size: 30px;
  175. font-family: 'Caveat', cursive;
  176. font-weight: 400;
  177. color: #04BFAA;
  178. }
  179. .card-car img {
  180. margin-left: 150px;
  181. margin-top: -20px;
  182. }
  183. .carousel-controls {
  184. margin-top: -50px;
  185. display: flex;
  186. justify-content: space-between;
  187. margin-top: 15px;
  188. }
  189. .carousel-btn {
  190. margin-right: 10px;
  191. margin-left: 10px;
  192. display: flex;
  193. align-items: center;
  194. justify-content: center;
  195. background-color: #ffffff;
  196. color: #76225e;
  197. font-weight: bold;
  198. font-size: 20px;
  199. border: none;
  200. width: 50px;
  201. height: 50px;
  202. cursor: pointer;
  203. border-radius: 50%;
  204. }
  205. /* Slider infinito */
  206. .infinite-carousel {
  207. margin: 0 auto;
  208. padding: 20px 0;
  209. max-width: 65%;
  210. overflow: hidden;
  211. display: flex;
  212. height: 15vh;
  213. }
  214. .group {
  215. display: flex;
  216. align-items: center;
  217. justify-content: center;
  218. width: 100%;
  219. justify-content: space-between;
  220. padding-right: 20px;
  221. will-change: transform;
  222. animation: scrolling 30s linear infinite;
  223. }
  224. .card {
  225. display: flex;
  226. align-items: center;
  227. justify-content: center;
  228. border-radius: 24px;
  229. margin-left: 100px;
  230. /* &:nth-child(1) {
  231. background: #7958ff;
  232. }
  233. &:nth-child(2) {
  234. background: #5d34f2;
  235. }
  236. &:nth-child(3) {
  237. background: #4300da;
  238. } */
  239. }
  240. .card img {
  241. border-bottom: 3px solid transparent;
  242. border-image: linear-gradient(to left, #dd9494 0%, #d62525 100%, #dd9494 0%) 1;
  243. height: 90px;
  244. width: 150px;
  245. }
  246. @keyframes scrolling {
  247. 0% {
  248. transform: translateX(0);
  249. }
  250. 100% {
  251. transform: translateX(-100%);
  252. }
  253. }
  254. @keyframes fadeInDown {
  255. from {
  256. opacity: 0;
  257. transform: translate3d(0, -20%, 0);
  258. }
  259. to {
  260. opacity: 1;
  261. transform: translate3d(0, 0, 0);
  262. }
  263. }