main.css 10 KB

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