/* Poppins Bold */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    src: url('Poppins-Bold.woff2') format('woff2'),
    url('Poppins-Bold.ttf') format('truetype');
}

/* Good Headline Regular */
@font-face {
    font-family: 'Good Headline';
    font-style: normal;
    font-weight: 400;
    src: url('Good Headline W02 Regular.woff2') format('woff2'),
    url('Good Headline W02 Regular.ttf') format('truetype');
}

/* reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

input, button, textarea, select {
    font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}

/* global */

body {
    color: #fff;
    font-family: "Good Headline", sans-serif;
    font-size: 18px;
    line-height: 1.3;
    background-color: #1c2931;
}

a {
    display: inline-block;
    text-decoration: none;
    color: inherit;
}

h1, h2 {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 38px;
}

.wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.shell {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 10px;
}

.hero {
    display: flex;
    flex-direction: column;
    text-align: center;
    max-height: 500px;
    padding: 70px 0;
}

.hero .logo {
    margin-bottom: 10px;
}

.hero__main {
    margin-bottom: 40px;
}

.hero .shell {
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero h2 {
    margin-bottom: 30px;
}

.hero p {
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.67);
}

.hero .button {
    min-width: 250px;
}

.logo {
    width: 180px;
}

header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 30px 0;
}

header .shell {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

main {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    background-image: url('bg1.jpg');
    background-repeat: no-repeat;
    background-size: cover;
}

.button {
    padding: 0 38px;
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 14px;
    line-height: 44px;
    border-radius: 40px;
    text-transform: uppercase;
    background-color: #82A638;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    transition: background-color .3s, border-color .3s;
}

.button:hover {
    background-color: #74A607;
    border-color: #74A607;
}

.button--outline {
    background-color: transparent;
    box-shadow: none;
    border: 1px solid #fff;
}

footer {
    background: #74A607;
    padding: 10px 0;
}

footer .logo {
    width: 94px;
}

footer .shell {
    max-width: 950px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

nav {
    font-size: 12px;
}

nav ul {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    list-style: none;
}

nav li:not(:last-child) {
    border-right: 1px solid #d8d8d8;
}

nav a {
    padding: 0 5px;
    margin: 5px;
}

nav a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    header {
        padding: 20px 0;
    }

    .footer__copyright {
        flex-direction: column;
    }

    .hero {
        max-height: unset;
        padding: 55px 0;
    }

    .hero .logo {
        margin-bottom: 20px;
    }

    h1, h2 {
        font-size: 32px;
    }

    nav a {
        margin: 0;
        font-size: 11px;
    }
}

@media (max-width: 600px) {
    .hero h2 {
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 500px) {
    .hero p {
        max-width: 280px;
        margin: 0 auto;
    }

    .hero p:not(:last-child) {
        margin-bottom: 25px;
    }

    .hero p span {
        display: none;
    }
}