/* inter-300 - 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: 'Inter';
    font-style: normal;
    font-weight: 300;
    src: url('fonts/inter-v19-latin-300.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


/* inter-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: 'Inter';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/inter-v19-latin-regular.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


/* inter-500 - 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: 'Inter';
    font-style: normal;
    font-weight: 500;
    src: url('fonts/inter-v19-latin-500.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


/* inter-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: 'Inter';
    font-style: normal;
    font-weight: 600;
    src: url('fonts/inter-v19-latin-600.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


/* inter-700 - 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: 'Inter';
    font-style: normal;
    font-weight: 700;
    src: url('fonts/inter-v20-latin-700.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


/* inter-800 - 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: 'Inter';
    font-style: normal;
    font-weight: 800;
    src: url('fonts/inter-v20-latin-800.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


/* inter-900 - 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: 'Inter';
    font-style: normal;
    font-weight: 900;
    src: url('fonts/inter-v20-latin-900.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

:root {
    --color-primary: #4b6a3e;
    --color-secondary: #89aa3c;
    --color-text: #262626;
    --color-bg: #244715;
    --content-width: 960px;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.4em;
    letter-spacing: 0.025em;
    width: 100vw;
    background-image: url("images/home_bg.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

@media (min-width: 960px) {
    body {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}

div {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

main,
header,
footer {
    max-width: 100%;
    width: var(--content-width);
    padding: 1rem;
    box-sizing: border-box;
}

@media (min-width: 560px) {
    main,
    header,
    footer {
        padding: 2rem;
    }
}

@media (min-width: 768px) {
    main,
    header,
    footer {
        padding: 1rem;
    }
}

@media (min-width: 960px) {
    main,
    header,
    footer {
        padding: 2rem;
    }
}

header {
    background-color: var(--color-bg);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

header .main-nav {
    list-style: none;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    gap: 2rem;
}

header .main-nav li {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    gap: 1.25rem;
}

main {
    background-color: #ffffff99;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

footer {
    background-color: var(--color-bg);
    display: flex;
    gap: 2rem;
}

.section-with-aside {
    display: flex;
    flex-direction: column-reverse;
    gap: 2rem;
}

@media (min-width: 768px) {
    .section-with-aside {
        flex-direction: row;
    }
}

.section-with-aside .section-content {
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .section-with-aside .section-content {
        flex-basis: 60%;
        flex-direction: column;
    }
}

@media (min-width: 768px) {
    header .section-with-aside .section-content {
        justify-content: flex-end;
    }
}

.section-with-aside .section-aside {
    display: flex;
    justify-content: center;
}

@media (min-width: 768px) {
    .section-with-aside .section-content {
        flex-basis: 60%;
        flex-direction: column;
    }
}

@media (min-width: 768px) {
    header.section-with-aside .section-content {
        justify-content: flex-end;
    }
}

@media (max-width: 767px) {
    main .section-with-aside .section-aside img {
        aspect-ratio: 1;
    }
}

.contact-container {
    background-color: var(--color-bg);
    padding: 2rem;
    width: 100%;
}

h1,
h2,
h3,
h4,
h5,
p,
ul,
a {
    margin-top: 0;
    line-height: 1.4em;
    letter-spacing: 0.02em;
}

p,
li {
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-text);
}

a {
    color: var(--color-primary);
    font-weight: 500;
    text-decoration: none;
}

a:hover {
    color: var(--color-text);
}

h1 {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
}

h2 {
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--color-primary);
    text-transform: uppercase;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

h2::before,
h2:after {
    content: "";
    display: block;
    width: 5rem;
    height: 2px;
    background-color: var(--color-primary);
}

.contact-container h1,
.contact-container h2,
.contact-container h3,
.contact-container p,
.contact-container a {
    color: #ffffff;
}

header .section-content .intro-heading {
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--color-primary);
    color: #ffffff;
    margin-bottom: 0;
}

header .section-content h1 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-secondary);
}

footer a,
header .section-content a,
.contact-container a {
    color: var(--color-secondary);
}

footer a:hover,
header .section-content a:hover,
.contact-container a:hover {
    color: #ffffff;
}

.section ul {
    list-style: none;
    padding-left: 0.125em;
}

.section ul li {
    margin-left: 1.5em;
    position: relative;
}

.section ul li::before {
    content: "";
    display: block;
    width: 0.75em;
    height: 0.75em;
    background-color: var(--color-primary);
    margin-right: 0.5em;
    position: absolute;
    left: -1.375em;
    top: 0.25em;
}

.small {
    font-size: 0.875rem;
}

hr {
    border-width: 1px;
    margin: 1.5rem auto;
    width: 50%;
}

.section img {
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
    display: block;
}