Untitled

mail@pastecode.io avatar
unknown
css
3 years ago
2.5 kB
1
Indexable
Never
/* common style starts */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@200&family=Poppins:wght@200;400;500;600;700;800;900&display=swap');

:root{
        --themeRed: #e43a47;
        --grey: #efefef;
}


* {
        padding: 0;
        margin: 0;
        box-sizing: border-box;
}

p{
        font-size: 14px;
        line-height: 26px;
}

body{

font-family: 'Nunito', sans-serif;
font-family: 'Poppins', sans-serif;
}
.fullContainer{
        width: 100%;
}

.container{
        width: 1140px;
        margin: auto;
}
/* common style ends */

/* home  style starts*/

header{
        width: 100%;
        background-color: rgba(0,0,0,0.6);
        position: fixed;
        z-index: 2;
}


header .container{
        display: flex;
       justify-content: space-between;
}

header .container .logo{
        padding: 15px 0;
        height: 75px;
}

header .container .logo img{
        height: 100%;
}

header nav ul{
        list-style-type: none;
}

header nav ul li{
        display: inline-block;
}

header nav ul li a{
        display: inline-block;
        height: 75px;
        line-height: 75px;
        padding: 0 15px;
        text-decoration: none;
        text-transform: capitalize;
        font-size: 16px;
        color: #fff;
        transition: 0.3s;
}
header nav ul li a:hover{
        background-color: var(--themeRed);
}

.banner{
        min-height: 100vh;
        width: 100%;
        background-image: url(../images/banner.jpg);
        background-size: cover;
        background-attachment: fixed;
}

.banner h1{
        margin-top: 230px;
        display: inline-block;
        font-size: 3.5rem;
        color: #fff;
        text-shadow: 0 0 2px #000;
        width: 50%;
        line-height: 4.2rem;
        font-weight: 100;
}

.banner h1 span{
        background-color: var(--themeRed);
        display: inline-block;
        line-height: 3.5rem;
        padding: 0 15px;
        font-weight: 600;
        border-radius: 5px;
}

.banner p{
        color: #fff;
        width: 50%;
        text-shadow: 0 0 2px #000;
        margin-top: 10px;
}

.banner button{
        background-color: var(--themeRed);
        border: 0;
        outline: none;
        color: #fff;
        padding: 10px 15px;
        margin-top: 20px;
        font-size: 13px;
        border-radius: 3px;
        font-weight: 600;

}
/* home  style ends */