/*
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: 80vh;
}
section a{
    width: 100%;
    height: 100%;
}
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);
    }

}

/*Home
*********************************************************************************************************************

*/
#home{
   height: 100vh;
   position: relative;
}

video{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.capa{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1c1c1d;
    opacity: 0.5;
    mix-blend-mode: overlay;
}

.promo{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    margin: auto;
    position: relative;
    z-index: 2;
}

#home .promo h1{
    font-size: 3cm;
    transition: 0.5s;
    color: transparent;
    margin: 0;
}
/*Section 1
*********************************************************************************************************************

*/
#section1{
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(media/img/Portadas/comercialesback.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
       
}
#section1:hover{
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(media/img/Portadas/comercialesback.png);
}
a{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; 
    text-decoration: none;
    transition: 0.5s;
}

.headers{
    width: 100%;
    height: 24%;
    text-align: center;
    justify-content: center;
    -webkit-text-stroke: 2px #fff;
    color: transparent; 
    transition: 0.5s;
    font-size: 3cm;
    
}

.text{
    color: transparent;
    transition: 0.5s;
}

/*Section 2
*********************************************************************************************************************

*/
#section2{
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(media/img/Portadas/documentariesback.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;    
}
#section2:hover{
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(media/img/Portadas/documentariesback.png);
}
/*Section 3
*********************************************************************************************************************

*/
#section3{
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url(media/img/Portadas/musicvideosback.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;    
}
#section3:hover{
    background-image: url(media/img/Portadas/musicvideosback.png);
}
a:hover{
    
    .headers{
        color: #fff;
    }
    .text{
        color: #fff;
    }
}

/*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) {
    .navbar .logo{
        width: 15%;
    }

    .headers{
        height: 1.2cm;
        font-size: 6vh;
    }
    section{
        width: 100%;
        height: 60vh;
    }
    /* Video*/
    #home{
        height: 50vh;
        position: relative;
    }

    /* Footer */
    footer{
        width: 100%;
        height: 40vh;
    }
    #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%;
    }
    section{
        width: 100%;
        height: 40vh;
    }
    /* Video*/
    #home{
        height: 50vh;
        position: relative;
    }
}