/******************************
*   Tipografias
******************************/
:root {
    --negro: 0, 0, 0;
    --blanco: 255, 255, 255;
    --gris_d: 70, 64, 64;
    --gris_l: 232, 232, 232;
    --rojo: 230, 2, 17  ;
}

::selection {
    color: rgb(var(--blanco));
    background: rgb(var(--gris_d));
}
::-moz-selection {
    color: rgb(var(--blanco));
    background: rgb(var(--gris_d));
}
::-webkit-selection {
    color: rgb(var(--blanco));
    background: rgb(var(--gris_d));
}

/******************************
*   Reset
******************************/
*{
    border: 0px;
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    scroll-padding: 70px;
}
body {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-family: 'Work Sans';
    font-weight: normal;
    font-style: normal;
    font-display: swap;
    line-height: 1.4;
    font-size: 16px;
    color: rgb(var(--name), 1); 
    background: rgb(var(--name), 1); 
}
figure {
    /* pointer-events: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none; */
}
figure img { margin: 0 auto; }
figcaption {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
a, a:link, a:hover, a:visited {
    text-decoration: none;
    color: inherit;
    cursor: pointer;

    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}


/******************************
*   Pre Home
******************************/
main {
    height: 100vh;
    height: 100dvh;
    position: relative;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}
main article {
    flex-grow: 1;
    position: relative;
    height: 33.33%;
    background: rgb(var(--gris_l));
}
main article a {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    position: relative;
}
.sect__brand { height: 100%; }
.brand__car {
    width: 100%;
    height: 100%;
}
.brand__car img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
}
.brand__logo {
    position: absolute;
    top: 0;
    left: 0;
    padding: 30px 15px;
    width: 100%;
}
.brand__logo figure {
    height: 4vw;
    min-height: 20px;
    display: flex;
    align-items: center;
}
.brand__logo figure img {
    object-fit: contain;
    /* object-position: left; */
    width: 100%;
    height: 100%;
}
a .brand__logo { z-index: 100; }
article:nth-child(1) .brand__logo figure img { height: 85%; }


main article > .brand__logo {
    mix-blend-mode: difference;
    will-change: filter;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}


/******************************
*   Mobile
******************************/
/* Extra Small Devices, Phones */ 
@media (max-width : 479px) {
}
@media (min-width : 480px) {
}
/* Small Devices, Tablets */
@media (min-width : 480px) and (max-width : 767px) {
}
@media (max-width : 679px) {
}
@media (min-width : 680px) {
}
@media (min-width : 680px) and (max-width : 767px) {
}
/* Small Devices, Nav */
@media (max-width : 767px) {
}
/* Medium Devices to Large Devices */
@media (min-width : 768px) {
main { flex-direction: row; }
main article {
    width: 33.33%;
    height: 100%;
    flex-basis: 0;
    transition: .8s;
}
main article:hover {
    flex-basis: 20%;
    flex-grow: 1;
}
.brand__logo { padding: 4vw 15px; }
.brand__logo figure { height: 1.5vw; }


}
/* Medium Devices, Desktops */
@media (min-width : 768px) and (max-width : 991px) {
}
@media (max-width : 991px) {
}
@media (min-width : 992px) {
}
/* Large Devices, Wide Screens */
@media (min-width : 992px) and (max-width : 1200px) {
}
@media (max-width : 1199px) {
}
@media (min-width : 1200px) {
}



.brand__car { clip-path: polygon(0 0, 100% 0, 100% 0%, 0 0%); }
main article > .brand__logo,
.sect__brand .brand__logo { opacity: 0; }

.sect__brand .brand__logo {
    transform: translateY(50%);
}

main { pointer-events: none; }


