* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    border: none
}
body, html {
    height: 100%;
    font-family: 'Montserrat', sans-serif;
    color: var(--negro);
    font-size: 10px;
    font-weight: 400;
}

main {
    min-height: 45rem;
    margin-bottom: 3rem;
}

*:focus {
    box-shadow: 0 0 0 0 rgba(255,255,255,0) !important;
    outline: 0px !important;
    border-color: transparent;
}

:root {
    --gris-claro: #f1f1f1;
    --gris-medio: #eeeeee;
    --gris-oscuro: #898c8d;
    --gris-footer: #bcbcbc;
    --negro: #131a1c;
    --blanco: #ffffff;
    --rojo: #e30613;
    --azul: rgb(16, 60, 203);
    --sorga: #760425;
}

a {
    font-size: inherit;
    color: inherit;
    text-decoration: none;
}
a:active, a:focus,
.dropdown-item:focus, .dropdown-item:hover {
    font-size: inherit;
    color: inherit;
    text-decoration: none;
    background-color: transparent;
}

.container {
    width: 100% !important;
    max-width: 1470px;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

a:hover {
    color: inherit;
    cursor: pointer;
    text-decoration: none;
}
a.underline {
    text-decoration: underline;
}

ul, li {
    list-style: none;
    padding: 0;
    margin: 0;
}

p, ul, li, form, label, input, .form-control, .form-select {
    font-size: 1.6rem;
}

.bold {
    font-weight: 700;
}

.modal-header {
    border-bottom-color: var(--sorga);
}
.modal-header h4 {
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--sorga);
}
.modal-content {
    border-radius: 0;
}
.modal-body {
    border-radius: 0;
}
.modal-footer {
    border-top: 0;
}
.modal .btn-close {
    background-size: 1.5rem;
}

.success, .success-sel {
    background-color: #f3ffee !important;
}
.error, .error-sel {
    background-color: #ffeff0 !important;
}
.missat, .missatgi {
    color: var(--rojo);
    font-size: 1.3rem !important;
}
.missat-error {
    color: var(--rojo);
    font-size: 1.5rem !important;
}

.btn-sorga {
    background-color: var(--blanco);
    color: var(--sorga);
    padding: 0.8rem 5rem;
    font-size: 2rem;
}
.btn-sorga:hover,
.btn-sorga:focus,
.btn-sorga:active {
    background-color: var(--sorga);
    color: var(--blanco);
    transition: background .3s ease-in-out;
    font-size: 2rem;
}
.btn-modal.btn-aceptar {
    background-color: var(--sorga);
    color: var(--blanco);
    padding: 0.8rem 5rem;
    font-size: 1.5rem;
}
.btn-modal.btn-aceptar:hover,
.btn-modal.btn-aceptar:focus,
.btn-modal.btn-aceptar:active {
    font-size: 1.5rem;
}
.btn-modal.btn-cerrar {
    border: 1px solid var(--gris-claro);
    background-color: var(--gris-claro);
    color: var(--gris-oscuro);
    padding: 0.8rem 4rem;
    font-size: 1.5rem;
}

.scrollup {
    width: 40px;
    height: 40px;
    opacity: 0.3;
    position: fixed;
    bottom:20px;
    right:30px;
    display: none;
    text-indent: -9999px;
    background: url(../img/content/icon_top.png) no-repeat;
    background-size: 40px 40px;
}



/* CUSTOM CHECKBOXES */
.custom-checkbox {
    display: block;
    position: relative;
    padding-left: 30px;
    margin-bottom: 2rem;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.custom-checkbox a {
    font-weight: 700;
    text-decoration: underline;
}
.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 2rem;
    width: 2rem;
    border: 1px solid var(--negro);
    background-color: var(--blanco);
    margin-top: 0.2rem;
}

.custom-checkbox input:checked ~ .checkmark {
    background-color: #0075ff;
    border: 1px solid #0075ff;
}
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}
.custom-checkbox input:checked ~ .checkmark:after {
    display: block;
}
.custom-checkbox .checkmark:after {
    left: 7px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
/**/


/* HEADER */
header {
    padding-bottom: 2.5rem;
    padding-top: 2.5rem;
}
header .header-info {
    display: none;
}
header .header-info li {
    margin-bottom: 0;
    color: var(--sorga) ;
}
header .header-info li a:hover {
    text-decoration: underline;
}
header .header-info li span {
    font-weight: 700;
}
header .header-info li img {
    height: 2rem;
    margin-right: 1rem;
}
header .header-info li:last-child img {
    height: 2rem;
    margin-right: 1rem;
}
header .openMenuIcon {
    background: transparent;
    border: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    height: 100%;
}
header .openMenuIcon span {
    height: 2px;
    width: 25px;
    background-color: var(--negro);
}
header .offcanvas {
    width: 80%;
    max-width: 55rem;
    overflow: auto;
    background-color: var(--blanco);
    padding: 4rem;
    display: flex;
    gap: 3rem;
}
header .offcanvas .btn-close {
    width: 2em;
    height: 2em;
    min-height: 2em;
    background-size: 2em auto;
    /* filter: brightness(0) invert(1); */
    opacity: 1;
}
header .offcanvas ul li {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 2rem;
    color: var(--negro);
}
header .offcanvas ul.languages {
    display: flex;
    gap: 3rem;
    font-size: 1.8rem;
}
header .offcanvas ul li a:hover, header .offcanvas ul li a.active {
    color: var(--sorga);
}
header .offcanvas ul.header-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    border-top: 1px solid var(--sorga);
    padding-top: 6rem;
}
header .offcanvas ul.languages li,
header .offcanvas ul.header-info li{
    font-size: 1.6rem;
}
header img.logo {
    height: 4.5rem;
    display: block;
    margin-left: 5rem;
}


/* FOOTER */
footer {
    background-color: var(--sorga);
    color: var(--blanco);
}
footer .container {
    padding: 3rem;
}
footer .footerLogo {
    text-align: center;
}
footer a {
    font-size: 1.4rem;
    line-height: 2.6rem;
}
footer a:active, footer a:focus, footer a:hover {
    font-size: 1.4rem;
}
footer .logo {
    height: 5rem;
    filter: brightness(0) invert(1);
    margin-bottom: 4rem;
}
footer ul {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1.5rem;
    font-size: 2rem;
    margin-bottom: 4rem;
}
footer ul li {
    border-bottom: 2px solid var(--sorga);
}
footer ul:not(.socialMedia) li:hover,
footer ul:not(.socialMedia) li.active {
    border-bottom: 2px solid var(--blanco);
}
footer ul.socialMedia {
    flex-direction: row;
}
footer ul.socialMedia img {
    height: 3rem;
    filter: invert(1);
}
footer ul.contact-info li {
    display: flex;
    align-items: center;
    gap: 1rem;
}
footer ul.contact-info li img {
    height: 2rem;
    filter: brightness(0) invert(1);
}
footer ul.contact-info li span {
    font-weight: 600;
}
.subfooter .legal {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding-top: 3rem;
    padding-bottom: 5rem;
    color: var(--gris-oscuro);
}
.subfooter .legal .kitDigital,
.subfooter .legal .legalLinks {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1rem 3rem;
    margin-bottom: 1.5rem;
}
.subfooter .legal img {
    height: 3.5rem;
    filter: brightness(0);
}
.subfooter .legal a {
    font-size: 1.5rem;
    margin-bottom: 0;
}
.subfooter .legal a:hover {
    text-decoration: underline;
}
.subfooter .legal .numon img {
    height: 1.4rem;
}


.banner {
    position: relative;
    max-width: 190rem;
    margin: 0 auto;
}
.banner .container {
    text-align: center;
    padding: 3rem 2rem;
}
.banner .container h1 {
    color: var(--sorga);
    font-size: 3.6rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}
.banner .container p {
    font-size: 1.8rem;
    margin-bottom: 2rem;
}
.banner img {
    width: 100%;
    max-width: 100%;
}


/* HOME */
.homeInfo {
    background-color: var(--sorga);
    color: var(--blanco);
    margin-top: 3rem;
    margin-bottom: 5rem;
}
.homeInfo .container {
    padding-top: 5rem;
    padding-bottom: 5rem;
    background-image: url(../img/content/icon-pintors.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto 120%;
}
.homeInfo * {
    align-items: center;
}
.homeInfo h2 {
    font-size: 3rem;
    margin-bottom: 3rem;
}
.serveisContainer h3,
.prodsGallery h3 {
    text-align: center;
    color: var(--sorga);
    font-size: 2.5rem;
    margin-bottom: 6rem;
}
.serveisContainer .serveisWrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 6rem;
}
.serveisContainer .serveisWrapper a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding-bottom: 1rem;
    color: var(--sorga);
    font-size: 2rem;
    text-align: center;
    border-bottom: 6px solid var(--blanco);
}
.serveisContainer .serveisWrapper a span span {
    font-weight: 600;
}
.serveisContainer .serveisWrapper a:hover {
    border-bottom: 6px solid var(--sorga);
}
/* MASONRY PRODS LIST */
.masonryList {
    columns: 3 300px;
    column-gap: .5rem;
}
.masonryList div {
    width: 150px;
    display: inline-block;
    width: 100%;
    text-align: center;
    margin: 0 .5rem .5rem 0;
}
.masonryList div img {
   width: 100%;
}
.masonryList + .modal#productsModal .modal-body img {
    width: unset;
    max-width: 100%;
}
.masonryList + .modal#productsModal .modal-body .carousel-item {
    text-align: center;
}
.modal#productsModal {
    background-color: var(--gris-davidGrau);
}
.modal#productsModal .modal-content {
    background-color: transparent;
    border: 0;
}
.modal#productsModal .btn-close {
    filter: brightness(0) invert(1);
    opacity: 1;
    margin-left: auto;
    margin-bottom: 1rem;
}
.modal#productsModal .modal-body {
    padding: 0;
}
.modal#productsModal .modal-body img {
    width: 100%;
}
.modal#productsModal .carousel-caption {
    position: initial;
}
.modal#productsModal .carousel-caption p {
    font-size: 1.8rem;
}
.modal#productsModal .carousel-caption small {
    font-size: 1.3rem;
    font-weight: 400;
}
.modal#productsModal .carousel-control-next-icon, .carousel-control-prev-icon {
    width: 3.5rem;
    height: 3.5rem;
}
.modal#productsModal .carousel-control-next,
.modal#productsModal .carousel-control-prev {
    padding-top: 0;
    opacity: 1;
    align-items: center;
}



/* PRODUCTS */
.productsWrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7rem;
    margin-top: 5rem;
}
.productsWrapper .productCard {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    text-align: center;
    line-height: normal;
    overflow: hidden;
}
.productsWrapper .productCard span {
    font-weight: 700;
}
.productsWrapper .productCard .imgWrapper {
    border-radius: 50%;
    overflow: hidden;
    width: 40%;
    aspect-ratio: 1/1;  
    display: flex;
    align-items: center;
    justify-content: center;
}
.productsWrapper .productCard h2 {
    font-size: 2.5rem;
}
.productsWrapper .productCard p.color {
    line-height: normal;
    font-weight: 500;
    margin-bottom: 0;
    color: var(--sorga);
}


/* ABOUT */
.aboutCards {
    margin-top: 5rem;
    margin-bottom: 5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 6rem;
    justify-content: space-between;
}
.aboutCards .aboutCard {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    text-align: center;
}
.aboutCards .aboutCard img {
    height: 8rem;
}
.aboutCards .aboutCard h2 {
    font-size: 2.7rem;
    margin-bottom: 1rem;
}



/* GALLERY */
.internalHeading {
    background-color: var(--sorga);
    padding-top: 10rem;
    padding-bottom: 3rem;
    margin-bottom: 5rem;
}
.internalHeading h1 {
    color: var(--blanco);
    font-size: 3.6rem;
    font-weight: 300;
}
.internalHeading p {
    color: var(--blanco);
    line-height: normal;
}
.galleryFilter {
    margin-bottom: 4rem;
}
.galleryFilter .dropdown-toggle {
    background-color: transparent;
    border: 1px solid var(--sorga);
    color: var(--sorga);
    font-size: 1.7rem;
    padding: 1rem 2rem;
}
.galleryFilter ul {
    justify-content: space-between;
    border-color: var(--sorga);
    border-radius: 0;
    padding: 2rem;
}
.galleryFilter li {
    color: var(--sorga);
    margin-bottom: 2rem;
    padding-bottom: .5rem;
    border-bottom: 4px solid var(--blanco);
}
.galleryFilter li.active, .galleryFilter li:hover {
    border-bottom: 4px solid var(--sorga);
}

/* CONTACT */
.contact main {
    background-color: var(--sorga);
    background-image: url(../img/content/icon-pintors.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    padding-bottom: 13rem;
    margin-bottom: 0;
}
.contact .internalHeading {
    background-color: transparent;
    margin-bottom: 0;
}
.contact .heading {
    margin-bottom: 0rem;
    color: var(--blanco);
    line-height: normal;
}
.contact .heading p {
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 4rem;
}
.contact .heading ul li {
    margin-bottom: 1.5rem;
}
.contact .heading ul li span {
    font-weight: 700;
}
.contact .divider {
    width: 1px;
    height: 100%;
    background-color: var(--blanco);
    margin: 0 auto;
}
.contact form {
    padding-top: 2rem;
}
.contact form input:not(.btn-sorga),
.contact form textarea {
    padding: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 600;
    border: 0;
    border-radius: 0;
}
.contact form label {
    font-weight: 500;
    color: var(--blanco);
}
.contact form .custom-checkbox .checkmark {
    border: var(--blanco);
}
.contact form .custom-checkbox a {
    font-weight: 500;
}
.contact form .btn-sorga {
    width: 100%;
    border: 1px solid var(--blanco);
}
.contact form .btn-sorga:hover {
    border: 1px solid var(--blanco);
}


.politicas main {
    font-size: 1.6rem;
    margin-top: 5rem;
}
.politicas main h1 {
    font-size: 3.5rem;
}
.politicas main h3 {
    font-size: 2.3rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}
.politicas main ul {
    margin-top: 0;
    margin-bottom: 9px;
    padding-left: 20px;
}
.politicas main ul li {
    list-style: disc;
}
.politicas main p {
    margin-bottom: 5px;
}
.politicas main hr {
    margin-top: 10px;
    margin-bottom: 10px;
    border: 0;
    border-top: #03b8dc;
}
.politicas main a:hover {
    text-decoration: underline;
}
.politicas main .table-container {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.politicas main .table {
    min-width: 900px;
}


/* MEDIA QUERIES */
@media (max-width: 991.9px) {
    .banner .btn-sorga {
        background-color: var(--sorga);
        color: var(--blanco);
    }
}
@media (min-width: 576px) {
    .productsWrapper .productCard .imgWrapper {
        width: 50%;
    }
    .productsWrapper .productCard {
        width: 44%;
    }
}
@media screen and (min-width:768px) {
    .scrollup{
        bottom: 50px;
        right: 160px;
    }

    footer ul {
        flex-direction: row;
        gap: 3rem;
        height: 100%;
        width: 100%;
        margin-bottom: 3rem;
    }
    footer .footerLogo {
        margin-bottom: 4rem;
    }
    footer .logo {
        margin-bottom: 0;
    }

    .serveisContainer .serveisWrapper {
        flex-direction: row;
    }

    .aboutCards .aboutCard {
        width: 45%;
    }
}
@media (min-width: 992px) {
    .container {
        width: calc(100% - 6rem) !important;
    }
    main {
        margin-bottom: 5rem;
    }

    header {
        padding-bottom: 3.5rem;
        padding-top: 3.5rem;
    }

    footer .container {
        padding: 5rem;
    }
    footer a {
        font-size: 1.6rem;
        line-height: 3rem;
    }
    footer a:active, footer a:focus, footer a:hover {
        font-size: 1.6rem;
    }
    .subfooter .legal .legalLinks,
    .subfooter .legal .kitDigital {
        margin-bottom: 0;
        flex-direction: row;
    }

    .banner .container {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: var(--blanco);
        padding-left: 8rem;
        padding-right: 8rem;
    }
    .banner .container h1 {
        color: var(--blanco);
        font-size: 4.5rem;
        margin-bottom: 2.5rem;
    }
    .banner .container p {
        font-size: 2.5rem;
    }
    .homeInfo {
        margin-top: 0;
    }
    .homeInfo .container {
        padding-top: 10rem;
        padding-bottom: 10rem;
    }
    .homeInfo h2 {
        font-size: 4.7rem;
        margin-bottom: 0;
    }
    .homeInfo p {
        font-size: 1.8rem;
    }
    .serveisContainer h3,
    .prodsGallery h3 {
        font-size: 3rem;
    }
    .serveisContainer .serveisWrapper {
        margin-bottom: 12rem;
        gap: 3rem 11rem;
    }
    .serveisContainer .serveisWrapper a {
        font-size: 2.2rem;
    }
    .modal#productsModal .carousel-control-prev {
        left: -5%;
        width: initial;
    }
    .modal#productsModal .carousel-control-next {
        right: -5%;
        width: initial;
        align-items: center;
        padding-top: 0;
    }
    .masonryList + .modal#productsModal .modal-body img {
        max-height: 80vh;
        height: 80vh;
    }

    .aboutCards .aboutCard h2 {
        font-size: 3.5rem;
    }

    .internalHeading h1 {
        font-size: 4.5rem;
    }
    .internalHeading p {
        font-size: 1.8rem;
    }

    .contact form {
        padding-top: 0;
    }
    .contact form .btn-sorga {
        width: fit-content;
    }
    .contact .heading p {
        font-size: 3.2rem;
    }
    .contact .internalHeading {
        margin-bottom: 5rem;
    }

    .productsWrapper {
        gap: 10rem;
    }
    .productsWrapper .productCard h2 {
        font-size: 3.5rem;
    }
    .productsWrapper .productCard p.color {
        font-size: 2rem;
    }
}
@media (min-width: 1200px) {
    header img.logo {
        height: 6.5rem;
        margin: 0 auto;
    }
    header .offcanvas {
        padding: 4rem 7rem;
        width: 30%;
        min-width: calc(fit-content + 10rem);
    }
    header .offcanvas ul.header-info {
        display: none;
    }
    header .offcanvas ul:not(.languages) li {
        font-size: 2.5rem;
    }
    header .header-info {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        gap: 3rem;
        width: fit-content;
        height: 100%;
        width: 100%;
    }
    header .header-info li {
        white-space: nowrap;
    }

    footer ul {
        gap: 3rem;
        margin-bottom: 0;
    }
    footer ul.contact-info li img {
        display: none;
    }
    .subfooter .legal {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        gap: 2rem;
    }
    
    .banner .container h1 {
        font-size: 7rem;
    }
    .banner .container p {
        font-size: 3rem;
    }

    .modal#productsModal .modal-dialog {
        max-width: 1100px;
        margin: 0 auto;
    }

    .internalHeading h1 {
        font-size: 7rem;
    }
    .internalHeading p {
        font-size: 2rem;
    }
    
    .galleryFilter .dropdown-toggle {
        display: none;
    }
    .galleryFilter ul {
        position: relative;
        display: flex !important;
        justify-content: space-between;
        border: 0;
        border-radius: 0;
        border-bottom: 1px solid var(--sorga);
        margin-bottom: 8rem;
        gap: 9rem;
        text-align: center;
        padding-bottom: 0;
    }
    .galleryFilter ul li {
        margin-bottom: 0;
        padding-bottom: 3rem;
    }
    .galleryFilter a {
        background-color: transparent;
        border: 0;
        color: var(--sorga);
        font-size: 1.8rem;
        margin-bottom: 4rem;
    }
    .galleryFilter a span {
        font-weight: 700;
    }

    .productsWrapper .productCard {
        width: calc(33% - 10rem);
    }
}
@media (min-width: 1290px) {
    footer ul.contact-info li img {
        display: block;
    }

    .serveisContainer .serveisWrapper {
        flex-wrap: unset;
        gap: 3rem;
        justify-content: space-between;
    }
    .serveisContainer .serveisWrapper a {
        max-width: 20%;
    }
}
@media (min-width: 1400px) {
    footer ul {
        gap: 5rem;
    }
    .subfooter .legal .legalLinks {
        gap: 1rem 7rem;
    }

    .galleryFilter ul {
        gap: 13rem;
    }
}

@media (max-width: 340px) {
    header img.logo {
        margin-left: 2rem;
    }
    header .offcanvas {
        width: 100%;
    }
}


