/*
Colores
    black
    #fff como blanco
    rgb(180, 180, 180) para hovers

Letra:
    font-family: "Cormorant Garamond", serif;
    font-size: 2em;
    font-weight: 300;

Dorados para titulos:
        Fondo claro: #817b6c;
        Fondo Obscuro: #e2dbc1;
*/

@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(0, 0, 0);
    display: block;
}
/* Section general*/
section{
    width: 100%;
    height: 100vh;
}
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) {
    .navbar .logo{
        font-size: 1.5em;
    }

    /*Poner elementos que solo apareceran en el cel */
    label{
        display: block;
    }
    .navbar button{
        display: none;
    }
    #contactlink{
        display: block;
    }
    .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, ALIVE conferences
*********************************************************************************************************************

*/
#home{
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
/*Contenedor en el centro*/
#home .masterdiv{
    background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url(images/background.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/*Titulo de homepage*/
#home .masterdiv h1{
    font-family: "Cormorant Garamond", serif;
    font-size: 10vh;
    font-weight: 700;
    color: #e2dbc1;
    text-align: center;
}

#home .masterdiv button {
    font-size: 18px;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-block;
    text-align: center;
    font-weight: bold;
    padding: 0.7em 2em;
    border: 3px solid  #817b6c;
    border-radius: 2px;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.1);
    color: #e2dbc1;
    text-decoration: none;
    transition: 0.3s ease all;
    z-index: 1;
    background-color: transparent;
}
button a{
    text-decoration: none;
    color: #e2dbc1;
}
#home .masterdiv button:before {
    transition: 0.5s all ease;
    position: absolute;
    top: 0;
    left: 50%;
    right: 50%;
    bottom: 0;
    opacity: 0;
    content: '';
    background-color:  #817b6c;
    z-index: -1;
}
  
#home .masterdiv button:hover, #home .masterdiv button:focus {
    color: white;
}
  
#home .masterdiv button:hover:before, #home .masterdiv button:focus:before {
    transition: 0.5s all ease;
    left: 0;
    right: 0;
    opacity: 1;
}
  
#home .masterdiv button:active {
    transform: scale(0.9);
}


/*MOBILE SCREEN hacer mas pequeno el titulo y el boton*/
@media (max-width: 900px){
    #home .masterdiv h1{
        font-size: 5vh;
    }
    #home .masterdiv button{
        font-size: 2vh;
    }
}

/* section 2, OBJETIVOS
*********************************************************************************************************************

*/
#objetivos{
    width: 100%;
    height: 100vh;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}
/*Contenedor en el centro*/
#objetivos .masterdiv{
    width: 90%;
    height: 80%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
/*Cintenedor del texto */
#objetivostext{
    width: 40%;
    height: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
#objetivostext h2{
    font-family: "Cormorant Garamond", serif;
    font-size: 3em;
    font-weight: 700;
    color: #817b6c;
    margin-bottom: 10px;
}
#objetivostext p{
    font-family: "Cormorant Garamond", serif;
    font-size: 1.5em;
    font-weight: 400;
}

/*Contenedor del video*/
#objetivosvideo{
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
#objetivosvideo video{
    width: 100%;
    border: #817b6c solid 7px;
    border-radius: 20px;
}

/*Screen version, solo es poner todo en vartical*/
@media (max-width: 900px){
    #objetivos .masterdiv{
        width: 95%;
        height: 100vh;
        display: flex;
        flex-direction: column;
    }
    #objetivostext{
        width: 100%;
        height: 100%;
    }
    #objetivostext p{
        font-size: 1.2em;
        padding-bottom: 10px;
    }
    #objetivosvideo{
        width: 90%;
        height: 90%;
    }
}

/*Disenos border*/
.bottomdesing{
    overflow:hidden;
    position:relative;
    }
    .bottomdesing::before{
    content:'';
    font-family:'shape divider from ShapeDividers.com';
    position: absolute;
    bottom: -1px;
    left: -1px;
    right: -1px;
    top: -1px;
    z-index: 3;
    pointer-events: none;
    background-repeat: no-repeat; 
    background-size: 100% 30px;
    background-position: 50% 100%;    
    background-image: url('data:image/svg+xml;charset=utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 35.28 2.17" preserveAspectRatio="none"><path d="M35.28 1.67c-3.07-.55-9.27.41-16.15 0-6.87-.4-13.74-.58-19.13.1v.4h35.28z" fill="%23000000"/><path d="M35.28 1.16c-3.17-.8-7.3.4-10.04.56-2.76.17-9.25-1.47-12.68-1.3-3.42.16-4.64.84-7.04.86C3.12 1.31 0 .4 0 .4v1.77h35.28z" opacity=".5" fill="%23000000"/><path d="M35.28.31c-2.57.84-7.68.3-11.8.43-4.1.12-6.85.61-9.57.28C11.18.69 8.3-.16 5.3.02 2.3.22.57.85 0 .87v1.2h35.28z" opacity=".5" fill="%23000000"/></svg>'); 
    }
    
    @media (min-width:768px){
    .bottomdesing::before{
    background-size: 100% 52px;
    background-position: 50% 100%;   
    }  
    }
     
    @media (min-width:1025px){
    .bottomdesing::before{ 
    bottom: -0.1vw;
    left: -0.1vw;
    right: -0.1vw;
    top: -0.1vw; 
    background-size: 147% 90px;
    background-position: 50% 100%;  
    }
    }
    @media (min-width:2100px){
    .bottomdesing::before{
    background-size: 147% calc(2vw + 90px);
    }
    }
     
     
/* section 2 and 3, TALLERES
*********************************************************************************************************************

*/
.talleres{
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
/*Talleres master div*/
.talleres .masterdiv{
    width: 95%;
    height: 96%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
/*Tarjetas de los talleres*/
.cards{
    width: 30%;
    height: 100%;
    border: none;
    border-radius: 25px;
}

/*Tarjeta de humildad*/
#humildad{
    background-image: url(images/humildad.jpeg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

/*Tarjeta de manten viva la llama */
#vivalallama{
    background-image: url(images/vivalallama.jpeg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

/*Tarjeta de oracion y adoracion */
#oracionyadoracion{
    background-image: url(images/oracionyadoracion.jpeg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

/*Tarjeta de rendir cuentas */
#rendircuentas{
    background-image: url(images/rendircuentas.jpeg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

/*Tarjeta de es un estilo de vida*/
#estilodevida{
    background-image: url(images/estilodevida.jpeg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

/* Tarjeta de obedecer */
#obedecer{
    background-image: url(images/obedecer.jpeg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

/*Mobile screen, solo poner las tarjetas en vertical*/
@media (max-width: 900px){
    .talleres .masterdiv{
        flex-direction: column;
    }
    .cards{
        width: 90%;
        height: 30%;
    }
}

/* 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%;;
    }
}