@import url('https://fonts.googleapis.com/css2?family=Martel+Sans:wght@600&display=swap');
* {
margin: 0;
padding: 0;
font-family: 'Poppins', sans-serif;
}
body{
background-color: black;
}
.main {
background-image: url("assets/images/bg.jpg");
height: 100vh;
background-position: center center;
background-size: max(1200px, 100vw);
background-repeat: no-repeat;
position: relative;
}
.main .box {
height: 100vh;
width: 100%;
opacity: 0.69;
position: absolute;
top: 0;
background-color: black;
}
nav {
max-width: 60vw;
margin: auto;
display: flex;
justify-content: space-between;
align-items: center;
height: 60px;
}
nav img {
color: red;
width: 130px;
position: relative;
z-index: 20;
}
nav button {
position: relative;
z-index: 10;
}
.hero {
font-family: 'Martel Sans', sans-serif;
height: calc(100% - 62px);
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
color: white;
position: relative;
gap:23px;
padding:0 30px;
}
.hero> :nth-child(1){
text-align: center;
font-weight:900;
font-size:48px;
}
.hero>:nth-child(2){
text-align: center;
font-weight:400;
font-size:24px;
}
.hero>:nth-child(3){
text-align: center;
font-weight:400;
font-size:20px;
}
.separation{
background-color: rgb(59, 58, 58);
height:7px;
}
.btn{
padding:3px 8px;
font-weight:400;
color:white;
background-color:rgb(42, 41, 41);
border-radius:4px;
border:1px solid white;
cursor: pointer;
}
.btn-red{
background-color: red;
color:white;
padding:3px 24px;
font-size:20px;
border-radius:4px;
}
.main input{
padding:7px 101px 8px 14px;
color:white;
font-size:12px;
font-weight:900;
border-radius:4px;
background-color:rgba(23,23,23,0.7);
border:1px solid rgba(130, 127, 127, 0.5);
}
.btn-red-sm{
background-color: red;
color:white;
}
.hero-buttons{
display:flex;
align-items:center;
justify-content:center;
gap:16px;
}
.first{
display:flex;
justify-content:center;
max-width:70vw;
margin:auto;
color:white;
align-items:center;
}
@media screen and (max-width:1300px) {
nav{
max-width: 90vw;;
}
.first{
flex-wrap:wrap;
}
.secImg img{
width:305px;
}
.secImg video{
width: 305px;
}
.hero> :nth-child(1){
font-size:32px;
}
.hero> :nth-child(2){
font-size:18px;
}
.hero> :nth-child(3){
font-size: 18px;;
}
.hero-buttons{
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
gap:16px;
}
.faq h2{
text-align:center;
font-size:32px;
}
footer{
min-width: 90vw;
}
}
@media screen and (max-width:1300px) {
.footer{
display:grid;
grid-template-columns:1fr 1fr;
gap:25px;
}
}
.secImg{
position:relative;
}
.secImg img{
width:555px;
position:relative;
z-index:10;
}
.secImg video{
position:absolute;
top:51px;
right:0;
width: 555px;
}
section.first > div{
display:flex;
flex-direction:column;
padding:34px 0;
}
section.first > div :nth-child(1){
font-size:48px;
font-weight:bolder;
}
section.first > div :nth-child(2){
font-size:20px;
align-items: start;
left:0;
}
.faq{
background:black;
color:white;
padding:34px;
}
.faq h2{
text-align:center;
font-size: 48px;
}
.faqbox:hover{
color: white;
background-color: #414141;
}
.faqbox{
display: flex;
transition:all 1s ease-out;
background-color: rgb(37, 35, 35);
padding:24px;
max-width: 60vw;
margin:34px auto;
justify-content:space-between;
cursor:pointer;
font-size:24px;
}
.faqbox svg{
filter:invert(1);
}
.hero1{
font-family: 'Martel Sans', sans-serif;
height: calc(100% - 62px);
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
color: white;
position: relative;
gap:23px;
padding:0 30px;
}
footer{
color:white;
max-width:60vw;
margin:auto;
padding:23px;
}
.footer a{
font-size:14px;
color:white;
}
.question{
padding:23px 0;
}
.footer{
display:grid;
grid-template-columns:1fr 1fr 1fr 1fr;
color:white;
max-width:60vw;
margin: auto;
}
.footer-item{
display:grid;
flex-direction:column;
gap:23px;
}
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter