* {
    box-sizing: border-box;
}
html, body {
    margin: 0;
    padding: 0; 
}

body {
    font-family: sans-serif;
    background-color: #d8d8d8;
    cursor: default;
}
h1, h2, h3, p {
    margin: 0;
}
a, .links--section--close, .links--section--link, .next, .prev, .icon, .button {
    text-decoration: none;
    color: black;
    cursor:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'  width='40' height='48' viewport='0 0 100 100' style='fill:black;font-size:24px;'><text y='50%'>👆</text></svg>") 16 0,auto; 
}
a:hover, .links--section--close:hover, .links--section--link:hover, .next:hover, .prev:hover, .button:hover { 
    cursor:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'  width='29' height='35' viewport='0 0 100 100' style='fill:black;font-size:17px;'><text y='50%'>👆</text></svg>") 16 0,auto; 
    animation: animactionCursor 0.25s ease-in-out; 
    animation-fill-mode: forwards;
    transition: transform 0.1s
}

@keyframes animactionCursor {
    0%{cursor:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'  width='29' height='35' viewport='0 0 100 100' style='fill:black;font-size:17px;'><text y='50%'>👆</text></svg>") 16 0,auto;}
     12%{cursor:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'  width='32' height='38' viewport='0 0 100 100' style='fill:black;font-size:19px;'><text y='50%'>👆</text></svg>") 16 0,auto;}
    /*25%{cursor:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'  width='33' height='40' viewport='0 0 100 100' style='fill:black;font-size:20px;'><text y='50%'>👆</text></svg>") 16 0,auto;}
    35%{cursor:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'  width='44' height='53' viewport='0 0 100 100' style='fill:black;font-size:26px;'><text y='50%'>👆</text></svg>") 16 0,auto;}
    50%{cursor:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'  width='40' height='48' viewport='0 0 100 100' style='fill:black;font-size:24px;'><text y='50%'>👆</text></svg>") 16 0,auto;}
    65%{cursor:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'  width='53' height='64' viewport='0 0 100 100' style='fill:black;font-size:32px;'><text y='50%'>👆</text></svg>") 16 0,auto;}
    75%{cursor:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'  width='48' height='58' viewport='0 0 100 100' style='fill:black;font-size:29px;'><text y='50%'>👆</text></svg>") 16 0,auto;}
    85%{cursor:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'  width='63' height='76' viewport='0 0 100 100' style='fill:black;font-size:38px;'><text y='50%'>👆</text></svg>") 16 0,auto;} */
    100%{cursor:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'  width='57' height='68' viewport='0 0 100 100' style='fill:black;font-size:34px;'><text y='50%'>👆</text></svg>") 16 0,auto;}
}

.hand {
   display: inline;
   width: 0;
    opacity: 0;
    margin-left: -5%;
    transition: all 0.3s ease-in-out;
}
.show-hand {
    width: 0;
    opacity: 1;
    margin-left: 0;
    transition: all 0.3s ease-in-out;
}

/* TIPOGRAFIA */

.section-menu__content__title {
    font-size: 1.2rem;
    width: 100%;
    position: relative;
    z-index: 2;
}
.section-menu__content__item {
    padding-top: 1rem;
    display: flex; 
    width: 150%;
    justify-content: space-between;
    
}
.links--section__text, 
.section-menu__content__item__skills__text,
.section-menu__content__item__skills__links,
.menu__content__item--about {
    font-size: 0.85rem;
}


.container {
    height: calc(var(--vh, 1vh) * 100);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.intro__text {
    padding-bottom: 0;
    font-size: 1.3rem;
}


.intro {
    position: absolute;
    z-index: -1;
    padding: 25% 10% 20% 10%;
}

/* SECTIONS */
.content{
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.content-wrap {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}

.last-skills {
    border-bottom: 4px solid black; 
}

.section-menu {
    height: 5vh;
    overflow: hidden;
    border-top: 4px solid black;
    display: flex;
    align-items: center;
    padding-bottom: 5%;
    background: #d8d8d8;
    transition: all 600ms cubic-bezier(.52,.22,.61,1.02);
    padding-top: 1.5rem;
    position: relative;
}


.project__background {
    background: #d8d8d8;
    position: absolute;
    left: 0;
    z-index: 2;
    width: 100%;
    height: 0;
    transition: all 300ms cubic-bezier(.52,.22,.61,1.02);
}

.content-over-background {
    position: relative;
    z-index: 3;
}

.section__active {
    height: 100vh;
    width: 100%;
    align-items: flex-start;
    background: linear-gradient(134deg, #fffeab, #8ff8f5, #f6e7f8, #f6e7f8);
    background-size: 1000% 1000%;
    transition: all 600ms cubic-bezier(.52,.22,.61,1.02);
    -webkit-animation: AnimationName 10s ease infinite;
    -moz-animation: AnimationName 10s ease infinite;
    animation: AnimationName 10s ease infinite;
    background-color: #d8d8d8;
    
}

.project__background-active {
    background: #fffeab;
    
}


@-webkit-keyframes AnimationName {
    0%{background-position:0% 17%}
    50%{background-position:100% 84%}
    100%{background-position:0% 17%}
}
@-moz-keyframes AnimationName {
    0%{background-position:0% 17%}
    50%{background-position:100% 84%}
    100%{background-position:0% 17%}
}
@keyframes AnimationName {
    0%{background-position:0% 17%}
    50%{background-position:100% 84%}
    100%{background-position:0% 17%}
}

/*--ICON--*/
.icon {
    margin-left: 5%;
    margin-right: 5%;
    position: absolute;  
}
  
.icon-right.visible-xs {
    z-index: 3;
  }

  .hidden-xs {
    display: none;
  }

  .icon-right.visible-xs .active .bar {
    background-color: black;
    transition: all .7s ease;
  }

  .button {
   
    display: inline-block;
    width: auto;
    margin: 0 auto;
    transition: all .7s ease;
  }

  .bar {
    display: block;
    height: 5px;
    width: 20px;
    background-color: black;
    margin: 10px auto;
    transition: all .7s ease;
  }
  .top {
    transform: rotateZ(90deg);
  }

  .bottom {
    margin-top: -15px;
  }
  .active-button-top {
    transform: rotateZ(0deg);
  }

/*---CONTENT SECTION---*/
.section-menu__content__item {
    display: none;
    overflow: hidden;
    transition: all 150ms ease-in-out;
    width: 100%; 
}
.section-menu__content__item__active {
    display: flex;
    transition: all 150ms ease-in-out;
} 
.section-menu__content {
    width: 100%;
}
.section-menu__content__item--about {
    width: 90%;
}
.section-menu__content__title, .section-menu__content__item__projects, .section-menu__content__item__skills, .section-menu__content__item--about {
    padding-left: 15%;
}
.section-menu__content__item__projects, .section-menu__content__item__skills {
    margin-top: 5%;
    width: 85%;
}
.section-menu__content__item__skills__text {
    margin-bottom: 10%;
    width: 90%;
}
.section-menu__content__item__projects__links, .section-menu__content__item__skills__links {
    width: 75%;
    position: relative;
}
.section-menu__content__item__projects__links a:hover  {
    /* background-image: url("data:image/svg+xml;charset=utf8,%3Csvg id='squiggle-link' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:ev='http://www.w3.org/2001/xml-events' viewBox='0 0 20 4'%3E%3Cstyle type='text/css'%3E.squiggle{animation:shift .3s linear infinite;}@keyframes shift {from {transform:translateX(0);}to {transform:translateX(-20px);}}%3C/style%3E%3Cpath fill='none' stroke='%23453886' stroke-width='2' class='squiggle' d='M0,3.5 c 5,0,5,-3,10,-3 s 5,3,10,3 c 5,0,5,-3,10,-3 s 5,3,10,3'/%3E%3C/svg%3E");
    background-position: bottom;
    background-repeat: repeat-x;
    background-size: 20px;
    text-decoration: none;
    border-bottom: 2px solid transparent; */


    /* cursor:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'  width='40' height='48' viewport='0 0 100 100' style='fill:black;font-size:24px;'><text y='50%'></text></svg>") 16 0,auto;
    color:blue;
    border-bottom: 2px solid blue;
    -webkit-animation: animactionCursor 0.8s ease-in-out ;
    -moz-animation: animactionCursor 0.8s ease-in-out ;
    animation: animactionCursor 1s ease; */
    /* transition: cursor 600ms cubic-bezier(.52,.22,.61,1.02);  */
}

.links--section-skill {
    margin-bottom: 10%;
}

.links--section--link, .links--section--link--skill  {
    display: flex;
    margin-bottom: 5%;
    padding-bottom: 2%;
    border-bottom: 2px solid black;
    justify-content: space-between;
    transition: all 0s ease-in-out -0.2s;
}
.links--section__liks-hide {
   visibility: hidden;
   height: 0;
   transition: all 0s ease-in-out 0s;
}

.links--section__text {
    height: 0%;
   visibility: hidden;
   opacity: 0;
   transition: all 0.15s ease-in-out;
}
.links--section__text-show {
   
    height: 25%;
    visibility: visible;
    opacity: 1;
    transition: all 0.3s ease-in-out;
}

.img-projects {
    visibility: hidden;
    opacity: 0;
    width: 100%; 
    /* height: 400px; */
    /* display: none; */
    position: relative; 
    display: block;
    justify-content: space-between; 
    transition: all 0.1s ease-in-out 0s;
}
.img-projects-show {
    visibility: visible;
    opacity: 1;
    width: 100%; 
    height: 200px;
    position: relative; 
    display: block;
    justify-content: space-between; 
    margin-top: 20%;
    transition: all 0.1s ease-in-out 0.3s;
}
.links--section--close {
    padding-top: 2%;
}
video {
    width: 100%;
}
/* SLIDER */


 #slider {
   flex-basis: 80%;
}

.slides {
    width:100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: top;
    background-size: contain;
    padding:2rem 0;
}

.swiper-slide {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;

}
.swiper-container-horizontal > .swiper-pagination-bullets {
    bottom: 35px !important;
}
  .swiper-slide {
      height: 90%;
  }
  .swiper-pagination-bullet {
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    font-size: 12px;
    color: #000;
    opacity: 1;
    background: rgba(0, 0, 0, 0.2);
  }


/* ----SKILLS--- */
.links--section--link--skill {
    border: none;
    margin-bottom: 15px;
    
}
.links--section--link--skill p {
    position: relative;
}

.links--section--link--skill p:after {
    content: '';
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: -8px;
    border-bottom: 2px solid black;
  }
  
 .links--section-skill p:nth-child(2n) {
     width: 80%;
 }
/* ----IPAD VERTICAL--- */
@media (min-width: 600px) and (orientation: portrait) {

    .hand {
        display: inline;
        width: auto;
        opacity: 0;
        margin-left: 0%;
        transition: all 0.3s ease-in-out;
    }
    .show-hand {
        width: auto;
        display: inline;
        opacity: 1;
        margin-left: 5%;
        transition: all 0.3s ease-in-out;
    }
    .intro__text {
        font-size: 1.8rem;
    }
    .links--section__text, 
    .section-menu__content__item__skills__text,
    .section-menu__content__item__skills__links,
    .menu__content__item--about {
        font-size: 1rem;
    }
    .section-menu {
        padding-top: 3%;
        padding-bottom: 3%;
    }
    .img-projects-show {
        margin-top: 10%; 
        height: 500px; 
    }
    .section-menu__content__title, .section-menu__content__item__projects, .section-menu__content__item__skills, .section-menu__content__item--about {
        padding-left: 10%;
    }
    .swiper-container-horizontal > .swiper-pagination-bullets {
        bottom: 140px !important;
    }
    
}
@media (min-width: 700px) and (orientation: landscape) { 
    .intro {
        position: absolute;
        z-index: -1;
        padding: 25% 20% 20% 20%;
    }
    .knowledge {
        padding-right: 0%;
        padding-left: 0%;
    }
    .section-menu {
        padding-top: 1.5%;
        padding-bottom: 1.5%;
    }
    .section-menu__content__item {
        font-size: 1.2rem;
        padding-top: 1.8rem;
    }
    .links--section__text, 
    .section-menu__content__item__skills__text,
    .section-menu__content__item__skills__links,
    .menu__content__item--about {
        font-size: 1rem;
    }
    .section-menu__content__title, .section-menu__content__item__projects, .section-menu__content__item__skills, .section-menu__content__item--about {
        padding-left: 8%;
    }
    .section-menu__content__item__projects, .section-menu__content__item__skills {
        width: 100%;
        display: flex;
        justify-content: space-between;
    }
    .section-menu__content__item__skills {
        justify-content: flex-start;
    }
    .section-menu__content__item__projects__links {
        width: 30%;
    }
    .section-menu__content__item__skills__links {
        padding-left: 15%;
    }
    .img-projects {
        width: 50%;   
    }
    .img-projects-show {
        width: 50%; 
        margin-top: 0;
        height: 450px;
    }
    .section-menu__content__item__projects__links, .section-menu__content__item__skills__links {
        width: 40%;
        position: relative;
    }
    .section-menu__content__item__skills__text {
        margin-bottom: 10%;
        width: 30%;
    }
}
@media (min-width: 900px) and (orientation: landscape) {
    .intro__text {
        font-size: 1.8rem;
    }
    .intro {
        padding: 15% 25% 0 25%;
    }
}
@media (min-width: 1650px) and (orientation: landscape) {
    

    .img-projects-show {
       
        height: 520px;
    }
    .swiper-container-horizontal > .swiper-pagination-bullets {
        bottom: 0px !important;
    }
}

