html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--roboto);
    font-size: 16px;
    text-align: center;
    overflow: hidden;
    overflow-y: scroll;
}

h2,
p {
    margin: 0;
    padding: 0;
    font-weight: 400;
}

button {
    z-index: 1;
    margin: .5em;
    padding: .3em 2em;
    font-family: var(--Poppins);
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--blanco);
    background-color: var(--red);
    border: none;
    border-radius: .8em;
    cursor: pointer;
}

button:hover {
    background-color: var(--brown);
    transform: scale(1.05);
    transition: all .3s ease;
}

a {
    color: var(--brown);
    text-decoration: none;
    font-size: 1.1rem;
}

a:hover {
    color: var(--red);
    font-weight: 500;
}

/* @font-face {
    font-family: Poppins;
    src: url('../css/Poppins-Regular.ttf');
} */
@font-face {
    font-family: Selphia;
    src: url('../css/Selphia.otf');
}

:root {
    --Selphia: Selphia, sans-serif;
    --Poppins: Poppins, sans-serif;
    --roboto: 'roboto', sans-serif;

    --red: #c2272d;
    --brown: #5b2026;
    --beige: #fef6e1;

    ---grey: #333333;
    ---grey_soft: #888888;
    --blanco: #fff;
}

.contenedor {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    height: auto;
    background-color: var(--blanco);
}

section {
    width: 65%;
    height: auto;
    /* max-width: 850px; */
    /* max-height: 620px; */
    margin: 0 10%;
    box-sizing: border-box;
    background-color: var(--blanco);
}

/* =========== home ===========*/
.home {
    position: relative;
    padding: 2em;
}

.logo img {
    width: 100%;
    height: auto;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 300px;
    height: auto;
    box-sizing: border-box;
}

.phone img {
    width: 38px;
    height: 38px;
    margin-right: .5em;
    margin-top: .5em;
}

.phone {
    position: absolute;
    display: flex; justify-content: center; align-items: center;     
    top: 3em; right: .8em;
    width: auto;
    height: 35px;
    font-family: var(--Poppins);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--red);
    box-sizing: border-box;
}

.wellcome_box {
    position: relative;
    display: flex;
    justify-content: center;
    flex-direction: row-reverse;
    width: 100%;
}

.wellcome {
    display: flex;
    flex-wrap: wrap;
    width: 50%;
}

.wellcome_title {
    padding-bottom: .3em;
    font-weight: 800;
    font-family: var(--Poppins);
    font-size: clamp(3rem, 6vw, 6rem);
    line-height: clamp(3rem, 6vw, 5rem);
    text-align: left;
    color: var(--brown);
}

.wellcome p {
    font-size: clamp(1.2rem, 1.5vw, 1.5rem);
    line-height: clamp(1.2rem, 1.5vw, 1.5rem);
    text-align: left;
    color: var(---grey_soft);
}
.destacado{ 
    color: var(--red);
    font-family: var(--Selphia);
    font-size: clamp(1.8rem, 2vw, 3rem);
    line-height: clamp(1.8rem, 2vw, 3rem);
    opacity: 1;
    line-height: 1em;
}

.wellcome button {
    margin-left: 0;
    font-family: var(--Poppins);
    font-weight: 500;
    font-size: clamp(1.5rem, 1.5vw, 3rem);
    border-radius: .5em;
}

/* =========== about ===========*/
.about {
    position: relative;
    display: flex;
    background-color: var(--beige);
    box-sizing: border-box;
    border-radius: 2em;
    overflow: hidden;
}

.about_foto img {
    width: 100%;
    height: auto;
}

.about_foto {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 70%;
    height: 100%;
    /* padding: 3em; */
    box-sizing: border-box;
}

.about_texto {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 50%;
    height: 100%;
    padding: 2em;
    box-sizing: border-box;
}

.about_texto div {
    display: flex;
    flex-wrap: wrap;
    box-sizing: border-box;
    text-align: left;
    color: var(---grey);
}

.about_title {
    font-family: var(--Poppins);
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: clamp(2rem, 4vw, 3rem);
    color: var(--brown);
}

.about_texto p {
    font-size: clamp(1.2rem, 1.3rem, 2rem);
    color: var(---grey_soft);
}

/* =========== Productos ===========*/

.products {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    height: auto;
    padding: 2em;
    box-sizing: border-box;
}

.products_box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    height: auto;
    padding: 0 2em;
    box-sizing: border-box;
    margin-bottom: 50px;
}


.products_title {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    height: auto;
    box-sizing: border-box;
}

.products_title_img img {
    width: auto;
    height: 100%;
}

.products_title_img {
    width: 300px;
    height: 100px;
    margin-bottom: 1em;
    box-sizing: border-box;
}

.products_title p {
    width: 100%;
    height: auto;
    padding: 1em 8em 1.5em 8em;
    font-size: clamp(1.3rem, 2vw, 2rem);
    line-height: clamp(1.3rem, 2vw, 2rem);
    color: var(---grey_soft);
    box-sizing: border-box;
}



.col_products{
    width: 100%;
    height: auto;
    margin-top: 50px;
}
.col_products .col_products_title{
    font-family: var(--Selphia);
    font-size: 3rem;
    color: var(--red);
    text-align: left;
    border-bottom: 5px dotted var(--red);
    padding-bottom: -.5em;
}
.item_products_box{
    width: 100%;
    height: auto;
    margin-top: 1em;
}

.item_products_box .item_product img{
    justify-content: flex-start;
    width: 150px; height: auto;
    margin: .3em;
    border-radius: .4em;
    cursor: pointer;
}
.item_products_box .item_product img:hover{
    opacity: .9;
    filter:brightness(90%)
}

/* =========== Parners ===========*/
.parners_box{
    display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
    width: 100%;
    height: auto; min-height: 150px;
    margin-top: 5em;
}

.parners_box h2{
    z-index: 1;
    width: 100%;
    font-size: 2rem;
    font-family: "roboto";
    font-weight: 500;
    text-transform: uppercase;
}
.linea{
    z-index: 1;
    width: 10%;
    height: 2px;
    margin-top: .5em;
    background-color: #c2272d;
}
.parners_box img{
    z-index: 0;
    margin-top: -40px;
    object-position: center;
    object-fit: cover;
    overflow: hidden;
}


/* =========== shop ===========*/

.shop {
    position: relative;
    display: flex; align-items: center;
    background-image: url('../img/products.jpg');
    background-position: center;
    background-size: cover;
    color: var(--blanco);
}

.shop_velo {
    z-index: 0;
    position: absolute;
    right: 0;
    width: 50%;
    height: 100%;
    background-color: var(--brown);
    opacity: .8;
}

.shop_box {
    display: flex; justify-content: center; align-items: center;
    z-index: 1;
    width: 50%;
    height: 500px;
    margin-left: 50%;
    padding: 0;
    box-sizing: border-box;
}

.shop_title {
    display: block;
    font-family: var(--Poppins);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: .5em;
}

.shop_btn {
    margin-top: 1em;
    font-size: 1rem;
    font-weight: 500;
    border-radius: .6em;
}

/* =========== contact ===========*/
.contact {
    padding: 2em 5em;
    background-color: var(--beige);
}

.contact_box {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact_text {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 50%;
    padding: 2em;
}

.contact_text hr{
    width: 100%;
    margin: 2em;
    margin-bottom: 1em;
    height: 1px;
    border: none;
    border-bottom: 2px dotted var(--red);
}

.contact_title {
    display: block;
    width: 100%;
    font-family: var(--Poppins);
    font-size: clamp(2rem, 2.2vw, 5rem);
    font-weight: 800;
    color: var(--brown);
}

.contact_text p {
    color: var(---grey_soft);
    padding-left: 0;
    margin-left: 0;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
}

.adress_2{
    font-size: 1.2rem;
}


.redes {
    margin: 1em;
}

.contact_form {
    display: flex;
    width: 50%;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.form_cabecera {
    margin-bottom: 1em;
}

.form_title {
    font-family: var(--Poppins);
    font-size: 1.5em;
    color: var(--brown);
}

.form_cabecera p {
    font-size: .9em;
    width: 100%;
    height: auto;
}

/* .campo {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    /* margin-bottom: .8em; */
/* } */ 

/* .campo label {
    width: 100%;
    margin-bottom: 1em;
    opacity: .8;
    font-size: .8rem;
    text-align: left;
} */

/* .campo input,
textarea {
    width: 100%;
    color: var(---grey);
    background-color: #e6e6e6;
    border: none;
    padding: .5em;
    border-radius: .3em;
} */

/* .campo input:focus {
    border: none;
    outline: 3px solid transparent;
    color: var(---grey);
} */

/* textarea{
    resize: none;
}

textarea:focus {
    border: none;
    color: var(---grey);
    outline: 3px solid transparent;
} */

/* .form_btn_box{
    display: flex; flex-wrap: wrap; justify-content: space-between;
    width: 100%;
    padding: 0;
} */
/* .formulario button {
    font-size: 1.1em;
    border-radius: .5em;
    font-weight: 500;
} */
/* .clear img{width: 20px; height: 20px;}
.clear{
    width: 40px;
    height: 40px;
    padding: .5em;
} */


/* =========== foot ===========*/
.foot {
    display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
    height: min-content;
    padding: 1em 0;
    font-size: 1rem;
    color: var(--blanco);
    background-color: var(--red);
}

.foot_box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.footer_logo img {
    width: 100%; height: auto;
}

.footer_logo {
    width: 350px;
}

.adress {
    width: 100%;
    box-sizing: border-box;
}

.adress a,
.adress a:visited{
    font-size: 1rem;
    font-weight: 400;
    text-decoration: none;
    color: #fff;
}
.adress a:hover{
    color: #888888;
}

.redes img {
    width: auto;
    height: 100%;
    margin: 0 .5em;
}

.redes {
    width: 150px;
    height: 50px;
    padding: .5em;
    box-sizing: border-box;
}

.icon_foot img{
    width: 20px;
    height: auto;
}
.icon_foot{
    width: 150px;
    height: auto;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.burger{
    display: none;
}

.nav_burger {
    display: flex; flex-wrap: wrap; justify-content: flex-end;
    z-index: 3;
    position: fixed; top: 0; right: 0;
    width: 50%;
    min-height: 50px;
    height: auto;
    padding: 100px 1em 2em 1em;
    background-color: var(--red);
    border-radius: 0 0 0 1em;
    transition: all .3s ease;
    box-sizing: border-box;
}

.nav_burger a {
    color: var(--blanco);
    display: block;
    width: 100%;
    text-align: right;
    margin-bottom: .6em;
    padding: 0 .5em 0 0;
    font-size: 1.3rem;
    transition: all .3s ease;
}

.nav_burger a:hover {
    border-right: 5px solid var(--brown);
    transition: all .3s ease;
}
/* efect */

.hide_top_nav{
    height: 100vh;
    transition: all .3s ease;
}
.hide{
    right: -100vw;
    transition: all .3s ease;
}

/* gracias */
.gracias_contenedor{
    display: flex; flex-wrap: wrap;  justify-content: center; align-items: center;
    width: 100vw;
    height: 100vh;
    padding: 1em;
    font-size: 2rem;
    font-weight: 800;
    box-sizing: border-box;
}
.gracias_logo img { width: 100%; height: auto; }
.gracias_logo { width: 100%; height: auto;}
.gracias_sub { font-size: 1rem;}

.popup img{
    width: 100%; height: auto;
    padding: .5em;
}
.popup{
    z-index:5;
    position: fixed; top: 0; left: 0;
    display: flex; justify-content: center; align-items: center;
    width: 100vw; height: 100vh;
    background-color: rgba(0, 0, 0, .8);
    transition: all .1s ease;
}
.photo_bg{
    position: relative;
    display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
    width: 600px; height: 600px;
    background-color: #fff;
    border-radius: .5em;
    transition: all .3s ease;
}
.popup_cerrar{
    z-index: 2;
    position: absolute; top: 0; right: 0;
    display: flex; justify-content: center; align-items: center;
    width: 25px;
    height: 25px;
    margin: .5em;
    font-size: 1.2rem;
    color: var(--blanco);
    background-color: var(--red);
    border-radius: 50%;
    transform: rotate(45deg);
    cursor: pointer;
    transition: all .3s ease;
}

.spinner{
    width: 15px;
    height: 15px;
    border: 2px solid var(--blanco);
    border-left-color: transparent;
    border-radius: 50%;
    animation: spin .5s ease-in-out infinite;
    }
    @keyframes spin{
        0%  { transform: rotate(0deg);}
        100%{ transform: rotate(360deg);}
    }

    input.myinput_ok{
        color: green;
        border-bottom:2px solid green; box-sizing: border-box;
        border-radius: .5em .5em 0 0;
        }
        input.myinput_no{
            color: tomato;
            border-bottom:2px solid tomato; box-sizing: border-box;
            border-radius: .5em .5em 0 0;
        }

    .info_texto{
        width: 100%;
        margin-top: 1em;
        font-size: .8rem;
        text-align: left;
    }    

    .text_error{ color: tomato;}
    .text_ok{color:green}
