@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    /*overflow-y: hidden;*/
    font-family: 'Montserrat', sans-serif;
}

header{
    top: 0;
    left: 0;
    width:100%;
    height:70px;
    position: fixed;
    z-index:100000;
}

.container{
    width:80%;
    margin: auto;
}
#logo img{
    width:80px;
    height:70px;
    float: left;
}

.botonera{
    float: right;
}

.botonera ul{
    display: flex;
    list-style:none ;
}
.botonera a{
    text-decoration:none;
    display: block;
    padding:20px;
    color: white;
}
.banner{
    background:url(../img/banner.jpg);
    width:100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
}
.overlay{
    background:rgba(77, 149, 190, 0.5);
    width:100%;
    min-height:100vh;
}
.cont-banner{
    position: absolute;
    width:80%;
    top:50%;
    left:50%;
    transform: translate(-50%, -50%);
}
.cont-banner h2{
    text-align: center;
    color:white;
    margin-bottom:15px ;
}

.cont-banner p{
    text-align: center;
    color:white;
    font-size:24px ;
}

main{
    width:80%;
    margin:20px auto;
}
main h3{
    text-align: center;
    margin-bottom: 10px;
    color: darkblue;
    text-transform: uppercase;
}
.parrafo{
    font-size:18px ;
    line-height:30px ;
    text-align: justify;
}
.img-responsive{
    width:450px;
    max-width:100% ;
    display: block;
    margin:20px auto;
}
/*Uso de la Galeria*/
section{
    width:80%;
    margin:auto;
    display:flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
article{
    width:400px;
}
article h2{
    margin-bottom: 10px;
    color: darkblue;
}
.text-nosotros .linea{
    margin: auto;
}
.linea{
    border:2px solid skyblue;
    margin-bottom: 10px;
    width:250px;
}

article img{
    width:100%;
}
.galeria{
    width:80%;
    margin:20px auto;
}
#menu{
    display:none;
}
.botones{
    background: darkblue;
    padding: 10px;
    color: white;
    border-radius: 50%;
    border: 0;
}
.botones:focus{
    outline:0 none;
}

.article-2{
    display:flex;
    align-items: center;
}
#subir{
    display: none;
    position: fixed;
    bottom: 0;
    right:0;
    font-size: 30px;
    color:white;
    background: darkblue;
    padding:15px 20px;
    border-radius: 50%;
    margin: 15px;
    transition: 300ms;
    color: skyblue;
    text-decoration: none;
}
.fondo-contactos{
    margin:20px 0px;
}
.contactos{
    width: 80%;
    margin:20px auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.contact{
    width:500px;
}
.formulario{
    background: rgb(49, 148, 187);
    color: white;
    padding: 10px;
}
.formulario h2{
    text-align: center;
    margin-bottom: 10px;
}
input[type="text"], input[type="email"]{
    width: 100%;
    height: 35px;
    margin:10px 0px;
}
input[type="text"]:focus, input[type="email"]:focus{
    outline:0 none;
}
textarea{
    width: 100%;
    margin:10px 0px;
}
textarea:focus{
    outline:0 none;
}
input[type="submit"]{
    background: black;
    padding: 10px;
    color: white;
    padding: 20px;
    display: block;
    margin: auto;
}
.text-contactos{
    text-align: center;
    text-transform: uppercase;
}
.text-contactos h3{
    text-align: center;
    color: darkblue;
}
.text-contactos .linea{
    margin: auto;
}
.listas li{
    list-style-image: url(../img/lista.png);
    line-height: 30px;
}
.contact h3{
    margin-bottom: 10px;
}

@media only screen and (max-width:980px){
    .cont-banner p{
        display:none;
    }
    #menu{
        display:block;
        float:right;
        font-size:30px;
        margin:15px;
    }
    .container{
        width:90%;
    }
    .botonera{
        float:none;
        position: relative;
        left:-150%;
        transition:0.5s ease-out;
    }
    .click{
        left:0%;
        transition:0.5s ease-out;
    }
    .botonera ul{
        flex-direction: column;
        position:absolute;
        top:70px;
        background:rgb(88, 183, 221);
        width:100%;
    }
    .botonera a{
        border-bottom:2px solid darkblue;
    }
    main, section{
        width: 90%;
    }
    article{
        width: 45%;
    }
    #img{
        width: 80%;
        margin: auto;
    }
  
}

@media only screen and (max-width:480px){
    main, section{
        width: 98%;
    }
    article{
        width:100%;
    }
}