Files
Figma_itproger/style.css
2026-03-10 23:18:05 +03:00

962 lines
16 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;
}
.burger {
display: none;
font-size: 30px;
border: none;
background: none;
cursor: pointer;
}
/* --------------------------------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;
margin: 0px 80px;
}
.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;
}
.portfolio_about {
padding-top: 120px;
display: flex;
justify-content: space-between;
}
.portfolio_video {
object-fit: contain;
}
.portfolio_content {
margin-left: 80px;
}
.portfolio_h2 {
font-size: 30px;
font-weight: 900;
padding-bottom: 20px;
line-height: 1.8;
}
.portfolio_p_2 {
font-size: 14px;
font-weight: 500;
padding-bottom: 25px;
line-height: 1.8;
}
.portfolio_ul {
}
.portfolio_li {
display: flex;
align-items: center;
gap: 15px;
overflow: hidden;
padding-bottom: 10px;
}
.porftfolio_vector {
width: 100%;
height: 100%;
height: 24px;
width: 24px;
}
.portfolio_li_p {
font-size: 14px;
font-weight: 500;
line-height: 1.8;
}
.portfolio_readme {
padding-top: 160px;
display: flex;
justify-content: space-between;
gap: 140px;
}
.portfolio_readme_reverse {
flex-direction: row-reverse;
}
.portfolio_readme_content {
display: flex;
flex-direction: column;
justify-content: space-between;
}
.portfolio_h3 {
font-size: 30px;
font-weight: 500;
line-height: 1.5;
}
.portfolio_p_row {
font-size: 17px;
line-height: 1.5;
}
.portfolio_btn {
width: 40%;
border-radius: 0;
background: none;
background-color: #DC7000;
font-size: 16px;
transition: all 500ms ease;
}
.portfolio_btn:hover {
transform: none;
background-color: #b01414;
}
.portfolio_img {
}
/* -----------------------------------NEWS-HEADING-------------------------------------- */
.container {
}
.news {
}
.news_heading {
text-align: center;
padding: 80px 0;
}
.news_h1 {
font-size: 33px;
font-weight: 700;
padding-bottom: 30px;
}
.news_p {
font-size: 16px;
font-weight: 500;
padding-bottom: 60px;
}
.news_search {
position: relative;
display: inline-block;
}
.news_img_search {
position: absolute;
left: 15px;
top: 50%;
transform: translateY(-50%);
width: 15px;
height: 15px;
cursor: pointer;
}
.news_img_search img {
height: 15px;
width: 15px;
}
.input_news {
padding: 10px 45px;
border-radius: 10px;
z-index: 0;
background-color: #1C140F;
color: #fff;
line-height: 1.8;
border: none;
}
.input_news input {
}
/* -------------------------------------NEWS-CONTENT------------------------------------- */
.news {
}
.container {
}
.news_separation {
display: flex;
gap: 80px;
}
.news_left {
flex-basis: 50%;
}
.news_post {
}
.news_image {
padding-bottom: 25px;
}
.news_content {
}
.news_title {
font-size: 16px;
line-height: 1.8;
padding: 15px 40px;
background-color: #2351F5;
display: inline-block;
margin-right: 15px;
margin-bottom: 30px;
}
.news_time {
display: inline;
}
.news_h1 {
line-height: 1.5;
}
.news_p {
font-weight: 100;
line-height: 1.8;
}
.news_line {
border-top: 0.1px solid rgba(255, 255, 255, 0.7);
padding-bottom: 80px;
}
.news_right {
flex-basis: 50%;
}
.news_items {
}
.news_item {
display: flex;
padding-bottom: 80px;
}
.news_item_img {
width: 100%;
height: 100%;
}
.news_cont {
display: flex;
flex-direction: column;
justify-content: space-between;
padding: 30px 0px 30px 30px;
}
.news_cont_title {
display: flex;
align-items: center;
gap: 20px;
}
.news_item_h4 {
padding: 15px 20px;
background-color: #FF8484;
}
.news_item_time {
font-size: 14px;
}
.news_item_h2 {
font-size: 23px;
font-weight: 500;
line-height: 1.8;
}
.news_item_h4_2 {
background-color: #2351F5;
}
.news_item_h4_3 {
background-color: #FF7C32;
}
.news_item_h4_4 {
background-color: #2351F5;
}
.news_item_h4_5 {
background-color: #23A54F;
}
.news_item_h4_6 {
background-color: #2351F5;
}
.news_item_h4_7 {
background-color: #9921C3;
}
/* -----------------------------------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;
}
/* ----------------------------------ADAPTIVE---------------------------------------- */
@media (max-width: 1300px) {
.container {
width: 950px;
}
.hero_img {
top: 40px;
}
.games {
gap: 20px;
}
.hero_img {
width: 720px;
height: 720px;
}
.project_img {
max-width: 30%;
max-height: 30%;
}
.email_input {
right: 50px;
}
.email_h4,
.email_p {
width: 70%;
}
.email_btn {
right: -195px;
top: -53.5px;
}
}
@media (max-width: 1024px) {
.container {
width: 800px;
}
.hero {
padding-top: 50px;
padding-bottom: 100px;
position: relative;
z-index: 1;
}
.hero_info {
width: 100%;
padding: 0px 0px 550px 0px;
}
.hero_img {
width: 600px;
height: 600px;
top: 220px;
left: 27%;
}
.projects_images {
flex-wrap: wrap;
margin-bottom: 50px;
}
.email_btn {
right: -200px;
top: -53.5px;
}
}
@media (max-width: 900px) {
.container {
width: 700px;
}
.email_block {
flex-direction: column;
}
.email_input {
right: -5px;
width: 600px;
}
.email_btn {
right: -470px;
top: -53.5px;
}
.items {
display: none;
flex-direction: column;
position: absolute;
top: 70px;
right: 20px;
background: white;
padding: 20px;
border-radius: 10px;
}
.burger {
display: block;
}
header {
display: flex;
align-items: center;
justify-content: space-between;
}
.nav {
display: flex;
flex-direction: row-reverse;
width: 100%;
position: relative;
}
.link {
color: #000;
}
}