Files
Figma_itproger/style.css
2026-02-25 16:41:24 +03:00

614 lines
10 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;
background: #000;
}
img {
max-width: 100%;
}
.wrapper {
background: linear-gradient(180deg,rgba(0, 0, 0, 1) 0%, rgba(74, 40, 0, 1) 100%);
width: 100%;
overflow-x: hidden;
}
/* --------------------------------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;
}
/* ----------------------------PROJECTS--------------------------------- */
.container {
}
.projects {
padding: 100px 0;
}
.projects_h3 {
font-size: 30px;
text-align: center;
}
.projects_p {
text-align: center;
margin: 40px 0;
}
.projects_images {
display: flex;
justify-content: space-around;
margin-bottom: 25px;
}
.project_img {
}
.projects .see-all {
float: none;
width: 100px;
text-align: center;
margin: 0 auto;
white-space: nowrap;
}
/* -----------------------------EMAIL--------------------------------------- */
.container {
}
.email {
padding-bottom: 120px;
}
.email_h3 {
font-size: 30px;
margin-top: 60px;
margin-bottom: 30px;
}
.email_block {
background: #1C140F;
margin-top: 10px;
border-radius: 10px;
padding: 40px 3%;
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
}
.email_collumn {
}
.email_h4 {
font-size: 30px;
font-weight: 500;
margin-bottom: 20px;
}
.email_p {
width: 500px;
margin-bottom: 50px;
}
.email_input {
background-color: #fff;
outline: none;
border: 0;
border-radius: 5px;
width: 380px;
font-family: "Poppins", sans-serif;
font-weight: 400;
padding: 20px 30px;
position: relative;
right: -120px;
z-index: 1;
padding-right: 160px;
}
.email_input::placeholder {
color: #898989;
}
.email_btn {
background: #DC7000;
border-radius: 8px;
transition: none;
cursor: pointer;
border: 0;
padding: 11px 15px;
position: relative;
z-index: 2;
color: #fff;
}
.email_btn:hover {
transform: none;
background: #a02604;
}
/* --------------------------------------ABOUT-HERO------------------------------------------- */
.hero_about {
display: flex;
position: relative;
}
.container {
}
.hero_info {
width: 500px;
padding: 250px 0;
}
.hero_h1 {
margin-bottom: 15px;
font-size: 30px;
}
.hero_p {
font-size: 15px;
}
.hero_btn {
}
.button {
}
.hero_img {
position: absolute;
right: -150px;
top: 0;
}
/* ----------------------------------------ABOUT-WORK-------------------------------------------- */
.container {
}
.work {
padding: 80px 0;
}
.work_h2 {
font-size: 25px;
font-weight: 700;
margin-bottom: 40px;
}
.work_blocks {
display: flex;
justify-content: space-between;
}
.work_block {
width: 30%;
border-radius: 20px;
padding: 50px 35px;
background-color: #1C140F;
}
.work_badge {
border-radius: 8px;
padding: 10px 20px;
}
.purple {
background-color: #560F67;
}
.work_h3 {
font-size: 20px;
font-weight: 700;
margin: 30px 0;
}
.work_p {
}
.brown {
background-color: #31190D;
}
.green {
background-color: #192A1D;
}
/* -------------------------------------CONTACTS------------------------------------------- */
.container {
}
.hero-contacts {
}
.contacts_h1 {
text-align: center;
font-size: 33px;
font-weight: 700;
margin-top: 70px;
margin-bottom: 30px;
}
.contacts_p {
text-align: center;
font-size: 16px;
font-weight: 500;
}
.contacts_img {
width: 70%;
margin: 80px 15%;
}
.feedback {
padding: 70px 0;
background: #1C140F;
}
.container {
}
.feedback_h2 {
font-size: 30px;
font-weight: 400;
text-align: center;
}
.feedback_p {
text-align: center;
font-size: 13px;
font-weight: 500;
margin-top: 20px;
}
.feedback_form {
margin: 80px auto;
width: 600px;
}
.feedback_inline {
display: flex;
justify-content: space-between;
}
.feedback_name {
width: 50%;
}
.feedback_label {
color: #4F4F4F;
font-size: 14px;
font-weight: 500;
}
.feedback_input {
display: block;
background-color: #2C2420;
border-radius: 9px;
border: 0.6px solid #CECECE;
width: 90%;
padding: 15px 10px;
color: #fff;
margin-top: 7px;
margin-bottom: 20px;
}
.one-line {
display: block;
background-color: #2C2420;
border-radius: 9px;
border: 0.6px solid #CECECE;
width: 95%;
padding: 15px 10px;
color: #fff;
margin-top: 7px;
margin-bottom: 20px;
}
.feedback_btn {
float: right;
margin-right: 30px;
background: none;
background-color: #DC7000;
border-radius: 10px;
padding: 15px 30px;
transition: all 500ms ease;
}
.feedback_btn:hover {
transform: none;
background-color: #b01414;
}
textarea {
resize: none;
height: 200px;
}
/* ------------------------------------PORTFOLIO-ROW--------------------------------------- */
.container {
}
.portfolio {
padding: 70px 0;
}
.portfolio_h1 {
text-align: center;
font-size: 33px;
font-weight: 900;
}
.portfolio_p {
text-align: center;
font-size: 16px;
font-weight: 500;
padding: 30px 0;
}
.portfolio_row {
display: flex;
justify-content: space-between;
background-color: #1C140F;
border-radius: 10px;
padding: 30px;
margin-top: 30px;
}
.portfolio_item {
padding: 30px 0;
width: 30%;
display: flex;
align-items: center;
justify-content: center;
}
.portfolio_item_border {
border-right: 1px solid #fff;
border-left: 1px solid #fff;
width: 35%;
}
.portfolio_svg {
display: flex;
align-items: center;
justify-content: center;
background-color: #fff;
border-radius: 50%;
padding: 12px;
width: 55px;
height: 55px;
margin-right: 40px;
}
.portfolio_span {
display: block;
text-align: left;
font-size: 25px;
font-weight: 700;
margin-bottom: 15px;
}
.portfolio_p span {
font-size: 20px;
}
/* -----------------------------------FOOTER------------------------------------------ */
.footer {
background-color: #000;
}
.blocks {
padding: 50px 0;
display: flex;
justify-content: space-between;
padding-bottom: 0;
}
.container {
}
.footer_info {
}
.footer_logo {
text-transform: uppercase;
font-size: 29px;
font-weight: 800;
}
.footer_p {
width: 300px;
padding: 15px 0;
}
.footer_h4 {
font-weight: 500;
font-size: 17px;
}
.footer_ul {
}
.footer_li {
margin-top: 7px;
opacity: 0.8;
}
footer hr {
margin: 30px 0;
border: 0;
height: 0.6px;
background: #ccc;
}
.footer_p_down {
text-align: center;
padding-bottom: 30px;
}