/*
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;;
}

@keyframes aparition {
    0%{  
        opacity: 0;
        transform: scale(2) translateY(75px);
    }
    100%{
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

section{
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
    background: rgb(82, 82, 82);
}

/*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*/
#menu{
    display: none;
}
#menuhamburguer{
    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 */
    #menuhamburguer{
        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 */
    #menuhamburguer{
        width: 30px;
        height: 15px;
        position: relative;
    }
    #menuhamburguer div{
        width: 100%;
        height: 3px;
        background: #fff;
        position: absolute;
        transform: translateY(-50%);
        border-radius: 99px;
        transition: 0.5s;
    }

    /*Lineas*/
    #menuhamburguer div:nth-child(1){
        top: 0;
    }
    #menuhamburguer div:nth-child(2){
        top: 50%;
    }
    #menuhamburguer div:nth-child(3){
        top: 100%;
    }

    /*Confirmacion de check*/
    #menu:checked + .navbar .nav-links{
        height: 100vh;
    }

    /*Animavion de la X*/
    #menu:checked + .navbar #menuhamburguer div:nth-child(1){
        transform: rotate(45deg);
        top: 50%;
    }
    #menu:checked + .navbar #menuhamburguer div:nth-child(2){
        transform: rotate(-45deg);
        top: 50%;
    }
    #menu:checked + .navbar #menuhamburguer div:nth-child(3){
        transform: scale(0);
    }

}

/*Slide 1, home
*********************************************************************************************************************

*/
#slide_1{
    width: 100%;
    height: 100vh;
    background-image:url(images/contactanosback.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

#slide_1 h1{
    color: #fff;
    font-family: "Cormorant Garamond", serif;
    text-align: center;
    font-size: 15vh;
    font-weight: 700;
    margin: 0;
}
#slide_1 h2{
    color: #fff;
    font-family: "Cormorant Garamond", serif;
    font-size: 7vh;
    font-weight: 500;
}

@media (max-width: 970px) {
    #slide_1 h1{
        font-size: 10vh;
    }

    #slide_1 h2{
        font-size: 5vh;
    }
}
@media (max-width: 550px) {
    #slide_1 h1{
        font-size: 5vh;
    }

    #slide_1 h2{
        font-size: 2vh;
    }

}
/*Slide 2, form
*********************************************************************************************************************

*/
#slide_2{
    width: 100%;
    height: 100vh;
    background-color: rgb(0, 0, 0);
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-content{
    background-color: rgb(0, 0, 0);
    height: 80%;
    width: 80%;
    border: solid 5px #817b6c;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.form-content h2{
    color: #fff;
    font-family: "Cormorant Garamond", serif;
    font-size: 2em;
    font-weight: 600;
    margin: 25px 0;
}

form{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    width: 80%;
    height: 100%;
}

form label{
    color:#fff ;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.3em;
    font-weight: 300;
    margin-bottom: 10px;
    width: 100%;
    text-align: center;
}

#nombreyPais{
    display: flex;
    width: 100%;
    justify-content: space-between;
}
#nombre{
    display: flex;
    flex-direction: column;
    width: 48%;
}
#pais{
    display: flex;
    flex-direction: column;
    width: 48%;
}

input , textarea{
    font-family: "Cormorant Garamond", serif;
    padding: 17px 14px;
    background-color: #232324;
    border: 0;
    font-size: 15px;
    color: #fff;
    width: 100%;
}

:focus {
    outline: 1px solid #817b6c; /*borde al escribir o dar click en text box*/
}

.btn{
    background-color: #817b6c;
    width: 150px;
    align-items: flex-end;
    cursor: pointer;
}

.btn:hover{
    background-color: #968f80;
}

@media (max-width:900px){
    .form-content{
        width: 100%;
    }

    .form-content{
        width: 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%;;
    }
}