@font-face {
    font-family: 'CoreSansC';
    src: url('../fonts/S-Core-CoreSansC-35Light.otf');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'CoreSansC';
    src: url('../fonts/S-Core-CoreSansC-45Regular.otf');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'CoreSansC';
    src: url('../fonts/S-Core-CoreSansC-65Bold.otf');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'CoreSansC';
    src: url('../fonts/S-Core-CoreSansC-85Heavy.otf');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg: #fff;
    --wh: #fff;
    --bl: #000;
    --primary: #1f2041;
    --secondary: #43efa9;
}

::-webkit-scrollbar {
    width: .8rem;
    height: .8rem;
}

::-webkit-scrollbar-track {
    background: transparent !important;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

input::-webkit-textfield-decoration-container {
    display: none;
}

html {
    font-size: 10px;
    scroll-behavior: smooth;
}

a {
    color: unset;
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 900;
}

.light-text {
    font-weight: 300;
}

.heavy-text {
    font-weight: 900;
}

body {
    display: flex;
    flex-direction: column;
    
    min-height: 100vh;
    
    background-color: var(--bg);

    font-family: 'CoreSansC', sans-serif;
    font-weight: 400;
    line-height: 1;

    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

main {
    flex: 1;
}

label {
    cursor: pointer;
}

div.whatsapp-btn {
    position: fixed;
    bottom: 5%;
    right: 3%;
    z-index: 1;
}

div.whatsapp-btn .whatsapp-contact-btn {
    background-color: #2DB742;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 3rem;
    height: 3rem;
    padding: 1rem;
    border-radius: 50%;
    cursor: pointer;
    animation-name: zoom-whastapp;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    box-shadow: rgba(100, 100, 111, 0.4) 0px 7px 29px 0px;
}

div.whatsapp-btn:hover div.whatsapp-body-opener:not(:hover) ~ .whatsapp-contact-btn {
    animation-name: none;
}

div.whatsapp-btn .whatsapp-contact-btn img {
    transition: all 300ms ease 0s;
    position: absolute;
    width: 60%;
}

div.whatsapp-btn .whatsapp-contact-btn img.whatsapp-button-closed{
    /* display: block; */
    width: 60%;
    opacity: 1;
}

div.whatsapp-btn .whatsapp-contact-btn img.whatsapp-button-open{
    opacity: 0;
    width: 50%;
    /* display: none; */
}

div.whatsapp-btn:hover div.whatsapp-body-opener:not(:hover) ~ .whatsapp-contact-btn img.whatsapp-button-closed{
    /* display: none; */
    opacity: 0;
}

div.whatsapp-btn:hover div.whatsapp-body-opener:not(:hover) ~ .whatsapp-contact-btn img.whatsapp-button-open{
    /* display: block; */
    opacity: 1;
}

div.whatsapp-btn .whatsapp-body-container {
    position: absolute;
    bottom: 100%;
    right: 0;
    background-color: transparent;
    padding-bottom: .5rem;
    width: 0;
    height: 0;
    overflow: hidden;
    transition: all 300ms ease 80ms;
    border-radius: 1rem;
}

div.whatsapp-btn:hover div.whatsapp-body-opener:not(:hover) ~ .whatsapp-body-container {
    width: 30rem;
    height: 23rem;
    margin-bottom: .5rem;
    box-shadow: rgba(100, 100, 111, 0.4) 0px 7px 29px 0px;
}

div.whatsapp-btn .whatsapp-body-container .whatsapp-header {
    display: flex;
    align-items: start;
    background-color: #2DB742;
    padding: 1rem;
    font-size: 1.7rem;
    color: #fff;
}

div.whatsapp-btn .whatsapp-body-container .whatsapp-header img {
    width: 3rem;
    height: 3rem;
    margin: 0 1rem;
}

div.whatsapp-btn .whatsapp-body-container .whatsapp-header .whatsapp-header-text .whatsapp-header-title {
    margin: .5rem 0 1rem 0;
    font-weight: 700;
}

div.whatsapp-btn .whatsapp-body-container .whatsapp-header .whatsapp-header-text .whatsapp-header-description {
    font-weight: 300;
    font-size: 1.5rem;
}

div.whatsapp-btn .whatsapp-body-container .whatsapp-body {
    background-color: #fff;
    padding: 1rem;
    height: 12rem;
}

div.whatsapp-btn .whatsapp-body-container .whatsapp-body .company-image {
    height: 5rem;
    padding: 0 1rem;
    display: flex;
    justify-content: start;
    gap: 1rem;
    align-items: center;
    background-color: #fff;
    border-left: 2px solid #2DB742;
    border-radius: .5rem;
    box-shadow: rgba(100, 100, 111, 0.4) 0px 7px 29px 0px;
}

div.whatsapp-btn .whatsapp-body-container .whatsapp-body .company-image .contact-info {
    flex: 1;
}

div.whatsapp-btn .whatsapp-body-container .whatsapp-body .company-image .contact-info p {
    margin: .3rem 0;
    font-size: 1.3rem;
}

div.whatsapp-btn .whatsapp-body-container .whatsapp-body .whatsapp-body-text,
div.whatsapp-btn .whatsapp-body-container .whatsapp-body .company-image .contact-info span {
    font-size: 1.1rem;
    color: #BEC2CB;
}

div.whatsapp-btn .whatsapp-body-container .whatsapp-body .company-image img.whatsapp-icon {
    width: 2rem;
}

div.whatsapp-btn .whatsapp-body-container .whatsapp-body .company-image img.company-icon {
    width: 3rem;
    padding: .5rem;
    border-radius: 50%;
    box-shadow: rgba(100, 100, 111, 0.4) 0px 7px 29px 0px;
}

.whatsapp-body-opener {
    position: absolute;
    top: 50%;
    right: 100%;
    transform: translateY(-50%);
    width: 16rem;
    height: 5rem;
    background: #fff;
    margin-right: 1rem;
    padding: .5rem 1rem;
    border-radius: 1rem;
    font-size: 1.2rem;
    overflow: hidden;
    box-shadow: rgba(100, 100, 111, 0.4) 0px 7px 29px 0px;
    transition: all 300ms ease 80ms;
}

div.whatsapp-btn:hover div.whatsapp-body-opener:not(:hover) {
    width: 0px;
    height: 0;
    padding: 0;
}

@keyframes zoom-whastapp {
    0% {
        transform: scale(1.0);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1.0);
    }
}

/* HEADER */
section#home {
    position: relative;
    background-image: url('../pix/back-home.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    height: 60rem;
}

#home input[type="checkbox"] {
    display: none;
}

#header {
    width: 100%;
}

.sticky {
    position: fixed;
    top: 0;
}

.sticky ul {
    padding-top: 102px;
}

#home aside {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    min-height: 100vh;
    height: 100%;
    overflow: hidden;
    z-index: 999;
    background-color: #fff;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
    transition: all 300ms ease 0s;
}

#home aside ul {
    margin: 1rem 0;
    padding: 0;
    font-size: 2rem;
}

#home aside ul li.nav-tab {
    color: #555;
    padding: 1rem 1.5rem;
    transition: all 300ms ease 0s;
}

#home aside ul li.nav-icon {
    width: fit-content;
    font-size: 3rem;
    border-radius: 50%;
    color: #555;
    transition: all 300ms ease 0s;
    margin: .5rem 1rem;
    padding: .5rem 1rem;
}

#home aside ul li.nav-icon:hover {
    color: var(--primary);
    transform: scale(1.2);
}

#home aside ul li.nav-tab:hover {
    padding: 1rem 1.5rem 1rem 2.3rem;
    color: var(--primary);
}

input#sidebar:checked + aside#asidebar {
    width: 25rem;
}

input#sidebar:checked ~ #header #nav label {
    display: none;
}

#header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 10rem;
    padding: 2rem 5rem;
}

#header .container a#logo {
    display: flex;
    height: 100%;
}

#header .container #nav {
    display: flex;
    align-items: center;
}

#header .container #nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    color: var(--wh);
}

#header .container #nav ul.navbar {
    display: flex;
}

#header .container #nav ul.navbar li.nav-tab {
    font-size: 2rem;
    transition: all 300ms ease 0s;
}
#header .container #nav ul.navbar li.nav-tab:hover {
    color: var(--primary);
    transform: scale(1.1);
}

#header .container #nav ul.navbar li.nav-icon {
    display: none;
    font-size: 2.5rem;
}

#header .container #nav ul li.nav-tab,
#header .container #nav ul li.nav-icon {
    padding: .5rem 1rem;
    cursor: pointer;
}

#header .container #nav .toolbar {
    display: flex;
    align-items: center;
    margin-left: 1rem;
}

#header .container #nav .toolbar .lang-selector {
    position: relative;
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: 2rem;
}

#header .container #nav .toolbar .lang-selector span#selected-lang {
    color: var(--wh);
    font-size: 2rem;
    text-transform: uppercase;
    padding: .5rem;
    cursor: pointer;
}

#header .container #nav .toolbar span i {
    color: var(--wh);
    transition: all 300ms ease 0s;

}

#header .container #nav .toolbar .lang-selector:hover span i {
    transform: rotate(180deg);
}

#header .container #nav .toolbar .header-icon {
    width: 4rem;
    height: 4rem;
}

#header .container #nav .toolbar .lang-selector ul {
    position: absolute;
    width: 100%;
    top: 100%;
    left: 0;
    height: 0;
    overflow: hidden;
    transition: all 300ms ease 0s;
    text-align: center;
    font-size: 2rem;
    text-transform: uppercase;
    border-radius: .5rem;
    color: #aaaaaa;
    background-color: var(--wh);
}

#header .container #nav .toolbar .lang-selector ul li {
    transition: all .5s ease 0s;
}

#header .container #nav .toolbar .lang-selector ul li:hover {
    /* background-color: var(--secondary); */
    color: var(--primary);
}
#header .container #nav .toolbar .lang-selector:hover ul {
    height: calc((2rem + 1rem)*2);
}

#header .container #nav .toolbar hr {
    display: none;
    height: 5rem;
    width: 0;
    margin: 0 1rem;
    border: 0.19rem solid var(--wh);
}

#header .container #nav .toolbar .social-links {
    display: none;
    /* display: flex; */
    gap: .5rem;
}

#header .container #nav .toolbar .social-links a img {
    transition: all 300ms ease 0s;
}

#header .container #nav .toolbar .social-links a img.header-icon:hover {
    transform: scale(1.1);
}

#home .main-text {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: var(--wh);
}

#home .main-text h2 {
    font-size: 7rem;
    margin: 0 0 1rem 0;
    padding: 0;
    line-height: 1;
}

#home .main-text h6 {
    font-size: 2.5rem;
    margin: 0 0 1rem 0;
    padding: 0;
    font-weight: 400;
    line-height: 1.2;
}

#home .arrow-down {
    position: absolute;
    top: 90%;
    left: 50%;
    transform: translate(-90%,-50%);
    color: var(--wh);
    font-size: 5em;
    animation-name: arrow-move;
    animation-duration: 2s;
    animation-iteration-count: infinite;
}

@keyframes arrow-move {
    0% {
        margin-top: 0px;
    }
    50% {
        margin-top: -30px;
    }
    100% {
        margin-top: 0px;
    }
}

@media (max-width: 951px) {
    #header .container #nav ul.navbar li.nav-icon {
        display: block;
    }
    #header .container #nav ul.navbar li.nav-tab {
        display: none;
    }
    #header .container {
        height: 7rem;
        padding: 1rem 3rem;
    }
    #home aside {
        display: block;
    }
    #home .main-text h2 {
        font-size: 5rem;
    }
    
    #home .main-text h6 {
        font-size: 2rem;
    }
    /* #home .arrow-down {
        font-size: 4rem;
    } */
}

@media (max-width: 770px) {
    section#home {
        background-position: -10rem center;
    }
    #header .container #nav .toolbar .lang-selector {
        font-size: 1.7rem;
    }
    #home .main-text h2 {
        font-size: 3.5rem;
    }
    
    #home .main-text h6 {
        font-size: 1.8rem;
    }
    #home .arrow-down {
        font-size: 6rem;
    }
}

@media (max-width: 450px) {
    #header .container {
        padding: 1rem .5rem;
    }
    #header #logo img {
        width: 100%;
    }
    #header .container #nav ul.navbar li.nav-icon {
        font-size: 2rem;
    }
    #header .container #nav .toolbar .lang-selector {
        font-size: 1.5rem;
    }
    #header .container #nav .toolbar .header-icon {
        width: 3rem;
        height: 3rem;
    }
    #header .container #nav .toolbar hr {
        height: 3rem;
    }
    #home .main-text h2 {
        font-size: 3rem;
    }
    
    #home .main-text h6 {
        font-size: 1.2rem;
    }
    #home .arrow-down {
        font-size: 4rem;
    }
}

/* SECTION ABOUT US */
section#aboutus {
    background-color: var(--bg);
    padding-top: 5rem;
}

section#aboutus .section-title {
    text-align: center;
}

section#aboutus .section-title h2 {
    margin: 0;
    font-size: 6.6rem;
    color: var(--primary);
}

section#aboutus .section-text {
    display: grid;
    grid-gap: 10rem;
    grid-template-columns: repeat(3, 1fr);
    width: 70%;
    margin: 5rem auto;
}

section#aboutus .section-text .box {
    display: flex;
    flex-direction: column;

}

section#aboutus .section-text .box .box-image {
    display: flex;
    height: 8rem;
    justify-content: center;
    transition: all 0.5s ease 0s;
}

section#aboutus .section-text .box .box-image img {
    width: auto;
    height: 100%;
}

/* section#aboutus .section-text .box:hover .box-text .box-description {
    font-weight: 700;
    transition: all 0.5s ease 0s;
} */

section#aboutus .section-text .box:hover .box-image {
    transform: scale(1.2);
}

section#aboutus .section-text .box-text {
    font-size: 2rem;
    text-align: center;
}

section#aboutus .section-text .box-text .box-title {
    font-weight: 700;
}

section#aboutus .section-text .box-text .box-description {
    min-height: 15rem;
    font-weight: 300;
}

section#aboutus .section-map {
    position: relative;
    height: 40rem;
    background-image: url('/theme/pix/background-map.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 110%;
    transition: all .5s ease-in-out 0s;
}

section#aboutus .section-map:hover {
    background-size: 105%;
}

section#aboutus .section-map .map-text {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translate(-5% , -50%);
    text-align: end;
    color: #fff;
    transition: all 300ms ease-in-out 0s;
}

section#aboutus .section-map .map-text .map-title {
    transition: all 300ms ease-in-out 0s;
}

/* section#aboutus .section-map:hover .map-text .map-title {
    color: var(--secondary);
    transition: all 300ms ease-in-out 0s;
}

section#aboutus .section-map .map-text .map-description {
    transition: all 300ms ease-in-out 0s;
}

section#aboutus .section-map:hover .map-text .map-description {
    color: var(--primary);
    transition: all 300ms ease-in-out 0s;
} */


section#aboutus .section-map .map-text .map-title {
    font-size: 6.8rem;
    font-weight: 900;
    margin: 0;
}

section#aboutus .section-map .map-text .map-description {
    font-size: 2.5rem;
    margin: 0;
}

@media (max-width: 1300px) {
    section#aboutus .section-text {
        grid-gap: 8rem;
        width: 70%;
    }
}

@media (max-width: 1100px) {
    section#aboutus .section-text {
        grid-gap: 5rem;
        width: 80%;
    }
}

@media (max-width: 1000px) {
    section#aboutus .section-title h2 {
        font-size: 4.5rem;
    }
    section#aboutus .section-map {
        height: 30rem;
    }
    section#aboutus .section-map .map-text .map-title {
        font-size: 5.8rem;
        font-weight: 700;
        margin: 0;
    }
    
    section#aboutus .section-map .map-text .map-description {
        font-size: 2.3rem;
        margin: 0;
    }
}

@media (max-width: 900px) {
    section#aboutus .section-text .box-text {
        font-size: 1.8rem;
    }
    section#aboutus .section-text {
        grid-gap: 3rem;
        width: 90%;
    }
    section#aboutus .section-map .map-text .map-title {
        font-size: 5rem;
        font-weight: 700;
        margin: 0;
    }
    
    section#aboutus .section-map .map-text .map-description {
        font-size: 2rem;
        margin: 0;
    }
}

@media (max-width: 700px) {
    section#aboutus .section-title h2 {
        font-size: 4rem;
    }
    section#aboutus .section-text .box-text {
        font-size: 1.7rem;
    }
    section#aboutus .section-text {
        grid-gap: 0rem;
        grid-template-columns: 1fr;
    }
    section#aboutus .section-text .box-text .box-description {
        min-height: 10rem;
    }
    section#aboutus .section-map {
        height: 25rem;
    }
    section#aboutus .section-map .map-text .map-title {
        font-size: 4.5rem;
        font-weight: 700;
        margin: 0;
    }
    
    section#aboutus .section-map .map-text .map-description {
        font-size: 1.8rem;
        margin: 0;
    }
}

@media (max-width: 600px) {
    section#aboutus .section-text .box-text {
        font-size: 1.5rem;
    }
    section#aboutus .section-map {
        height: 20rem;
    }
    section#aboutus .section-map .map-text .map-title {
        font-size: 4rem;
        font-weight: 700;
        margin: 0;
    }
    
    section#aboutus .section-map .map-text .map-description {
        font-size: 1.5rem;
        margin: 0;
    }
}

@media (max-width: 500px) {
    section#aboutus .section-title h2 {
        font-size: 3.5rem;
    }
    section#aboutus .section-text .box-text .box-description {
        min-height: 8rem;
    }
    section#aboutus .section-text .box-text {
        font-size: 1.4rem;
    }
    section#aboutus .section-map {
        height: 15rem;
    }
    section#aboutus .section-map .map-text .map-title {
        font-size: 3rem;
        font-weight: 700;
        margin: 0;
    }
    
    section#aboutus .section-map .map-text .map-description {
        font-size: 1.2rem;
        margin: 0;
    }
}

/* SECTION PRODUCTOS */
section#products {
    min-height: 90vh;
    padding: 10rem 0 0 0;
}

section#products input[type="checkbox"] {
    display: none;
}

section#products .section-title {
    text-align: center;
}

section#products .section-title h2 {
    margin: 0;
    font-size: 6.6rem;
    color: var(--primary);
}

section#products .section-title h5 {
    margin: 1rem 0;
    font-size: 3rem;
    font-weight: 400;
    color: var(--primary);
}

.product-grid {
    display: grid;
    margin: 3rem 0;
    grid-template-columns: repeat(4,1fr);
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.product-grid label {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: calc(100vw / 4 - 3rem);
    /* border-bottom: 1rem solid var(--secondary); */
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center center;
    transition: all 300ms ease 0s;
}

.product-grid label::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1rem;
    background-color: var(--secondary);
    z-index: 1;
    transition: all 300ms ease 0s;
}

.product-grid label:hover::after {
    height: 0;
}

.product-grid label div {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: transparent;
}

.product-grid label:hover div {
    background-color: rgba(0, 0, 0, 0.400);
    transition: all 300ms ease 0s;
}

.product-grid label h3 {
    margin: 0 0 1rem 0;
    font-size: 4rem;
    color: white;
}

.product-grid label p {
    color: white;
    text-align: center;
    font-size: 2rem;
    height: 0%;
    opacity: 0;
    overflow: hidden;
    transition: all 500ms ease 0s;
    margin: 0;
}

.product-grid label:hover p {
    height: calc(2.2rem * 6);
    opacity: 1;
    overflow: visible;
}

#medicamentosModalBtn {
    background-image: url('../pix/med-bg.png');
}

/* #medicamentosModalBtn:hover {
    background-image: url('../pix/med-bg-hover.png');
} */

#descartablesModalBtn  {
    background-image: url('../pix/descartable-bg.png');
}

/* #descartablesModalBtn:hover  {
    background-image: url('../pix/descartable-bg-hover.png');
} */

#laboratorioModalBtn  {
    background-image: url('../pix/laboratorio-bg.png');
}

/* #laboratorioModalBtn:hover  {
    background-image: url('../pix/laboratorio-bg-hover.png');
} */

#esterilizacionModalBtn  {
    background-image: url('../pix/esterilizacion-bg.png');
}

/* #esterilizacionModalBtn:hover  {
    background-image: url('../pix/esterilizacion-bg-hover.png');
} */

/* MODAL */
/* styles.css */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
}

.modal-content {
    background-color: #fff;
    /* margin: 15% auto; */
    /* padding: 20px; */
    /* border: 1px solid var(--secondary); */
    width: 100%;
    height: 100%;
    font-size: 1.7rem;
    overflow: auto;
}

.modal-content .modal-body {
    display: flex;
    flex-direction: column;
    height: -webkit-fill-available;
    padding: 2rem 10rem;
}

.modal-content .modal-body h3 {
    color: var(--primary);
    font-size: 6rem;
    text-align: center;
    margin: 1rem 0;
}

.modal-content .modal-body .products-cards {
    margin: 3rem 0;
    display: grid;
    grid-gap: 2rem;
    grid-template-columns: 1fr 1fr 1fr;
    /* flex: 1; */
}

.modal-content .modal-body .products-cards .card {
    display: block;
    width: 100%;
    border: 4px solid #CCCCCB;
    cursor: default;
    height: fit-content;
}

.modal-content .modal-body .products-cards .card img {
    display: flex;
    width: 100%;
}

.modal-content .modal-body .products-cards .card .product-name {
    height: 4rem;
    padding: 1rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #CCCCCB;
    font-size: 2.2rem;
    color: var(--primary);
}

.modal-content .modal-body .product-close {
    display: flex;
    justify-content: end;
}

.close {
    display: flex;
    width: fit-content;
    /* padding: 2rem 0; */
    color: var(--primary);
    text-align: end;
    font-size: 3.5rem;
    transition: all 300ms ease 0s;
}

.close:hover,
.close:focus {
    color: var(--secondary);
    text-decoration: none;
    cursor: pointer;
}


@media (max-width: 1600px) {
    .product-grid label h3 {
        font-size: 3rem;
    }
    
    .product-grid label p {
        font-size: 1.5rem;
    }

    .product-grid label:hover p {
        height: calc(2.2rem * 6);
    }
}

@media (max-width: 1200px) {
    .product-grid label h3 {
        font-size: 2rem;
    }
    
    .product-grid label p {
        font-size: 1.3rem;
    }

    .product-grid label:hover p {
        height: calc(1.3rem * 5);
    }

    .modal-content .modal-body h3 {
        font-size: 4rem;
    }

    .modal-content .modal-body .products-cards {
        margin: 3rem 0;
    }

    .modal-content .modal-body .products-cards .card .product-name {
        font-size: 1.8rem;
    }

    .close {
        font-size: 2.5rem;
    }
}

@media (max-width: 1000px) {
    section#products .section-title h2 {
        font-size: 6rem;
    }
    section#products .section-title h5 {
        font-size: 3rem;
    }
    .product-grid label:hover p {
        height: calc(1.3rem * 7);
    }
    .modal-content .modal-body {
        padding: 2rem 3rem;
    }
}

@media (max-width: 900px) {
    .product-grid {
        margin: 3rem 1rem;
    }
    .product-grid {
        grid-template-columns: repeat(2,1fr);
    }
    .product-grid label {
        height: calc(100vw / 2 - 2rem);
    }
    .product-grid label h3 {
        font-size: 2.5rem;
    }
    
    .product-grid label p {
        font-size: 1.5rem;
    }

    .product-grid label:hover p {
        height: calc(1.5rem * 6);
    }

    .modal-content .modal-body {
        padding: 2rem;
    }

    .modal-content .modal-body .products-cards {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    section#products .section-title h2 {
        font-size: 4rem;
    }
    section#products .section-title h5 {
        font-size: 2.5rem;
    }
    .product-grid {
        grid-template-columns: 1fr;
    }
    .product-grid label {
        height: calc(100vw / 1 - 3rem);
    }
    section#products .section-title h2 {
        font-size: 4rem;
    }
    .product-grid label h3 {
        font-size: 3rem;
    }
    
    .product-grid label p {
        font-size: 1.8rem;
    }

    .product-grid label:hover p {
        height: calc(1.58rem * 6);
    }

    .modal-content .modal-body .products-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 500px) {
    section#products .section-title h2 {
        font-size: 3.5rem;
    }
    section#products .section-title h5 {
        font-size: 2rem;
    }
}


/* SECTION CONTACTO */
section#contact {
    background-image: url('../pix/background-contact.png');
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh;
    height: 100vh;
    padding: 2rem;
}

section#contact .contact-grid {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

section#contact .contact-grid .contact-text {
    width: 40%;
}

section#contact .contact-grid .contact-text h3,
section#contact .contact-grid .contact-text p {
    margin: 0;
    color: var(--wh);
}

section#contact .contact-grid .contact-text h3 {
    font-size: 6rem;
    margin: 2rem 0;
}

section#contact .contact-grid .contact-text p {
    font-size: 3rem;
}

section#contact .contact-grid .contact-form {
    width: 40%;
}

section#contact .contact-grid .contact-form form .form-group {
    margin: 1rem 0;
}

section#contact .contact-grid .contact-form form .form-group,
section#contact .contact-grid .contact-form form .form-group input,
section#contact .contact-grid .contact-form form .form-group textarea {
    width: -webkit-fill-available;
    font-weight: 400;
}

section#contact .contact-grid .contact-form form .form-group input,
section#contact .contact-grid .contact-form form .form-group textarea {
    appearance: none;
    outline: none;
    border: none;
    font-size: 1.8rem;
    padding: 2rem 3rem;
    font-family: 'CoreSansC';
}

section#contact .contact-grid .contact-form form .form-button {
    display: flex;
    justify-content: end;
    align-items: center;
}

section#contact .contact-grid .contact-form form .form-button button {
    width: fit-content;
    padding: .5rem 5rem;
    font-size: 1.8rem;
    background-color: var(--secondary);
    color: var(--primary);
    border: none;
    outline: none;
    cursor: pointer;
}

@media (max-width: 1200px) {
    section#contact .contact-grid .contact-text h3 {
        font-size: 3rem;
    }

    section#contact .contact-grid .contact-text p {
        font-size: 2rem;
    }

    section#contact .contact-grid .contact-form form .form-group input,
    section#contact .contact-grid .contact-form form .form-group textarea {
        appearance: none;
        outline: none;
        border: none;
        font-size: 1.6rem;
        padding: 1rem 2rem;
        font-family: 'CoreSansC';
    }

    section#contact .contact-grid .contact-form form .form-button input {
        font-size: 1.6rem;
    }
}

@media (max-width: 900px) {
    section#contact {
        min-height: unset;
        height: unset;
    }
    section#contact .contact-grid {
        display: block;
        width: 80%;
        margin: 1rem auto;
    }
    section#contact .contact-grid .contact-text {
        margin: 2rem 0;
        width: 100%;
    }

    section#contact .contact-grid .contact-form {
        width: 100%;
    }
}

/* SECTION FOOTER */
footer {
    display: flex;
    justify-content: center;
    align-items: center;

    height: 5.1rem;
    background-color: var(--bg);
}

footer span {
    text-align: center;
    font-size: 1.9rem;
    color: #000;
}

@media (max-width: 800px) {
    footer {
        height: 4.0rem;
    }
    footer span {
        font-size: 1.5rem;
    }
}

@media (max-width: 500px) {
    footer {
        height: 3.0rem;
    }
    footer span {
        font-size: 1.2rem;
    }
}