*{
    margin:0;
    padding:0;
    /* font-family: sans-serif; */
    font-family: 'Roboto', sans-serif;
}

body{
    overflow-x:hidden;
}
/* Navigation */
nav{
    position: absolute;
    top: 5%;
    left: 0;
    right: 0;
    margin: auto;
    background-color:rgb(255, 255, 255);
    position:absolute;
    width:80%;
    box-shadow: 0 15px 30px -15px rgba(0, 0, 0, 0.664);
}
#link-logo{
    padding:0;
    text-decoration: none;
}
#nav-content{
    display:inline-block;
    width:95%;
} 
#nav-content ul{
    margin:0;
    padding:0;
    display:inline;
}
#nav-content a{
    vertical-align: middle;  
}
#nav-content ul li{
    display:inline;
    padding: 28px;
    float:right;
    font-size:30px;
}

#nav-last{
    margin-right: 3%;   
}
#logo{
    width:18%;
    padding: 12px;
}

.nav-link{
    color:#686868;
    text-decoration:none;
}
.nav-link:hover{
    color:#000000;
    border-bottom: 3px solid #ffdd88;
    border-radius: 3px;
    text-decoration:none;
}

/* End Navigation  */
/* Banner */
#banner{
    /* margin-top: 6%; */
    display:inline-block;
    background-image: url(/src/img/banner-final.jpg);
    height: 70vh;
    background-size:cover;                   
    background-repeat:no-repeat;
    background-position: top;
    width: 100%;
}
#banner-title{
    color:rgba(255, 255, 255, 0.919);
    animation-name:banner;
    animation-duration: 1.5s;
}

#description{
    color:white;
    text-shadow: 1px 1px 2px black;
    font-size:22px;
}

.banner-text{
    text-align: center;
    margin-top:30%;
    margin-left: 22%;
}

#menu{
    display:none;
}

#cell{
    display:none;
}

/*fuentes */
@font-face{
    font-family: CaviarDreams;
    src: url(/font/CaviarDreams.ttf);
}
*{
    font-family: 'Oswald', sans-serif;
}
h1, h2, h3, h4{
    font-family: 'CaviarDreams';
}
ul li a{
    font-family: 'CaviarDreams';
    font-weight:bold;
    font-size:22px;
}
h1 span, #banner-text{
    font-family: 'CaviarDreams';
}
/*end fuentes*/

@media (max-width: 32.5rem) {
    #banner{
        background-image: none;
        background-color:rgb(0, 27, 60);
        height:40vh;
    }
    .banner-text{
        margin-top: 70%;
        margin-left:0;
    }
    
    
}
/* end banner */

/* Informacion de contacto */
#contacto{
    display:grid;
    grid-template-columns: 60% 40%;
    padding-top: 5%;
    padding-bottom: 5%;
    background-color:#efefef;
    height:45vh;
    justify-content: center;
}
#imagen-contacto{
    justify-self: center;
    width: 90%;
}
#imagen-contacto iframe{
    height: 100%;
    width: 100%;
}
#direccion{
    margin:auto;
    text-align: center;
}

#metodos{
    display:grid;
    grid-template-columns:20% 80%;
    grid-template-rows: 33% 33% auto;
    justify-content:center;
    align-items:center;
}
#phone{
    width:40%;
}
#email{
    width:50%;
}
#facebook{
    width:45%;
}

@media (max-width:32.5rem){
    #contacto{
        height:80vh;
        grid-template-columns: 100%;
        grid-template-rows: 50% 50%;
    }
    
    #imagen-contacto iframe{
        height: 45vh;
        width: 350px;
    }
    #metodos{
        width: 80%;
        padding:5%;
        align-self: center;
        gap:10%;
        justify-self:center;
    }
    #phone{
        width: 70%;
    }
    #email{
        width: 95%;
    }
    #facebook{
        width: 90%;
    }
}
/* End Contacto info */

/* Form */
#contactanos-titulo{
    margin-top: 5%;
    text-align:center;
    font-size: 25px;
}
#contactanos-titulo span{
    border-bottom: 3px solid #ffdd88;
    font-size:30px;
    font-family: 'Oswald', sans-serif;
}
.formulario{
    width:50%;
    height:40vh;
    margin:auto;
    margin-bottom:5%;
    margin-top:5%;
    padding:3%;
    background-color:rgb(0, 27, 60);
    border-radius: 10px;
    box-shadow: 0 25px 30px -15px rgba(0, 0, 0, 0.905);
}
form{
    display: grid;
    grid-template-rows: 1fr 1fr 1fr 15%;
    grid-template-columns: 1fr 1fr;
    grid-gap:2%;
    height:100%;
}
.formulario1{
    height:100%;        
    grid-area: 1/1/4/2;
}
.formulario1 input{
    width:100%;
    height:15%;
    margin-bottom: 4%;
    background-color: transparent;
    border: none;
    border-bottom: 4px solid rgba(210, 210, 210, 0.895);
    color: #fff;
}
.formulario1 input:focus, .formulario2 textarea:focus{
    outline: none;
    border-bottom: 4px solid #ffdd88;
}
.formulario2{
    grid-area: 1/2/4/3;
}

input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
    -webkit-appearance: none; 
    margin: 0; 
}

input[type=number] { -moz-appearance:textfield; }

.formulario2 textarea{
    width:100%;
    background-color: transparent;
    border: none;
    border-bottom: 4px solid rgba(210, 210, 210, 0.895);
    color: #fff;
}
.formulario button{
    grid-area: 4/1/5/3;
    width:20%;
    justify-self: center;
}
.formulario2 textarea{
    height: 82%;
}

#send{
    background: transparent;
    color: #000;
    cursor: pointer;
    background: #ffcd4f;
    transition: all 0.4s ease-in-out!important;
    border: none;
    border-bottom: 5px solid #dfaa26;
    border-radius:5px;
}

#send:hover{
    background: #ffdd88;
    box-shadow: 0 20px 20px rgb(0 0 0 / 75%);
    transform: translateY(-5px)!important;
}

@media (max-width:32.5rem){
    .formulario{
        height:60vh;
        width:80%;
    }
    form{
        grid-template-rows: 1fr 1fr 10%;
        grid-template-columns: 1fr;
    }
    .formulario1{
        grid-area: 1/1/2/2;
    }
    .formulario2{
        grid-area: 2/1/3/2;
        margin-top: 5%;
    }
    .formulario button{
        grid-area: 3/1/4/4;
        width:40%;
    }

    .formulario1 input{
        height:20%;
        margin-bottom: 4%;
        background-color: transparent;
        border: none;
        border-bottom: 4px solid rgba(210, 210, 210, 0.895);
        color: #fff;
    }
}


/* end Form */
/* Footer */
footer{
    text-align: center;
    background-color:rgb(0, 27, 60);
    color: #fff;
    padding:3%;
}

@Keyframes left{
    0%{
        transform: translateX(-80%);
    }
    100%{
        transform: translateX(0%);
    }
}
@Keyframes right{
    0%{
        transform: translateX(80%);
    }
    100%{
        transform: translateX(0%);
    }
}

@Keyframes subir{
    0%{
        transform: translateY(80%);
    }
    100%{
        transform: translateY(0%);
    }
}

@Keyframes banner{
    0%{
        transform: translateX(30%);
    }
    100%{
        transform: translateX(0%);
    }
}


@media (max-width: 32.5rem) {
    body nav{
        width:90%;
    }
    h1{
        text-shadow: 1px 1px 2px black;
    }
    #banner{
        background-image: url("/src/img/banner-movil2.jpeg");
        height:40vh;
    }
    .banner-text{
        margin-top: 30vh;
        margin-left:0;
    }
    #logo{
        width:30%;
    }
    #nav-content ul li{
        display:none;
    }
    #nav-content ul{
        width:100%;
    }
    #menu{
        display:inline;
        width:12%;
        justify-self: end;
        margin-left:45%;
        background: transparent;
        border:none;
    }
    #menu img{
        width:100%;
        vertical-align: middle;
    }
    #cell{
        margin-left:30%;
        text-align: center;
        /* display:block; */
        width:70%;
        background-color:rgb(0, 27, 60);
        height:100vh;
    }
    #cell ul li{
        list-style: none;
        padding:5%;
        border-bottom:1px solid rgb(1, 50, 111);
    }
    #cell ul li a{
        color:#fff;
    }
    #cell button{
        background: transparent;
        border: none;
    }
    #exit{
        margin-left:-80%;
        margin-top:5%;
        width:10%;
    }
    #exit img{
        width:100%;
    }
}


@media (min-width:32.6rem) and ( max-width:64rem){
    #contacto{
        height:80vh;
        grid-template-columns: 100%;
        grid-template-rows: 60% 40%;
    }
    #imagen-contacto{
        width: 80%;
    }
    #imagen-contacto iframe{
        height: 45vh;
        width: 100%;
    }
    #metodos{
        grid-template-columns:20% min-content;
        grid-template-rows: 33% 33% auto;
        width: 80%;
        padding:5%;
        align-self: center;
        gap:10%;
        justify-self:center;
    }
    #phone{
        width: 40%;
    }
    #email{
        width: 55%;
    }
    #facebook{
        width: 50%;
    }
}

@media (min-width:32.6rem) and (max-width: 64rem) {
    #banner{
        height: 30vh;
    }
    #banner-title{
        margin-top:32%;
    }
    #nav-content img{
        width:25%;
    }
    nav{
        width: 90%;
    }
    #nav-content ul li{
        padding: 14px;
    }
}


@media (min-width:32.6rem) and (max-width:64rem){
    .formulario{
        height:60vh;
        width:70%;
    }
    form{
        grid-template-rows: 1fr 1fr 10%;
        grid-template-columns: 1fr;
    }
    .formulario1{
        grid-area: 1/1/2/2;
    }
    .formulario2{
        grid-area: 2/1/3/2;
        margin-top: 5%;
    }
    .formulario button{
        grid-area: 3/1/4/4;
        width:20%;
    }

    .formulario1 input{
        height:20%;
        margin-bottom: 4%;
        background-color: transparent;
        border: none;
        border-bottom: 4px solid rgba(210, 210, 210, 0.895);
        color: #fff;
    }
}
