:root {
    --main-color: #494D00;
    --secondary-color: #FDFFE0;
}

html, body {
    font-family: "EB Garamond", serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    background-color: var(--secondary-color);
    color: var(--main-color);
    font-size: 22px;
    overscroll-behavior: none;
}

h1, h2, h3, h4, h5, p {
    margin: 0px;
}

section, header, footer {
    display: flex;
    width: 100%;
    max-width: 1200px;
    padding-left: 60px;
    padding-right: 60px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: var(--main-color);;
}

a:hover {
    text-decoration: underline;
}

.btn {
    padding: 16px 88px;
    border: 1px solid var(--main-color);;
    border-radius: 3px;
    text-align: center;
    background-color: transparent;
    cursor: pointer;
}

.width100 {
    width: 100%;
}

input {
    padding: 16px;
    border: 1px solid var(--main-color);;
    border-radius: 3px;
    outline: none;  
    font-size: 18px;
}

.btn:hover {
    text-decoration: underline;
}

.btn.small {
    font-size: 16px;
    padding: 6px 22px;
}

.btn.fill {
    background: var(--main-color);;
    color: var(--secondary-color);
}

.btn.transparent {
    border: 1px solid transparent;
}

header {
    align-items: center;
    padding-top: 24px;
    padding-bottom: 24px;
    padding-left: 0px;
    padding-right: 0px;
}

header .logo {
    margin-right: auto;
    display: block;
    cursor: pointer;
}

header .logo img:last-of-type {
    width: 100px;
}

header .logo img:first-of-type {
    position: relative;
    top: 1px;
    width: 19px;
    transition: all 0.2s ease-out;
    transform: rotate(0deg);
}

header .logo:hover {
    text-decoration: none;
}

header .logo:hover img:first-of-type {
    transform: rotate(360deg);
}

header .rightBtns a {
    margin-right: 8px;
}

header .rightBtns a:last-of-type {
    margin-right: 0px;
}

.main {
    padding-top: 80px;
    padding-bottom: 80px;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
}

.main h1 {
    margin-bottom: 32px;
}

.main p {
    line-height: 130%;
    margin-top: 8px;
    max-width: 60%;
}

.main h2 {
    margin-top: 32px;
}

.main img {
    width: 460px;
}

footer {
    justify-content: center;
    margin-bottom: 80px;
}

@media (max-width: 768px) {
    html, body {
        font-size: 18px;
    }

    section, header, footer {
        padding-left: 16px;
        padding-right: 16px;
        max-width: 100%;
    }

    img,
    .main img,
    header .logo img:last-of-type,
    header .logo img:first-of-type {
        width: 100%;
        max-width: calc(100% - 32px);
        height: auto;
    }

    header {
        padding-top: 16px;
        padding-bottom: 16px;
    }

    header .logo img:last-of-type {
        width: 80px;
    }

    header .logo img:first-of-type {
        width: 16px;
    }

    .main {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .main p {
        max-width: 100%;
    }

    .btn {
        padding: 12px 60px;
    }

    .btn.small {
        padding: 4px 16px;
        font-size: 14px;
    }

    input {
        font-size: 16px;
        padding: 12px;
    }

    footer {
        margin-bottom: 40px;
    }
}