/*
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: black;
    display: block;
}
@keyframes aparition {
    0%{  
        opacity: 0;
        transform: scale(0) translateY(0);
    }
    100%{
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}
@keyframes desaparition {
    100%{
        opacity: 1;
        transform: scale(1) translateY(0);
    }
    0%{  
        opacity: 0;
        transform: scale(0) translateY(0);
    }
    
}
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, team home
*********************************************************************************************************************
*/
#section1{
    width: 100%;
    height: 100vh;
    background-image: url(images/teamhomebackground.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}
.masterdiv{
    width: 90%;
    height: 80%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}
#section1 .masterdiv h1{/*Team ALIVE nombre*/
    width: 100%;
    height: 10%;
    text-align: center;
    color: #fff;
    margin: 0;
    font-size: 20vh;
    font-weight: 500;
}
#section1 .masterdiv img{ /*Team ALIVE img*/
    width: 30%;
}
#section1 .masterdiv p{ /*Team ALIVE parrafo*/
    width: 90%;
    height: 10%;
    text-align: center;
    color: #fff;
    margin: 0;
    font-size: 3vh;
    font-weight: 300;
}

@media (max-width: 930px){
    #section1 .masterdiv .top{ /*Team ALIVE parrafo*/
        font-size: 10vh;
    }
    #section1 .masterdiv p{ /*Team ALIVE parrafo*/
        height: 30%;
    }
    #section1 .masterdiv img{ /*Team ALIVE img*/
        width: 60%;
        padding: 5% 0;
    }
}
@media (max-width: 470px){
    #section1 .masterdiv { /*Team ALIVE parrafo*/
       justify-content: center;
    }
    #section1 .masterdiv .top{ /*Team ALIVE parrafo*/
        font-size: 5vh;
    }
    #section1 .masterdiv p{ /*Team ALIVE parrafo*/
        font-size: 2.5vh;
    }
}
/*Sections, 
*********************************************************************************************************************
*/
.sections{
    width: 100%;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sections .masterdiv{
    width:70%;
    height: 80%;
    display: flex;
    flex-direction: row;
    justify-content:space-between;
    border: solid 3px #817b6c;
}

.img{
    width: 35%;
    height: 100%;
}

.textinfo{
    width: 70%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    padding: 10px;
}

.textinfo h2 { /*NAME*/
    font-family: "Cormorant Garamond", serif;
    font-size: 6vh;
    font-weight: 500;
    color: #e2dbc1;
}
.textinfo h3{ /*CARGO*/
    font-family: "Cormorant Garamond", serif;
    font-size: 3.5vh;
    font-weight: 500;
    color: #e2dbc1;
}
.textinfo p { /*INFO*/
    font-family: "Cormorant Garamond", serif;
    font-size: 3vh;
    font-weight: 300;
    color: rgb(255, 255, 255);
    margin-top: 30px;
    text-align: justify;
}

/*Personas*/
#kathyimg{
    background-image:url(images/kathyteam.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

#micahimg{
    background-image:url(images/micah.jpeg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

#gerardoimg{
    background-image:url(images/gerardo.jpeg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

#samuelimg{
    background-image:url(images/samuel.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

#leanyimg{
    background-image:url(images/leany.jpeg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

#gabyimg{
    background-image:url(images/gaby.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

@media (max-width: 900px){
        
    .sections .masterdiv{
        flex-direction: column;
        justify-content:center;
    }

    .img{
        width: 50%;
        height: 35%;
    }

    .textinfo{
        width: 90%;
        height: 65%;
        justify-content: center;
        align-items: center;
    }

    .textinfo h2 { /*NAME*/
        font-size: 3vh;
    }
    .textinfo h3{ /*CARGO*/
        font-size: 2vh;
    }
    .textinfo p { /*INFO*/
        font-size: 1.5vh;
    }
}


/* 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%;;
    }
}
