main.css 12 KB

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