You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

670 lines
12 KiB

/* Variables */
:root {
--primary-font: "GOST", monospace;
--primary-color: rgb(20, 20, 28);
--primary-text-color: #cccccc;
--accent-text-color: rgb(227, 178, 179);
--font-size: 30px;
--padding: 30px;
--header-height: 80px;
}
/* Font Face */
@font-face {
font-family: "GOST";
font-display: auto;
font-style: normal;
font-weight: normal;
src: url("./fonts/GOST.woff") format("woff"),
url("./fonts/GOST.woff2") format("woff2");
}
/* Global Styles */
html {
font-family: var(--primary-font);
background: var(--primary-color);
font-size: var(--font-size);
}
/* Navigation */
.container {
position: fixed;
top: 0;
left: 0;
width: 100%;
padding: 0 30px;
box-sizing: border-box;
align-items: center;
background: var(--primary-color);
z-index: 1;
div {
display: flex;
}
}
.nav-container {
background-color: rgba(0, 0, 0, 0.5);
backdrop-filter: blur(6px);
-webkit-backdrop-filter: blur(6px);
}
#wrap {
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
height: var(--header-height);
/* border-bottom: 1px solid #cccccc; */
@media (max-width: 850px) {
flex-direction: column;
align-items: flex-start;
margin-top: 20px;
height: auto;
}
}
#row {
@media (max-width: 850px) {
width: 100%;
margin-left: 0;
justify-content: space-between;
}
}
#logo-container {
padding-top: 20px;
padding-bottom: 30px;
transition: opacity 0.3s;
font-size: 30px;
letter-spacing: 3px;
line-height: 33px;
text-transform: uppercase;
text-decoration: none;
color: #e4e4e4;
@media (min-width: 851px) {
padding-top: 0;
padding-bottom: 0;
&:hover {
opacity: 0.5;
}
}
}
#navigation {
margin-left: auto;
@media (max-width: 850px) {
width: 100%;
border-top: 1px solid #cccccc;
margin-left: 0;
justify-content: space-between;
}
}
#navigation-link {
font-size: 30px;
line-height: 71px;
padding-top: 5px;
text-transform: uppercase;
margin-left: 30px;
text-decoration: none;
border-bottom: 3px solid transparent;
color: rgba(204, 204, 204, 1);
transition: color 0.3s;
@media (min-width: 850px) {
&:hover {
color: rgba(204, 204, 204, 0.5);
}
}
@media (max-width: 850px) {
margin-left: 0;
}
}
#navigation-link-active {
font-size: 30px;
line-height: 71px;
padding-top: 5px;
text-transform: uppercase;
margin-left: 30px;
text-decoration: none;
border-bottom: 3px solid #ccc;
color: rgba(204, 204, 204, 1);
transition: color 0.3s;
@media (min-width: 850px) {
&:hover {
color: rgba(204, 204, 204, 0.5);
}
}
@media (max-width: 850px) {
margin-left: 0;
}
}
.section-title {
line-height: 40px;
font-size: xx-large;
text-transform: uppercase;
color: var(--primary-text-color);
mix-blend-mode: normal;
margin: 30px 0;
}
/* Hero */
.hero {
position: relative;
display: flex;
justify-content: center;
align-items: center;
font-size: 1.5rem;
text-transform: uppercase;
background-size: 100%;
background-repeat: repeat;
background-clip: text;
-webkit-text-fill-color: transparent;
background-image: linear-gradient(55deg, rgb(255, 255, 255) 20%, rgba(245, 192, 192, 0.8) 100%);
@media (max-width: 850px) {
font-size: 1rem;
}
}
.arrow-down {
position: absolute;
bottom: 20px;
right: 60px;
display: block;
height: 15px;
width: 15px;
background: url("./svg/double_arrow.svg") no-repeat center;
background-size: contain;
cursor: pointer;
animation: action 0.5s infinite alternate;
}
.arrow-down:hover {
opacity: 0.5;
}
@keyframes action {
0% {
transform: translateY(0);
}
100% {
transform: translateY(-10px);
}
}
.features {
display: flex;
width: 100%;
flex-wrap: wrap;
justify-content: space-between;
}
.block-container {
display: flex;
flex-direction: column;
width: 50%;
background: var(--primary-color);
flex-shrink: 0;
margin-bottom: 60px;
@media (max-width: 850px) {
width: 100%;
}
}
.block-title {
max-width: 200px;
line-height: 40px;
font-size: 28px;
text-transform: uppercase;
color: var(--primary-text-color);
margin-bottom: 15px;
margin-right: 200px;
}
.block-text {
max-width: 450px;
line-height: 40px;
font-size: 24px;
padding-right: 50px;
color: var(--accent-text-color);
}
/* Нам доверяют */
.partners {
display: flex;
width: 100%;
flex-wrap: wrap;
justify-content: space-around;
}
.trusted-block {
display: flex;
position: relative;
width: 25%;
flex-shrink: 0;
padding: 30px 0 90px;
align-items: center;
@media (max-width: 850px) {
width: 50%;
}
}
.trusted-block img {
height: 65px;
object-fit: contain;
}
#footer-container {
display: flex;
flex-direction: column;
width: 100%;
height: 180px;
border: 1px solid #CCCCCC;
justify-content: center;
align-items: center;
text-decoration: none;
color: #CCCCCC;
}
#footer-title {
line-height: 40px;
font-size: 30px;
text-transform: uppercase;
color: #cccccc;
mix-blend-mode: normal;
margin-bottom: 30px;
}
#footer-link {
position: relative;
font-family: 'IBM Plex Mono', monospace;
font-style: normal;
font-weight: normal;
font-size: 30px;
text-decoration-line: underline;
color: #CCCCCC;
transition: opacity 0.3s;
&:after {
position: absolute;
content: '';
right: -35px;
top: 10px;
width: 20px;
height: 25px;
background: url("./svg/Arrow.svg") no-repeat;
background-size: contain;
}
&:hover {
opacity: 0.5;
}
}
.contacts-link:any-link {
text-decoration: underline;
color: var(--accent-text-color);
}
.arrow-diagonal {
display: inline-block;
margin-left: 10px;
width: 20px;
height: 20px;
background: url("./svg/Arrow.svg") no-repeat;
background-size: contain;
}
/* Projects */
#projects-container {
display: flex;
flex-direction: column;
width: 100%;
padding-top: 80px;
box-sizing: border-box;
align-items: center;
@media (max-width: 850px) {
padding-top: 200px;
}
}
#projects-wrap {
display: flex;
flex-direction: column;
position: relative;
/* justify-content: space-between; */
width: calc(100vw - 60px);
/* min-height: calc(100vh - 80px); */
box-sizing: border-box;
padding: 50px 0;
@media (max-width: 850px) {
/* min-height: calc(100vh - 170px); */
}
}
#projects-title {
line-height: 40px;
font-size: xx-large;
text-transform: uppercase;
color: #cccccc;
mix-blend-mode: normal;
margin-bottom: 30px;
}
#projects-content {
display: flex;
position: relative;
justify-content: space-between;
flex-wrap: wrap;
padding-bottom: 60px;
}
.section.projects>div {
display: flex;
flex-wrap: wrap;
justify-content: space-around;
margin-top: 20px;
}
.project-container {
display: block;
position: relative;
width: 40%;
height: auto;
cursor: pointer;
overflow: hidden;
text-decoration: none;
@media (max-width: 850px) {
width: 100%;
}
}
.project-container img {
object-fit: cover;
max-width: 1200px;
min-height: 300px;
max-height: 50vh;
}
/* .project-container:hover img {
scale: 0.9;
} */
.project-title .project-arrow {
display: block;
height: 25px;
width: 25px;
margin: 0 10px 3px;
background: url("./svg/Arrow_to_bottom.svg") no-repeat center;
background-size: contain;
transform: rotate(-90deg);
transition: transform 0.3s;
}
.project-container:hover .project-arrow {
transform: rotate(-90deg) translateY(10px);
}
.project-title {
display: flex;
width: 100%;
font-size: 30px;
line-height: 37px;
transition: background-color 0.3s;
text-transform: uppercase;
align-items: center;
color: var(--primary-text-color);
cursor: pointer;
}
.project-title span {
display: flex;
align-items: center;
}
.project-text {
font-size: 28px;
line-height: 37px;
color: #aaaaaa;
margin-bottom: 1em;
}
/* Contacts */
.contacts-container {
display: flex;
flex-direction: column;
width: 100%;
min-height: calc(100vh - 80px);
padding: 110px 30px 0;
background: var(--primary-color);
color: var(--primary-text-color);
box-sizing: border-box;
@media (max-width: 850px) {
padding-top: 230px;
}
}
.contacts-main {
display: flex;
flex-grow: 1;
justify-content: space-between;
padding-bottom: 50px;
@media (max-width: 1200px) {
flex-direction: column;
}
}
.contacts-content {
width: 33%;
@media (max-width: 1200px) {
width: 50%;
padding-bottom: 30px;
}
@media (max-width: 850px) {
width: 100%;
padding-bottom: 30px;
}
}
.contacts-title {
line-height: 40px;
font-size: 30px;
text-transform: uppercase;
color: #cccccc;
mix-blend-mode: normal;
margin-bottom: 30px;
@media (max-width: 1200px) {
width: 100%;
}
}
.contacts-text {
width: 320px;
line-height: 40px;
font-size: 28px;
color: #CCCCCC;
mix-blend-mode: normal;
@media (max-width: 1200px) {
width: 100%;
}
}
.contacts-link {
position: relative;
font-style: normal;
font-weight: normal;
font-size: 30px;
text-decoration-line: underline;
color: #cccccc;
transition: opacity 0.3s;
&:hover {
opacity: 0.5;
}
cursor: pointer;
}
.contacts-form {
width: 66%;
@media (max-width: 1200px) {
width: 100%;
}
}
.contacts-input {
width: 100%;
height: 60px;
color: #cccccc;
background: transparent;
border: 1px solid #cccccc;
box-sizing: border-box;
outline: none;
border-radius: 0;
font-size: 20px;
padding-left: 20px;
margin-bottom: 30px;
font-family: var(--primary-font);
&::placeholder {
color: #aaaaaa;
}
}
.contacts-textarea {
width: 100%;
height: 180px;
color: #cccccc;
background: transparent;
border: 1px solid #cccccc;
box-sizing: border-box;
outline: none;
border-radius: 0;
font-size: 20px;
padding-left: 20px;
padding-top: 20px;
margin-bottom: 30px;
resize: none;
font-family: var(--primary-font);
&::placeholder {
color: #aaaaaa;
}
}
.contacts-submit {
color: #cccccc;
text-decoration: underline;
}
.section {
padding: 80px 60px;
text-align: left;
font-family: 'GOST', monospace;
color: var(--primary-text-color);
background: var(--primary-color);
@media (max-width: 850px) {
padding: 220px 60px 30px 30px;
}
}
/* Текст в постах */
.gradient-text {
background-size: 100%;
background-repeat: repeat;
background-clip: text;
-webkit-text-fill-color: transparent;
background-image: linear-gradient(55deg, rgb(255, 255, 255) 20%, rgba(245, 192, 192, 0.8) 100%);
}
/* Картинки в постах */
.section figure {
display: flex;
flex-direction: column;
align-items: center;
@media (max-width: 850px) {
margin: 0;
}
}
.section figure img {
max-width: 100%;
min-height: 300px;
max-height: 50vh;
object-fit: cover;
object-position: left center;
@media (max-width: 850px) {
margin: 0;
max-height: 70vh;
}
}
.section figure figcaption {
font-size: 18px;
}