
/*
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(0, 0, 0);
    display: block;
}
section{
    width: 100%;
    height: 100vh;
}
p, h1, h2, a{
    font-family: "Cormorant Garamond", serif;
}
h2{
    color: #e2dbc1;
    font-size: 2em;
    font-weight: 500;
}

/*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);
    }

}
/*Slide_1 
*********************************************************************************************************************
*/
#home{
    width: 100%;
}
/*Crear un margin 10 para el espacio del navbar en mobile*/
@media (max-width: 900px){
    #home{
        padding-top: 10vh;
    }
}
/*
Slide 2, vision y mision, ambas son secciones diferentes pero se ven omo una sola
*********************************************************************************************************************
*/
#vision, #mision{
    width: 100%;
    height: 50vh;
    background-color: rgb(0, 0, 0);
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
}

/*Contenedor de los textos eh imagenes*/
.masterdiv2{
    width: 80%;
    height: 80%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}

/*Text*/
.text{
    color: #fff;
    text-align: center;
    width: 45%;
    font-size: 20px;
    font-weight: 200;
}
/*Img, son divs con fondos*/
#visionimg{
    width: 45%;
    height: 100%;
    background-image:  url(images/visionimg.jpeg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    
}
.misionimg{
    width: 45%;
    height: 100%;
    background-image:  url(images/misionimg.jpeg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}
/*Imagen utilizada para version mobile*/
#imagen2{
    display: none;
}

/*Mobile screen*/
@media (max-width: 900px) {
    /*Poner los elementos del contenedor padre en vertical*/
    .masterdiv2{
        width: 100%;
        flex-direction: column;
    }
    /*Quitar barras decorativas*/
    #vision img, #mision img{
        display: none;
    }
    /*Alargar contenedores*/
    #vision, #mision{
        height: 100vh;
    }
    .text{
        width: 80%;
        margin:30px;
    }
    /*Quitar iamgen de arriba para poner la que esta abajo del texto*/
    #imagen1{
        display: none;
    }
    #imagen2{
        width: 80%;
        height: 100%;
        display: block;
    }
    #visionimg{
        width: 80%;
        height: 100%;
    }
    /*Subrayar titulos*/
    h2{
        text-decoration: underline 2px #817b6c;
    }
    
}
/*
Slide _3, como Alive surgio
*********************************************************************************************************************
*/
/*Divisor inicial*/
.shapedividers{
    overflow:hidden;
    position:relative;
    }
.shapedividers::before{ 
    content:'';
    font-family:'shape divider from ShapeDividers.com';
    position: absolute;
    z-index: 3;
    pointer-events: none;
    background-repeat: no-repeat;
    bottom: -0.1vw;
    left: -0.1vw;
    right: -0.1vw;
    top: -0.1vw; 
    background-size: 144% 56px;
    background-position: 50% 0%; 
    transform: rotateY(180deg); 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="M0 .5c3.07.55 9.27-.42 16.14 0 6.88.4 13.75.57 19.14-.11V0H0z" fill="%23000000"/><path d="M0 1c3.17.8 7.29-.38 10.04-.55 2.75-.17 9.25 1.47 12.67 1.3 3.43-.17 4.65-.84 7.05-.87 2.4-.02 5.52.88 5.52.88V0H0z" opacity=".5" fill="%23000000"/><path d="M0 1.85c2.56-.83 7.68-.3 11.79-.42 4.1-.12 6.86-.61 9.58-.28 2.73.33 5.61 1.17 8.61 1 3-.19 4.73-.82 5.3-.84V.1H0z" opacity=".5" fill="%23000000"/></svg>'); 
}
@media (min-width:2100px){
    .shapedividers::before{
    background-size: 144% calc(2vw + 56px);
    }
}

/*Testimonio de Kathy*/
#testimonio{
    background-color: rgb(255, 255, 255);
    display: flex;
    justify-content: center;
    align-items: center;
}
/*Contenedor padre de img y text*/
#testimonio .masterdiv{
    width: 70%;
    height: 90%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}
/*Texto*/
.texto h2{
    font-weight: 600;
    color: #817b6c;
    margin-bottom: 30px;
}
.texto{
    width: 45%;
    height: 70%;
    color: #000;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-weight: 500;
}
/*Img de Kathy*/
.imgtest{
    width: 40%;
    height: 80%;
    background-image: url(images/kathy.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    border: solid 5px #817b6c;
    border-radius: 20px;
}
/*Mobile screen*/
@media (max-width:730px){
    /*Poner todo en una columna*/
    #testimonio .masterdiv{
        width: 90%;
        height: 90%;
        flex-direction: column;
    }
    /*Cambiar tamaño de letras*/
    .texto h2{
        font-weight: 600;
        color: #817b6c;
        margin-bottom: 0;
    }
    .texto{
        width: 80%;
        font-size: 90%;
        margin-bottom: 10px;
    }
    
    /*Cambiar parametros de img*/
    .imgtest{
        width: 50%;
        height: 60%;
        background-image: url(images/kathy.jpg);
        background-repeat: no-repeat;
        background-position: center center;
        background-size: cover;
        border: solid 5px #817b6c;
        border-radius: 20px;
    }
} 

/* 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%;;
    }
}
