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

:root {
    --font-family: "Fustat", sans-serif;
    --white: #f3f3f3;
    --gray: #b5b5b5;
}

html, body {
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(30deg, purple, blue );
    border-radius: 20px;
}

body {
    background: #1c1c1c;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}



button,
input {
    border: none;
    outline: none;
    background: transparent;
    cursor: pointer;
}


.container {
    max-width: 1140px;
    padding: 0 15px;
    width: 100%;
    margin: 0 auto;
}


.header {
    background: url(../img/header-bg.png)center center / cover;
}

.nav {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.01);
}

.nav::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: var(--white);
}

.nav__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 23px 15px;
}

.nav__list {
    display: flex;
    gap: 60px;
}

.nav__list_link,
.nav__tel {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 90%;
    color: var(--gray);
    /* color: var(--white); */
    transition: 0.4s ease;
}


.nav__list_link:hover,
.nav__tel:hover {
    color: var(--white);
    /* text-shadow: 0 0 10px white; */
}


.header__content {
    height: 742px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.header__content_title {
    font-family: var(--font-family);
    font-weight: 300;
    font-size: 64px;
    line-height: 90%;
    color: #f3f3f3;
    max-width: 706px;
}

.header__desc {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header__desc_text {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 20px;
    line-height: 140%;
    color: #b5b5b5;
    max-width: 350px;
}


.action {
    width: 96px;
    height: 96px;
    border-radius: 100%;
    background: rgba(255, 255, 255, 0.01);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray);
}

.action img {
    animation: arrow 1s infinite alternate;
}


.about {
    margin: 140px auto;
}

.about__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.about__desc {
    max-width: 445px;
    width: 100%;
}

.about__desc_span {
    font-family: var(--font-family);
    font-weight: 300;
    font-size: 20px;
    line-height: 90%;
    color: var(--white);
}

.about__desc_title {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 48px;
    line-height: 90%;
    color: var(--white);
    margin-top: 20px;
    margin-bottom: 40px;
}

.about__desc_text {
    font-family: var(--font-family);
    font-weight: 300;
    font-size: 16px;
    line-height: 140%;
    color: var(--gray);
    max-width: 304px;
}

.about__desc_links {
    display: flex;
    align-items: center;
    margin-top: 107px;
    justify-content: space-between;
}

.about__desc_link {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 20px;
    line-height: 90%;
    color: var(--white);
}

.about__bottom {
    margin-top: 140px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.about__box_num {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 48px;
    line-height: 90%;
    color: var(--white);
    max-width: 190px;
    width: 100%;
}

.about__box_num::after {
    content: '';
    display: block;
    width: 100%;
    background: var(--gray);
    height: 1px;
    margin-top: 8px;
    margin-bottom: 20px;
}

.about__box_text {
    font-family: var(--font-family);
    font-weight: 300;
    font-size: 16px;
    line-height: 140%;
    color: var(--gray);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.gallery__box {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gallery__box:nth-of-type(1) {
    grid-column: span 4;
    grid-row: span 2;
}

.gallery__box:nth-of-type(2) {
    grid-column: span 2;
    grid-row: 3 / span 2;
}

.gallery__box img {
    width: 100%;
    height: 100%;
    transition: 0.3s;
}

.gallery__box:hover img {
    transform: scale(1.1);
}

.gallery__box_title {
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 32px;
    line-height: 90%;
    color: var(--white);
    z-index: 5;
}

.gallery__box:not(:first-child) .gallery__box_title {
    font-weight: 400;
    font-size: 16px;
}

.projects {
    margin: 140px 0;
}

.projects__info-text,
.projects__contact-text {
    font-family: var(--font-family);
    font-weight: 300;
    font-size: 20px;
    line-height: 90%;
    color: var(--white);
}
.projects__info-title,
.projects__contact-title {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 48px;
    line-height: 90%;
    color: var(--white);
    margin-top: 20px;
    max-width: 282px;
    width: 100%;
}

.projects__list {
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.projects__item {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--white);
    padding-bottom: 20px;
}

.projetcs__item-left {
    max-width: 477px;
    width: 100%;
    overflow: hidden;
}

.projetcs__item-left img {
    width: 100%;
    height: 100%;
    transition: 0.3s;
}

.projetcs__item-left:hover img {
    scale: 1.1;
}

.projects__item-right {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.projects__item-right-top {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: flex-end;
}

.projects__item-right-title {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 24px;
    line-height: 90%;
    color: var(--white);
}

.projects__item-right-text {
    font-family: var(--font-family);
    font-weight: 300;
    font-size: 16px;
    line-height: 140%;
    color: var(--gray);
}

.projects__item-right-bottom {
    display: flex; 
    align-items: center;
    gap: 40px;
}

.projects__item-right-link {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 20px;
    line-height: 90%;
    color: var(--white);
}

.projects__contact {
    display: flex;
    justify-content: space-between;
    margin-top: 140px;
}

.projects__contact-left {
    max-width: 730px;
    width: 100%;
}

.projects__contact-right {
    max-width: 280px;
    width: 100%;
}


.projects__contact-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.projects__contact-item {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.projects__contact-item-text {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 20px;
    line-height: 90%;
    color: var(--white);
}

.projects__contact-item-value {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 90%;
    color: var(--gray);
}

.projects__contact-item-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.projects__contact-left-img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer {
    background: #202020;
    padding-top: 40px;
    padding-bottom: 80px;
}

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

.footer__item:first-of-type {
    max-width: 335px;
    width: 100%;
}

.footer__title {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 20px;
    line-height: 90%;
    color: #f3f3f3;
    margin-bottom: 20px;
}

.footer__text {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 90%;
    color: #b5b5b5;
}

.footer__input {
    font-family: var(--font-family);
    font-weight: 300;
    font-size: 16px;
    line-height: 140%;
    color: #f3f3f3;
    border-bottom: 1px solid #f3f3f3;
    margin-top: 80px;
    margin-bottom: 40px;
    width: 100%;
    padding-bottom: 8px;
}

.footer__input::placeholder {
    color: #f3f3f3;
}

.footer__links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
}

.footer__link {
    margin-top: 20px;
}

.footer__item-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.footer__item-link {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 90%;
    color: #f3f3f3;
}

.footer__item-social {
    display: flex;
    gap: 40px;
    align-items: center;
}

@keyframes arrow {
    from {
        transform: translate(-7px);
    }

    to {
        transform: translate(10px);
    }
}