@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');
*{
    padding: 0;
    margin: 0;
    border: 0;
}
*, *:before, *:after {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
:focus, :active {
    outline: none;
}
a:focus, a:active {
    outline: none;
}
html, body {
    height: 100%;
    width: 100%;
    min-width: 350px;
    line-height: 1.4;
    font-size: 18px;
    font-family: "Rubik", serif;
    font-weight: 400;
    color: #333;
    -ms-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    cursor: default;
}
input, button, textarea, select {
    font-family: inherit;
}
input::-ms-clear {
    display: none;
}
button {
    cursor: pointer;
}
button::-moz-focus-inner {
    padding: 0;
    border: 0;
}
a, a:visited {
    text-decoration: none;
}
a:hover{
    text-decoration: none;
}
ul li{
    list-style: none;
}
img{
    vertical-align: top;
}
h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: 400;
}
strong {
    font-weight: 500;
}
body {
    display: flex;
    flex-direction: column;
    background-color: #efefef;
}

header {
    display: flex;
    background-color: #51cdbb;
    justify-content: center;
    padding: 10px;
}
header img {
    height: 80px;
}
footer {
    display: flex;
    background-color: #51cdbb;
    justify-content: center;
    padding: 10px;
    color: #fff;
}
footer img {
    height: 80px;
}

footer .wrap {
    display: flex;
    flex-wrap: wrap;
    max-width: 500px;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 20px;
}
footer .wrap .inner {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
footer .wrap .inner .contacts {
    display: flex;
    justify-content: center;
    gap: 10px;
}
footer .wrap .inner .contacts img {
    width: 40px;
}
footer .wrap .inner .copyright {
    font-size: 16px;
}
content {
    display: flex;
    flex-direction: column;
    padding: 30px 10px;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
    align-items: center;
}

content img {
    max-width: 100%;
    height: auto;
}

content a.link {
 background-color: #51cdbb;
 border: 2px solid #51cdbb;
 color: #fff;
 font-weight: 500;
 padding: 10px 20px;
 font-size: 18px;
 border-radius: 30px;
}
content a.link:hover {
 background-color: #fff;
 color: #51cdbb;
}
h1 {
    font-size: 26px;
    font-weight: 500;
    text-align: center;
}
h2 {
    font-size: 22px;
    font-weight: 500;
    text-align: center;
}
h2 a {
    color: #333;
    text-decoration: underline;
}
h2 a:hover {
    text-decoration: none;
}
p {
    text-align: left;
    width: 100%;
}