:root {
    --accent: #34547a;
    --grey: #eeeff1;
    --white: #fff;
}

html {
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
}

.container {
    max-width: 1110px;
    margin: 0 auto;
}

.header {
    min-height: 692px;
    background-color: var(--grey);
}

.header__menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 51px;
}

.header_logo {
    font-family: "Revalia", sans-serif;
    font-weight: 400;
    font-size: 48px;
    text-align: center;
    color: #34547a;
    text-transform: uppercase;
}

.header__items {
    display: flex;
    padding-right: 10px;
}

.header__items :hover {
    color: var(--accent);
}

.header__item {
    max-width: 611px;
    margin-right: 42px;
}

.header__item:last-child {
    margin-right: 0;
}

.item-name {
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    letter-spacing: 0.1em;
    color: #000;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
}

.header__flex {
    display: flex;
    padding-top: 157px;
    margin-left: 82px;
}

.header__flex-info {
    padding-left: 130px;
}

.header__title {
    margin-bottom: 58px;
    font-weight: 500;
    font-size: 48px;
    line-height: 26px;
    color: #000;
}

.img-header {
    width: 357px;
    height: 240px;
}

.header__text {
    margin-bottom: 54px;
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    color: #727272;
}

.btn {
    width: 225px;
    height: 65px;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 164%;
    letter-spacing: 0.1em;
    text-align: center;
    color: #fff;
    background-color: var(--accent);
    border: none;
    text-transform: uppercase;
}

.about {
    padding: 120px 0 93px;
}

.about__title {
    font-weight: 500;
    font-size: 32px;
    text-align: center;
    color: #000;
    margin-bottom: 38px;
}

.about__text {
    max-width: 540px;
    margin: 0 auto;
    font-weight: 400;
    font-size: 16px;
    line-height: 164%;
    text-align: center;
    color: #727272;
}

.numbers {
    padding-top: 98px;
    padding-bottom: 93px;
    background-color: var(--accent);
}

.numbers__grid {
    padding-right: 20px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 49px;

}

.numbers__grid-item {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.numbers-h3 {
    margin-bottom: 5px;
    font-weight: 500;
    font-size: 21px;
    color: var(--white);
}

.numbers-p {
    font-weight: 400;
    font-size: 16px;
    line-height: 164%;
    color: var(--white);
}

.skills-progresbar {
    display: flex;
    width: 445px;
    height: 4px;
    background-color: #999;
    margin-left: -18px;
    margin-bottom: 29px;
}

.skills-progresbar::before {
    content: '';
    display: block;
    width: 78%;
    height: 100%;
    background-color: var(--accent);
}

.skills {
    padding: 100px 0;
}

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

.skills__title {
    padding-top: 104px;
    margin-left: -20px;
    margin-bottom: 39px;
    font-weight: 500;
    font-size: 32px;
    color: #000;
}

.skills-p {
    margin-bottom: 10px;
    margin-left: -18px;
    font-weight: 400;
    font-size: 16px;
    line-height: 164%;
    color: #727272;
}

.skills__flex-img {
    margin-right: -20px;
}

.video {
    background-color: var(--grey);
    padding: 102px 0;
    min-height: 1004px;
}

.video-h2 {
    margin-bottom: 40px;
    font-weight: 500;
    font-size: 32px;
    text-align: center;
    color: #000;
}

.video-p {
    max-width: 540px;
    margin: 0 auto 50px;
    font-weight: 400;
    font-size: 16px;
    line-height: 164%;
    text-align: center;
    color: #727272;
}


.box-video {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    max-width: 1110px;
    max-height: 600px;
    cursor: pointer;
    border-width: 0;
    outline-width: 0;
}

.projects {
    padding: 32px 0;
}

.projects__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* grid-template-rows: repeat(2, 1fr); */
    gap: 0;
}

.card {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 25vw;
    background-image: url(../img/Rectangle\ 7.jpg);
    background-size: contain;
    background-repeat: no-repeat;
    position: relative;
}

.foto2 {
    background-image: url(../img/Rectangle\ 7.7.jpg);
}

.card-view-icon {
    z-index: 2;
    opacity: 0;
    transition: 0.5s ease;
}

.card-filter {
    position: absolute;
    background-color: #34547A;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    opacity: 0;
    transition: 0.5s ease;
}

.card:hover .card-view-icon {
    opacity: 1;
}

.card:hover .card-filter {
    opacity: 0.8;
}

.clients {
    padding: 42px 0 100px;
}

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

.form {
    padding: 100px 0;
    background-color: var(--grey);
}

.form__title {
    margin-bottom: 37px;
    font-weight: 500;
    font-size: 32px;
    text-align: center;
    color: #000;
}

.form__text {
    max-width: 540px;
    margin: 0 auto 59px;
    font-weight: 400;
    font-size: 16px;
    line-height: 164%;
    text-align: center;
    color: #727272;
}

.form__flex {
    display: block;
    max-width: 540px;
    margin: 0 auto;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 164%;
    color: #5f5d5d;
}

.form__flex-item {
    display: block;
}

.input-name {
    display: inline-block;
    margin-right: 24px;
    margin-bottom: 20px;
    padding-left: 20px;
    width: 255px;
    height: 50px;
    border: none;
}

.input-email {
    display: inline-block;
    width: 255px;
    height: 50px;
    padding-left: 23px;
    border: none;
}

.form-textarea {
    width: 540px;
    height: 175px;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 164%;
    color: #5f5d5d;
    margin-bottom: 41px;
    padding-left: 20px;
    padding-top: 11px;
    border: none;
}

.form__btn {
    display: block;
    width: 190px;
    height: 55px;
    margin: 0 auto;
}

.footer {
    padding: 49px 0;
    background-color: var(--accent);
}

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

.footer__flex-item {}

.footer-h3 {
    margin-bottom: 9px;
    font-weight: 500;
    font-size: 21px;
    color: #fff;
}

.footer-p {
    font-weight: 400;
    font-size: 13px;
    line-height: 164%;
    color: #fff;
}

.footer__flex-icon {
    display: flex;

}

.footer-img {
    max-width: 175px;
    margin-right: 21px;
}

.footer-img:last-child {
    margin-right: -16px;
}

/* @media screen and (max-width: 1920px) {
    .card {
        width: 100%;
        height: 25vw;
        background-size: contain;
        background-repeat: no-repeat;
    } */