/* Normalize CSS */

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%;
    font-weight: normal;
}

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;
}

html,
body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    color: #333;
}

h1,
h2 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 12px;
    text-align: center;
    color: #000000;
    margin-bottom: 32px;
}

h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 24px;
    text-align: center;
    color: #000000;
}

h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #000;
    text-align: center;
}

.wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -16;
}

.col {
    margin: 0 16px;
}

#header {
    background: url('../img/bg.jpg') center center / cover no-repeat;
    height: 580px;
    display: flex;
    align-items: center;
}

.hero {
    width: calc(100% - 32px);
    text-align: center;
}

.hero .img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 12px solid #ffffff;
    margin: 0 auto 32px;
}

.name {
    background: #000000;
    font-size: 48px;
    font-weight: bold;
    color: #ffffff;
    display: inline-block;
    padding: 16px;
    margin: 0 auto;
}

#menu {
    background: #000000;
    height: 80px;
}

.between {
    justify-content: space-between;
}

#menu ul {
    height: 80px;
    align-items: center;
}

#menu a {
    font-size: 32px;
    font-weight: bold;
    text-decoration: none;
    color: #ffffff;
}

#about {
    padding: 56px 0;
}

.about {
    width: calc(100% - 32px);
    font-size: 24px;
    text-align: center;
}

#pregres,
#creatives,
#reviews {
    margin-bottom: 32px;
}

.progres {
    width: calc(100% / 3 - 32px);
    padding: 24px 0;
    box-shadow: 4px 4px 16px rgba(0, 0, 0, 0.25);
    margin-bottom: 32px;
}

.progres .img {
    height: 250px;
    margin-bottom: 24px;
}

.progres 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);
}

.review {
    width: calc(100% - 32px);
}

.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;
    height: 40px;
    margin-bottom: 24px;
}

.review_img {
    width: calc(100% / 12 * 4 - 32px);
    text-align: center;
}

.review_img .img {
    width: 328px;
    height: 328px;
    border-radius: 50%;
    margin: 0 auto 24px;
}

.review {
    padding: 40px;
    box-shadow: 4px 4px 16px rgba(0, 0, 0, 0.25);
}

.contact {
    width: calc(25% - 32px);
    height: 242px;
    text-align: center;
    text-decoration: none;
    color: #333333;
    margin-bottom: 40px;
    box-shadow: 4px 4px 16px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
}

.center {
    justify-content: center;
}

.contact img {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
}

#footer {
    background: #000;
    padding: 24px;
    font-size: 16px;
    text-align: center;
    color: #ffffff;
}

.copyright {
    width: calc(100 - 32px);
    text-align: center;
}

.mobile_menu,
.mobile_button {
    display: none;
}

@media screen and (max-width: 1154px) {
    #menu a {
        font-size: 28px;
    }
    .progres h3 {
        padding: 0 32px;
    }
    .review_img.img {
        width: 292px;
        height: 292px;
    }
}

@media screen and (max-width: 1154px) {
    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;
    }
    .progres,
    .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) {
    .hero .name {
        font-size: 32px;
        width: 100%;
    }
    .progres,
    .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) {
    .hero .name {
        width: 80%;
        font-size: 32px;
    }
    .hero .img {
        width: 220px;
        height: 220px;
    }
    .progres,
    .creative {
        width: calc(100% - 32px);
    }
    .review_img .img {
        width: 220px;
        height: 220px;
    }
    .contact {
        width: calc(80% - 32px);
    }
}

@media screen and (max-width: 420px) {
    .review {
        padding: 16px;
        margin: 0;
    }
    .contact {
        width: calc(100% - 32px);
    }
}