/* Variables */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {

    /* Base color */
    --color-primary: #942525;
    --color-secondary: #564B3E;
    --color-accent: #E8A030;

    --color-primary-light: #9a6a6a;
    --color-secondary-light: #c6b093;
    
    --color-primary-dark: #6E1414;
    --color-secondary-dark: #49443d;

    --color-white: #f5f5f5;
    --color-black: #222222;

    /* Custom bg */
    --bg-primary: url('../../assets/img/bg_red.webp');
    --bg-cream: url('../../assets/img/bg_cream.jpg');

    /* Messages color */
    --color-success: #3ec43e;
    --color-error: #ff5151;
    --color-warning: #ffee00;

    /* Text sizes */
    --size-xs: 0.7vw;
    --size-sm: 0.9vw;
    --size-md: 1.1vw;
    --size-lg: 1.6vw;
    --size-xl: 2vw;
    --size-2xl: 3vw;
    --size-3xl: 4vw;

    /* Tipografías */
    --font-primary: "Montserrat", sans-serif;;
    --font-secondary: primary;
    --font-title: title;
    --font-italic: parslay;
}

/* Actualizar solo URL de las fuentes según convenga (convertir a formato woff) */

/* Title Font */
@font-face {
    font-family: italic;
    font-style: normal;
    font-weight: 400;
    src: url("../../assets/fonts/heatwood/Heatwood.ttf");
}
@font-face {
    font-family: title;
    font-style: italic;
    font-weight: 400;
    src: url(../../assets/fonts/formom/ZT-Formom-WEB-TT/ZT-Formom.woff2);
}

/* Primary Font */
@font-face {
    font-family: parslay;
    font-style: italic;
    font-weight: 400;
    src: url(../../assets/fonts/parslay/Parslay.woff);
}
@font-face {
    font-family: primary;
    font-style: italic;
    font-weight: 200;
    src: url(/assets/fonts/lato/lato-thin-italic.woff);
}
@font-face {
    font-family: primary;
    font-style: normal;
    font-weight: 300;
    src: url(/assets/fonts/lato/lato-light.woff);
}
@font-face {
    font-family: primary;
    font-style: italic;
    font-weight: 300;
    src: url(/assets/fonts/lato/lato-light-italic.woff);
}
@font-face {
    font-family: primary;
    font-style: normal;
    font-weight: 400;
    src: url(/assets/fonts/lato/lato-regular.woff);
}
@font-face {
    font-family: primary;
    font-style: italic;
    font-weight: 400;
    src: url(/assets/fonts/lato/lato-italic.woff);
}
@font-face {
    font-family: primary;
    font-style: normal;
    font-weight: 600;
    src: url(/assets/fonts/lato/lato-bold.woff);
}
@font-face {
    font-family: primary;
    font-style: italic;
    font-weight: 600;
    src: url(/assets/fonts/lato/lato-bold-italic.woff);
}
@font-face {
    font-family: primary;
    font-style: normal;
    font-weight: 700;
    src: url(/assets/fonts/lato/lato-black.woff);
}
@font-face {
    font-family: primary;
    font-style: italic;
    font-weight: 700;
    src: url(/assets/fonts/lato/lato-black-italic.woff);
}


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

*::before,
*::after {
    display: block;
}

html, body{
    width: 100%;
    overflow-x: hidden;
}

img,
picture,
video,
iframe,
figure {
    max-width: 100%;
    width: 100%;
    display: block;
    object-position: center center;
}

a {
    display: block;
    text-decoration: none;
    color: inherit;
    font-size: inherit;
}

p a {
    display: inline;
}



h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
a,
strong,
blockquote,
i,
b,
u,
em {
    font-size: inherit;
    font-weight: inherit;
    font-style: inherit;
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: "";
    content: none;
}

::selection {
    background-color: var(--color-accent);
    color: var(--color-secondary);
}

form,
input,
textarea,
select,
button,
label {
    font-family: inherit;
    font-size: inherit;
    hyphens: auto;
    background-color: transparent;
    color: inherit;
    display: block;
    appearance: none;
}

table,
tr,
td {
    border-collapse: collapse;
    border-spacing: 0;
}

svg {
    width: 100%;
    display: block;
    fill: currentColor;
}

body {
    min-height: 100vh;
    /* (Opcional) */
    hyphens: manual;
    /* (Opcional) */
    font-smooth: always;
    /* (Opcional) */
    -webkit-font-smoothing: antialiased;
    /* (Opcional) */
    -moz-osx-font-smoothing: grayscale;

    font-family: "Montserrat", sans-serif;
}

#smooth-content {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
}





/*  Tableta  */
@media only screen and (max-width: 1024px) {

    :root {
        /* Text sizes */
        --size-xs: 14px;
        --size-sm: 17px;
        --size-md: 20px;
        --size-lg: 28px;
        --size-xl: 34px;
        --size-2xl: 44px;
        --size-3xl: 54px;
    }

}





/*  Móvil  */
@media only screen and (max-width: 768px) {

    :root {
        /* Text sizes */
        --size-xs: 14px;
        --size-sm: 14px;
        --size-md: 16px;
        --size-lg: 20px;
        --size-xl: 26px;
        --size-2xl: 32px;
        --size-3xl: 40px;
    }

}