242 lines
4.2 KiB
CSS
242 lines
4.2 KiB
CSS
/*------------------------------ base options------------------------------- */
|
|
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700;800&display=swap');
|
|
|
|
body {
|
|
font-family: "Poppins", sans-serif;
|
|
font-weight: 400;
|
|
color: white;
|
|
font-size: 16px;
|
|
}
|
|
|
|
img {
|
|
max-width: 100%;
|
|
}
|
|
|
|
.wrapper {
|
|
background: linear-gradient(180deg,rgba(0, 0, 0, 1) 0%, rgba(74, 40, 0, 1) 100%);
|
|
width: 100%;
|
|
}
|
|
|
|
/* --------------------------------HEADER----------------------------- */
|
|
|
|
.container {
|
|
width: 1200px;
|
|
margin: 0 auto;
|
|
}
|
|
header {
|
|
padding: 50px 0;
|
|
}
|
|
.logo {
|
|
text-transform: uppercase;
|
|
font-weight: 800;
|
|
font-size: 29px;
|
|
}
|
|
.nav {
|
|
float: right;
|
|
width: 50%;
|
|
}
|
|
.items {
|
|
position: relative;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
z-index: 2;
|
|
}
|
|
.item {
|
|
display: inline-block;
|
|
}
|
|
.link {
|
|
color: #fff;
|
|
}
|
|
header nav ul li:not(.active):not(.btn) .link:hover {
|
|
border-bottom: 5px solid #DC7000;
|
|
}
|
|
.active::after {
|
|
content: "";
|
|
display: block;
|
|
width: 40px;
|
|
height: 5px;
|
|
background-color: #DC7000;
|
|
border-radius: 10px;
|
|
position: relative;
|
|
top: 10px;
|
|
left: -15px;
|
|
}
|
|
.btn a{
|
|
background: #FA9021;
|
|
padding: 9px 17px;
|
|
border-radius: 5px;
|
|
transition: all 500ms ease;
|
|
}
|
|
.btn a:hover {
|
|
background: #a02604;
|
|
}
|
|
|
|
/* --------------------------------HERO----------------------------------- */
|
|
.hero {
|
|
padding-bottom: 100px;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
.hero_info {
|
|
width: 530px;
|
|
padding-top: 70px;
|
|
}
|
|
.hero_h2 {
|
|
font-size: 20px;
|
|
color: #E87D0E;
|
|
font-weight: 600;
|
|
}
|
|
.hero_h1 {
|
|
font-weight: 600;
|
|
font-size: 50px;
|
|
}
|
|
.hero_p {
|
|
font-weight: 500;
|
|
line-height: 170%;
|
|
margin: 30px 0;
|
|
}
|
|
button {
|
|
background: linear-gradient(90deg,rgba(250, 131, 5, 1) 0%, rgba(251, 158, 60, 1) 100%);
|
|
color: white;
|
|
border-radius: 50px;
|
|
padding: 15px 30px;
|
|
transition: all 500ms ease;
|
|
font-size: 17px;
|
|
}
|
|
button:hover {
|
|
cursor: pointer;
|
|
transform: scale(1.1);
|
|
}
|
|
.hero_img {
|
|
position: absolute;
|
|
top: -250px;
|
|
right: -30px;
|
|
}
|
|
|
|
/* --------------------------------GAMES------------------------------------------- */
|
|
|
|
.container {
|
|
}
|
|
.trending {
|
|
padding-top: 50px;
|
|
}
|
|
.see_h3 {
|
|
font-weight: 600;
|
|
font-size: 31px;
|
|
}
|
|
.see-all {
|
|
color: white;
|
|
background-color: rgba(255, 255, 255, 0.11);
|
|
border-radius: 5px;
|
|
padding: 12px 23px;
|
|
float: right;
|
|
display: block;
|
|
transition: all 500ms ease;
|
|
}
|
|
.see-all:hover {
|
|
transform: scale(1.1);
|
|
}
|
|
.games {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
width: 100%;
|
|
padding: 50px 0;
|
|
}
|
|
.block {
|
|
}
|
|
.block_img {
|
|
|
|
}
|
|
.span {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
margin-top: 20px;
|
|
}
|
|
span img {
|
|
margin-right: 7px;
|
|
}
|
|
|
|
/* ------------------------------------BIF-TEXT----------------------------------------- */
|
|
|
|
.container {
|
|
|
|
}
|
|
.big-text {
|
|
padding: 50px 0;
|
|
font-size: 35px;
|
|
font-weight: 600;
|
|
text-align: center;
|
|
width: 800px;
|
|
}
|
|
|
|
/* ------------------------------------BANNER------------------------------------------------- */
|
|
|
|
.container {
|
|
}
|
|
.banner {
|
|
padding: 80px 0;
|
|
}
|
|
.banner_h3 {
|
|
font-size: 30px;
|
|
font-weight: 600;
|
|
margin-bottom: 30px;
|
|
}
|
|
.banner_p {
|
|
line-height: 170%;
|
|
margin-bottom: 30px;
|
|
width: 550px;
|
|
}
|
|
.img_banner {
|
|
width: 100%;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
/* -------------------------------------FEATURE---------------------------------------------------- */
|
|
|
|
.features {
|
|
background: url("images/bcg.png") no-repeat center center fixed;
|
|
background-size: cover;
|
|
padding: 80px 0;
|
|
}
|
|
.container {
|
|
}
|
|
.features_h3 {
|
|
font-size: 30px;
|
|
font-weight: 600;
|
|
margin-bottom: 30px;
|
|
text-align: center;
|
|
max-width: 830px;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
.features_p {
|
|
font-weight: 400;
|
|
text-align: center;
|
|
max-width: 830px;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
.feature_info {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
flex-wrap: wrap;
|
|
}
|
|
.feature_block {
|
|
text-align: center;
|
|
width: 20%;
|
|
margin: 30px 2%;
|
|
}
|
|
.blocks_down {
|
|
display: flex;
|
|
justify-content: center;
|
|
width: 100%;
|
|
}
|
|
.block_img {
|
|
margin-bottom: 20px;
|
|
}
|
|
.block_p {
|
|
}
|
|
.img_block {
|
|
margin-top: 15px;
|
|
} |