html {
    box-sizing: border-box;
}
*, *::before, *::after {
    box-sizing: inherit;
}
img {
    display: block;
    max-width: 100%;
}
body {
    font-family: "Roboto", sans-serif;
    margin: 0;
}
a {
    text-decoration: none;
}
h1, h2, h3, h4, h5, h6, p {
    padding: 0;
    margin: 0;
}
:root {
    --gray-color: #EEEFF1;
    --dark-blue-color: #34547A;
    --text-gray-color: #727272;
}
.header__container {
    max-width: 1100px;
    margin: 0 auto;
}
.header {
    background-color: var(--gray-color);
    padding: 64px 0 146px;
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
}
.menu {
    display: flex;
    gap: 42px;
}
.menu__link {
    font-weight: 500;
    font-size: 16px;
    line-height: 164%;
    letter-spacing: 0.1em;
    color: #000;
    text-transform: uppercase;
}
.color-menu {
    color: var(--dark-blue-color);
}
.header__content {
    padding-top: 121px;
    display: flex;
    justify-content: space-between;
}
.header__img {
    padding-top: 5px;
    padding-left: 79px;
}
.header__content-text {
    padding-left: 17px;
    width: 50%;
}
.header__h1 {
    padding-top: 32px;
    font-weight: 500;
    font-size: 48px;
    color: #000;
    line-height: 1;
}
.header__p {
    font-weight: 400;
    font-size: 16px;
    line-height: 164%;
    color: var(--text-gray-color);
    padding-top: 52px;
}
.header__btn {
    display: inline-block;
    margin-top: 51px;
    padding-top: 22px;
    width: 225px;
    height: 65px;
    background-color: var(--dark-blue-color);
    font-weight: 400;
    font-size: 16px;
    line-height: 164%;
    letter-spacing: 0.1em;
    text-align: center;
    color: #fff;
    text-transform: uppercase;
}
.about-me {
    padding: 123px 0 91px;
}
.about-me__container {
    max-width: 540px;
    margin: 0 auto;
    text-align: center;
}
.about-me__h2 {
    font-weight: 400;
    font-size: 57px;
    line-height: 1;
    letter-spacing: 0em;
    color: #000;
}
.about-me__p {
    padding-top: 15px;
    font-weight: 400;
    font-size: 16px;
    line-height: 164%;
    color: var(--text-gray-color);
}
.project {
    background-color: var(--dark-blue-color);
}
.project__container {
    padding: 100px 0 100px;
    max-width: 1091px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}
.project__img {
    width: 141px;
    height: 50px;
}
.skills {
}
.skills__container {
    max-width: 1150px;
    padding: 102px 0 101px;
    margin: 0 auto;
}
.skills__list {
    display: flex;
    justify-content: space-between;
}
.skills__progress {
    padding-left: 4px;
}
.skills__h2 {
    font-weight: 500;
    font-size: 32px;
    color: #000;
    padding: 102px 0 12px;
}
.skills__p {
    font-weight: 400;
    font-size: 16px;
    line-height: 164%;
    color: var(--text-gray-color);
    padding-top: 25px;
}
.progress-bar {
    display: flex;
    width: 445px;
    height: 4px;
    background-color: #C4C4C4;
    margin-top: 14px;
}
.progress-bar-completed {
    background-color: var(--dark-blue-color);
}
.progress-bar-remaining {
}
.skills__img {
    max-width: 100%;
    height: auto;
}

.video {
}
.video__container {
    padding: 104px 0 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: #eeeff1;
}
.video__h2 {
    font-weight: 500;
    font-size: 32px;
    color: #000;
}
.video__p {
    padding-top: 37px;
    max-width: 540px;
    font-weight: 400;
    font-size: 16px;
    line-height: 164%;
    color: var(--text-gray-color);
}
.video__player {
    max-width: 100%;
    height: auto;
    padding-top: 50px;
}
.rectangle-img {
}
.rectangle-img__container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    padding-top: 28px;
}
.card {
}
.card-sticker {
    background-image: url(../img/projects-sticker-img.png);
}
.card-view-icon {
}
.card-filter {
}
.card-work {
    background-image: url(../img/project-work-img.png);
}
.card {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 480px;
  height: 480px;
  background-size: cover;
  position: relative;
}
.card-view-icon {
  z-index: 2;
  opacity: 0;
  transition: 0.5s ease;
}
.card-filter {
  position: absolute;
  background-color: #34547A;
  opacity: 0;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  transition: 0.5s ease;
}
.card:hover .card-view-icon {
  opacity: 1;
}
.card:hover .card-filter {
  opacity: 0.8;
}
.clients {
}
.clients__container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    padding: 70px 0 100px;
}
.clients__img {
    max-width: 255px;
    height: auto;
}
.feedback {
    background-color: #eeeff1;
}
.feedback__container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 20px;
    text-align: center;
}

.feedback__content {
    width: 100%;
    max-width: 540px;
}

.feedback__h2 {
    font-weight: 500;
    font-size: 32px;
}

.description {
    font-weight: 400;
    font-size: 16px;
    line-height: 164%;
    color: var(--text-gray-color);
    padding-top: 38px;
}

.message-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
    padding-top: 56px;
}
.input-row {
    display: flex;
    gap: 30px;
    height: 50px;
}
.input-row input, textarea {
    flex: 1;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    width: 100%;
}
textarea {
    min-height: 175px;
}

button {
    margin-top: 31px;
    align-self: center;
    width: 190px;
    height: 55px;
    background-color: var(--dark-blue-color);
    color: white;
    font-weight: 400;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}
.footer {
    background-color: var(--dark-blue-color);
}
.footer__container {
    max-width: 1110px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 50px 0;
    flex-wrap: wrap;
    
}
.footer__text {
    color: #fff;
}
.footer__h3 {
    font-weight: 500;
    font-size: 21px;
}
.footer__p {
    font-weight: 400;
    font-size: 13px;
    line-height: 164%;
    padding-top: 10px;
}
.footer__icons {
    display: flex;
    gap: 9px;
}
.footer__icon {
    width: 44px;
    height: auto;
}
@media screen and (max-width: 1920px) {
    .card {
        width: 100%;
        height: 25vw;
        background-size: contain;
        background-repeat: no-repeat;
    }
}

@media screen and (max-width: 1280px) {
    .navbar {
        padding: 0 20px 0;
    }
    .header__content-text {
        width: auto;
    }
    .project__container {
        padding: 100px 20px 100px;
    }
    .skills__list {
        justify-content: center;
        flex-wrap: wrap;
        gap: 30px;
        padding: 0 20px 0;
    }
    .video__player {
        padding: 50px 20px 0;
    }
    .rectangle-img__container {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 1fr);
    }
    .card {
        height: 50vw;
    }
    .footer__container {
        padding: 50px 20px;
        flex-wrap: wrap;
    } 
}
@media only screen and (max-width: 992px) {
    .header {
        padding: 40px 0 100px;
    }
    .header__img {
        padding-left: 40px;
    }
    .project__container {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
        padding: 50px 20px 50px;
    }
    .skills__h2 {
        padding-top: 0;
    }
    .skills__progress {
        text-align: center;
        padding: 0;
    }
}
@media screen and (max-width: 768px) {
    .navbar {
        flex-direction: column;
    }
    .menu {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        padding-top: 35px;
    }
    .menu > *:nth-child(5) {
        grid-column: 1 / 3;
        justify-self: center;
    }
    .header__content {
        padding: 0;
        display: block;
    }
    .header__img {
        padding: 0;
        width: 100%;
        height: 100%;
        object-fit: none;
    }
    .header__content-text {
        padding: 0;
        text-align: center;
    }
    .header__h1 {
        padding: 0;
    }
    .progress-bar {
        width: 100%;
    }
}
@media screen and (max-width: 480px) {
    .input-row {
        flex-direction: column;
        height: auto;
        gap: 20px;
    }
}