Spaces:
Sleeping
Sleeping
| @import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Lora:ital,wght@0,400..700;1,400..700&family=Roboto:ital,wght@0,100..900;1,100..900&family=Romanesco&display=swap"); | |
| *, | |
| *::after, | |
| *::before { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| } | |
| a { | |
| text-decoration: none; | |
| } | |
| :root { | |
| --primary: #0c042c; | |
| --secondary: #d1c10a; | |
| --helper: #c9c5e0; | |
| } | |
| html { | |
| scroll-behavior: smooth; | |
| } | |
| body { | |
| font-family: "Roboto"; | |
| } | |
| header { | |
| background-color: #0c042c; | |
| padding: 10px 0; | |
| } | |
| header div { | |
| width: 80%; | |
| margin: 0 auto; | |
| } | |
| header div a { | |
| font-family: "Romanesco"; | |
| font-size: 50px; | |
| color: var(--secondary); | |
| cursor: pointer; | |
| } | |
| .hero { | |
| height: calc(100vh - 70px); | |
| position: relative; | |
| background-color: var(--primary); | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| overflow: hidden; | |
| } | |
| .hero img { | |
| position: absolute; | |
| left: -200px; | |
| right: 0; | |
| top: 42%; | |
| } | |
| .hero .hero-content { | |
| padding: 10px 20px; | |
| color: var(--secondary); | |
| text-align: center; | |
| transform: translateY(-50px); | |
| } | |
| .hero .hero-content h3 { | |
| font-size: 17px; | |
| font-weight: 200; | |
| letter-spacing: 3px; | |
| margin-bottom: 20px; | |
| } | |
| .hero .hero-content h1 { | |
| font-family: "Roboto"; | |
| font-size: 40px; | |
| font-weight: bolder; | |
| } | |
| .hero .hero-content .buttons { | |
| font-size: 18px; | |
| font-weight: bolder; | |
| text-transform: capitalize; | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| gap: 70px; | |
| margin-top: 50px; | |
| } | |
| .hero .hero-content .buttons a { | |
| padding: 10px 20px; | |
| border-radius: 4px; | |
| transition: all 0.4s; | |
| } | |
| .hero .hero-content .buttons a:hover { | |
| transform: scale(1.05); | |
| } | |
| .hero .hero-content .buttons a:first-child { | |
| background-color: var(--secondary); | |
| color: var(--primary); | |
| } | |
| .hero .hero-content .buttons a:last-child { | |
| background-color: var(--helper); | |
| color: var(--secondary); | |
| } | |
| .about { | |
| position: relative; | |
| padding: 50px 0 30px; | |
| background-color: var(--helper); | |
| overflow: hidden; | |
| } | |
| .about img { | |
| position: absolute; | |
| } | |
| .about img:first-child { | |
| top: 10px; | |
| left: -50px; | |
| } | |
| .about img:nth-child(2) { | |
| bottom: 10px; | |
| right: 0; | |
| } | |
| .about .about-content { | |
| width: 100%; | |
| max-width: 80%; | |
| margin: 0 auto; | |
| } | |
| .title { | |
| font-size: 30px; | |
| text-align: center; | |
| text-shadow: 2px 4px 0 rgba(72, 71, 71, 0.529); | |
| color: var(--primary); | |
| } | |
| .about .about-content h1 { | |
| margin: 50px 0; | |
| } | |
| .about .about-content p { | |
| letter-spacing: 3px; | |
| text-transform: capitalize; | |
| margin-bottom: 70px; | |
| font-weight: 500; | |
| font-size: 15px; | |
| } | |
| .features { | |
| position: relative; | |
| overflow: hidden; | |
| min-height: 78vh; | |
| margin-bottom: 50px; | |
| } | |
| .features img { | |
| position: absolute; | |
| width: 125%; | |
| top: 58%; | |
| left: -275px; | |
| } | |
| .features-content h1 { | |
| margin: 50px 0; | |
| } | |
| .features-content .features-wrapper { | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| flex-wrap: wrap; | |
| gap: 30px; | |
| } | |
| .feature { | |
| display: flex; | |
| flex-direction: column; | |
| background-color: var(--primary); | |
| color: var(--secondary); | |
| text-align: center; | |
| width: 100%; | |
| max-width: 400px; | |
| padding: 20px 10px 0; | |
| border-radius: 8px; | |
| height: 300px; | |
| z-index: 2; | |
| box-shadow: 0 0 10px black; | |
| transition: all 0.6s; | |
| } | |
| .feature:hover { | |
| transform: scale(1.1); | |
| } | |
| .feature i { | |
| font-size: 50px; | |
| margin-bottom: 20px; | |
| } | |
| .feature h2 { | |
| font-size: 25px; | |
| } | |
| .feature p { | |
| font-size: 15px; | |
| font-weight: 100; | |
| margin-top: 20px; | |
| width: 100%; | |
| } | |
| .btn-wrapper { | |
| width: 100%; | |
| flex: 1; | |
| padding-bottom: 30px; | |
| display: flex; | |
| align-items: flex-end; | |
| justify-content: center; | |
| } | |
| .btn { | |
| font-size: 18px; | |
| font-weight: bolder; | |
| text-transform: capitalize; | |
| padding: 10px 20px; | |
| border-radius: 4px; | |
| transition: all 0.4s; | |
| background-color: var(--helper); | |
| color: var(--primary); | |
| } | |
| .btn:hover { | |
| transform: scale(1.05); | |
| } | |
| footer { | |
| font-family: R; | |
| height: 50px; | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| font-family: "Romanesco"; | |
| font-size: 30px; | |
| color: var(--secondary); | |
| background-color: var(--primary); | |
| } |