@font-face {
	font-family: 'FuturaStdHeavy';
	src: url('FuturaStdHeavy.eot'); /* IE9 Compat Modes */
	src: url('FuturaStdHeavy.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
	     url('FuturaStdHeavy.woff') format('woff'), /* Modern Browsers */
	     url('FuturaStdHeavy.ttf')  format('truetype'), /* Safari, Android, iOS */
	     url('FuturaStdHeavy.svg#svgFontName') format('svg'); /* Legacy iOS */
	}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}

html {
    letter-spacing: 0.05em;
}

html,body{
    height: 100vh;
    width: 100vw;
}

body{
    font-family: "FuturaStdHeavy", 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    background-color: rgb(200, 200, 200);
}

/*background-color: rgb(160, 160, 160);*/

a{
    text-decoration: none;
    color: black;
}

.header{
    background-color: rgb(160, 160, 160);
    top: 0;
    width: 100vw;
    position: fixed;
    z-index: 999;
    /*
    position: sticky;
    position: -webkit-sticky;*/
}

.navbar{
    position: fixed;
    /*
    position: sticky;
    position: -webkit-sticky;*/
    top: 0;
    z-index: 1000;
    width: 100vw;
    display: inline-flex;
    display: -webkit-inline-flex;
    justify-content: flex-end;
    background-color: rgb(160, 160, 160);
    /*
    -webkit-box-pack: end;*/
}
.nav-links{
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: end;
    list-style-type: none;
    padding: 1em;
    /*
    margin: 10px 0px 0px 0px;*/
}

.nav-link{
    text-decoration: none;
    color: rgb(255, 221, 0);
    font-size: large;
    padding: 4px 8px;
}

main{
    max-width: 100vw;
    /*
    scroll-snap-type: y mandatory;
    -webkit-scroll-snap-style: y mandatory;
    margin: auto;*/
}

/*
section{
    scroll-snap-align: center;
    -webkit-scroll-snap-align: center;
}*/

.curtain{
    width: 100%;
    height: 100vh;
    background-color: rgb(0, 0, 0);
    position: absolute;
    top: 0;
    left: 50%;
    transform-origin: center;
    animation: openCurtain 3s ease-in-out forwards;
    z-index: 99;
}

.curtain2{

    width: 100%;
    height: 100vh;
    background-color: rgb(0, 0, 0);
    position: absolute;
    top: 0;
    right: 50%;
    transform-origin: center;
    animation: openCurtain 3s ease-in-out forwards;
    z-index: 99;
}

@keyframes openCurtain{
    0%{
        transform: scaleX(1);
        opacity: 1;
    }
    100%{
        transform: scaleX(0);
        opacity: 0.8;
    }
}

#welcome-section{
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    display: -webkit-flex;
    -webkit-box-orient: vertical;
    -webkit-box-align: center;
    -webkit-box-pack: center;
}

.skills{
    position: absolute;
    top: 90vw;
    display: flex;
    gap: 1em;
}

.skills img{
    height: 5vh;
    opacity: 0;
    animation: falling 4s linear forwards;
}

.html-logo,.css-logo{
    padding: 0.5vh 1vw;
}

.bootstrap-logo{
    padding: 0.9vh 1vw;
}

.tailwind-logo{
    padding: 1vh 1vw;
}

.procreate-logo{
    padding: 0.7vh 1vw;
}

.skills img:nth-child(1) {
    animation-delay: 0s;
}

.skills img:nth-child(2) {
    animation-delay: 1s;
}

.skills img:nth-child(3) {
    animation-delay: 2s;
}

.skills img:nth-child(4) {
    animation-delay: 3s;
}

.skills img:nth-child(5){
    animation-delay: 4s;
}

@keyframes falling {
    0% {
    transform: translateY(-100%);
    opacity: 0;
    }

    65%{
        opacity: 0;
    }

    100% {
    transform: translateY(100%);
    opacity: 1;
    }
}

.carla1{
    height: 24vh;
    position: absolute;
    z-index: -2;
    left: 0;
    bottom: 0;
}

.carla2{
    height: 24vh;
    position: absolute;
    z-index: -2;
    right: 0;
    bottom: 0;
    transform: scaleX(-1);
}

.welcome-text{
    line-height: 8em;
    text-align: center;
    font-size: x-large;
    position: absolute;
    top: 10vh;
}
/*
    position: relative;*/

.next-content1,.arrow{
    height: 5vh;
    position: absolute;
    right: 50%;
    transform: translateX(50%);
    z-index: 2;
    bottom: 2vh;
}
/*
.next-content1 .arrow{
    position: relative;
    display: block;
}*/

.next-content2,.arrow1{
    height: 5vh;
    position: absolute;
    right: 50%;
    transform: translateX(50%);
    z-index: 2;
    top: 95.5vh;
}

.home,.arrow2{
    height: 5vh;
    position: absolute;
    z-index: 2;
    transform: scaleY(-1);
}

.arrow2{
    height: 5vh;
    position: absolute;
    right: 50%;
    transform: translateX(50%);
    z-index: 2;
    bottom: 91vh;
}
/*
.arrow2{
    height: 5vh;
    
    bottom: 5vh;
    z-index: 2;
    position: absolute;*/

/*
.projects{
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    display: -webkit-flex;
    -webkit-box-orient: vertical;
    -webkit-box-align: center;
    -webkit-box-pack: center;
}*/
.projects{
    width: 100vw;
    height: 100vh;
    max-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    display: -webkit-flex;
    -webkit-box-orient: vertical;
    -webkit-box-align: center;
    -webkit-box-pack: center;
    text-align: center;
}

.projects-text{
    font-size: x-large;
    text-transform: uppercase;
    margin: 3em 0 1em 0;
    /*
    margin-bottom: 2vh;*/
}

.projects-container {
    display: flex;
    flex-direction: row;
    max-width: 90vw;
    max-height: 75vh;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
}

.project-tile img{
    max-width: 65vw;
}

.lucky,.ruby,.app,.potato{
    box-shadow: 0 0.6em 1em 0 rgba(0, 0, 0, 0.250);
    text-align: center;
    overflow-wrap: break-word;
    padding: 0 0 1em 0;
    margin: 0.5em;
    width: 70vw;
    max-width: 65vw;
}

.potato{
    display: none;
    visibility: hidden;
}

/*
.lucky h4,.ruby h4,.app h4,.potato h4{
    white-space: pre-wrap;
    word-wrap: break-word;
}*/

#connect{
    width: 100vw;
    height: 100vh;
    display: flex;
    text-align: center;
    justify-content: center;
}

.connect{
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    display: -webkit-flex;
    -webkit-box-orient: vertical;
    -webkit-box-align: center;
    -webkit-box-pack: center;
    text-align: center;
}

.connect-text{
    text-transform: uppercase;
    word-wrap: break-word;
    margin: 3em 2em 1em 2em;
}

.connect a{
    font-size: larger;
}

.connects-container{
    margin: 1em 0;
}

.connects-container div{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 3em;
}

.github-logo,.email-logo,.tlf-logo{
    height: 8vh;
    margin: 1em;
}
/*@media screen and (min-width: 600px)*/

/*MACBOOK 13''*/
@media screen and (min-width:1200px) {

    .nav-links{
    gap: 20px;
    }

    .nav-link{
    font-size: larger;
    }

    .carla1,.carla2{
    height: 40vh;
    bottom: 0;
    }

    .welcome-text{
        font-size: xx-large;
        top: 4vh;
        }

    .skills{
        top: 50vh;
    }

    .skills img{
        height: 7vh;
    }

    .next-content1,.arrow{
        bottom: 2vh;
        right: 50%;
    }

    .next-content2 .arrow1{
        bottom: 2vh;
        right: 50%;
    }

    .home,.arrow2{
        right: 50%;
    }

    /*arreglar bug que desplaza la flecha
    .arrow:hover,.arrow1:hover,.arrow2:hover{
        transform: scale(1.5);
        transition-duration: 2s;
    }
    */

    .connect a:hover{
    color: rgb(255, 221, 0);
    }

    .projects{
        width: 100vw;
        height: 100vh;
        max-height: 100vh;
    }

    .projects-text{
        font-size: x-large;
        margin-bottom: 2vh;
    }

    .projects-container {
        max-width: 90vw;
        max-height: 90vh;
        height: 75vh;
        justify-content: space-evenly;
        align-items: center;
    }

    .projects-container h3{
        margin: 1.2vh 0;
        font-size: x-large;
    }
    
    .project-tile img{
        max-width: 28vw;
    }


    .lucky,.ruby,.app,.potato{
        padding: 0 0 0.7em 0;
        margin: 0em 1em 2em 1em;
        max-width: 28vw;
    }

    .potato{
        visibility: visible;
        display: block;
    }

    .lucky:hover,.ruby:hover,.app:hover,.potato:hover{
        transform: scale(1.05);
        transition-duration: 2s;
        box-shadow: 0 0.6em 1em 0.5em rgba(255, 221, 0, 0.250);
    }
}

/* LARGE DESKTOP*/
@media screen and (min-height:1024px) and (max-height:1070px){
    
    .nav-links{
        gap: 20px;
        }
    
        .nav-link{
        font-size: larger;
        }
    
        .carla1,.carla2{
        height: 40vh;
        bottom: 0;
        }
    
        .welcome-text{
            font-size: xx-large;
            top: 4vh;
            }
    
        .skills{
            top: 40vh;
        }
    
        .skills img{
            height: 7vh;
        }
    
        .next-content1,.arrow{
            bottom: 2vh;
            right: 50%;
        }
    
        .next-content2 .arrow1{
            bottom: 2vh;
            right: 50%;
        }
    
        .home,.arrow2{
            right: 50%;
        }
    
        /*arreglar bug que desplaza la flecha
        .arrow:hover,.arrow1:hover,.arrow2:hover{
            transform: scale(1.5);
            transition-duration: 2s;
        }
        */
    
        .connect a:hover{
        color: rgb(255, 221, 0);
        }
    
        .projects{
            width: 100vw;
            height: 100vh;
            max-height: 100vh;
        }
    
        .projects-text{
            font-size: x-large;
            margin-bottom: 2vh;
        }
    
        .projects-container {
            max-width: 90vw;
            max-height: 90vh;
            height: 75vh;
            justify-content: space-evenly;
            align-items: center;
        }
    
        .projects-container h3{
            margin: 1.2vh 0;
            font-size: x-large;
        }
        
        .project-tile img{
            max-width: 28vw;
        }
    
    
        .lucky,.ruby,.app,.potato{
            padding: 0 0 1em 0;
            margin: 0em 1em 2em 1em;
            max-width: 28vw;
        }
    
        .potato{
            visibility: visible;
            display: block;
        }
    
        .lucky:hover,.ruby:hover,.app:hover,.potato:hover{
            transform: scale(1.05);
            transition-duration: 2s;
            box-shadow: 0 0.6em 1em 0.5em rgba(255, 221, 0, 0.250);
        }

        .connects-container {
            margin-top: 4em;
        }
}

/*ULTRAWIDE*/
@media screen and (min-height:1080px){
    
    .nav-links{
        gap: 20px;
        }
    
        .nav-link{
        font-size: larger;
        }
    
        .carla1,.carla2{
        height: 40vh;
        bottom: 0;
        }
    
        .welcome-text{
            font-size: xx-large;
            top: 10vh;
            }
    
        .skills{
            top: 44vh;
        }
    
        .skills img{
            height: 7vh;
        }
    
        .next-content1,.arrow{
            bottom: 2vh;
            right: 50%;
        }
    
        .next-content2 .arrow1{
            bottom: 2vh;
            right: 50%;
        }
    
        .home,.arrow2{
            right: 50%;
        }
    
        /*arreglar bug que desplaza la flecha
        .arrow:hover,.arrow1:hover,.arrow2:hover{
            transform: scale(1.5);
            transition-duration: 2s;
        }
        */
    
        .connect a:hover{
        color: rgb(255, 221, 0);
        }
    
        .projects{
            width: 100vw;
            height: 100vh;
            max-height: 100vh;
        }
    
        .projects-text{
            font-size: x-large;
            margin-bottom: 2vh;
        }
    
        .projects-container {
            max-width: 60vw;
            max-height: 90vh;
            height: 75vh;
            justify-content: space-evenly;
            align-items: center;
        }
    
        .projects-container h3{
            margin: 1.2vh 0;
            font-size: x-large;
        }
        
        .project-tile img{
            max-width: 20vw;
        }
    
    
        .lucky,.ruby,.app,.potato{
            padding: 0 0 1em 0;
            margin: 0em 2em 2em 2em;
            max-width: 20vw;
        }
    
        .potato{
            visibility: visible;
            display: block;
        }
    
        .lucky:hover,.ruby:hover,.app:hover,.potato:hover{
            transform: scale(1.05);
            transition-duration: 2s;
            box-shadow: 0 0.6em 1em 0.5em rgba(255, 221, 0, 0.250);
        }

        .connects-container {
            margin-top: 5em;
        }
}