*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'open sans';
}

body::-webkit-scrollbar{
    width: 15px;
}
body::-webkit-scrollbar-thumb{
    background: violet;
    border-radius: 5px;
}

/*---{---}-----{---}------- SCROLL ------{---}------{---}--- */

html{
    scroll-behavior: smooth;
}

.contenedor{
    padding: 60px 0;
    width: 90%;
    max-width: 1000px;
    margin: auto;
    overflow: hidden;
}

.Titulo{
    color: #8a2be2;
    font-size: 30px;
    text-align: center;
    margin-bottom: 60px;
}

/*---{---}-----{---}------- SCROLL ------{---}------{---}--- */

/*---{---}-----{---}------- HEADER ------{---}------{---}--- */

.lugares {
    width: 100%;
    height: 500px;
    background: #ef32d9;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #a9f5f4, #9920fc);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, hsla(101, 80%, 76%, 0.623), rgba(195, 82, 230, 0.575)), url(../images/piltri1.jpg); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    background-size: cover;
    background-attachment: fixed;
    position: relative;
}

.pa-atras{
    color: #752daf;
    display: inline;
    border-radius: 4px;
    height: 30px;
    width: 30px;
    position: relative;
    top: 20px;
    left:20px;
    cursor: pointer;
}

.pa-atras:hover{
    box-shadow: 0.3rem 0.3rem 0.3rem  #752daf;
}


.lugares .textos-lugares{
    display: flex;
    height: 430px;
    width: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.textos-lugares h1{
    margin-bottom: 50px;
    font-size: 50px;
    color: rgb(140, 55, 209);
}

.textos-lugares h2{
    font-size: 30px;
    font-weight: 300;
    color: white;
}

.wave{
    position: absolute;
    bottom: 0;
    width: 100%;
}
/*---{---}-----{---}------- HEADER ------{---}------{---}--- */


/*---{---}-----{---}------- LUGARES 1 ------{---}------{---}--- */

.lugaress1{
    Background-color: hsl(273, 100%, 77%);
    padding-top: 30px;
}

.sobre-lugares .Titulo{
    color: white;
    text-decoration: underline;
}

.contenedor-sobre-lugares {
    display: flex;
    justify-content: space-evenly;
}

.contenedor-sobre-lugares figure{
    position: relative; 
    height: 250px;
    width:  350px;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0px 15px 20px rgba(0,0,0,0.50); 
    cursor: pointer;
}

.capa h3{
    color: white;
    font-family: 'sora';
    margin-top: 120px;
    margin-bottom: 15px;
}

.contenido-textos{
    margin-left: 40px;
    margin-right: 80px;
}

.contenedor-img{
    width: 100%;
    height: 100%;
}

.contenedor-sobre-lugares img{
    border-radius: 5px;
}

.imagen-about-us{
    width: 350px;
    height: 250px;
}

.imagen-about-us{
    width: 100%;
}

.contenedor-img-puelo figure img{
    width: 100%;
    height: 100%;
    transition: all 500ms ease-out;
}

.contenedor-img-puelo figure .capa{
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background: hsla(273, 91%, 27%, 0.3) ;
    transition: all 500ms ease-out;
    opacity: 0;
    visibility: hidden;
    text-align: center;
}

.contenedor-img-puelo:hover  .capa{
    opacity: 1;
    visibility: visible;
}

.btn-toggle2{
    background-color: rgb(94, 12, 133);
    text-decoration: none;
    color: white;
    font-family: 'Sora';
    border: solid 1px black;
    display: inline-block;
    padding: 7px;
    border-radius: 5px;
    margin-top: 20px;
}
.mapita2{
    display: none; 
    padding-top: 20px;
}
.mapaa2{
    background-color: hsl(273, 100%, 77%);
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
.mapa-puelo{
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-bottom: 90px;
}

/*---{---}-----{---}------- LUGARES 2 ------{---}------{---}--- */
.lugaress2{
    background-color: hsl(273, 97%, 74%);
}

.sobre-lugares .Titulo{
    color: white;
    text-decoration: underline;
}

.contenedor-sobre-lugares {
    display: flex;
    justify-content: space-evenly;
}

.contenedor-sobre-lugares figure{
    position: relative; 
    height: 250px;
    width:  350px;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0px 15px 20px rgba(0,0,0,0.50); 
    cursor: pointer;
}

.capa h3{
    color: white;
    font-family: 'sora';
    margin-top: 120px;
    margin-bottom: 15px;
}

.contenido-textos{
    margin-left: 40px;
    margin-right: 80px;
}

.contenedor-img{
    width: 100%;
    height: 100%;
}

.contenedor-sobre-lugares img{
    border-radius: 5px;
}

.imagen-about-us{
    width: 350px;
    height: 250px;
}

.imagen-about-us{
    width: 100%;
}

.contenedor-img-patriada figure img{
    width: 100%;
    height: 100%;
    transition: all 500ms ease-out;
}

.contenedor-img-patriada figure .capa{
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background: hsla(273, 91%, 27%, 0.3) ;
    transition: all 500ms ease-out;
    opacity: 0;
    visibility: hidden;
    text-align: center;
}

.contenedor-img-patriada:hover  .capa{
    opacity: 1;
    visibility: visible;
}

.btn-toggle3{
    background-color: rgb(94, 12, 133);
    text-decoration: none;
    color: white;
    font-family: 'Sora';
    border: solid 1px black;
    display: inline-block;
    padding: 7px;
    border-radius: 5px;
    margin-top: 20px;
}
.mapita3{
    display: none; 
    padding-top: 20px;
}
.mapaa3{
    background-color: hsl(273, 97%, 74%);
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
.mapa-patriada{
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-bottom: 90px;
}

/*---{---}-----{---}------- LUGARES 3 ------{---}------{---}--- */

.lugaress3{
    background-color: hsl(273, 100%, 72%);
}

.sobre-lugares .Titulo{
    color: white;
    text-decoration: underline;
}

.contenedor-sobre-lugares {
    display: flex;
    justify-content: space-evenly;
}

.contenedor-sobre-lugares figure{
    position: relative; 
    height: 250px;
    width:  350px;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0px 15px 20px rgba(0,0,0,0.50); 
    cursor: pointer;
}

.capa h3{
    color: white;
    font-family: 'sora';
    margin-top: 120px;
    margin-bottom: 15px;
}

.contenido-textos{
    margin-left: 40px;
    margin-right: 80px;
}

.contenedor-img{
    width: 100%;
    height: 100%;
}

.contenedor-sobre-lugares img{
    border-radius: 5px;
}

.imagen-about-us{
    width: 350px;
    height: 250px;
}

.imagen-about-us{
    width: 100%;
}

.contenedor-img-cajon figure img{
    width: 100%;
    height: 100%;
    transition: all 500ms ease-out;
}

.contenedor-img-cajon figure .capa{
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background: hsla(273, 91%, 27%, 0.3) ;
    transition: all 500ms ease-out;
    opacity: 0;
    visibility: hidden;
    text-align: center;
}

.contenedor-img-cajon:hover  .capa{
    opacity: 1;
    visibility: visible;
}

.btn-toggle4{
    background-color: rgb(94, 12, 133);
    text-decoration: none;
    color: white;
    font-family: 'Sora';
    border: solid 1px black;
    display: inline-block;
    padding: 7px;
    border-radius: 5px;
    margin-top: 20px;
}
.mapita4{
    display: none; 
    padding-top: 20px;
}
.mapaa4{
    background-color: hsl(273, 100%, 72%);
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
.mapa-cajon{
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-bottom: 90px;
}



/***********-----------MOBIL-----------**********/

@media (max-width:480px){

    .textos-lugares h2{
        font-size: 28px;
        padding-bottom: 60px;
    }

    .sobre-lugares{
        padding-top: 10px;
    }

    .sobre-lugares .Titulo{
        margin-bottom: 30px;
    }

    .contenedor-sobre-lugares{
        display: grid;
    }

    .contenedor-sobre-lugares figure{
        height: 150px;
        width:  200px;
        margin: 0 0 25px 70px;
        position: relative;
    }

    .contenido-textos{
        margin-left: 25px;
        margin-right: 25px;
    }

    .contenido-textos h2{
        font-size: 22px;
    }

    .btn-toggle2{
        margin-top: 45px;
    }
}