html {
    box-sizing: border-box;
}

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

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

body {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    background-color: rgba(238, 239, 241, 1);
}

ul li {
    list-style: none;
}

a {
    text-decoration: none;
    color: rgba(0, 0, 0, 1);
}

p {
    color: rgba(114, 114, 114, 1);
    font-family: Roboto;
    font-size: 16px;
    line-height: 19px;
}

/* --------------------header-------------------- */
.header {
    background-color: rgba(238, 239, 241, 1);
    padding-top: 60px;

    padding-bottom: 146px;
}

.nav-menu {
    display: flex;
    justify-content: space-between;
    height: 60px;
    margin-bottom: 131px;
    margin-right: 12px;


}

.logo {
    font-family: "Revalia", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: rgba(52, 84, 122, 1);
    font-size: 48px;
    font-weight: 400;
    line-height: 41px;
}

.nav-menu-right {
    display: flex;
    flex-wrap: wrap;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    word-spacing: 0.01em;
    gap: 39px;
    padding-top: 11px;

}

.nav-menu-right li a:hover {
    color: rgb(101, 104, 104);
}

.bottom-screen {
    display: flex;
    justify-content: flex-end;
    gap: 30px;

}

.bottom-screen>img {
    width: 357px;
    height: 233px;
    margin-right: 98px;
    position: relative;
    top: 15px;
}

.bottom-screen-right h1 {
    color: rgba(0, 0, 0, 1);
    font-size: 48px;
    font-weight: 500;
    line-height: 56px;
    width: 541px;
    height: 45px;
    margin-bottom: 60px;
}

.bottom-screen-right p {
    width: 540px;
    height: 67px;
    margin-bottom: 56px;
}

.btn-header {
    width: 225px;
    height: 65px;
    background-color: #34547A;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 1);
    font-size: 16px;
    font-weight: 400;
    line-height: 19px;
    letter-spacing: 0.1em;
    transition: 0.2s all;
    border-radius: 5px;
    border: none;
}

.btn-header:hover {
    opacity: 0.85;
}

/* ---------------about me-------------------- */
.about-me {
    padding: 116px 0 112px;
    text-align: center;
    background-color: #fff;
}

.about-me-h2 {
    margin-bottom: 39px;
    color: rgba(0, 0, 0, 1);
    font-size: 32px;
    font-weight: 500;
    line-height: 38px;
}

.about-me-p {
    width: 540px;
    margin: 0 auto;
}

/* --------------numbers--------------- */
.numbers {
    padding: 98px 0;
    background-color: #34547AFF;
}


.numbers-flex {
    display: flex;
    gap: 49px;

}

.numbers-items {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #fff;
}

.numbers-items>img {
    width: 50px;
    height: 50px;
}

.items {}

.items>h4 {
    font-size: 21px;
    font-weight: 500;
    line-height: 25px;
    padding: 3px 0 3px 3px;
}

.items>p {
    color: #fff;
}

/* ----------------------skills------------ */
.skills {
    padding: 102px 0 92px;
    background-color: #fff;
}

.skills-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 151px;
}

.skills-left-items {
    width: 445px;
    height: 257px;
}

.skills-h2 {
    color: rgba(0, 0, 0, 1);
    font-size: 32px;
    font-weight: 500;
    line-height: 38px;
    margin-bottom: 43px;
    padding-left: 6px;

}

.skills-forms {
    margin-bottom: 30px;
    padding-left: 7px;


}

.forms-h5 {
    /* Adobe Photoshop */
    width: 128px;
    height: 15px;
    color: rgba(114, 114, 114, 1);
    font-size: 16px;
    font-weight: 400;
    line-height: 19px;
    margin-bottom: 20px;
}

.rectangle {
    width: 440px;
    height: 4px;
    background: rgba(196, 196, 196, 1);
    position: relative;
}

.rectangle-progress {
    width: 380px;
    height: 4px;
    background-color: #34547AFF;
    position: absolute;
    top: 0px;
    left: 0px;
}

.rectangle-progress2 {
    width: 400px;
    height: 4px;
    background-color: #34547AFF;
    position: absolute;
    top: 0px;
    left: 0px;
}

.rectangle-progress3 {
    width: 300px;
    height: 4px;
    background-color: #34547AFF;
    position: absolute;
    top: 0px;
    left: 0px;
}

.skills-right-items>img {
    width: 555px;
    height: 450px;
}

/* ---------------video--------------- */
.video {
    padding: 100px 0;
}

.video-flex {
    text-align: center;
}

.video-flex h2 {
    margin-bottom: 41px;
    color: rgba(0, 0, 0, 1);
    font-size: 32px;
    font-weight: 500;
    line-height: 38px;
}

.video-flex p {
    margin: 0 auto 53px;
    width: 540px;


}

.video-project {
    width: 1110px;
    height: 600px;
}

/* -------------------project-------------- */
.project {
    background-color: #fff;
    padding: 31px 0;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr)
}

.photo-works {
    height: 480px;
    position: relative;
    display: inline-block;
    transition: filter 0.3s ease;

}

.photo-works::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
}

.photo-works:hover::after {
    background: rgba(1, 45, 112, 0.753);
    background-image: url(../images/okoo.png);
    background-repeat: no-repeat;
    background-position: center center;
}

.photo-project-items:nth-child(odd) {
    background-image: url(../images/photo-documents.jpg);
    background-repeat: no-repeat;
    background-size: cover;

}

.photo-project-items:nth-child(even) {
    background-image: url(../images/photo-work.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/* -------------------clients logo--------------- */
.clients {
    padding: 31px 0 101px;
    background-color: #fff;
}

.clients-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.clients-flex img {
    width: 255px;
    height: 120px;
}

/* ------------------------form------------------ */
.form {
    padding: 100px 0;
}

.form-items {
    max-width: 540px;
    width: 100%;
    margin: 0 auto;
    text-align: center;

}

.form-h2 {
    color: rgba(0, 0, 0, 1);
    font-size: 32px;
    font-weight: 500;
    line-height: 38px;
    margin-bottom: 40px;
}

.form-p {
    width: 540px;
    height: 67px;
    margin-bottom: 62px;
}

.form input,
.form textarea,
.formb button {
    border: none;
    color: rgba(95, 93, 93, 1);
    outline: none;
}

.form textarea {
    width: 540px;
    height: 175px;
    padding: 17px 20px;
    resize: none;
    width: 100%;
}

.form-inner {
    display: flex;
    justify-content: space-between;
    margin-bottom: 22px;
}

.form-inner input {
    width: 255px;
    height: 50px;
    padding: 18px 20px;
}

.message {
    margin-bottom: 40px;
}

.btn-form {
    width: 190px;
    height: 55px;
    background-color: #34547A;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 1);
    font-size: 14px;
    font-weight: 400;
    line-height: 23px;
    letter-spacing: 0.15em;
    transition: 0.2s all;
    border-radius: 5px;
}

.btn-form:hover {
    opacity: 0.80;
}

/* ----------------------footer-------------------- */
.footer {
    background-color: #34547AFF;
    padding: 50px;
}

.footer-intems {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.left-info {
    padding-left: 5px;
}

.left-info h4 {
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 1);
    font-size: 21px;
    font-weight: 500;
    line-height: 25px;
}

.left-info p {
    color: rgba(255, 255, 255, 1);
    font-size: 13px;
    font-weight: 400;
    line-height: 15px;
}

.right-menu {
    display: flex;
    align-items: center;
    gap: 21px;
    
}
.right-menu a img:hover {
    opacity: 0.8;

}