Advertisement
Guest User

Untitled

a guest
Jun 11th, 2021
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 4.29 KB | None | 0 0
  1. * {
  2.     margin: 0px;
  3.     padding: 0px;
  4.     box-sizing: border-box;
  5. }
  6.  
  7. body {
  8.     font-family: 'Poppins', sans-serif;
  9.     background-color: #111;
  10. }
  11. button {
  12.     font-family: 'Poppins', sans-serif;
  13. }
  14.  
  15. header {
  16.     display: flex;
  17.     width: 90%;
  18.     height: 10vh;
  19.     margin: auto;
  20.     align-items: center;
  21. }
  22.  
  23. .logo-container,
  24. .nav-links,
  25. .cart {
  26.     display: flex;
  27. }
  28.  
  29. .logo-container {
  30.     flex: 1;
  31. }
  32. .logo {
  33.     font-weight: 400;
  34.     margin: 5px;
  35. }
  36. nav {
  37.     flex: 2;
  38. }
  39. .nav-links {
  40.     justify-content: space-around;
  41.     list-style: none;
  42. }
  43. .nav-link {
  44.     color: #acacac;
  45.     font-size: 20px;
  46.     font-weight: 900;
  47.     font-family: Arial, Helvetica, sans-serif;
  48.     filter: drop-shadow(0px 0px 0px rgb(255, 0, 128));
  49.     text-decoration: none;
  50.     animation: drop 1.5s ease-in-out;
  51. }
  52. .nav-link::after{
  53.     content: '';
  54.     height: 5px;
  55.     width: 0;
  56.     background: #ff8aef;
  57.     position: absolute;
  58.     left: 0;
  59.     bottom: -5px;
  60.     transition: 0.5s;
  61. }
  62. .nav-link:hover::after{
  63.     width: 100%;
  64. }
  65. .cart {
  66.     flex: 1;
  67.     justify-content: flex-end;
  68. }
  69.  
  70. .presentation {
  71.     display: flex;
  72.     width: 90%;
  73.     margin: auto;
  74.     min-height: 80vh;
  75.     align-items: center;
  76. }
  77. .introduction {
  78.     flex: 1;
  79. }
  80. #shadowBox {
  81.     background-color: rgb(0, 0, 0);
  82.     /* Fallback color */
  83.     background-color: rgba(0, 0, 0, 0.2);
  84.     /* Black w/opacity/see-through */
  85.     border: 3px solid;
  86. }
  87.  
  88. .intro-text {
  89.     text-align: center;
  90.     text-decoration: underline;
  91.     font-size: 25px;
  92.     font-family: monospace;
  93.     letter-spacing: 2px;
  94. }
  95. .intro-text {
  96.     background: linear-gradient(to right, #6666ff, #0099ff , #00ff00, #ff3399, #6666ff);
  97.     -webkit-background-clip: text;
  98.     background-clip: text;
  99.     color: transparent;
  100.     animation: rainbow_animation 6s ease-in-out infinite;
  101.     background-size: 400% 100%;
  102. }
  103.  
  104. @keyframes rainbow_animation {
  105.     0%,100% {
  106.         background-position: 0 0;
  107.     }
  108.  
  109.     50% {
  110.         background-position: 100% 0;
  111.     }
  112. }
  113. .intro-text p {
  114.     margin-top: 5px;
  115.     font-size: 22px;
  116.     color: #585772;
  117.     animation: drop 1.5s ease;
  118. }
  119. .cta {
  120.     padding: 50px 0px 0px 0px;
  121. }
  122. .glow-on-hover {
  123.     width: 300px;
  124.     height: 50px;
  125.     border: none;
  126.     outline: none;
  127.     color: #fff;
  128.     background: #111;
  129.     cursor: pointer;
  130.     position: relative;
  131.     left: 200px;
  132.     z-index: 0;
  133.     border-radius: 10px;
  134.     font-size: 17px;
  135. }
  136.  
  137. .glow-on-hover:before {
  138.     content: '';
  139.     background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
  140.     position: absolute;
  141.     top: -2px;
  142.     left:-2px;
  143.     background-size: 400%;
  144.     z-index: -1;
  145.     filter: blur(5px);
  146.     width: calc(100% + 4px);
  147.     height: calc(100% + 4px);
  148.     animation: glowing 20s linear infinite;
  149.     opacity: 0;
  150.     transition: opacity .3s ease-in-out;
  151.     border-radius: 10px;
  152. }
  153.  
  154. .glow-on-hover {
  155.     color: #000
  156. }
  157. .glow-on-hover:before {
  158.     opacity: 1;
  159. }
  160.  
  161. .glow-on-hover:active {
  162.     z-index: -1;
  163.     content: '';
  164.     position: absolute;
  165.     width: 100%;
  166.     height: 100%;
  167.     background: #111;
  168.     left: 0;
  169.     top: 0;
  170.     border-radius: 10px;
  171. }
  172.  
  173. @keyframes glowing {
  174.     0% { background-position: 0 0; }
  175.     50% { background-position: 400% 0; }
  176.     100% { background-position: 0 0; }
  177. }
  178. .cover {
  179.     flex: 1;
  180.     display: flex;
  181.     justify-content: center;
  182.     height: 60vh;
  183. }
  184. .cover img {
  185.     height: 100%;
  186.     filter: drop-shadow(0px 8px 3px rgb(255, 0, 128));
  187.     animation: drop 1.5s ease;
  188. }
  189.  
  190. .big-circle {
  191.     position: absolute;
  192.     top: 0px;
  193.     right: 0px;
  194.     z-index: -1;
  195.     height: 80%;
  196.     animation: drop 0.5s ease;
  197. }
  198. .medium-circle {
  199.     position: absolute;
  200.     top: 40%;
  201.     right: 25%;
  202.     z-index: -1;
  203.     height: 60%;
  204.     animation: drop 0.7s ease;
  205. }
  206. .small-circle {
  207.     position: absolute;
  208.     bottom: 0%;
  209.     left: 20%;
  210.     z-index: -1;
  211.     animation: drop 0.8s ease;
  212. }
  213.  
  214. @keyframes drop {
  215.     0% {
  216.         opacity: 0;
  217.         transform: translateY(-80px);
  218.     }
  219.     100% {
  220.         opacity: 1;
  221.         transform: translateY(0px);
  222.     }
  223. }
  224.  
  225. @media screen and (max-width: 1024px) {
  226.     .presentation {
  227.         flex-direction: column;
  228.     }
  229.     .introduction {
  230.         margin-top: 5vh;
  231.         text-align: center;
  232.     }
  233.     .intro-text h1 {
  234.         font-size: 30px;
  235.     }
  236.     .intro-text p {
  237.         font-size: 18px;
  238.     }
  239.     .cta {
  240.         padding: 10px 0px 0px 0px;
  241.     }
  242.     .cover img {
  243.         height: 80%;
  244.     }
  245.     .small-circle,
  246.     .medium-circle,
  247.     .big-circle {
  248.         opacity: 0.2;
  249.     }
  250. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement