*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: lato;
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
}

h1 {
    font-size: 60px;
}

h2 {
    font-size: 40px;
    text-align: center;
    padding: 10px;
}

h3 {
    font-size: 30px;
}

h4 {
    font-size: 25px;
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.1;
    width: 100%;
    color: #3E3E45
}

p {
    line-height: 1.3;
    font-size: 19px;
    color: #3E3E45;
}

a {
    text-decoration: none;
    color: #3E3E45;
}

a:hover {
    color: #7E7E85;
}


ul,
ol {
    margin: 0;
    padding: 0;
}

ul li,
ol li {
    list-style-type: none;
}

.container {
    padding: 130px 10%;
    width: 100%;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

/* HEADER */

header {
    align-items: center;
    background-color: white;
    padding: 10px 10%;
    color: white;
    border-bottom: 2px solid;
}

.hamburger {
    @media (min-width: 750px) {
        display: none;
    }
}

.hamburger img {
    height: 40px;
    cursor: pointer;
    color: #3E3E45;
}


header .logo {
    @media (max-width: 1150px) {
        display: none;
    }
}


header .mobile-logo img {

    @media (max-width: 1149px) {
        display: block;
    }
}


.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.nav-links {
    @media (max-width: 750px) {
        display: none;
    }
}

.nav-links ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

/* FOOTER */

footer {
    background: #F6F7E6;
    width: 100%;
    padding: 20px 0 0 0;
    z-index: 100;
}

.logo {
    height: 40px;
    display: flex;
    justify-content: center;

}

footer .logo {
    @media (max-width: 601px) {
        display: none;
    }
}

.mobile-logo img {
    height: 40px;
    margin: 0 10px;
    display: none;

    @media (max-width:600px) {
        display: block;
    }
}

.company-info {
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    width: 100%;
}

.contact-img {
    height: 50px;
    padding-right: 15px;
}

.about-us {
    width: 400px;
}


/* HERO */

.hero {
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)), url("./images/old-wooden-hut-456881_1920.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    height: 500px;
}

.hero-text {
    position: absolute;
    top: 200px;
    left: 10%;
    color: white;
    font-size: 25px;
    max-width: 700px;
    text-shadow: 1px 1px 10px black;
}

.hero-text p {
    color: white;
}

.hero-text h1 {
    font-size: 60px;
    color: white;
    text-shadow: 1px 1px 10px black;
}

/* HOME PAGE CONTENT */

.home-page-img {
    width: 50%;
}

.home-page-img img {
    border-radius: 15%;
}

.home-page-text {
    text-align: left;
    align-content: center;
    width: 50%;
    padding: 0 5%;
}

button:hover {
    background-color: #A0C800;
}

/* BRANDS */

.brand {
    text-align: center;
    padding: 10px;
    margin: 50px;
    width: 400px;

    @media (min-width: 2499px) {
        width: 500px
    }

    @media (max-width: 750px) {
        width: 250px;
    }
}

.bg {
    background-color: #008000;

}

.button {
    background-color: #A0C800;
    font-size: 23px;
    color: white;
    border: none;
    border-radius: 15px;
    line-height: 40px;
    padding: 10px 20px;
    cursor: pointer;
}

/* LATEST NEWS */

.latest-news {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.single-post {
    flex-direction: column;
    width: 33.33%;
    padding: 0 15px;
}

.single-post :hover {
    box-shadow: 1px 1px 10px black;
}

.post-body {
    padding: 34px 30px 0;
}

.post-body h3 {
    margin-bottom: 40px;
}

.post-info {
    border-top: 1px solid #eaeaea;
    padding: 17px 30px 19px;
    margin: auto 0 0;
}