@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

/* Root Variables */
:root {
  --color-primary: #004216;
}

/**
 * Global Reset & Base
 */
*,
*::before,
*::after {
    box-sizing: border-box;
  	margin: 0;
  	padding: 0;
}

/* Fade-in-up animation */
.animat {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animat.loaded {
  opacity: 1;
  transform: translateY(0);
}
.animat.delay-1 { transition-delay: 0.2s; }
.animat.delay-2 { transition-delay: 0.4s; }
.animat.delay-3 { transition-delay: 0.6s; }
.animat.delay-4 { transition-delay: 0.8s; }
.animat.delay-5 { transition-delay: 1s; }
.animat.delay-6 { transition-delay: 1.2s; }
.animat.delay-7 { transition-delay: 1.4s; }
.animat.delay-8 { transition-delay: 1.6s; }
.animat.delay-9 { transition-delay: 1.8s; }
.animat.delay-10 { transition-delay: 2s; }
.animat.delay-11 { transition-delay: 2.2s; }
.animat.delay-12 { transition-delay: 2.4s; }
.animat.delay-13 { transition-delay: 2.6s; }

html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}
body {
    font-family: "Rubik", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    background-color: var(--color-gray);
    color: var(--color-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.wrap-page {
    background: #FAF8F5;
    background: linear-gradient(143deg, rgba(250, 248, 245, 1) 45%, rgba(207, 230, 210, 1) 100%);
    position: relative;
    display: flex;
    flex-direction: column;
    z-index: 0;
}
.wrap-page:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 210px;
    background: url('../images/farm-vector.svg');
    background-position: bottom center;
    background-size: 100% auto;
    background-repeat: no-repeat;
    opacity: 1;
    z-index: -1;
}

.header {
    text-align: center;
    margin-top: 50px;
}
.header .logo {
    display: inline-block;
}
.header .logo img {
    display: block;
    width: 280px;
    height: auto;
}

.epitome-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 900px;
    margin: 40px auto;
    padding: 0 30px;
}
.epitome-wrap h1 {
    font-size: 1.5rem;
    line-height: 1.2;
    max-width: 700px;
    color: var(--color-primary);
}
.divider {
    display: inline-block;
    width: 150px;
    height: 3px;
    border-radius: 8px;
    margin: 20px auto;
    background: var(--color-primary);
}
.epitome-wrap p {
    font-size: 0.875rem;
    line-height: 1.4;
    color: var(--color-primary);
}

.brand-logo {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    position: relative;
}
.brand-logo:after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background: #ced5d0;
    margin-left: 5px;
}
.brand-logo img {
    display: block;
    height: auto;
}
.brand-logo img.mj-logo {
    width: 120px;
}
.brand-logo img.fm-logo {
    width: 110px;
}

.photos {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    padding: 0 30px;
}
.photos .column {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.photos .column img {
    display: block;
    width: 100%;
    border-radius: 10px;
    height: auto;
}

.footer {
    text-align: center;
    padding: 0 30px;
    font-size: 0.875rem;
    color: var(--color-primary);
    font-weight: 400;
    margin-top: 200px;
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.footer a {
    color: var(--color-primary);
    text-decoration: none;
}
.footer address {
    font-style: normal;
}
.footer .divider {
    height: 1px;
    margin: 10px auto;
    width: 100px;
}

@media (min-width: 767px) {
    .header {
        margin-top: 70px;
    }
    .header .logo img {
        width: 400px;
    }

    .epitome-wrap {
        margin: 60px auto;
    }
    .epitome-wrap h1 {
        font-size: 2.5rem;
    }
    .divider {
        width: 200px;
        height: 4px;
        margin: 30px auto;
    }
    .epitome-wrap p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .brand-logo {
        gap: 60px;
    }    
    .brand-logo img.mj-logo {
        width: 160px;
    }
    .brand-logo img.fm-logo {
        width: 150px;
    }

    .footer {
        margin-top: 350px;
        padding-bottom: 60px;
    }
}
@media (min-width: 991px) {
    .wrap-page:before {
        bottom: 300px;
    }

    .header {
        margin-top: 100px;
    }
    .header .logo img {
        width: 550px;
    }

    .epitome-wrap {
        margin: 80px auto;
        padding: 0;
    }
    .epitome-wrap h1 {
        font-size: 3rem;
    }

    .brand-logo {
        gap: 80px;
        margin-top: 50px;
    }
    .brand-logo:after {
        margin-left: 20px;
    }
    .brand-logo img.mj-logo {
        width: 220px;
    }
    .brand-logo img.fm-logo {
        width: 180px;
    }

    .photos {
        gap: 10px;
        padding: 0 ;
    }
    .photos .column {
        gap: 10px;
    }
    .photos .column img {
        border-radius: 20px;
    }

    .footer {
        margin-top: 550px;
        padding-bottom: 80px;
        font-size: 1.2rem;
    }
    .footer address {
        max-width: 575px;
        margin: 0 auto;
    }
    .footer .divider {
        margin: 15px auto;
        width: 150px;
    }
}