/* open-sans-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('/fonts/open-sans-v40-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-600 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    src: url('/fonts/open-sans-v40-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

html {
    background: #d51130;
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.5;
}
header {
    text-align: center;
    margin: 20px auto;
    padding: 0 20px;
}
header img {
    max-width: 100%;
    height: auto;
}
body {
    margin: 0;
}
main {
    padding: 0 20px;
    margin: 100px auto;
    max-width: 1200px;
}

main a {
    color: #ffffff;
}
h1 {
    font-weight: 600;
    font-size: 30px;
    margin-bottom: 50px;
}

.catalog {
    background: #B1B3B4;
    padding: 10px;
    border: 2px solid black;
    text-decoration: none;
    font-size: 18px;
    margin-bottom: 10px;
    color: black;
    transition: .3s ease;
}

.catalog:hover {
    color: white;
    border: 2px solid white;
    background-color: darkgrey;
}

h2 {
    font-weight: 600;
    font-size: 20px;
    margin-top: 50px;
}
footer {
    background: #B1B3B4;
}
footer .inner {
    padding: 0 20px;
    margin: 0 auto;
    max-width: 1200px;
}
footer ul {
    list-style-type: none;
    text-decoration: none;
    display: flex;
    flex-direction: row;
    padding: 0;
    justify-content: flex-end;
    margin: 0;
}
footer ul li {
    margin: 10px;
}
footer ul li a {
    color: #333333;
    text-decoration: none;
}

@media screen and (min-width: 768px) {
    html {
        font-size: 18px;
    }
    h1 {
        font-size: 40px;
    }
    h2 {
        font-size: 25px;
    }
}