*{
    margin:0;
    padding:0;
    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{
    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{
    animation-name:banner;
    animation-duration: 1.5s;
    color:rgba(255, 255, 255, 0.919);
}

#description{
    color:white;
    text-shadow: 1px 1px 2px black;
    font-size:22px;
}
#menu{
    display:none;
}
#cell{
    display:none;
}

.banner-text{
    text-align: center;
    margin-top:30%;
    margin-left: 22%;
}
@media (max-width: 32.5rem) {
    #banner{
        background-image: none;
        background-color:rgb(0, 27, 60);
        height:40vh;
    }
    .banner-text{
        margin-top: 30vh;
        margin-left:0;
    }
    #logo{
        width:40%;
    }
}
/* end banner */
/* Servicios */
#servicio1{
    margin-top: 5%;
}
.servicios{
    height:35%;
    width:90%;
    display: grid;
    grid-template-columns: 70% 30%;
    margin:auto;
    margin-bottom: 5%;
    background-color: #f8f8f8;
    border-radius:5px;
    box-shadow: 1px 5px 10px 2px rgba(0, 0, 0, 0.151);
}
.servicios:hover{
    box-shadow: 1px 5px 10px 2px rgba(0, 62, 156, 0.625);
    transition: all 0.25s ease-in-out 0s;
    transform:scale(1.05);
}
.servicios2{
    height:35%;
    width:90%;
    display: grid;
    grid-template-columns: 70% 30%;
    margin:auto;
    margin-bottom: 5%;
    background-color: #f8f8f8;
    border-radius:5px;
    box-shadow: 1px 5px 10px 2px rgba(0, 0, 0, 0.151);
}
.servicios2:hover{
    box-shadow: 1px 5px 10px 2px rgba(255, 190, 59, 0.625);
    transition: all 0.25s ease-in-out 0s;
    transform:scale(1.05);
}

.servicios img{
    width:100%;
    align-self: flex-end;
    border-radius: 5px;
}


.servicios2 img{
    width:100%;
    align-self: flex-end;
    border-radius: 5px;
}

.servicios-info{
    display: grid;
    grid-template-columns: 30% 70%;
    grid-template-rows: 30% 70%;
    padding:10px;
}

.servicios-info img{
    grid-area: 1/1/2/2;
    width: 35%;
    justify-self:center;
    align-self: center;
}
.servicios-info h3{
    align-self: center;
    font-size: 20px;
    grid-area: 1/2/2/3;
    font-family: 'Oswald', sans-serif;
    font-size:30px;
}
.servicios-info p{
    grid-area: 2/1/3/3;
    width: 90%;
    font-size: 15px;
    margin-top:30px;
    align-self: start;
    justify-self: center;
    text-align: justify;
    padding:15px;
    border-radius:5px;
}

@media (max-width: 32.5rem) {
    .servicios{
        grid-template-columns:100%;
        margin-bottom: 20%;
        box-shadow: 1px 5px 10px 2px rgba(0, 0, 0, 0.5);
        
    }
    .servicios2{
        grid-template-columns:100%;
        margin-bottom: 20%;
        box-shadow: 1px 5px 10px 2px rgba(0, 0, 0, 0.5);
    }
    .servicios-info{
        grid-template-columns: 20% 80%;
        grid-template-rows: 30% 70%;
        padding:10px;
    }
    .servicios-info img{
        width:100%;
    }
    .servicios-info h3{
        text-align:center;
    }
}
/* End Servicios */

/* Servicios contacto */
/* #servicios-contacto{
    width:95%;
    display: flex;
    justify-content: center;
    margin: auto;
    align-items: center;
    margin-bottom:10%;
    margin-top:5%;
    border: 1px solid #000;
    background-color: #ffdd88;
    padding:10px;
    border-radius: 10px;
}
#servicios-contacto-img{
    width: 50%;
}
#servicios-contacto-img img{
    border-radius: 5px;
    width: 80%;
}
#servicios-contacto-texto{
    display: inline-block;
    text-align: center; 
    margin:auto;
    width: 50%;
    
}
#servicios-contacto-texto h3{
    color:rgb(0 59 130);
    padding: 15px;
    font-family: 'Oswald', sans-serif;
    font-size:30px;
}
#servicios-contacto-texto p{
    margin-top: 5%;
color:rgb(209, 209, 209);
}
#servicios-contacto-texto a{
    margin-top: 20%;
    padding: 10px;
    background-color: transparent;
    cursor:pointer;
    border-radius:30px;
    color:#000;
    font-size:18px;
    border: 1px solid #000;
    text-decoration: none;
}
#servicios-contacto-texto a:hover{
    transition: all 0.4s ease-in-out 0s;
    background-color: rgb(0 59 130);
    color:#fff;
    text-decoration:none;
} */
#contacto-div{
    /* display: flex; */
    text-align: center;
    align-items: center;
    justify-content: center;
    background-color: rgb(238, 238, 238);
    padding:20px;
    background-image: url("/src/img/fondoContacto2.jpg");
    background-size: cover;
    background-position: center center;
    padding: 40px;
}
#contacto-div h2{
    font-size: 40px;
    color: #fff;
    text-shadow: 1px 1px 2px black;
    padding: 10px;

}
#contacto-div p{
    font-size: 30px;
    color: #fff;
    padding: 20px;
    text-shadow: 1px 1px 2px black;
}

#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;
    padding: 5px;
    text-decoration: none;
}

#send:hover{
    background: #ffdd88;
    box-shadow: 0 20px 20px rgb(0 0 0 / 75%);
    transform: translateY(-5px)!important;
}

@media (max-width: 32.5rem) {
    #servicios-contacto{
        width:90%;
        height:35vh;   
        margin-top:15%;
    }
}
/* end Servicios contacto */
/* Footer */
footer{
    text-align: center;
    background-color:rgb(0, 27, 60);
    color: #fff;
    padding:3%;
}
/*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*/
@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: 70%;
        margin-left:0;
    }
    #logo{
        width:30%;
    }
    #nav-content ul li{
        display:none;
    }
    #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) {
    #banner{
        height: 30vh;
    }
    #banner-title{
        margin-top:32%;
    }
    #nav-content img{
        width:25%;
    }
    nav{
        width: 90%;
    }
    #nav-content ul li{
        padding: 14px;
    }
}