body,
div,
dl,
dt,
dd,
ul,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
input,
textarea,
p,
blockquote,
th,
td,
menu {
    margin: 0;
    padding: 0;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

fieldset,
img,
abbr {
    border: 0;
}

address,
caption,
cite,
code,
dfn,
em,
th,
var {
    font-style: normal;
    font-weight: normal;
}

ul li {
    list-style: none;
}

caption,
th {
    text-align: left;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 100%;
}

sup {
    vertical-align: text-top;
}

sub {
    vertical-align: text-bottom;
}

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
}

legend {
    color: #000;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
main {
    display: block;
}

img {
    max-width: 100%;
    height: auto;
}

 :root {
    --asfalt: #333333;
}

html,
body {
    font-family: 'Roboto', sans-serif;
    font-size: 24px;
    color: var(--asfalt);
}

h1,
h2 {
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 32px;
    color: #000000;
}

h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 32px;
    text-align: center;
    color: #000000;
}

h4 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 16px;
    color: #000000;
}

.wrapper {
    padding: 0 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -16px;
}

.col {
    margin: 0 16px;
}

#header {
    background: url('../img/bg.jpg') center bottom /cover no-repeat;
    height: 576px;
    display: flex;
    align-items: center;
}

.hero {
    width: calc(100% - 32px)
}

.hero .img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 12px solid #ffffff;
    filter: drop-shadow(4px 4px 4px rgb(0, 0, 0, 0.25));
    margin: 0 auto 24px;
}

.name {
    background: #000000;
    font-size: 48px;
    font-weight: bold;
    color: #ffffff;
    width: 462px;
    padding: 16px;
    margin: 0 auto;
    text-align: center;
}

#menu {
    background: #000000;
    height: 80px;
}

#menu ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

#menu a {
    padding: 0 16px;
    font-weight: bold;
    text-decoration: none;
    color: #ffffff;
    font-size: 32px;
}

#about {
    padding: 56px 0;
    text-align: center;
}

.about {
    width: calc(100% - 32px);
}

#progress {
    margin-bottom: 32px;
}

.progress {
    width: calc(100% / 3 - 32px);
    padding: 24px 0;
    font-size: 16px;
    box-shadow: 4px 4px 16px rgba(0, 0, 0, 0.25);
    margin-bottom: 32px;
}

.progress .img {
    margin-bottom: 24px;
    height: 250px;
}

.progress p {
    padding: 0 32px;
}

.creative {
    width: calc(100% / 3 - 32px);
    height: 380px;
    margin-bottom: 32px;
    box-shadow: 4px 4px 16px rgba(0, 0, 0, 0.25);
}

#reviews {
    margin-bottom: 32px;
}

.review {
    width: calc(100% - 32pxs);
    padding: 40px;
    box-shadow: 4px 4px 16px rgba(0, 0, 0, 0.25);
}

.review_text {
    width: calc(100% / 12 * 8 - 32px);
    font-size: 16px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
}

.review_text h3 {
    text-align: left;
}

.review_text img {
    width: 40px;
    margin-bottom: 16px;
}

.review_img {
    text-align: center;
    width: calc(100% / 12 * 4 - 32px);
    font-size: 16px;
}

.review_img .img {
    width: 328px;
    height: 328px;
    margin: 0 auto 24px;
    border-radius: 50%;
}

.contact {
    width: calc(25% - 32px);
    height: 242px;
    box-shadow: 4px 4px 16px rgba(0, 0, 0, 0.25);
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    color: var(--asfalt);
    text-decoration: none;
    margin-bottom: 40px;
}

.contact img {
    height: 56px;
    margin-bottom: 24px;
}

.center {
    justify-content: center;
}

#footer {
    background: #000000;
    padding: 24px 0;
    font-size: 16px;
    color: #ffffff;
    text-align: center;
}

.copyright {
    width: calc(100% - 32px);
}

.mob_button,
.mobile_menu {
    display: none;
}

@media screen and (max-width:1154px) {
    #menu a {
        font-size: 28px;
    }
    .review_img .img {
        width: 292px;
        height: 292px;
    }
    .progress h3 {
        padding: 0 32px;
    }
}

@media screen and (max-width: 991px) {
    html,
    body {
        font-size: 17px;
    }
    #menu {
        display: none;
    }
    .mobile_button {
        display: block;
        background: rgba(0, 0, 0, 0.9) url('../img/burger.svg') center center no-repeat;
        border: none;
        width: 50px;
        height: 50px;
        position: absolute;
        right: 0;
        top: 0;
        z-index: 2;
    }
    .mobile_button.active {
        background: rgba(0, 0, 0, 0.9) url('../img/close.svg') center center no-repeat;
    }
    .mobile_menu.active {
        background: rgba(0, 0, 0, 0.9);
        padding: 50px;
        box-sizing: border-box;
        width: 320px;
        display: block;
        position: absolute;
        right: 0;
        top: 0;
        z-index: 1;
    }
    .mobile_menu a {
        display: block;
        height: 50px;
        font-size: 16px;
        text-decoration: none;
        text-transform: uppercase;
        line-height: 3.4em;
        color: #ffffff;
        border-bottom: 1px solid #333333;
    }
    .progress,
    .creative {
        width: calc(50% - 32px);
    }
    .review_text,
    .review_img {
        width: calc(50% - 32px);
    }
}

@media screen and (max-width: 959px) {
    .contact {
        width: calc(100% / 3 - 32px);
    }
}

@media screen and (max-width: 767px) {
    .name {
        font-size: 32px;
        width: 100%;
    }
    .progress,
    .creative {
        width: calc(80% - 32px);
    }
    .review_text,
    .review_img {
        width: calc(100% - 32px);
        text-align: center;
    }
    .review_img {
        order: -1;
        margin-bottom: 32px;
    }
    .review_text img {
        margin: 0 auto 16px;
    }
    .review_text h3 {
        text-align: center;
    }
    .contact {
        width: calc(50% - 32px);
    }
}

@media screen and (max-width: 575px) {
    .progress,
    .creative {
        width: calc(100% - 32px);
    }
    .contact {
        width: calc(80% - 32px);
    }
}

@media screen and (max-width: 419px) {
    .name {
        width: 80%;
    }
    .review {
        padding: 16px;
    }
    .review_img .img {
        width: 250px;
        height: 250px;
    }
    .contact {
        width: calc(100% - 32px);
    }
}

#work {
    margin-bottom: 64px;
}

.work {
    width: calc(100% / 3 - 32px);
    position: relative;
    margin-bottom: 32px;
}

.work::before {
    content: "";
    width: 100%;
    height: 100%;
    display: block;
    background: rgba(6, 161, 228, 0.7);
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.work:hover::before {
    opacity: 1;
}

.work_link {
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.work_link:hover {
    opacity: 1;
}

.work_link a{
    width: 64px;
    height: 64px;
    display: block;
    margin: 0 8px;
}

.fullscreen{
    background: url('../img/fullscreen.svg') no-repeat;
}

.link{
    background: url('../img/link.svg') no-repeat;
}
