main.css 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668
  1. /* Variables */
  2. @font-face {
  3. font-family: "Source Sans Pro";
  4. src: url("../fonts/SourceSansPro-Regular.ttf");
  5. font-weight: normal;
  6. font-style: normal;
  7. }
  8. :root {
  9. --ff-main: "Source Sans Pro", Arial, sans-serif;
  10. --primary-color: "#329998";
  11. --primary-color-gradient: linear-gradient(360deg, rgba(53,130,129,1) 0%, rgba(50,153,152,1) 35%, rgba(47,173,172,1) 100%);
  12. }
  13. html {
  14. scroll-behavior: smooth;
  15. }
  16. body {
  17. font-family: var(--ff-main);
  18. font-weight: 300;
  19. font-family: 19px;
  20. color: #000;
  21. padding: 0;
  22. margin: 0;
  23. box-sizing: border-box;
  24. overflow-x: hidden;
  25. }
  26. .no-margins {
  27. margin: 0;
  28. padding: 0;
  29. }
  30. .none {
  31. display: none;
  32. }
  33. .animation-scroll {
  34. view-timeline-name: --animated;
  35. view-timeline-axis: block;
  36. animation-timeline: --animated;
  37. animation-name: show;
  38. animation-range: entry 25% cover 50%;
  39. animation-fill-mode: both;
  40. }
  41. body > a.to_top {
  42. background: #FFF;
  43. color: #329998;
  44. position: fixed;
  45. bottom: 0;
  46. right: 0;
  47. width: 50px;
  48. height: 50px;
  49. display: flex;
  50. justify-content: center;
  51. align-items: center;
  52. text-decoration: none;
  53. margin: 1rem;
  54. border-radius: 50%;
  55. box-shadow: 1px 2px 20px rgba(0,0,0, .1);
  56. opacity: 0;
  57. pointer-events: none;
  58. transition: all .4s;
  59. }
  60. body > a.to_top.active {
  61. bottom: 10px;
  62. pointer-events: auto;
  63. opacity: 1;
  64. }
  65. .container {
  66. /* Extra Large: xl */
  67. max-width: 1200px;
  68. margin: 0 auto;
  69. }
  70. .ligth-bg-text {
  71. color: #329998 !important;
  72. }
  73. .ligth-bg-text::after {
  74. background: #329998 !important;
  75. }
  76. @media screen and (max-width: 767px) {
  77. .container {
  78. width: 100%;
  79. }
  80. }
  81. .title-section {
  82. margin: 0 0 30px 0;
  83. font-size: 30px;
  84. font-weight: 300;
  85. text-transform: uppercase;
  86. padding-bottom: 20px;
  87. line-height: 1.5;
  88. text-align: center;
  89. color: #fff;
  90. }
  91. .title-section::after {
  92. content: "";
  93. position: absolute;
  94. display: block;
  95. width: 80px;
  96. height: 2px;
  97. background: #fff;
  98. left: 50%;
  99. margin-left: -40px;
  100. margin-top: 1rem;
  101. }
  102. /* Nav */
  103. .main-header {
  104. position: fixed;
  105. color: #fff;
  106. display: flex;
  107. justify-content: space-between;
  108. align-items: center;
  109. height: 65px;
  110. width: 100%;
  111. z-index: 1;
  112. transition: 0.4s ease-out;
  113. }
  114. .main-header .logo {
  115. padding-left: 3rem;
  116. font-weight: 600;
  117. font-size: 30px;
  118. font-weight: 700;
  119. }
  120. .main-header a {
  121. text-decoration: none;
  122. color: inherit;
  123. text-transform: uppercase;
  124. }
  125. .main-header .nav-links {
  126. display: flex;
  127. list-style: none;
  128. margin-right: 3rem;
  129. }
  130. .main-header .nav-links .nav-link a {
  131. margin: 0.2rem;
  132. padding: 1rem 0.5rem;
  133. }
  134. .main-header .nav-links .nav-link a:hover {
  135. background: rgba(255, 255, 255, 0.03);
  136. color: #0e3131;
  137. }
  138. .main-header .menu-icon {
  139. position: relative;
  140. padding: 26px 10px;
  141. cursor: pointer;
  142. z-index: 1;
  143. display: none;
  144. }
  145. .main-header .menu-icon__line {
  146. display: block;
  147. position: relative;
  148. background: #000;
  149. height: 2px;
  150. width: 20px;
  151. border-radius: 4px;
  152. }
  153. .main-header .menu-icon__line::before, .main-header .menu-icon__line::after {
  154. content: "";
  155. position: absolute;
  156. height: 100%;
  157. width: 100%;
  158. border-radius: 4px;
  159. background-color: #000;
  160. transition: background 0.8s ease;
  161. }
  162. .main-header .menu-icon__line::before {
  163. transform: translateY(-5px);
  164. }
  165. .main-header .menu-icon__line::after {
  166. transform: translateY(5px);
  167. }
  168. .main-header .menu-btn {
  169. position: absolute;
  170. top: -100px;
  171. }
  172. .main-header.scrolled {
  173. height: 50px;
  174. background: rgba(255, 255, 255, 0.9);
  175. color: #000;
  176. }
  177. .main-header.scrolled .menu-icon__line, .main-header.scrolled .menu-icon__line::before, .main-header.scrolled .menu-icon__line::after {
  178. background: #000;
  179. }
  180. /* Medium: MD */
  181. @media screen and (max-width: 767px) {
  182. .main-header > .menu-icon {
  183. display: inline-block;
  184. margin-right: 3rem;
  185. }
  186. .main-header > .menu-icon__line::before,
  187. .main-header > .menu-icon__line,
  188. .main-header > .menu-icon__line::after {
  189. animation-direction: reverse;
  190. }
  191. .main-header > .menu-icon__line {
  192. animation: closeMid 0.8s backwards;
  193. }
  194. .main-header > .menu-icon__line::before {
  195. animation: closeTop 0.8s backwards;
  196. }
  197. .main-header > .menu-icon__line::after {
  198. animation: closeBottom 0.8s backwards;
  199. }
  200. .nav-links {
  201. position: absolute;
  202. top: 0;
  203. left: 0;
  204. margin: 0;
  205. opacity: 0;
  206. flex-direction: column;
  207. justify-content: flex-start;
  208. align-items: center;
  209. padding: 5rem 0;
  210. width: 100vw;
  211. height: 100vh;
  212. font-size: 18px;
  213. color: var(--secondary-text);
  214. transition: opacity 0.8s 0.5s, clip-path 1s 0.5s;
  215. clip-path: circle(200px at top right);
  216. }
  217. .main-header .nav-links .nav-link {
  218. opacity: 0;
  219. transform: translateX(100%);
  220. width: 100%;
  221. text-align: center;
  222. transition: .4s ease-in-out 1s, transform .6s cubic-bezier(0.175, 0.885, 0.32. 1.275)
  223. }
  224. .main-header > .nav-links > .nav-link > a {
  225. display: block;
  226. margin-bottom: 2rem;
  227. }
  228. .menu-btn:checked ~ .nav-links {
  229. opacity: 1;
  230. clip-path: circle(100% at center);
  231. background-color: #329998;
  232. }
  233. .menu-btn:checked ~ .nav-links > .nav-link {
  234. opacity: 1;
  235. transform: translateX(0);
  236. transition:
  237. opacity .4s ease-in-out 1s,
  238. transform .6s cubic-bezier(0.175, 0.885, 0.32, 1.275) 1s;
  239. }
  240. .menu-btn:checked ~ .menu-icon {
  241. border-radius: 50%;
  242. animation: pulse 1s;
  243. }
  244. .menu-btn:checked ~ .menu-icon > .menu-icon__line,
  245. .menu-btn:checked ~ .menu-icon > .menu-icon__line::after,
  246. .menu-btn:checked ~ .menu-icon > .menu-icon__line::before
  247. {
  248. background: #fff;
  249. }
  250. .menu-btn:checked ~ .menu-icon > .menu-icon__line {
  251. animation: openMid 0.8s forwards
  252. }
  253. .menu-btn:checked ~ .menu-icon > .menu-icon__line::after {
  254. animation: openTop 0.8s forwards
  255. }
  256. .menu-btn:checked ~ .menu-icon > .menu-icon__line::before {
  257. animation: openBottom 0.8s forwards;
  258. }
  259. }
  260. /* Header top */
  261. .header-top {
  262. width: 100%;
  263. height: 100vh;
  264. background: linear-gradient(180deg, rgba(53,130,129,1) 0%, rgba(50,153,152,1) 35%, rgba(47,173,172,1) 100%);
  265. }
  266. .header-top > .container__header {
  267. display: flex;
  268. height: 100%;
  269. flex-direction: column;
  270. justify-content: center;
  271. align-items: center;
  272. text-align: center;
  273. }
  274. .header-top > .container__header > h1 {
  275. font-size: clamp(28px, 4vw, 50px);
  276. color: #fff;
  277. margin: 0 0 20px 0;
  278. }
  279. .header-top > .container__header > h2 {
  280. font-size: clamp(16px, 4vw, 28px);
  281. line-height: 38px;
  282. font-weight: 300;
  283. text-wrap: wrap;
  284. color: rgba(255, 255, 255, 0.8);
  285. }
  286. /* Intro Section */
  287. .intro-container {
  288. padding: 4rem 2rem;
  289. text-wrap: wrap;
  290. }
  291. .intro-container > span {
  292. font-size: clamp(16px, 1.1vw, 17px);
  293. }
  294. /* Services Section */
  295. .services-container {
  296. background: var(--primary-color-gradient);
  297. padding: 4rem 2rem 4rem 2rem;
  298. clip-path: polygon(0px 0px, 100% 0px, 100% 93.85%, 0px 100%);
  299. }
  300. .services-container > .container > span {
  301. font-size: 24px;
  302. line-height: 34px;
  303. color: rgba(255, 255, 255, 0.8);
  304. }
  305. .container-services__items {
  306. display: grid;
  307. grid-template-columns: repeat(2, 1fr);
  308. column-gap: 1rem;
  309. row-gap: 1rem;
  310. margin: 1rem 0 4rem 0;
  311. }
  312. .container-services__items > .service-item {
  313. display: flex;
  314. flex-direction: row;
  315. align-items: center;
  316. background-color: #fff;
  317. padding: 1rem;
  318. border-radius: 7px;
  319. }
  320. .container-services__items > .service-item > .icon-item-container {
  321. max-width: 100px;
  322. min-width: 100px;
  323. text-align: center;
  324. }
  325. .container-services__items > .service-item > .icon-item-container > i {
  326. font-size: 60px;
  327. transition: font-size 0.6s linear;
  328. }
  329. .container-services__items > .service-item > .icon-item-container > i:hover {
  330. font-size: 80px;
  331. }
  332. .text-item-container > h2 {
  333. font-size: 18px;
  334. font-weight: bold;
  335. margin: 0;
  336. }
  337. .container-services__items > .service-item > .texts-item-container > ul {
  338. color: rgba(0, 0, 0, 0.6);
  339. font-size: 16px;
  340. font-weight: 400;
  341. }
  342. @media screen and (max-width: 768px) {
  343. .container-services__items {
  344. grid-template-columns: 1fr;
  345. row-gap: 1rem;
  346. }
  347. .container-services__items > .service-item {
  348. flex-direction: column;
  349. }
  350. .container-services__items > .service-item > .icon-item-container {
  351. padding: 1rem 0
  352. }
  353. .container-services__items > .service-item > .texts-item-container > ul {
  354. list-style: none;
  355. padding: 0
  356. }
  357. .container-services__items > .service-item > .texts-item-container > ul > li {
  358. margin-bottom: .3rem;
  359. }
  360. .services-container {
  361. clip-path: polygon(0px 0px, 100% 0px, 99.78% 98.59%, 0px 100%);
  362. }
  363. }
  364. /* UsTeam */
  365. .usTeam-container {
  366. padding: 4rem 0;
  367. }
  368. .container__item-usTeam {
  369. display: flex;
  370. flex-direction: row;
  371. justify-content: center;
  372. }
  373. .team-item-container {
  374. border: 2px solid #f2f2f2;
  375. padding: 80px 30px 30px 30px;
  376. float: left;
  377. width: 100%;
  378. position: relative;
  379. margin: 4rem 2rem;
  380. max-width: 340px;
  381. }
  382. .team-item-container > figure {
  383. position: absolute;
  384. margin-top: -30px;
  385. top: 0;
  386. left: 50%;
  387. margin-left: -3rem;
  388. display: block;
  389. padding: 15px;
  390. border: 5px solid #329998;
  391. border-radius: 50%;
  392. }
  393. .team-item-container > figure > svg {
  394. color: #267271;
  395. }
  396. .team-item-container > figure > svg:hover {
  397. color: #329998;
  398. }
  399. .team-item-container > .container__text > h4 {
  400. color: #000;
  401. font-family: "Source Sans Pro", Arial, sans-serif;
  402. font-weight: 400;
  403. font-size: 24px;
  404. text-align: center;
  405. margin-bottom: .4rem;
  406. }
  407. .team-item-container > .container__text > h6 {
  408. color: #b3b3b3;
  409. font-weight: 300;
  410. font-size: 18px;
  411. line-height: 1.5;
  412. text-align: center;
  413. }
  414. .team-item-container > .container__text > .container-links {
  415. display: inline-block;
  416. width: 100%;
  417. text-align: center;
  418. margin: 1rem 0;
  419. }
  420. a.social {
  421. text-decoration: none;
  422. color: inherit
  423. }
  424. .team-item-container > .container__text > .container-links > a.social > i {
  425. margin-right: 0.5rem;
  426. font-size: 1.3rem;
  427. background-color: #329998;
  428. color: #fff;
  429. border-radius: 5px;
  430. padding: 10px;
  431. }
  432. .team-item-container > .container__text > .container-links > i:hover {
  433. cursor: pointer;
  434. background-color: #1c4645;
  435. }
  436. @media screen and (max-width: 768px) {
  437. .container__item-usTeam {
  438. display: flex;
  439. flex-direction: column;
  440. align-items: center;
  441. }
  442. .container__item-usTeam > .team-item-container {
  443. width: 100%;
  444. margin: 2rem 0;
  445. }
  446. }
  447. /* Contact */
  448. .contact-container {
  449. padding: 6rem 4rem;
  450. background: #329998;
  451. min-height: 800px;
  452. max-height: 1000px;
  453. clip-path: polygon(0px 0px, 100% 0px, 100% 100%, 0px 93.85%);
  454. }
  455. .contact-container > .container > .row {
  456. display: grid;
  457. grid-template-columns: repeat(2, 1fr);
  458. }
  459. form > .row-form {
  460. display: flex;
  461. flex-direction: column;
  462. margin: 1rem 0;
  463. }
  464. form > .row-form > input {
  465. border: none;
  466. padding: 1rem;
  467. font-family: var(--ff-main);
  468. font-size: 16px;
  469. }
  470. form > .row-form > textarea {
  471. resize: vertical;
  472. max-height: 250px;
  473. padding: 1rem;
  474. font-family: var(--ff-main);
  475. font-size: 16px;
  476. }
  477. form > .row-form > label {
  478. margin-bottom: .5rem;
  479. color: #FFF;
  480. }
  481. #contactForm > input {
  482. width: 100%;
  483. padding: 1rem 0;
  484. border: none;
  485. }
  486. .formulario__input-error {
  487. color: #fb0000;
  488. text-shadow: 1px 1px #143f3e;
  489. font-weight: bold;
  490. }
  491. input[type="submit"] {
  492. background-color: rgb(29 119 118);
  493. color: rgb(232, 230, 227);
  494. border-color: transparent;
  495. text-transform: uppercase;
  496. border-radius: 3px;
  497. font-size: 18px;
  498. }
  499. input[type="submit"]:disabled {
  500. background-color: rgb(48, 52, 54);
  501. color: rgb(232, 230, 227);
  502. outline-color: currentcolor;
  503. }
  504. @media screen and (max-width: 768px) {
  505. .contact-container > .container > .row {
  506. grid-template-columns: 1fr;
  507. }
  508. .contact-container {
  509. padding: 4rem 1rem
  510. }
  511. }
  512. /* Footer */
  513. footer {
  514. padding: 2rem;
  515. color: #329998;
  516. text-align: center;
  517. }
  518. .nav-footer > .nav-links {
  519. display: flex;
  520. justify-content: center;
  521. list-style: none;
  522. padding: 0;
  523. }
  524. .nav-footer > .nav-links > li {
  525. text-transform: uppercase;
  526. margin: 0 1rem 1rem 0;
  527. }
  528. .nav-footer > .nav-links > li:last-child {
  529. margin: 0;
  530. }
  531. .nav-footer > .nav-links > li > a {
  532. color: inherit;
  533. font-weight: bold;
  534. text-decoration: none;
  535. }
  536. /* Animaciones */
  537. @keyframes pulse {
  538. from {
  539. box-shadow: 0 0 0 0px rgba(50, 153, 152, 0.6);
  540. background: rgba(50, 153, 152, 0.6);
  541. }
  542. to {
  543. box-shadow: 0 0 0 1000px rgba(50, 153, 152, 0);
  544. background: rgba(50, 153, 152, 0);
  545. }
  546. }
  547. @keyframes openTop {
  548. 0% { transform: translateY(-5px) rotate(0deg); }
  549. 50% { transform: translateY(0px) rotate(0deg); }
  550. 100% { transform: translateY(0px) rotate(90deg); }
  551. }
  552. @keyframes openMid {
  553. 50% { transform: rotate(0deg); }
  554. 100% { transform: rotate(50deg); }
  555. }
  556. @keyframes openBottom {
  557. 0% { transform: translateY(5px) rotate(0deg); }
  558. 50% { transform: translateY(0px) rotate(0deg); }
  559. 100% { transform: translateY(0px) rotate(90deg); }
  560. }
  561. @keyframes show {
  562. from {
  563. opacity: 0;
  564. scale: 25%;
  565. }
  566. to {
  567. opacity: 1;
  568. scale: 100%;
  569. }
  570. }