html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
    font-family: "Open Sans", sans-serif;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* ------------------------------------------------------- */
header {
    width: 496px;
    height: 30px;
    margin: 25px auto;
    display: flex;
    align-items: center;
    font-family: inherit;
    font-size: 18px;
}

ul {
    display: flex;
    gap: 40px;
}

a {
    text-decoration: none;
    color: #828282;
}

a:hover {
    color: black;
}

hr {
    margin: 0 auto;
    padding: 0;
    width: 970px;

}

.hero {
    font-family: inherit;
    font-weight: 700;
    font-size: 48px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 970px;
    height: 497px;
    gap: 50px;
    margin: 12px auto;
    margin-bottom: 0;
}

.about {
    display: flex;
    background-color: #F6F6F6;
    height: 500px;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 30px;
    text-align: center;
    padding-bottom: 15px;

}

.about h2 {
    font-size: 34px;
    font-weight: 700;
    text-align: center;
    padding-top: 100px;
    padding-bottom: 20px;
    font-family: inherit;
}

.about p {
    font-size: 18px;
    font-family: inherit;
    line-height: 25px;
    
}

.skills {
    height: 564px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.skills hgroup h2 {
    font-size: 34px;
    font-weight: 700;
    font-family: inherit;
    padding-bottom: 20px;
    text-align: center;
}

.skills hgroup p {
    font-size: 18px;
    font-family: inherit;
    text-align: center;
}

.skills-item {
    display: flex;
    gap: 97px;
}

.skills-item div {
    width: 170px;
    height: 230px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.skills-item div p {
    padding: 25px 0 60px 0;
    color: #828282;
    font-size: 14px;
    font-weight: 600;
}

.last-img {
    margin-top: 18px;
}

.portfolio {
    background-color: #F6F6F6;
    display: flex;
    flex-direction: column;
    gap: 70px;
    align-items: center;
    justify-content: center;
    padding: 100px 0 100px 0;
}

.portfolio h2 {
    font-size: 34px;
    font-family: inherit;
    font-weight: 700;
}

.portfolio div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.portfolio div a {
    color: black;
    text-decoration: underline;
    font-size: 18px;
    font-family: inherit;
    text-align: center;
    line-height: 25px;
}

.contacts {
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 60px;
    margin: 100px 0 100px 0;
    text-align: center;
}

.contacts hgroup {
    width: 280px;
}

.contacts hgroup h2 {
    font-size: 34px;
    font-weight: 700;
    font-family: inherit;
    padding-bottom: 20px;
}

.contacts hgroup p {
    font-size: 18px;
    font-family: inherit;
    line-height: 25px;
}

.contacts-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.contacts-item button {
    border-radius: 22px;
    padding: -1px 16px;
    width: 180px;
    height: 44px;
    background-color: black;
    font-family: inherit;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.1em;
    text-align: center;
    color: #fff;
}

.contacts-img {
    display: flex;
    gap: 50px;
}

.contacts p {
    font-family: inherit;
    font-weight: 400;
    font-size: 14px;
    text-align: center;
    color: #828282;
    line-height: 20px;
}