Advertisement
deyanivanov966

Landing Page Task 101 styles

Nov 10th, 2021
1,336
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 15.71 KB | None | 0 0
  1. :root {
  2.   --primary-color: rgba(13, 110, 139, 0.75);
  3.   --background-color: rgba(255, 255, 255, 0.8);
  4.   --overlay-color: rgba(24, 39, 51, 0.85);
  5.   --menu-speed: 0.75s;
  6. }
  7.  
  8. * {
  9.   margin: 0;
  10.   padding: 0;
  11.   box-sizing: border-box;
  12. }
  13.  
  14. html {
  15.   overflow-x: hidden;
  16. }
  17.  
  18. body {
  19.   font-family: "Roboto", sans-serif;
  20.   line-height: 1.4;
  21. }
  22.  
  23. .showcase-inner {
  24.   max-width: 960px;
  25.   margin: auto;
  26.   overflow: hidden;
  27.   padding: 0 3rem;
  28. }
  29.  
  30. .showcase {
  31.   background: var(--primary-color);
  32.   color: #fff;
  33.   height: 100vh;
  34.   position: relative;
  35. }
  36.  
  37. .showcase:before {
  38.   content: "";
  39.   background: url(./images/showcase-background.jpeg) no-repeat center
  40.     center/cover;
  41.   position: absolute;
  42.   top: 0;
  43.   left: 0;
  44.   width: 100%;
  45.   height: 100%;
  46.   z-index: -1;
  47. }
  48.  
  49. .showcase .showcase-inner {
  50.   display: flex;
  51.   flex-direction: column;
  52.   align-items: center;
  53.   justify-content: center;
  54.   text-align: center;
  55.   height: 100%;
  56. }
  57.  
  58. .showcase h1 {
  59.   font-size: 4rem;
  60. }
  61.  
  62. .showcase p {
  63.   font-size: 1.3rem;
  64. }
  65. .links-div .main-menu {
  66.   font-family: Lato;
  67.   font-style: normal;
  68.   font-weight: bold;
  69.   font-size: 14px;
  70.   line-height: 17px;
  71. }
  72. .links-div .main-menu ul {
  73.   list-style-type: none;
  74.   display: flex;
  75.   align-items: center;
  76.   justify-content: center;
  77.   text-transform: uppercase;
  78.   padding-top: 10px;
  79.   font-weight: 900;
  80.   font-family: "Lato", sans-serif;
  81. }
  82. .menu-wrap .menu ul {
  83.   text-transform: uppercase;
  84. }
  85. .nav-link,
  86. .nav-link:hover {
  87.   color: #000;
  88.   font-size: 15px;
  89. }
  90. .align-items-center {
  91.   align-items: center !important;
  92. }
  93. h3 {
  94.   font-weight: 800;
  95. }
  96. .row-padding {
  97.   display: flex;
  98.   flex-wrap: wrap;
  99. }
  100. .statistic {
  101.   z-index: 1;
  102.   width: 160px;
  103. }
  104. .spacing {
  105.   margin-bottom: 100px;
  106. }
  107. .statistic-span {
  108.   background-color: red;
  109.   padding-left: 200px;
  110.   color: white;
  111. }
  112. .statistics-bg {
  113.   width: 100%;
  114.   height: 100%;
  115.   object-fit: contain;
  116. }
  117. .statistics-bg-color {
  118.   animation: move-bg-color 5s linear infinite;
  119. }
  120.  
  121. .container-fluid {
  122.   margin: 0;
  123.   padding: 0;
  124. }
  125.  
  126. .statistic-background {
  127.   position: absolute;
  128.   text-align: center;
  129.   z-index: -1;
  130. }
  131. .statistic-background img {
  132.   position: absolute;
  133.   top: 0%;
  134.   left: 0%;
  135.   z-index: -1;
  136. }
  137. .statistics-numbers {
  138.   display: flex;
  139.   flex-wrap: wrap;
  140.   justify-content: center;
  141.   align-content: center;
  142.   margin: 0 auto;
  143. }
  144.  
  145. .statistic-heading {
  146.   font-family: "Montserrat", sans-serif;
  147.   font-size: 40px;
  148.   color: #fff;
  149.   margin-top: 30px;
  150. }
  151. .statistic-text {
  152.   font-family: "Lato", sans-serif;
  153.   font-weight: 800;
  154.   font-size: 24px;
  155.   color: #000;
  156. }
  157.  
  158. .history-span {
  159.   background: #e14437;
  160.   padding-left: 200px;
  161.   color: #fff;
  162. }
  163. .about-span {
  164.   background: #e14437;
  165.   padding-left: 200px;
  166.   color: #fff;
  167. }
  168. .span-headings-about {
  169.   text-transform: uppercase;
  170.   color: #000;
  171. }
  172. .span-headings {
  173.   text-transform: uppercase;
  174.   color: #000;
  175. }
  176. .span-headings-history {
  177.   text-transform: uppercase;
  178.   color: #fff;
  179. }
  180.  
  181. .history-heading {
  182.   background-image: url(./images/background-image-history.svg);
  183.   top: 0;
  184.   bottom: 0;
  185.   right: 0;
  186.   left: 0;
  187.   background-repeat: no-repeat;
  188.   background-size: cover;
  189.   background-position: center;
  190.   background-attachment: fixed;
  191.   z-index: -1;
  192. }
  193. .history {
  194.   min-height: 55px;
  195. }
  196. .history-row {
  197.   display: flex;
  198.   color: #fff;
  199.   align-items: center;
  200.   width: 50%;
  201.   margin-left: auto;
  202. }
  203. .history-row-right {
  204.   display: flex;
  205.   color: #fff;
  206.   flex-direction: row-reverse;
  207.   align-items: center;
  208.   width: 50%;
  209.   margin-right: auto;
  210.   margin-left: 35px;
  211. }
  212. .history .history-row .history-date::before {
  213.   content: url(./parts/polygon.png);
  214.   position: absolute;
  215.   left: 50%;
  216.   top: 50%;
  217.   width: 123 px;
  218.   height: 123 px;
  219.   transform: translate(-50%, -50%);
  220.   background-size: contain;
  221.   background-repeat: no-repeat;
  222.   background-position: center;
  223.   z-index: 0;
  224. }
  225. .history .history-row-right .history-date-right::before {
  226.   content: url(./parts/polygon.png);
  227.   position: absolute;
  228.   left: 50%;
  229.   top: 50%;
  230.   width: 123 px;
  231.   height: 123 px;
  232.   transform: translate(-50%, -50%);
  233.   background-size: contain;
  234.   background-repeat: no-repeat;
  235.   background-position: center;
  236.   z-index: 0;
  237. }
  238. .history-date {
  239.   display: flex;
  240.   flex-direction: column;
  241.   justify-content: center;
  242.   position: relative;
  243.   align-items: center;
  244.   margin-right: 70px;
  245.   margin-left: -33px;
  246. }
  247. .history-date-right {
  248.   display: flex;
  249.   flex-direction: column;
  250.   justify-content: center;
  251.   position: relative;
  252.   align-items: center;
  253.   margin-right: 50px;
  254.   margin-left: 70px;
  255. }
  256. .history-text {
  257.   font-family: Lato, sans-serif;
  258.   font-style: normal;
  259.   font-weight: normal;
  260.   font-size: 18px;
  261.   line-height: 20px;
  262.   color: #fff;
  263. }
  264. .history-text-right {
  265.   font-family: Lato, sans-serif;
  266.   font-style: normal;
  267.   font-weight: normal;
  268.   font-size: 18px;
  269.   line-height: 20px;
  270.   color: #fff;
  271.   text-align: left;
  272. }
  273.  
  274. .month {
  275.   font-family: Lato;
  276.   font-style: normal;
  277.   font-weight: bold;
  278.   font-size: 16px;
  279.   line-height: 1;
  280.   text-align: center;
  281.   color: #fff;
  282.   position: relative;
  283.   z-index: 1;
  284. }
  285. .month-right {
  286.   font-family: Lato;
  287.   font-style: normal;
  288.   font-weight: bold;
  289.   font-size: 16px;
  290.   line-height: 1;
  291.   text-align: center;
  292.   color: #fff;
  293.   position: relative;
  294.   z-index: 1;
  295. }
  296. .year {
  297.   font-family: Montserrat;
  298.   font-style: normal;
  299.   font-weight: 800;
  300.   font-size: 32px;
  301.   line-height: 1;
  302.   text-align: center;
  303.   letter-spacing: -0.64px;
  304.   color: #fff;
  305.   position: relative;
  306.   z-index: 1;
  307. }
  308. .year-right {
  309.   font-family: Montserrat;
  310.   font-style: normal;
  311.   font-weight: 800;
  312.   font-size: 32px;
  313.   line-height: 1;
  314.   text-align: center;
  315.   letter-spacing: -0.64px;
  316.   color: #fff;
  317.   position: relative;
  318.   z-index: 1;
  319. }
  320. .about-ideogen-container {
  321.   position: relative;
  322.   background-color: #f3f3f3;
  323. }
  324. .footer-top {
  325.   background-color: #000;
  326. }
  327. .footer-title {
  328.   font-family: "Montserrat", sans-serif;
  329.   font-weight: 800;
  330.   font-style: normal;
  331.   font-size: 18px;
  332.   line-height: 20px;
  333. }
  334. .footer-top ul {
  335.   list-style-type: none;
  336.   padding-left: 0;
  337. }
  338. .line-width-footer {
  339.   width: 80%;
  340. }
  341. /* .company-history-section .right-side-title {
  342.   position: absolute;
  343.   right: 10%;
  344.   bottom: -280%;
  345.   writing-mode: vertical-rl;
  346.   transform: rotate(180deg);
  347. }
  348. .company-history-section .left-side-title {
  349.   position: absolute;
  350.   left: 10%;
  351.   bottom: -160%;
  352.   writing-mode: vertical-rl;
  353.   transform: rotate(180deg);
  354. }
  355. .side-title {
  356.   font-family: Montserrat;
  357.   font-style: normal;
  358.   font-weight: normal;
  359.   font-size: 56px;
  360.   line-height: 40px;
  361.   letter-spacing: -0.64px;
  362.   color: #e5e5e5;
  363.   opacity: 0.5;
  364.   height: 100;
  365.   width: 150;
  366. } */
  367.  
  368. .section-overflow-hidden {
  369.   overflow: hidden;
  370. }
  371. .margin-top {
  372.   margin-top: 150px;
  373. }
  374. #main-header > .container {
  375.   max-width: 2000px;
  376. }
  377. #main-header {
  378.   position: absolute;
  379.   top: 0;
  380.   left: 0;
  381.   right: 0;
  382.   display: flex;
  383.   flex-direction: column;
  384.   align-content: center;
  385.   justify-content: space-between;
  386.   padding: 20px 0;
  387. }
  388. .hero-about {
  389.   background-repeat: no-repeat;
  390.   background-position: center;
  391.   background-size: cover;
  392. }
  393. .hero-main-title span {
  394.   font-weight: 800;
  395. }
  396. .hero-about .objects {
  397.   position: relative;
  398. }
  399. .hero-about .objects-right {
  400.   right: 0;
  401.   position: relative;
  402. }
  403. .objects .flying-objects img {
  404.   position: absolute;
  405.   margin-bottom: 200px;
  406. }
  407. .flying-objects-right img {
  408.   position: absolute;
  409.   margin-bottom: 200px;
  410. }
  411. .objects .flying-objects #left-shape1 {
  412.   animation: MoveUpDown 3s linear infinite;
  413.   left: 0;
  414.   bottom: 0;
  415. }
  416. .objects .flying-objects #left-shape2 {
  417.   animation: MoveUpDownSecond 3.1s linear infinite;
  418.   left: 0;
  419.   bottom: 0;
  420. }
  421. .objects .flying-objects #left-shape3 {
  422.   animation: MoveUpDownThird 3.2s linear infinite;
  423.   left: 0;
  424.   bottom: 0;
  425. }
  426. .objects-right .flying-objects-right #right-shape1 {
  427.   animation: MoveUpDown 3s linear infinite;
  428.   right: 0;
  429.   bottom: 0;
  430. }
  431. .objects-right .flying-objects-right #right-shape2 {
  432.   animation: MoveUpDownSecond 3.1s linear infinite;
  433.   right: 0;
  434.   bottom: 0;
  435. }
  436. .objects-right .flying-objects-right #right-shape3 {
  437.   animation: MoveUpDownThird 3.2s linear infinite;
  438.   right: 0;
  439.   bottom: 0;
  440. }
  441.  
  442. .header-about {
  443.   display: flex;
  444.   flex-direction: column;
  445.   justify-content: center;
  446.   align-items: center;
  447.   text-align: center;
  448. }
  449. .header-about::before,
  450. .header-about::after {
  451.   content: "";
  452.   border-top: 0.3rem solid green;
  453.   width: 5rem;
  454.   transform: translateY(-1rem);
  455.   margin-top: 30px;
  456. }
  457.  
  458. .dots-row {
  459.   position: relative;
  460. }
  461. .dots-left {
  462.   width: 359px;
  463.   height: 246px;
  464.   top: 50px;
  465.   left: -20px;
  466.   position: absolute;
  467. }
  468. .dots-right {
  469.   width: 359px;
  470.   height: 246px;
  471.   top: 50px;
  472.   right: -20px;
  473.   position: absolute;
  474. }
  475.  
  476. .vector-avatar1 {
  477.   position: absolute;
  478. }
  479. .vector-avatar2 {
  480.   position: relative;
  481. }
  482. .member-photo {
  483.   position: absolute;
  484.   z-index: 1;
  485. }
  486. .photo-size {
  487.   width: 250px;
  488.   height: 250px;
  489.   margin-bottom: 29px;
  490. }
  491. .flying-object-avatar1 {
  492.   top: 0;
  493.   left: 0;
  494.   animation: MoveObjAvatar 6s linear infinite;
  495. }
  496. .flying-object-avatar2 {
  497.   top: 0;
  498.   left: 0;
  499.   animation: MoveObjAvatarSecond 6s linear infinite;
  500. }
  501. .member-name {
  502.   font-family: Montserrat;
  503.   font-style: normal;
  504.   font-weight: 800;
  505.   font-size: 32px;
  506.   line-height: 35px;
  507.   text-transform: uppercase;
  508.   color: #000000;
  509. }
  510. .card-main {
  511.   transform: skew(-10deg);
  512. }
  513. .col-md-6 .card-main {
  514.   transform: skew(0);
  515. }
  516. .col-md-4 .card-main {
  517.   transform: skew(0);
  518. }
  519. .card-main img {
  520.   transform: skew(5deg);
  521. }
  522. .video-span {
  523.   padding-left: 200px;
  524.   background-color: #fff;
  525.   color: #000;
  526. }
  527. .border-r {
  528.   border: none;
  529.   border-radius: 30px;
  530. }
  531.  
  532. .video-container {
  533.   position: relative;
  534.   text-align: center;
  535. }
  536. .vector-video {
  537.   position: absolute;
  538.   left: 550px;
  539.   top: 200px;
  540.   animation: MoveObjAvatar 5s linear infinite;
  541. }
  542. .vector-video-2 {
  543.   position: absolute;
  544.   right: 550px;
  545.   top: 200px;
  546.   animation: MoveObjAvatar 5s linear infinite;
  547. }
  548. iframe {
  549.   position: relative;
  550. }
  551.  
  552. .top-hero {
  553.   background: linear-gradient(180deg, #fff 29.69%, rgba(255, 255, 255, 0) 100%);
  554.   padding-top: 250px;
  555. }
  556. .bottom-hero {
  557.   background: linear-gradient(360deg, #fff 29.69%, rgba(255, 255, 255, 0) 100%);
  558. }
  559. .pharma-paragraph {
  560.   font-family: Lato, sans-serif;
  561.   font-style: normal;
  562.   font-weight: bold;
  563.   font-size: 40px;
  564.   line-height: 40px;
  565.   text-align: center;
  566.   margin-top: 50px;
  567.   margin-bottom: 50px;
  568.   color: black;
  569. }
  570. .blue-spans {
  571.   color: rgba(0, 0, 255, 1);
  572.   font-size: 45px;
  573. }
  574.  
  575. .product-btn {
  576.   border: 2px solid #000;
  577.   border-radius: 12px;
  578.   width: 130px;
  579.   text-align: center;
  580.   text-decoration: none;
  581.   text-transform: uppercase;
  582.   color: #000;
  583.   font-weight: 800;
  584.   margin-left: 80px;
  585.   font-family: "Lato", sans-serif;
  586. }
  587.  
  588. .rd-btn {
  589.   background: linear-gradient(
  590.     130deg,
  591.     #ef4823 -90.64%,
  592.     #ef4823 -54.25%,
  593.     #ea4728 -35.72%,
  594.     #e14437 -4.72%,
  595.     #d23f4d 34.98%,
  596.     #bd3965 81.76%,
  597.     #a32f7f 133.99%,
  598.     #942c8e 160.53%,
  599.     #942c8e 218.76%
  600.   );
  601.   border: 2px solid #000;
  602.   border-radius: 12px;
  603.   font-style: normal;
  604.   font-size: 16px;
  605.   font-weight: 800;
  606.   text-decoration: none;
  607.   text-transform: uppercase;
  608.   color: #000;
  609.   min-width: 150px;
  610.   text-align: center;
  611.   font-family: "Lato", sans-serif;
  612. }
  613. .bold-text {
  614.   font-family: Lato, sans-serif;
  615.   font-style: normal;
  616.   color: #000;
  617.   font-weight: bold;
  618.   line-height: 24px;
  619.   font-size: 25px;
  620.   max-width: 600px;
  621.   position: relative;
  622.   left: 0;
  623.   right: 0;
  624.   z-index: 1;
  625. }
  626. .small-text-card {
  627.   font-family: Lato, sans-serif;
  628.   font-style: normal;
  629.   font-weight: 300;
  630.   font-size: 21px;
  631. }
  632. .small-text {
  633.   font-family: Lato;
  634.   font-style: normal;
  635.   font-weight: 600;
  636.   font-size: 21px;
  637.   color: #000;
  638.   position: relative;
  639.   left: 0;
  640.   right: 0;
  641.   z-index: 1;
  642. }
  643. .card-horizontal .card-horizontal-body {
  644.   margin-left: 10px;
  645. }
  646. .second-card-row {
  647.   display: flex;
  648.   flex-wrap: wrap;
  649.   position: relative;
  650.   margin-left: -15px;
  651.   margin-right: -15px;
  652. }
  653. .dots-center {
  654.   position: absolute;
  655.   width: 359px;
  656.   height: 246px;
  657.   left: 500px;
  658. }
  659. .row-cfo {
  660.   position: relative;
  661. }
  662. .vector-image {
  663.   position: absolute;
  664.   width: 300px;
  665.   right: -121px;
  666.   bottom: -100px;
  667.   animation: MoveObjAvatarSecond 7s linear infinite;
  668. }
  669. .vector-image-2 {
  670.   position: absolute;
  671.   width: 300px;
  672.   right: -121px;
  673.   bottom: -100px;
  674.   animation: MoveObjAvatarSecond 4s linear infinite;
  675. }
  676. #dna-image img {
  677.   height: 50vw;
  678. }
  679.  
  680. .dna-content {
  681.   position: relative;
  682. }
  683. .dna-row {
  684.   display: flex;
  685. }
  686. .dna-row .dna-col {
  687.   transition: all 1s;
  688. }
  689. .dna-col-text {
  690.   padding-left: 80px;
  691. }
  692. .dna-col-right {
  693.   display: flex;
  694.   justify-content: center;
  695.   align-items: center;
  696. }
  697. .dna-col-left {
  698.   display: flex;
  699.   flex-direction: column;
  700.   justify-content: space-between;
  701. }
  702. .block-content {
  703.   overflow: hidden;
  704. }
  705. .block-content-2 {
  706.   max-height: 0;
  707. }
  708. .text-left {
  709.   position: absolute;
  710.   top: 0;
  711.   left: 0;
  712. }
  713. .obligation-container {
  714.   position: relative;
  715. }
  716. .obligation-dots {
  717.   position: absolute;
  718.   right: 0;
  719.   transform: rotate(180deg);
  720. }
  721. .obligation-color {
  722.   position: absolute;
  723.   right: -100px;
  724.   top: 250px;
  725.   animation: MoveObjAvatar 7s linear infinite;
  726. }
  727. .obligation-color-2 {
  728.   position: absolute;
  729.   right: -100px;
  730.   top: 250px;
  731.   animation: MoveObjAvatar 4s linear infinite;
  732. }
  733. .oval-info {
  734.   position: relative;
  735.   text-align: center;
  736.   color: white;
  737. }
  738. .centered-top {
  739.   position: absolute;
  740.   top: 30%;
  741.   left: 50%;
  742.   transform: translate(-50%, -50%);
  743. }
  744. .centered-lower {
  745.   position: absolute;
  746.   top: 40%;
  747.   left: 50%;
  748.   transform: translate(-50%, -50%);
  749. }
  750. .centered-lower-2 {
  751.   position: absolute;
  752.   top: 50%;
  753.   left: 50%;
  754.   transform: translate(-50%, -50%);
  755. }
  756. .bottom {
  757.   position: absolute;
  758.   top: 60%;
  759.   left: 50%;
  760.   transform: translate(-50%, -50%);
  761. }
  762.  
  763. @media screen and (max-width: 994px) {
  764.   .container-card {
  765.     text-align: center;
  766.   }
  767.   iframe {
  768.     width: 526px;
  769.     height: 320px;
  770.   }
  771.   footer {
  772.     text-align: center;
  773.   }
  774.   .card-main {
  775.     transform: skew(0);
  776.   }
  777. }
  778. @media (min-width: 1200px) {
  779.   .container-card {
  780.     max-width: 1240;
  781.   }
  782. }
  783. @media (max-width: 1200px) {
  784.   .dots-left {
  785.     display: none;
  786.   }
  787.   .dots-right {
  788.     display: none;
  789.   }
  790.   .vector-video {
  791.     display: none;
  792.   }
  793.   .vector-video-2 {
  794.     display: none;
  795.   }
  796.   .member-photo {
  797.     left: 0;
  798.     right: 0;
  799.   }
  800. }
  801. @keyframes move-bg-color {
  802.   0% {
  803.     transform: translate(0%, 0%) scale(1);
  804.   }
  805.   25% {
  806.     transform: translate(0%, -2%) scale(1);
  807.   }
  808.   50% {
  809.     transform: translate(-2%, -2%) scale(1);
  810.   }
  811.   75% {
  812.     transform: translate(-2%, 0%) scale(1);
  813.   }
  814.   100% {
  815.     transform: translate(0%, 0%) scale(1);
  816.   }
  817. }
  818. @keyframes MoveUpDown {
  819.   0%,
  820.   100% {
  821.     bottom: 96px;
  822.   }
  823.   50% {
  824.     bottom: 100px;
  825.   }
  826. }
  827. @keyframes MoveUpDownSecond {
  828.   0%,
  829.   100% {
  830.     bottom: 93px;
  831.   }
  832.   50% {
  833.     bottom: 100px;
  834.   }
  835. }
  836. @keyframes MoveUpDownThird {
  837.   0%,
  838.   100% {
  839.     bottom: 90px;
  840.   }
  841.   50% {
  842.     bottom: 100px;
  843.   }
  844. }
  845. @keyframes MoveObjAvatar {
  846.   0% {
  847.     transform: translate(0%, 0%) scale(0.9);
  848.   }
  849.   25% {
  850.     transform: translate(0%, -10%) scale(0.9);
  851.   }
  852.   50% {
  853.     transform: translate(-10%, -10%) scale(0.9);
  854.   }
  855.   75% {
  856.     transform: translate(-10%, 0%) scale(0.9);
  857.   }
  858.   100% {
  859.     transform: translate(0%, 0%) scale(0.9);
  860.   }
  861. }
  862. @keyframes MoveObjAvatarSecond {
  863.   0% {
  864.     transform: translate(0%, 0%) scale(0.9);
  865.   }
  866.   25% {
  867.     transform: translate(0%, -6%) scale(0.9);
  868.   }
  869.   50% {
  870.     transform: translate(-6%, -6%) scale(0.9);
  871.   }
  872.   75% {
  873.     transform: translate(-6%, 0%) scale(0.9);
  874.   }
  875.   100% {
  876.     transform: translate(0%, 0%) scale(0.9);
  877.   }
  878. }
  879.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement