@import url("https://fonts.googleapis.com/css2?family=Open+Sans&family=Poppins:wght@400;600&display=swap"); *, *::before, *::after { box-sizing: border-box; } *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; } * { margin: 0; } html, body { overflow-x: hidden; background-image: url(../images/GBACKGROUND.png); background-attachment: fixed; background-repeat: no-repeat; /*overflow-y: hidden;*/ } html:focus-within { scroll-behavior: auto; } body { line-height: 1.5; -webkit-font-smoothing: antialiased; text-rendering: optimizeSpeed; background-color: white; background-image: url(../images/landingpage.png); background-attachment: fixed; background-repeat: no-repeat; background-size: 2000px 100%; /*overflow-y: hidden;*/ } img { display: block; pointer-events: none; } p,h1,h2,h3,h4,h5,h6 { overflow-wrap: break-word; } #root,#__next { isolation: isolate; } :root { /* Primary Colors */ --Violet: rgb(45, 28, 14); --Soft-Magenta: rgb(88, 88, 88); --white: #fff; /* Font Size */ --head: 3rem; --text: 1.3rem; /* Font Weight */ --regular: 400; --bold: 600; } .head { font-size: var(--head); font-weight: var(--bold); color: var(--white); font-family: "Poppins", sans-serif; } .text { font-size: var(--text); font-weight: var(--regular); color: var(--white); font-family: "Open Sans", sans-serif; } .background { min-height: 100vh; overflow: auto; padding: 0 4em; } .container { margin: 0 auto 2em auto; max-width: 1800px; } .hero { margin: 0 0 0 0; display: flex; gap: 6em; } .hero-img { flex-basis: 55%; } .mockup { width: 100%; } .hero-text { display: flex; flex-direction: column; gap: 1.5em; align-self: center; max-width: 35em; } .btn { background-color: var(--white); color: rgb(45, 28, 14); border: 0; width: 15em; padding: 0.5em 1.5em; border-radius: 2em; box-shadow: 5px 5px 10px 0px rgba(63, 63, 63, 0.86); cursor: pointer; transition: .5s; } .btn:hover { color: var(--white); background-color: rgb(63, 39, 19); animation-duration: 0.5s; } .socials { display: flex; gap: 1em; justify-content: flex-end; } .social-btn { border: 2px solid var(--white); border-radius: 100%; background: transparent; width: 3em; height: 3em; cursor: pointer; background-repeat: no-repeat; background-position: center; background-size: 1.5em; } @media (min-width: 975px) and (max-width: 1200px) { :root { --head: 2.5rem; --text: 1.2rem; } .mockup { height: 50vh; width: 50vh; } .hero-img{ height: 50vh; width: 50vh; padding: -10px } .hero-text { max-width: 30em; } } @media (min-width: 200px) and (max-width: 975px) { :root { --head: 2rem; --text: 1rem; } .background { min-height: 100vh; background-color: var(--Violet); background-repeat: no-repeat; background-size: 100% 60%; background-repeat: no-repeat; background-position: top; overflow: auto; padding: 0 2em; } .container { margin: 2em 0 1em 0; } .logo { width: 12em; } .hero { flex-direction: column; margin: 3em 0 2em 0; } .hero-text { text-align: center; } .btn { margin: 0 auto; } .socials { justify-content: center; } } @media (min-width: 600px) and (max-width: 800px) { :root { --head: 2.5rem; --text: 1.2rem; } }