@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');

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

:root {
    --primary-color: #ac6835;
    --secondary-color: #231f20;
    --text-color: #c8c8c8;
    --bg-color: #015a01;
}

main {
    overflow-x: hidden;
}

a {
	text-decoration:none 
}

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


h3 {
    font-size: 25px;
}


body {
    font-family: "Poppins", sans-serif;
}


html {
    scroll-padding-top: 80px; /* Ajusta este valor según tus necesidades */
    scroll-behavior: smooth;
}


nav ul li {
    list-style-type: none;
    display: inline-block;
    padding: 0 15px;
}
nav ul  li a{
    color: black;
}
nav ul li a:hover {
    color: var(--primary-color);
    transition: 100ms;
}

/* header section  */

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: black;
}



.button {
    border: none;
    background-color: var(--primary-color);
    border-radius: 8px;
    padding: 14px 25px;
    font-weight: bold;
    transition: .4s;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease-out;
}

.button:hover {
        transform:scale(1.1);
        transition: all 0.3s ease-in;
}
button a {
    color: white;
    font-size: 15px;
}

.nav__bar__div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    cursor: pointer;
    font-size: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav__bar__div img {
    width: 110px;
}






.nav__bar__div h3 {
    font-weight: 100;
    font-size: 15px;
    margin-top: -5px;
}

nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 10%;
    padding-right: 10%;
    flex-wrap: wrap;
    background: rgba(155, 155, 155, 0.1);
    backdrop-filter: blur(5px);
    border-bottom: 2px solid rgba(255,255,255, 0.2);
    z-index: 20;
}

.nav__bar {
    display: flex;
    justify-content: space-between;
}

.nav__icon__section {
    display: flex;
    flex-wrap: wrap;
    margin-left: 10px;
    gap: 10px;
}

.nav__icon {
    color: var(--primary-color);
    margin-right: 10px;
}

.ri-phone-line {
    margin-top: 3px;
    margin-right: -5px;
}

nav h2 {
    font-weight: 400;
    font-size: 23px;
}

nav h2 span {
    font-weight: 500;
    font-size: 23px;
}


/* main */

main {
	padding-top: 20px;
}

.title__div {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-bottom: 40px;
    margin-top: 20px;
}

.title__div h2 {
    color: var(--primary-color);
}

.main__grid {
    display: grid;
    grid-template-columns: 780px 300px;
    background-color: #f2f2f2;
    padding-top: 50px;
    padding-bottom: 10px;
}

.first_grid img {
    width: 300px;
    height: 190px;
    border-radius: 15px;
    object-fit: cover;
}

.first_left_grid {
    display: grid;
    grid-template-columns: 320px 400px;
    margin-bottom: 35px;
    padding-left: 30px;
}

.image__grid {
    /* display: grid; */
    /* place-content: center; */
}


.date {
    margin-bottom: 18px;
    font-size: 14px;
}

.left__p {
    font-size: 14px;
    margin-bottom: 10px;
}


.blog__button {
    padding: 8px 20px;
}
.second__left__grid {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


.second__left__grid button {
    display: grid;
    place-content: center;
    margin-top: 10px;
}


.first_img {
    width: 300px;
    border-radius: 10px;
}

.second_img {
    width: 300px;
    border-radius: 10px;
}


/* media queries  */


@media (width < 1200px) {

    nav {
        padding-left: 5%;
        padding-right: 5%;
        padding-bottom: 0;
        padding-top: 0;
    }
}

@media (width < 1000px) {
    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    nav {
        margin-bottom: 30px;
    }

    .nav__list {
        position: fixed;
        left: -100%;
        top: 70px;
        gap: 0;
        flex-direction: column;
        background-color: rgb(157 191 156 / 77%);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        z-index: 10;
    }

    .nav__list.active {
        left: 0;
    }

    .nav__list li {
        margin: 16px 0;
    }
    nav .button {
        display: none;
    }
}

@media (width < 440px) {

    .main__grid {
        grid-template-columns: 1fr;
    }

    .title__div h1 {
        font-size: 29px;
        text-align: center;
    }
    .title__div h2 {
        font-size: 24px;
    }

    .first_left_grid {
        grid-template-columns: 300px;
        place-content: center;
        padding-left: 0;
    }

    .second_grid {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-bottom: 30px;
    }

    .first_img {
        display: none;
    }
}