@charset "utf-8";

@font-face {
    font-family: 'Rubik';
    src: url('../fonts/rubik/rubik.woff2') format('woff2'),
        url('../fonts/rubik/rubik.woff') format('woff'),
        url('../fonts/rubik/rubik.ttf') format('ttf');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/*** TOLLTIP FLOTANTE ***/

/* Tooltip */
.custom-tooltip {
    position: absolute;
    background: #000000;
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    z-index: 10000;
    pointer-events: none;
    opacity: 0;
    font-family: 'Googlesans', sans-serif;
    /* Usando tu fuente cargada */
    transition: opacity 0.5s, transform 0.5s;
    white-space: nowrap;
}

/* Base de la flecha */
.custom-tooltip::after {
    content: "";
    position: absolute;
    border-style: solid;
    width: 0;
    height: 0;
}

.bs-top {
    transform: translateY(10px);
}

.bs-top::after {
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 4px 4px 0 4px;
    border-color: #000000 transparent transparent transparent;
}

.bs-bottom {
    transform: translateY(-10px);
}

.bs-bottom::after {
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 4px 4px 4px;
    border-color: transparent transparent #000000 transparent;
}

.bs-left {
    transform: translateX(10px);
}

.bs-left::after {
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border-width: 4px 0 4px 4px;
    border-color: transparent transparent transparent #000000;
}

.bs-right {
    transform: translateX(-10px);
}

.bs-right::after {
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    border-width: 4px 4px 4px 0;
    border-color: transparent #000000 transparent transparent;
}

/* Estado Activo */
.custom-tooltip.visible {
    opacity: 1;
    transform: translate(0, 0) !important;
}

/*** TOOLTIP FIN ***/


/*** RESET ***/

*,
*::after,
*::before {
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

/* BARRAS DE DESPLAZAMIENTO */
*::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    background-color: #000;
    width: 5px;
}

*::-webkit-scrollbar {
    background-color: #f60;
    width: 5px;
}

*::-webkit-scrollbar-thumb {
    border-radius: 5px;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
    background-color: #fff;
    width: 5px;
}

html {
    font-size: .6vw;
}

body {
    margin: 0;
    overflow: hidden;
    background-color: #fff;
    color: #000;
    cursor: default;
    font-family: 'Rubik', 'Googlesans', sans-serif;
    font-size: 1.4rem;
    line-height: 1.9rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: justify;
    padding: 0;

    /* NO SELECCIONA TEXTO EN MÓVILES CON CLIC DE USUARIO */
    -webkit-user-select: none;
    /* Safari 3.1+ */
    -moz-user-select: none;
    /* Firefox 2+ */
    -ms-user-select: none;
    /* IE 10+ */
    user-select: none;
    /* Standard syntax */

    /* margin-bottom: 12vh; */
}

/* SELECCIÓN COLOR */
::-moz-selection {
    background: #5cc;
    color: white;
}

::selection {
    background: #5cc;
    color: white;
}

.selectable {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

a {
    color: inherit;
}

a:hover {
    color: deepskyblue;
    text-decoration: none;
}

/*********** BACKGROUNDS **********/

.aumentada {
    background: url(../laterales/augmented.jpg) no-repeat fixed;
}

.catalogos {
    background: url(../laterales/catalogos.jpg) no-repeat fixed;
}

.cgidesign {
    background: url(../laterales/cgidesign.jpg) no-repeat fixed;
}

.clises {
    background: url(../laterales/clises.jpg) no-repeat fixed;
}

.fotografia {
    background: url(../laterales/fotografia.jpg) no-repeat fixed;
}

.identidad {
    background: url(../laterales/identidad.jpg) no-repeat fixed;
}

.ilustraciones {
    background: url(../laterales/ilustracion.jpg) no-repeat fixed;
}

.instalaciones {
    background: url(../laterales/instalaciones.jpg) no-repeat fixed;
}

.interactivos {
    background: url(../laterales/interactivos.jpg) no-repeat fixed;
}

.maquetas {
    background: url(../laterales/maquetas.jpg) no-repeat fixed;
}

.motiondesign {
    background: url(../laterales/motiondesign.jpg) no-repeat fixed;
}

.pigmentos {
    background: url(../laterales/ilustracion.jpg) no-repeat fixed;
}

.prodgrafica {
    background: url(../laterales/prodgrafica.jpg) no-repeat fixed;
}

.senaletica {
    background: url(../laterales/senaletica.jpg) no-repeat fixed;
}

.teoria {
    background: url(../laterales/teoria.jpg) no-repeat fixed;
}

.videoedicion {
    background: url(../laterales/videoedicion.jpg) no-repeat fixed;
}

.webdesign {
    background: url(../laterales/webdesign.jpg) no-repeat fixed;
}

.aumentada,
.catalogos,
.cgidesign,
.fotografia,
.identidad,
.ilustraciones,
.instalaciones,
.interactivos,
.maquetas,
.motiondesign,
.pigmentos,
.prodgrafica,
.senaletica,
.teoria,
.videoedicion,
.webdesign {

    background-position: 0% 0%;

}

/********** WIDERSCREENS ***********/

.widers {
    width: 70vw;
    min-width: 280px;
}

/********** AVISO IFRAME ***********/

#avisoiframe {
    position: relative;
    overflow: hidden;
    background: #000;
    color: #fff;
    display: flex;
    justify-content: center;
    width: 100%;
    height: 0;
    margin: 0;
    padding: 0;
}

.aviso {
    margin: 0;
    padding: 1.5vh;
    width: 100%;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.5rem;
    /*ANIMACION SUAVE*/
    -webkit-transition: All .5s ease;
    -moz-transition: All .5s ease;
    -o-transition: All .5s ease;
    transition: All .5s ease;
}

.aviso h1 {
    font-size: 2.2rem;
    line-height: 4.4rem;
    font-weight: 600;
}

.avisolink {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 2.2vh;
    line-height: 5vh;
    color: #0fb;
}

.avisolink:hover {
    color: #fff;
}


/**** SECCIONES MAIN ******/

main {
    display: grid;
    grid-gap: 0;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-flow: row;
    padding: 0;
}

header {
    position: relative;
    grid-column: 1 / 5;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 20rem;
    background: rgba(255, 255, 0, 0);
}

lateral {
    position: relative;
    padding-top: 0;
    margin-bottom: 2vw;
    background: rgba(0, 255, 255, 0);
    grid-column: 1 / 3;
    width: 55rem;

    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;

}

imground {
    background: rgba(0, 0, 0, 0);
    grid-column: 3 / 4;
    width: 100%;
    height: 90%;
    top: 0;
    right: 0;
    pointer-events: none;
    user-select: none;
    padding-top: 5rem;
}

contenido {
    grid-column: 1 / 5;
}

footer {
    grid-column: 1 / 5;
    height: 14rem;
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    color: #fff;
}

/***********************************/

.backlink {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Websymbols';
    font-size: 1.55rem;
    font-style: normal;
    color: #111;
}

.grow {
    position: absolute;
    z-index: 1;
    border-radius: 50%;
    width: 2.2em;
    height: 2.2em;
    transform: translate(-1.77rem);
    cursor: pointer;

    /*ANIMACION SUAVE*/
    -webkit-transition: All .3s ease;
    -moz-transition: All .3s ease;
    -o-transition: All .3s ease;
    transition: All .3s ease;
}

.grow:hover {
    color: #000;
}

.grow::after {
    content: '';
    position: absolute;
    z-index: -2;
    width: 0;
    height: 0;
    border-radius: 50%;

    /*ANIMACION SUAVE*/
    -webkit-transition: All .3s ease;
    -moz-transition: All .3s ease;
    -o-transition: All .3s ease;
    transition: All .2s ease;
}

.grow:hover::after {
    content: '';
    position: absolute;
    background: rgba(0, 0, 0, 0.07);
    width: 110%;
    height: 110%;
    z-index: -2;
}

.scrolltop {
    position: fixed;
    z-index: 10;
    right: 5vw;
    bottom: 5vw;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: rotate(90deg);
    font-family: 'Websymbols';
    font-size: 1.55rem;
    font-style: normal;
    color: #111;
}

/*************************************/

#loader {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    height: 100%;
    background: rgba(0, 255, 255, 0);

    /*ANIMACION SUAVE*/
    -webkit-transition: All 1s ease;
    -moz-transition: All 1s ease;
    -o-transition: All 1s ease;
    transition: All 1s ease;
}

.diamond {
    position: absolute;
    width: 3rem;
    height: 3rem;
}

.cargando {
    text-transform: uppercase;
    letter-spacing: .8rem;
    font-size: .8rem;
    padding-top: 10rem;
    color: #888;
}

.ring {
    position: absolute;
    width: 5rem;
    height: 5rem;
    border: 2px solid #000;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    border-right-color: #000;
    border-left-color: #888;
    border-top-color: #444;
    border-bottom-color: transparent;
    animation: ring 1s linear infinite;
}

@keyframes ring {
    0% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(180deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*******************************/

titulo {
    display: block;
    font-size: 2.4rem;
    line-height: 3rem;
    color: #111;
    font-weight: 888;
    font-family: 'Oswald', sans-serif;
}

titulo2 {
    display: block;
    font-size: 1.88rem;
    line-height: 3rem;
    color: #888;
    font-weight: 600;
    font-family: 'Oswald', sans-serif;
}

descrip {
    display: block;
    text-align: left;
    font-size: 1.2rem;
    line-height: 2rem;
    margin-bottom: 35px;
    font-family: 'verdana', 'Googlesans', sans-serif;
    color: #000;
}

descrip p {
    display: block;
    color: #aaa;
}

/*******************************/

.items {
    background: rgba(0, 255, 255, 0);
    position: relative;
    display: grid;
    grid-gap: 1rem;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-flow: row;
}

.item {
    overflow: hidden;
    border-radius: 2px;
    cursor: url(../index/cursor/cursoredondo.png), auto;

    /*ANIMACION SUAVE*/
    -webkit-transition: All .5s ease;
    -moz-transition: All .5s ease;
    -o-transition: All .5s ease;
    transition: All .5s ease;
}

.item:hover {
    border-radius: 2px;
}

.item img {
    position: relative;
    z-index: 1;
    width: 100%;
    object-fit: cover;

    /*ANIMACION SUAVE*/
    -webkit-transition: All 1s ease;
    -moz-transition: All 1s ease;
    -o-transition: All 1s ease;
    transition: All 1s ease;
}

.item:hover img {
    z-index: -10;
    -webkit-transform: scale(1.3);
    transform: scale(1.3) rotate(0deg);
    /*ANIMACION SUAVE*/
    -webkit-transition: All .5s ease;
    -moz-transition: All .5s ease;
    -o-transition: All .5s ease;
    transition: All .5s ease;
}

.itemlargo {
    grid-column: span 2;
}

.itemalto {
    grid-row: span 2;
}

.cliente {
    font-family: 'Oswald', sans-serif;
    grid-column: span 3;
    line-height: 3.5rem;
}

.separador {
    grid-column: span 3;
    height: 44px;
}

/**********************************************************/
/********************** MEDIA QUERIES *********************/
/**********************************************************/


@media screen and (max-width: 1920px) {

    html {
        font-size: 11px;
    }
}

/***** 1680px Hacia abajo *******/

@media screen and (max-width: 1688px) {

    html {
        font-size: 10.4px;
    }
}

/***** 1440px Hacia abajo *******/

@media screen and (max-width: 1444px) {

    html {
        font-size: 10px;
    }
}

/****** 1024px Hacia abajo ******/
@media screen and (max-width: 1030px) {

    html {
        font-size: 10px;
    }

    contenido {
        grid-column: 1 / 5;
    }

    header {
        height: 14rem;
    }

    .diamond {
        width: 2.5rem;
        height: 2.5rem;
    }

    .ring {
        width: 5rem;
        height: 5rem;
    }

}

/****** 775px Hacia abajo ******/
@media screen and (max-width: 775px) {

    html {
        font-size: 10px;
    }

    header {
        height: 16rem;
    }

    .diamond {
        width: 2.5rem;
        height: 2.5rem;
    }

    .ring {
        width: 5rem;
        height: 5rem;
    }

    main {
        display: grid;
        grid-gap: 0;
        grid-template-columns: repeat(4, 1.5fr);
        grid-auto-flow: row;
        padding: 0;
    }

    lateral {
        grid-column: 1 / 5;
        padding: 0;
        width: 100%;
    }

    contenido {
        grid-column: 1 / 5;
    }

    titulo {
        font-size: 2rem;
    }

    titulo2 {
        font-size: 1.5rem;
    }


    .items {
        background: rgba(0, 255, 255, 0);
        position: relative;
        display: grid;
        grid-gap: 1rem;
        grid-template-columns: repeat(2, 1fr);
        grid-auto-flow: row;
    }

    .cliente {
        font-family: 'Oswald', sans-serif;
        grid-column: span 2;
        line-height: 3.5rem;
    }

    .separador {
        grid-column: span 2;
        height: 22px;
    }

}
