@import url("https://fonts.googleapis.com/css2?family=Exo+2:wght@200;400;900&display=swap"); :root { --primary: #3B00B0; --pink: #CF3CA1; --blue: #368BF0; --cyan: #3BE9E3; --white: #fff; --black: #120035; } html, body { height: 100%; background-color: var(--primary); color: var(--white); } body { display: flex; align-items: center; justify-content: center; font-family: "Exo 2"; color: var(--white); font-size: 1em; } button { font-family: "Exo 2"; } ul { list-style-type: none; -webkit-padding-start: 35px; padding-inline-start: 35px; } svg { width: 100%; visibility: hidden; } h1 { font-size: 7.5em; margin: 15px 0px; font-weight: 900; } h2 { font-weight: bold; } p { font-weight: 200; } .btn { z-index: 1; overflow: hidden; background: transparent; position: relative; padding: 8px 50px; border-radius: 30px; cursor: pointer; font-size: 1em; letter-spacing: 2px; transition: 0.2s ease; font-weight: 400; margin: 5px 0px; } .btn.pink { border: 4px solid var(--pink); color: var(--white); } .btn.pink:before { content: ""; position: absolute; left: 0; top: 0; width: 0%; height: 100%; background: var(--pink); z-index: -1; transition: 0.2s ease; } .btn.pink:hover { color: var(--white); background: var(--pink); transition: 0.2s ease; } .btn.pink:hover:before { width: 100%; } @media screen and (max-width: 768px) { body { display: block; } .container { margin-top: 70px; margin-bottom: 70px; } }