/*
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, input, textarea{
    font-family: 'Open Sans', sans-serif;
}

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*/
.pcversion1{
    display: none;
}
.pcversion2{
    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 */
    .pcversion2{
        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 */
    .pcversion2{
        width: 30px;
        height: 15px;
        position: relative;
    }
    .navbar label div{
        width: 100%;
        height: 3px;
        background: #fff;
        position: absolute;
        transform: translateY(-50%);
        border-radius: 99px;
        transition: 0.5s;
    }

    /*Lineas*/
    .navbar label div:nth-child(1){
        top: 0;
    }
    .navbar label div:nth-child(2){
        top: 50%;
    }
    .navbar label div:nth-child(3){
        top: 100%;
    }

    /*Confirmacion de check*/
    .pcversion1:checked + .navbar .nav-links{
        height: 100vh;
    }

    /*Animavion de la X*/
    .pcversion1:checked + .navbar label div:nth-child(1){
        transform: rotate(45deg);
        top: 50%;
    }
    .pcversion1:checked + .navbar label div:nth-child(2){
        transform: rotate(-45deg);
        top: 50%;
    }
    .pcversion1:checked + .navbar label div:nth-child(3){
        transform: scale(0);
    }

}
/*Section 1 form
*********************************************************************************************************************

*/
#section1{
    width: 100%;
    height: 100vh;
    padding-top: 10vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
#section1 img{
    width: 90%;
    height: 60%;
    opacity: 80%;
}

#section1 div{
    width: 70%;
    height: 40%;
    display: flex;
    flex-direction: column;
    color: #fff;
}
#section1 div h1{
    color: red;
    height: 15px;
}
#section1 div p{
    letter-spacing: 2px;
    font-weight: 100;
}
/*Section 2 form
*********************************************************************************************************************

*/
#section2{
    width: 100%;
    height: 100vh;
    padding-top: 5vh;
    background-color: rgb(0, 0, 0);
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: solid red 1px;
}

.form-content{
    height: 100%;
    width: 70%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

form{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    width: 80%;
    height: 100%;
}

#section2 label{
    color:#fff ;
    font-size: 1.3em;
    font-weight: 300;
    margin-bottom: 10px;
    width: 100%;
    text-align: start;
}

#nombreyphone{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#nombre{
    display: flex;
    flex-direction: column;
    width: 48%;
}
#pnumber{
    display: flex;
    flex-direction: column;
    width: 48%;
}
#pnumber input{
    display: flex;
    flex-direction: column;
    width: 100%;
}

#section2 input , textarea{
    padding: 17px 14px;
    background-color: #0f0f0f;
    border: 0;
    font-size: 15px;
    color: #fff;
    width: 100%;
    border-radius: 10px;
}

:focus {
    outline: 1px solid red; /*borde al escribir o dar click en text box*/
}

#section2  .btn{
    background-color: rgba(255, 0, 0, 0.5);
    width: 150px;
    align-items: flex-end;
    cursor: pointer;
}

#section2 .btn:hover{
    background-color: #ff0000b6;
}

@media (max-width:900px){
    .form-content{
        width: 100%;
    }

    .form-content{
        width: 100%;
    }

}

/*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: 970px) {
    
    #section1 img{
        width: 100%;
        height: 50%;
    }
    #section1 div{
        align-items: center;
    }
    #section1 div h1{
        text-align: center;
    }
    #section1 div p{
        text-align: center;
    }
    /* 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%;
    }
}

@media (max-width: 750px) {
    .navbar .logo{
        width: 20%;
    }
}