/*
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/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}
body{
    background-color: rgb(255, 255, 255);
    display: block;
}
#textodeno{
    display: none;
}
p, h1, h2, a{
    font-family: "Cormorant Garamond", serif;;
}

/*Nav barr
*********************************************************************************************************************

*/

.navbar{
    width: 100%;
    height: 8vh;
    padding: 20px 10% 10px 10%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    z-index: 5;
    transition: background-color 0.5s ease-in-out;
    background-color: transparent;
}

/*ALIVE textlogo*/
.navbar .logo{
    color: #fff;
    font-family: "Cormorant Garamond", serif;
    font-size: 2.5em;
    font-weight: 1000;
}

.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-family: "Cormorant Garamond", serif;
    font-size: 1.3em;
    font-weight: 200;
}
/*Boton de contactanos*/
.navbar button{
    background-color: #fff;
    padding: 5px 10px;
    border-radius: 20px;
    border: none;
    font-family: "Cormorant Garamond", serif;
}
#textbutton{
    color: black;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.3em;
    font-weight: 500;
}

/*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);
    }

}
/*
slide 1 
*********************************************************************************************************************

*/
section{
    min-height: 100vh;
    position: relative;
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
}
.maintext{
    display: block;
    width: 300px;
    z-index: 1;
}
video{
    position: fixed;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    z-index: 0;
}
.capa{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 0.7;
}
@media (max-width: 900px){
    .maintext{
        display: block;
        width: 50%;
        z-index: 1;
    }
}
/*
slide 2        
*********************************************************************************************************************

*/
.slide_2{
    width: 100%;
    height: 100vh;
    background-color: #bbbbbb;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Slide 2 content */
.mastercards{
    width: 99%;
    height: 99%;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
}

.mastercards a{
    width: 50%;
    height: 50%;
}
/*General card */
.card{
    width: 99%;
    float: left;
    height: 99%;
    color: #fff;
}


/* cards */
/*About card*/
#aboutcard{
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(images/icon2.jpeg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}
#aboutcard:hover{
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),url(images/icon2.jpeg);
}

/*Equipo card*/
#equipocard{
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(images/teamAlive.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}
#equipocard:hover{
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),url(images/teamAlive.png);
}

/*Conferencias card*/
#conferenciascard{
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(images/boletos.jpeg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}
#conferenciascard:hover{
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),url(images/boletos.jpeg);
}

/*Contacto card*/
#donativoscard{
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(images/contactanos.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}
#donativoscard:hover{
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),url(images/contactanos.jpg);
}

/*Content*/
.content{
    transition: 1s;
    width: 100%;
    height: 100%;
    font-family: "Cormorant Garamond", serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.content h3{
    font-size: 2.3em;
    font-weight: 800;
}
.content p{
    font-size: 1.5em;
    font-weight: 100;
}
@media (max-width: 900px) {
    .content h3{
        font-size: 1.5em;
        font-weight: 800;
    }
    .content p{
        font-size: 1em;
        font-weight: 100;
    }
}

/* Footer
*********************************************************************************************************************
*/
.footerslide{
    width: 100%;
    height: 100vh;
    background-color: black;
    display: flex;
    align-items: end;
}
/*Master Dice */
.footerdiv{
    width: 100%;
    height: 70%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    padding: 10px;
}

/*Main text logo */
.footerdiv img{
    width: 500px;
}

/*Social media and slogan masterdiv*/
.footer{
    width: 100%;
    height: 30%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/*Social media */
.socialmedia{
    width: 100%;
    height: 30%;
    display: flex;
    justify-content: center;
    align-items: center;
}
#insta{
    width: 70%;
    padding: 1px;
    margin: 1px;
}
#facebook{
    width: 70%;
    padding: 1px;
    margin: 1px 5px;
}
#gmail{
    width: 70%;
    padding: 1px;
    margin: 1px 5px;
}

/*Slogan */
.footer p{
    width: 70%;
    font-family: "Cormorant Garamond", serif;
    font-size: 25px;
    font-weight: 300;
    color: #fff;
    text-align: center;
    margin-bottom: 20px;
}

@media (max-width: 900px){
    .footerdiv img{
        width: 60%;
    }
    .socialmedia{
        width: 100%;
        height: 30%;;
    }
}