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

@font-face {
  font-family: 'cooper';
  src: url('./fonts/cooper-black-regular.ttf') format('opentype');
  font-weight: 400;
}

body {
    font-family: "Quicksand";
}

/*Padding & Margin General*/
/*Margin left-right of sections*/

.padding-lr-section {
    padding-left: 10vw;
    padding-right: 10vw;
}
.padding-tb-section {
    padding-top: 120px;
    padding-bottom: 120px;
}

body > nav, #menu-nav{
    background: #5C3B1E;
    padding: 15px 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
body > nav h2, footer h2 {
    font-family: 'cooper' !important;
    font-size: 38px;
    color: #F5E3C3;
}

body > nav img, footer section img {
    width: 150px;
    height: auto;
}

body > nav ul{
    text-decoration: none;
    list-style: none;
    color: #F5E3C3;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
}

nav ul a {
    text-decoration: none;
    color: #F5E3C3;
}

#menu-nav ul {
    text-decoration: none;
    list-style: none;
    color: #F5E3C3;
    text-align: end;
}

#menu-nav ul li{
    padding: 10px;
}

#btn-primary {
    background-color: #F5E3C3;
    font-family: "Quicksand";
    color: #5C3B1E;
    padding-top: 12px;
    padding-right: 24px;
    padding-bottom: 12px;
    padding-left: 24px;
    border-radius: 42px;
    font-weight: 700;
    font-size: 16px;
    border: none;
}

#btn-primary:hover {
     background-color: #f1e5cf;
}

#btn-secondary {
    background-color: #5C3B1E;
    font-family: "Quicksand";
    padding-top: 12px;
    padding-right: 24px;
    padding-bottom: 12px;
    padding-left: 24px;
    border-radius: 42px;
    font-weight: 700;
    font-size: 16px;
    border: none;
}

#btn-secondary:hover {
    background-color: #6f4f33;
}

#btn-primary a {
    text-decoration: none !important;
    color: #5C3B1E !important;
}

#btn-secondary a {
    text-decoration: none !important;
    color: #F5E3C3 !important;
}

body > header {
    display: flex;
    justify-content: start;
    align-items: center;
    background-image: url('img/slider1.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgba(0, 0, 0, 0.5); /* negro semitransparente arriba */
    background-blend-mode: darken; /* o multiply, overlay, etc. */
    animation: heroimg 20s infinite;
}

#hero h1 {
    color: #F5E3C3;
    font-size: 75px;
    font-family: 'cooper' !important;
    padding: 0px;
    margin: 0px;
    font-weight: 400;
    line-height: 100%;
    letter-spacing: 0%;
}

#hero p {
    color: #F5E3C3;
    font-weight: 700;
    font-size: 28px;
    line-height: 180%;
    letter-spacing: 0%;
}

#hero div p{
    width: 80%;
}

.margin-top {
    margin-top: 5vh;
}

@keyframes heroimg {
    0% {
        background-image: url('img/slider1.webp');
    }
    19% {
        background-image: url('img/slider1.webp');
    }
    20% {
        background-image: url('img/slider2.webp');
    }
    21% {
         background-image: url('img/slider2.webp');
    }

    39% {
         background-image: url('img/slider2.webp');
    }
    40% {
        background-image: url('img/slider3.webp');
    }
    41% {
        background-image: url('img/slider3.webp');
    }

    59% {
        background-image: url('img/slider3.webp');
    }
    60% {
        background-image: url('img/slider4.webp');
    }
    61% {
        background-image: url('img/slider4.webp');
    }

    79% {
       background-image: url('img/slider4.webp');
    }
    80% {
        background-image: url('img/slider5.webp');
    }
    81% {
       background-image: url('img/slider5.webp');
    }

    99% {
        background-image: url('img/slider5.webp');
    }
    100% {
        background-image: url('img/slider1.webp');
    }
}

body > section {
    background-color: #F5E3C3;
    color: #5C3B1E;
}

body > main, footer {
    background-color: #5C3B1E;
    color: #F5E3C3;
    text-align: center;
}


body > section {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

body > section div {
    width: 40%;
}

body > section img {
    width: 45%;
}

body > section div h3 {
    font-family: Mynerve;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0%;
    text-transform: uppercase;
}
body > section div h2, body > main h2{
    font-weight: 700;
    font-size: 44px;
    line-height: 120%;
    letter-spacing: 0%;
}

body > section div p {
    font-weight: 400;
    font-size: 16px;
    line-height: 36px;
    letter-spacing: 0%;
}

body > section div p span{
    font-weight: 700;
}

.banner {
    background-image: url('img/banner.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-color: rgba(0, 0, 0, 0.6); /* negro semitransparente arriba */
    background-blend-mode: darken; /* o multiply, overlay, etc. */
}

body > main p a {
    text-decoration: none;
    color: #F5E3C3;
    font-weight: 700;
    font-size: 18px;
    line-height: 34px;
    letter-spacing: 0%;
}

body > footer {
    text-align: start;
    display: flex;
    justify-content: start;
    align-items: start;
    gap: 80px;
}

footer .social {
    width: 50%;
}
footer .social p {
    width: 50%;
    font-weight: 400;
    font-size: 14px;
    line-height: 180%;
    letter-spacing: 0%;
}

footer nav, footer section {
    width: 25%;
}

footer .social a {
    margin-right: 15px;
}

footer h4{
    font-weight: 700;
    font-size: 14px;
    line-height: 150%;
    letter-spacing: 0%;
    text-transform: uppercase;
}

footer ul {
    list-style: none;
}

footer ul li{
    font-weight: 400;
    font-size: 14px;
    line-height: 180%;
    letter-spacing: 0%;
    padding-top: 8px;
    padding-bottom: 8px;
}

footer ul li a{
    text-decoration: none;
}
.section-bottom {
    text-align: center;
    display: block;
    padding-top: 40px;
    padding-bottom: 40px;
}

.section-bottom h6, .section-bottom p{
    font-size: 16px;
    line-height: 180%;
    letter-spacing: 0%;
    text-align: center;
}
.p-create {
    font-weight: 500;
    font-size: 14px;
    line-height: 180%;
    letter-spacing: 0%;
    text-align: center;
    text-transform: uppercase;
    padding-top: 20px;
    padding-bottom: 20px;
}
main section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.product-card {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  width: 30%;
}

.product-image {
  position: relative;
  width: 100%;
  height: 100%;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-image h3 {
    height: 20%;
  position: absolute;
  bottom: 0;
  width: 100%;
  text-align: center;
  background-color: #F5E3C3;
  padding: 30px 0;
  margin: 0;
  font-weight: bold;
  color: #5C3B1E;
  font-family: 'Cooper';
}

.product-info h3 {
  color: #5C3B1E;
  font-family: 'Cooper';
}

.product-info {
  position: absolute;
  bottom: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #F5E3C3;
  padding: 20px;
  box-sizing: border-box;
  transition: bottom 0.4s ease;
  text-align: center;
  border-radius: 12px 12px 0 0;
  color: #5C3B1E;
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-info p {
    font-weight: 700;
    font-size: 16px;
    line-height: 148%;
    letter-spacing: -2%;
    text-align: center;
}

.product-card:hover .product-info {
  bottom: 0;
}

.dd {
    display: block;
}

.dm {
    display: none;
}


/*menu hamburhuesa*/

#menu-btn {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
}

#menu-nav {
    display: none;
}

/* Móvil */
@media (max-width: 768px) {
    #menu {
        display: none;
        flex-direction: column;
        width: 100%;
        margin-top: 1rem;
    }

    #menu-nav.show {
        display: block;
    }

    #menu-btn {
        display: block;
        color: #F5E3C3;
    }

    body > section {
        display: block;
    }

    body > section div {
        width: 100%;
    }

    body > section img {
        width: 100%;
    }

    .margin-bt {
        margin-bottom: 10vh;
    }
    .margin-top {
        margin-top: 10vh;
    }
    main section {
        display: block;
        gap: 10px;
    }
    .product-card {
        width: 100%;
        margin-bottom: 40px;
    }

    body > footer {
        display: block;
    }

    footer .social {
        width: 100%;
    }
    footer .social p {
        width: 100%;
    }
    footer nav, footer section {
        width: 100%;
    }
    #hero h1 {
        font-size: 45px;
    }
    #hero p {
        font-size: 20px;
    }

    #menu-nav a {
        text-decoration: none;
        color: #F5E3C3;
    }

    .product-card .product-info {
        bottom: -100%;
        transition: bottom 0.3s ease;
        position: absolute;
    }

    .product-card:hover .product-info,
    .product-card.active .product-info {
        bottom: 0;
    }

    body > #productos h2 {
        text-align: start;
    }

    .dd {
        display: none;
    }

    .dm {
        display: block;
    }

    .footer-margin {
        margin-top: 10vh;
    }
}

footer nav a, footer section a {
    text-decoration: none;
    color: #F5E3C3;
}

.a-pehuen {
    text-decoration: none;
    color: #F5E3C3;
    font-weight: 600;
    font-size: 14px;
}