:root {
    --clr-dark: #0f172a;
    --clr-light: #f1f5f9;
    --clr-accent: #e11d48;
  }
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.light-bg{
    background:#fff;
}
.grey-bg{
    background:#ddd;
}
@font-face {
    font-family: neopixel;
    src: url(../font/neopixel.ttf);
}
@import url(https://fonts.googleapis.com/css?family=Righteous);
html{
    font-size: 62.5%;
}
body {
    padding: 0;
    font-family: 'Work Sans', sans-serif;
    color: var(--clr-dark);
    transition: all 0.3s ease-in-out;
    height: 100vh;
    background: #00060d;
}
a{
    color: #fff;
    text-decoration: none;
}
a{
    cursor: pointer;
}
.m-si{
    display:block;
}
.m-non{
    display: none;
}
.test{
    visibility: hidden;
    opacity: 0;
    transition: all .4s cubic-bezier(0.37, 0.31, 0.2, 0.85);
}
.showtest{
    visibility: visible;
    opacity: 1;
}
.tab-si{
    display: inline-block;
}
.tab-no{
    display: none;
}
video {
    object-fit: cover;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    opacity: .13;
  }
.container{
    position: relative;
    padding: 20px 20px 100px;
    height: auto;
    display: grid;
    grid-template-columns: repeat(14, 1fr);
    grid-template-rows: repeat(12, 80px);
    grid-auto-rows: 80px;
    grid-gap: 1.3vh;
}
@keyframes growIn {
    to {
        transform: scale(1);
        filter: blur(0);
        opacity:1;
    }
}
@media only screen and (min-width:480px){
    .container{
        position: relative;
        margin: 0;
        height: 100%;
        display: grid;
        grid-template-columns: repeat(14, 1fr);
        grid-template-rows: repeat(12, 1fr);
        grid-auto-rows: none;
        grid-gap: 1.3vh;
        filter: blur(50px);
        animation: growIn 1s cubic-bezier(0.075, 0.82, 0.165, 1) forwards;
        transform: scale(.1);
        opacity:0;
    }   
}
.container::before {    
    content: "";
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    opacity: 0;
    filter: blur(2px);
    animation: containerAnimate 1.3s ease-in forwards;
    animation-delay: 1s;
}
@keyframes containerAnimate {
    to {
        opacity: 1;
    }
}
body.dark .container::before{
    /* background-image: url(../img/universe.jpg); */
    /* background: linear-gradient(36deg, rgba(4, 62, 70, 1) 0%, rgba(62, 14, 70, 1) 100%); */
    filter: blur(1px);
}
.item {
    font-weight: 700;
    color: var(--clr-light);
    background: var(--clr-light);
    /* border-radius: 20px; */
}
.itemOuterCont{
    height: 100%;
    visibility: hidden;
    opacity: 0;
    transition: all .6s cubic-bezier(0.47, 0, 0.745, 0.715);
}
.itemInnerCont{
    display: flex;
    width: 100%;
    height: 100%;
    background-color: #fff;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding-top: 25px;
}
.item-content{
    position: relative;
    margin-top: calc(15% - 25px);
    margin: 1px solid green;
}
.item .inner-txtcover{
    position: absolute;
    width: 100%;
    background: #fff;
}
.txtcover1{
    z-index: 1;
    height: 17px;
}
.txtcover2{
    z-index: 3;
    height: 15px;
}
.showitem .itemOuterCont, .item:hover .itemOuterCont{
    visibility: visible;
    opacity: 1;
}
body.dark .itemInnerCont{
    justify-content: center;
    align-items: center;
}
.item h1{
    font-size: 2.1rem;
    position: relative;
    font-weight: 600;
    color: #222;
    font-family: 'Work Sans', sans-serif ;
    margin: 0 auto;
    transform: translateY(5px);
}
.item p{
    color: #222;
    text-align: center;
    width: 100%;
    background: rgba(255, 255, 255, .96);
    font-size: 1.2rem;
    z-index: 2;
}
.item:hover h1{
    transform: translateY(-24px);
}
.item:hover p{
    position: relative;
    transform: translateY(-20px);
    z-index: 2;
}
.item h1, .item p{
    text-align: center;
    opacity: .4;
    transition: all .7s ease-out;
}
.item:hover h1, .item:hover p{
    opacity: 1;
}
.item a:hover{
    cursor:pointer;
}
h2{
    font-family: neopixel;
    font-size: 3.6rem;
    font-weight: 600;
}
h6{
    font-size: 2rem;
    font-weight: 600;
}
/* -------------------- GENERAL ITEM PROPERTIES -------------------- */
.item5{ /* tom */
    transition: all .8s;
}
.item8{ /* figma */ 
    background-color: #f1f5f9;
    transition: all .7s;
    position: relative;
}
.item8 .itemOuterCont{ /* figma */ 
    visibility: visible;
    opacity: 1;
}
.item3{ /* insta */
    position: relative;
    background:#006BFF;
    backdrop-filter: blur(10px);
    transition: all .6s;
}
.item6{ /* kimiiya */
    transition: all .7s;
}
.item7{ /* settings */
    background: transparent;
    width: 100vw;
    padding: 20px 0;
    background: rgba(0, 0, 0, .5);
    z-index: 99;
    /* transform: translateY(150%);
    display: none;
    opacity: 0; */
    /* transition: all .4s cubic-bezier(.47,1.64,.41,.8); */
}
.item10{ /* identity */
    background-image: url(../img/identity-secureon.jpg);
    background-position: center;
    background-size: 160%;
    transition: all .8s;
    position: relative;
    overflow: hidden;
}

/* -------------------- MOBILE ITEMS POSITIONING -------------------- */
@media only screen and (max-width:480px){
    .item5{ /* tom */
        grid-area: 1 / 1 / 4 / 15;
    }
    .item1{ /* meetico */
        grid-area: 4 / 1 / 7 / 15;
    }
    .item2{ /* ubi */
        grid-area: 7 / 1 / 10 / 15;
    }
    body.dark .item2{
        border-radius: 50% 50% 50% 50% / 100% 0 100% 0 !important;
    }
    .item3{ /* figma */
        grid-area: 10 / 1 / 14 / 15;
    }
    .item4{ /* prandoni */
        grid-area: 14 / 1 / 17 / 15;
    }
    body.dark .item4, body.dark .item10 {
        border-radius: 50% 50% 50% 50% / 100% 0 100% 0 !important;
    }
    .item9{ /* lemon */ 
        grid-area: 17 / 1 / 20 / 15;
    }
    .item6{ /* kimiiya */
        grid-area: 20 / 1 / 23 / 15;   
    }
    .item10{ /* identity */
        grid-area: 23 / 1 / 26 / 15;
    }
    .item7{ /* settings */
        background: rgba(64,112,244, .6);
        position: fixed;
        z-index: 9999;
        bottom: 0;
        left: 0; 
        width: 100%;
        margin: 0;
        padding: 15px 0 10px;
        background: rgba(17,17,17, .7);
    }
}
/* -------------------- VER-IPAD ITEMS POSITIONING -------------------- */
@media only screen 
and (min-device-width: 768px) 
and (max-device-width: 1024px) 
and (orientation: portrait) 
and (-webkit-min-device-pixel-ratio: 1){
    .item5{ /* tom */
        grid-area: 1 / 2 / 3 / 14;
    }
    .item8{ /* figma */ 
        grid-area: 4 / 2 / 6 / 6;
    }
    .item1{ /* meetico */
        grid-area: 3 / 2 / 7 / 9;
    }
    body.dark .item1{
        grid-area: 3 / 7 / 5 / 14;
        background-size: 43%;
    }
    .item2{ /* ubi */
        grid-area: 3 / 9 / 5 / 14;
    }
    body.dark .item2{
        grid-area: 5 / 2 / 7 / 9;
    }
    body.dark .item2{
        border-radius:50% 50% 50% 50% / 100% 0% 100% 0% !important;
    }
    .item3{ /* figma */
        grid-area: 10 / 8 / 12 / 14;
    }
    body.dark .item3{
        border-radius:50% 50% 50% 50% / 0% 100% 0% 100% !important;
        margin:10px 0 -10px;
    }
    .item4{ /* prandoni */
        grid-area: 7 / 2 / 10 / 6;
        background-size: 58%;
    }
    body.dark .item4{
        border-radius: 50% 50% 50% 50% / 0% 100% 0% 100% !important;
        grid-area: 7 / 2 / 10 / 8;
        margin:10px 0 -10px;
        background-size: 53%;
    }
    .item9{ /* lemon */ 
        grid-area: 7 / 6 / 10 / 14;
    }
    body.dark .item9 {
        border-radius: 50% 50% 50% 50% / 100% 0% 100% 0% !important;
        grid-area: 7 / 8 / 10 / 14;
        margin:10px 0 -10px;
    }
    .item6{ /* kimiiya */
        grid-area: 5 / 9 / 7 / 14;
    }
    body.dark .item6 {
        grid-area: 3 / 2 / 5 / 7;
        border-radius: 50% 50% 50% 50% / 0% 100% 0% 90% !important;
    }
    .item7{ /* settings */
        grid-area: 11 / 10 / 13 / 15;
    }
    .item10{ /* identity */
        grid-area: 10 / 2 / 12 / 8;
    }
    body.dark .item10{
        border-radius: 50% 50% 50% 50% / 100% 0% 100% 0% !important;
        margin:10px 0 -10px;
    }
}

@media only screen 
and (min-device-width: 768px) 
and (max-device-width: 1024px) 
and (orientation: landscape) 
and (-webkit-min-device-pixel-ratio: 1){
    .container {
        margin: 0;
        grid-gap: 0 !important;
        padding: 100px 100px 150px !important;
    }
    .item1{
        grid-area: 1 / 1 / 5 / 6;
    }
    /* UBI */
    .item2{
        grid-area: 1 / 6 / 5 / 11;
    }
    /* INSTA */
    .item3{
        display: inline-block;
        grid-area: 1 / 11 / 5 / 15;
    }
    /* PRANDONI */
    .item4{
        grid-area: 5 / 1 / 13 / 6;
    }
    /* TOM */
    .item5{
        grid-area: 5 / 6 / 9 / 10;
    }
    /* HUCARE / KIMIYA */
    .item6{
        display: inline-block;
        grid-area: 5 / 10 / 9 / 15;
    }
    h2{
        text-shadow: none;
    }
    .card h2{
        display: block;
        font-size: 3rem;
    }
    h6{
        font-size: 1.4rem !important;
        text-shadow: none;
    }
    .item p{
        bottom: 0;
    }
    .item5 h6 {
        margin-top:0.6rem;
    }
    .item7{
        position: fixed;
        bottom: -1vh;
        padding-left: calc(50% - 60px);
    }
    /* LEMON */
    .item9{
        grid-area: 9 / 6 / 13 / 11;
    }
    /* ROD */
    .item10{
        grid-area: 9 / 11 / 13 / 15;
    }
}
/* -------------------- LG to XL ITEMS POSITIONING -------------------- */
@media only screen and (min-width:1024.1px){
    /* MEETICO */
    .item1{
        grid-area: 1 / 1 / 5 / 6;
    }
    /* UBI */
    .item2{
        grid-area: 1 / 6 / 5 / 11;
    }
    /* INSTA */
    .item3{
        display: inline-block;
        grid-area: 1 / 11 / 5 / 15;
    }
    /* PRANDONI */
    .item4{
        grid-area: 5 / 1 / 13 / 6;
    }
    /* TOM */
    .item5{
        grid-area: 5 / 6 / 9 / 10;
    }
    /* HUCARE / KIMIYA */
    .item6{
        display: inline-block;
        grid-area: 5 / 10 / 9 / 15;
    }
    /* SETTINGS */
    .item7{
        position: fixed;
        bottom: 0;
        width: 100vw;
        padding: 15px 0;
        background: rgba(0, 0, 0, .5);
        z-index: 99;
        padding-left: calc(50% - 60px);
        opacity: 0;
        transform: scale(.3);
        filter: blur(10px);
        animation: toggle-enter .8s ease-in-out;
        animation-delay: .2s;
        animation-fill-mode: forwards;
      }
      @keyframes toggle-enter {
        0% {
          opacity: 0;
          transform: scale(.3);
          filter: blur(10px);
        }
        100% {
          opacity: 1;
          transform: scale(1);
          filter: blur(0);
        }
      }
    /* LEMON */
    .item9{
        grid-area: 9 / 6 / 13 / 11;
    }
    /* ROD */
    .item10{
        grid-area: 9 / 11 / 13 / 15;
    }
}
/* ITEM 1 - MEETICO */
.meetico{
    background: #04b9b5 url(../img/meetico-home.png) no-repeat;
    position: relative;
    background-size: 55%;
    background-position: center;
    transition: all .8s;
    filter: grayscale(5%);
}
body.dark .item1{
    border-radius: 50% 50% 50% 50% / 0% 100% 0% 100% ;
    overflow: hidden;
}
/* ITEM 2 - UBI */
body.dark .item2{
    border-radius: 50% 50% 0% 50% / 100% 0% 0% 0%;
    overflow: hidden;
}
.ubi{
    background: #a1c7d9;
    position: relative;
    background-size: 150%;
    background-position: center;
    transition: all .6s;
    filter: grayscale(5%);
}
.ubi:hover{
    background-size: 170%;
}
/* ITEM 3 - INSTA CAROUSEL */
body.dark .item3{
    border-radius: 32% 68% 100% 0% / 0% 100% 0% 100% ;
    overflow:hidden;
}
/* ITEM 4 - PRANDONI */
.prandoni{
    background: #f1f0ec url(../img/cristinaprandoni-home.jpg) no-repeat;
    position: relative;
    background-size: 57%;
    background-position: center;
    transition: all .8s;
    filter: grayscale(10%);
}
body.dark .item4{
    border-radius:0% 100% 0% 100% / 35% 65% 35% 65%;
    overflow: hidden;
}   
/* ITEM 5 - TOM */    
.card {
    color: #fff;
    background-color: transparent;
    text-shadow: 1px 2px 10px rgba(0, 0, 0, .2);
    backdrop-filter: blur(10px);
    position: relative;
    transition-duration: 300ms;
    transition-property: transform, box-shadow;
    transition-timing-function: ease-out;
  }
  .card h2{
    position: relative;
  }
  body.dark .tom {
    color: #fff;
    border-radius: 0% 0% 0% 60% / 0% 0% 0% 100%;
  }
  body.dark .item5 h6{
    color: #efefef;
  }
  .card .cv-cont, .card .email-cont{
    position: absolute;
    z-index: 999;
    opacity: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .card .cv-cont{
    height: 28px;
    width: 28px;
    left: 26%;
    bottom: 14%;
    transition: all .6s ease-in-out;
  }
  .card .email-cont{
    height: 30px;
    width: 30px;
    left: 7%;
    bottom: 13%;
    line-height: .2rem;
    transition: all .6s ease-in-out;
  }
  /* .card .arrow-cont{
    right: 5%;
    bottom: 14%;
  } */
  .card img{
    width: 100%;
    height: auto;
  }
  .card .cv-cont:hover, .card .email-cont:hover{
    height: 36px;
    width: 36px;
  }
  .card:hover {
    transition-duration: 150ms;
    box-shadow: 0 5px 20px 5px #00000044;
  }
  .card .glow {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-image: none;
    transition: all .8s;
  }
  body.dark .card .glow {
    border-radius: 0% 0% 0% 60% / 0% 0% 0% 100%;
  }
  body.dark .card h2, body.dark .item5 h6{
    text-align: left;
    left: 0;
}
.item5 h6{
    margin-top: 1rem;
}
.tom{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 5%;
    transition: all .7s ease-out;
}
/* ITEM 6 - KIMIYA */     
body.dark .item6{
    border-radius: 0% 60% 0% 0% / 0% 100% 0% 0%;
    overflow: hidden;
}
.kimiya{
    background: #FE5B00;
    position: relative;
    background-size: 120%;
    background-position: center;
    transition: all .7s;
    filter: grayscale(5%);
}
.kimiya:hover{
    background-size: 130%;
}
/* ITEM 7 - SETTINGS */  
 .settings{
    align-items: center;
    justify-content: space-around;
}
/* ITEM 9 - LEMON */  
.lemon{
    background-image: url(../img/lemonehijos-main.png);
    background-repeat: no-repeat;
    background-color: #f1e181;
    position: relative;
    background-size: 50%;
    background-position: center;
    transition: all .5s;
    filter: grayscale(5%);
}
.lemon:hover{
    background-size: 60%;
}

body.dark .item9{
    border-radius: 50% 50% 50% 50% / 0% 100% 0% 100% ; 
    overflow: hidden;
}
/* ITEM 10 - IDENTITY */  
body.dark .item10{
    border-radius:  50% 50% 50% 50% / 0% 0% 100% 0%;
    overflow: hidden;
}

@media only screen and (min-width:480px){    
    .m-si{
        display:none;
    }
    .m-non{
        display: inline-block;
    }
    .card{
        background-color: rgba(255, 255, 255, .2);
    }
    .card .glow {
        background-image: radial-gradient(circle at 50% -20%, #ffffff22, #0000000f);
      }
    .tom{
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding: 7%;
        z-index: 99;
        transition: text-align .5s ease-in-out;
    }
    .card h2, .item5 h6{
        position: relative;
        width: 86%;
        left: 0;
        transition: all .6s ease-in-out;
    }
    body.dark .item1{
        border-radius: 50% 50% 50% 50% / 100% 0% 100% 0% ;
    }
}
@media only screen 
and (min-device-width: 768px) 
and (max-device-width: 1024px) {
    .item h1{
        font-size: 2.4rem !important;
        line-height: 1.2rem;
    }
    .item:hover h1{
        transform: translateY(-28px);
    }
    body.dark .container{
        grid-gap: 0.5vh !important;
    }
}
@media only screen 
and (min-device-width: 768px) 
and (max-device-width: 1024px) 
and (orientation: portrait) 
and (-webkit-min-device-pixel-ratio: 1){
    .container{
        padding: 100px;
        grid-gap:0;
    }
    .tom{
        padding: 0 1%;
    }
    .card{
        background: none;
    }  
    .card:hover{
        box-shadow: none;
    }
    .glow{
        display: none;
    }
    h2{
        font-size: 2.8rem !important;
    }
    h6{
        font-size: 1.4rem !important;
    }  
    .card .cv-cont, .card .email-cont{
        height: 30px;
        width: 30px;
      }
    .card .cv-cont:hover, .card .email-cont:hover{
        height: 36px;
        width: 36px;
    }
    .card .arrow-cont{
        display: none;
    }
    body.dark .card h2, body.dark .item5 h6{
        text-align: left;
        left: 0;
    }
    .item7{ /* settings */
        position: fixed;
        bottom: 0;
        display: flex;
        justify-content: center;
    }
    body.dark .tom {
        margin-bottom: -4px;
    }
    .card .email-cont{
        left: 1%;
        bottom: 10%;
      }
    .card .cv-cont {
        left: 13%;
        bottom: 11%;
    }
}

@media only screen 
and (min-device-width: 768px) 
and (max-device-width: 1024px) 
and (orientation: landscape) 
and (-webkit-min-device-pixel-ratio: 1){
    .tom{
        padding: 10% 7%;
    }
    h2{
        font-size: 2.6rem !important;
    }
    h6{
        font-size: 1.1rem !important;
    }
    body.dark .card h2, body.dark .item5 h6{
        left: 14%;
        text-align: right;
    }
    body.dark .card .cv-cont{
        left: 84%;
    }
    body.dark .card .email-cont{
        left: 64%;
    }
}

@media only screen and (min-width:1025px){ 
    body{
        display: flex;
        align-items: center;
    }
    .container{
        padding: 80px 100px 120px;
        grid-gap: 0;
        height: 800px;
        min-height: 750px;
        width: 1140px;
        margin: 0 auto;
    }
    body.dark .container{
        grid-gap: 0.8vh;
    }
    .tab-si{
        display: none;
    }
    .tab-no{
        display: inline-block;
    }
    .itemInnerCont{
        justify-content: center;
    }
    .item h1{
        display: block;
        font-size: 2.8rem;
        line-height: 1.2rem;
    }
    .item p{
        position: relative;
        color: #222;
        background: transparent;
        margin: 5px 0 10px;
        font-size: 1.1rem;
        text-transform: uppercase;
    }
    .item .hoverlink{
        display: none;
        width: 40px;
        height: 40px;
        border-radius: 20px;
    }
    .item:hover h1{
        transform: translateY(-23px);
    }
    .item:hover p{
        transform: translateY(-13px);
        z-index: 1;
    }
    .item:hover h1:before {
        transform: none;
    }
    .item a:hover{
        cursor:pointer;
    }
    h2{
        font-size: 3rem;
    }
    h6{
        font-size: 1.3rem;
    }
    body.dark .item9{
        border-radius: 50% 50% 50% 50% / 0% 100% 0% 100% ;
    }
    .meetico, .ubi, .insta, .prandoni, .kimiya, .lemon{
        filter: grayscale(10%);
    }
    .meetico:hover, .ubi:hover, .insta:hover, .prandoni:hover, .kimiya:hover{
    filter: grayscale(3%);
    }
    body.dark .card h2, body.dark .item5 h6{
        left: 14%;
        text-align: right;
    }
    body.dark .card .email-cont{
        left: 63%;
    }
    body.dark .card .cv-cont{
        left: 84%;
    }
}
@media only screen and (min-width:1200px){
    .card h2::before{
        bottom: -20px ;
    }
}
@media only screen and (min-width:1701px){
    .body-xl{
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .container::before {    
        background-image: none;
    }
    body.dark .container::before{
        background-image: none;
    }
    .outer-cont{
        width: 100vw;
        height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
}

