*{
    margin: 0;
    cursor: url(../img/cursor.png), auto;
}

::-webkit-scrollbar {
    width: 3px;
}

::-webkit-scrollbar-track {
    background: white;
}

::-webkit-scrollbar-thumb {
    background: black;
}

a {
    text-decoration: none;
    color: inherit;
    transition: .1s;
    transition-timing-function: ease-in-out;
}

a:hover {
    cursor: url(../img/cursorlink.png), pointer;
    transition: .1s;
    transition-timing-function: ease-in-out;
}

body{
    display: flex;
    flex-direction: column;
    align-items: center;
    background-repeat: no-repeat;
}

#sidebar{
    width: 90%;
    border-radius: 20px;
    height: 50px;
    border: solid black 2px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 50px;
}


#logo{
    width: 150px;
    height: 50px;
    text-align: center;
    border-right: solid black 2px;
    background-image: url(../img/logo.svg);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

#logo a{
    width: 100%;
    
}

#menu{
    display: flex;
    flex-direction: row;
    font-family: 'Space Grotesk', sans-serif;
    color: black;
    font-weight: 700;
    font-size: .95em;
    letter-spacing: 1px;
    align-items: center;
    margin-right: 3vw;
}

#menu a{
    width: 100%;
    margin: 0 2vw;
}

#menu a:hover {
    border-bottom: solid black 2px;
    padding-bottom: 2px;
    zoom: 1;
	filter: alpha(opacity=50);
	opacity: 0.4;
    transition: .1s;
    transition-timing-function: ease-in-out;
}

.selected{
    border-bottom: solid black 2px;
    padding-bottom: 2px;
}


#content{
    width: 90%;
    margin-top: 5vh;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#about{
    width: 45%;
    display: flex;
    flex-direction: row;
    align-items: center;
}


#top_text{
    width: 100%;
    
}

#top_name{
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.5em;
    font-weight: 700;
    padding-top: 20px;
}

#top_work{
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.3em;
    padding-top: 10px;
}

#intro{
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 400;
    font-size: 1.6em;
    margin-top: 20px;
    padding-top: 2vh;
    line-height: 1.7em;
    letter-spacing: -.5px;
}

#intro a{
    font-weight: 500;
    opacity: .5;
}

#intro a:hover{
    font-weight: 500;
    opacity: 1;
}

#contact{
    width: 30%;
}

#contact_photo{
    width: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 20px;
}


#contact_title{
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 2em;
    padding-top: 40px;
    text-align: end;
}

#contact_desc{
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 400;
    font-size: 1.6em;
    line-height: 1.7em;
    padding-top: 2vh;
    text-align: end;
}

#links{
    margin-top: 5vh;
    display: flex;
    flex-direction: column;
    text-align: end;
}

#links a{
    opacity: 1;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    font-size: 1.5em;
    margin-bottom: 2vh;
    transition: .2s;
    transition-timing-function: ease-in-out;
}

#links a:hover{
    opacity: 0.4;
    transition: .2s;
    transition-timing-function: ease-in-out;
}


footer{
    width: 90%;
    height: 50px;
    border: solid white 2px;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    margin-top: 10vh;
    background-color: black;
}

#logo_footer{
    width: 150px;
    height: 50px;
    text-align: center;
    border-right: solid white 2px;
    background-image: url(../img/logo_white.svg);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

#logo_footer a{
    width: 100%;
    
}

footer div{
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 400;
    font-size: .9em;
    color: white;
}

#arrow{
    width: 50px;
    border-left: solid white 2px;
}

footer img{
    transform: rotate(270deg);
}


/* TABLET*/


@media only screen and (max-width: 1200px){
    #logo{
        width: 150px;
        text-align: center;
    }

    #logo img{
        max-width: 100%;
        height: auto;
        padding: 0;
    }

    #menu{
        font-size: 1em;
        letter-spacing: 1px;
        align-items: center;
    }
        
    #content{
        flex-direction: column;
    }
        
    #about{
        width: 100%;
    }
        
    #contact{
        width: 100%;
        padding-top:4vh;
    }
    
    
    
}

@media only screen 
    and (min-device-width : 500px) 
    and (max-device-width : 1200px){

    #logo{
        width: 150px;
        text-align: center;
    }

    #logo img{
        max-width: 100%;
        height: auto;
        padding: 0;
    }

    #menu{
        font-size: 1em;
        letter-spacing: 1px;
        align-items: center;
    }
        
    #content{
        flex-direction: column;
    }
        
    #about{
        width: 100%;
    }
        
    #contact{
        width: 100%;
        padding-top:4vh;
    }
    
}

/*MOVIL*/

@media only screen and (max-width: 650px){
    
    #sidebar{
        height: 80px;
    }
    
    #logo{
        width: 30%;
        height: auto;
        text-align: center;
    }

    #logo img{
        max-width: 100%;
        height: auto;
        padding: 0;
    }

    #menu{
        font-size: 2.2em;
        font-weight: 500;
    }
    
    #about{
        font-size: 150%;
    }
    
    #contact{
        font-size: 150%;
    }
    
    footer{
        height: 80px;
    }
    
    #logo_footer{
        width: 30%;
        height: 80px;
    }
        
    #copyright{
        font-size: 1.6em;
    }
    
    #footer_self{
        display: none;
    }
    
    #arrow{
        width: 80px;
    }
    
}


@media only screen 
and (min-device-width : 100px) 
and (max-device-width : 650px){
        
    #sidebar{
        height: 80px;
    }
    
    #logo{
        width: 30%;
        height: auto;
        text-align: center;
    }

    #logo img{
        max-width: 100%;
        height: auto;
        padding: 0;
    }

    #menu{
        font-size: 2.2em;
        font-weight: 500;
    }
    
    #about{
        font-size: 150%;
    }
    
    #contact{
        font-size: 150%;
    }
    
    footer{
        height: 80px;
    }
    
    #logo_footer{
        width: 30%;
        height: 80px;
    }
        
    #copyright{
        font-size: 1.6em;
    }
    
    #footer_self{
        display: none;
    }
    
    #arrow{
        width: 80px;
    }
    
}
