/*
Colores
    black
    #fff como blanco
    rgb(180, 180, 180) para hovers

Letra:
    font-family: "Cormorant Garamond", serif;
    font-size: 2em;
    font-weight: 300;
*/
@import url(https://fonts.googleapis.com/css?family=Open+Sans:700);
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}
body{
    background-color: rgb(0, 0, 0);
    display: block;
}
#textodeno{
    display: none;
}
p, h1, h2, a{
    font-family: 'Open Sans', sans-serif;
}
section{
    width: 100%;
    height: 100vh;
}
u{
    color: red;
}


/*Nav barr
*********************************************************************************************************************

*/

.navbar{
    width: 100%;
    height: 10vh;
    padding: 20px 15% 10px 15%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    z-index: 5;
    transition: background-color 0.5s ease-in-out;
    background-color: black;
}

/*Logo*/
.navbar .logo{
    width: 10%;
}

.nav-links{
    display: flex;
    justify-content: space-between;
}

.navbar a{ /*Pintar todos los links del NAVBAR y quitar cosas extras*/
    color: #fff;
    text-decoration: none;
    margin: 10px;
    font-size: 1em;
}

/*Hover de los links y de los botones*/
.navbar .nav-links a:hover{
    color: rgb(180, 180, 180);
}
.navbar .nav-links button:hover{
    background-color: rgb(180, 180, 180);
}
.navbar .nav-links button:active{
    background-color:#fff;
}
.navbar.scrolled{
    background-color: black;
}

/*Elementos que no deben estar en la version de pc*/
input{
    display: none;
}
label{
    display: none;
}
#contactlink{
    display: none;
}
@media (max-width: 970px) {
    #contactlink{
        display: block;
    }
    .navbar .logo{
        font-size: 1.5em;
    }

    /*Poner elementos que solo apareceran en el cel */
    label{
        display: block;
    }
    .navbar button{
        display: none;
    }
    .navbar{
        background-color: black;
        height: 10vh;
    }
    .nav-links a{
        font-size: 1.3em;
        font-weight: 1000;
    }
    
    .nav-links{
        position: absolute;
        top: 60px;
        background-color: black;
        left: 0;
        flex-direction: column;
        width: 100%;
        align-items: center;
        justify-content: start;
        height: 0;
        transition: 0.5s;
        overflow: hidden;
    }
    .nav-links a:nth-child(1){
        margin-top: 50px;
    }
    
    /*Menu Hamburguer */
    label{
        width: 30px;
        height: 15px;
        position: relative;
    }
    label div{
        width: 100%;
        height: 3px;
        background: #fff;
        position: absolute;
        transform: translateY(-50%);
        border-radius: 99px;
        transition: 0.5s;
    }

    /*Lineas*/
    label div:nth-child(1){
        top: 0;
    }
    label div:nth-child(2){
        top: 50%;
    }
    label div:nth-child(3){
        top: 100%;
    }

    /*Confirmacion de check*/
    input:checked + .navbar .nav-links{
        height: 100vh;
    }

    /*Animavion de la X*/
    input:checked + .navbar label div:nth-child(1){
        transform: rotate(45deg);
        top: 50%;
    }
    input:checked + .navbar label div:nth-child(2){
        transform: rotate(-45deg);
        top: 50%;
    }
    input:checked + .navbar label div:nth-child(3){
        transform: scale(0);
    }

}
/*Section 1
*********************************************************************************************************************

*/
#section1{
    padding: 10vh 20vh 0 20vh;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.header{
    margin: 0 5% 0 0;
    font-size: 3rem;
    line-height: 2cm;
    text-align: start;
    color: #fff;
    margin-bottom: 3%;
}

img{
    margin: 0 0 0 5%;
    width: 12cm;
    border-radius: 10%;
    margin-bottom: 5%;
}
/*Section 2
*********************************************************************************************************************

*/
#section2{
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
#section2 p{
    width: 60%;
    color: #fff;
    text-align: justify;
    font-size: 1.3em;
    font-weight: 200;
}
/*Section 3
*********************************************************************************************************************

*/
#section3{
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;

}

video{
    width: 55%;
    height: 65%;
    border: 1px solid red;
}
/*Footer
*********************************************************************************************************************

*/
footer{
    width: 100%;
    height: 60vh;
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#footer{
    width: 80%;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    border-top: red 2px solid;
}

/* Follow me */
#follow{
    width: 50%;
    height: 30%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
}

#follow img{
    width: 3cm;
    height: 3cm;
    border-radius: 50%;
}

#follow div{
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 5px;
}

#follow div h1{
    width: 100%;
    margin: 0;
}

/* Social Media */
#socialmedia{
    width: 40%;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center; 
}

#socialmedia a{
    display: flex;
    text-decoration: none;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 30%;
    height: 1cm;
    border: #fff solid 2px;
    color: #fff;
    transition: 0.5s;
}

#socialmedia a:hover{
    background-color: #fff;
    color: black;
}

#samuelcredentials{
    color: #fff;
}
/*Mobile
*********************************************************************************************************************

*/
@media (max-width: 950px) {
    #section1{
        padding: 10vh 0 0 0;
        height: 100vh;
        width: 100%;
        flex-direction: column;
    }
    .header{
        width: 80%;
        font-size: 2rem;
        line-height: 1cm;
        text-align: center;
        color: #fff;
        margin-bottom: 5%;
        margin-right: 0;
    }
    #profilephoto{
        width: 8cm;
    }
    #section2{
        height: 100vh;
    }
    #section2 p{
        width: 60%;
        font-size: 0.8em;
    }

    #section3{
        width: 100%;
        height: auto;
        padding: 1cm 0;
        display: flex;
        justify-content: center;
        align-items: center;
    
    }
    video{
        width: 50%;
        height: auto;
        border: 1px solid red;
    }

    /* Footer */
    footer{
        width: 100%;
        height: 40vh;
        padding-top: 2cm;
    }
    #footer{
        flex-direction: column;
    }
    #follow{
        width: 100%;
        height: 30%;
        flex-direction: column;
    }
    #follow img{
        width: 1.5cm;
        height: 1.5cm;
    }
    #follow div h1{
        text-align: center;
    }
    #socialmedia{
        width: 100%;
        padding-top: 10%;
    }
}
