/* Global */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

ul{
    list-style: none;
}

model-viewer {
  width: 100%;
  height: 100%;
  background-color: #ffffff;
}


.nav-links.active{
    text-decoration: none;
    font-weight: bold;
}

.logo img{
    float: left;
    width: 150px;
    height: auto;
}

/* Navbar */

.navbar {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 0px;
    color: whitesmoke;
    background-color: hsl(201, 100%, 37%);
}

.nav-links{
    display: flex;
    align-items: center;
}

.nav-links li{
    margin: 0 0px;
}

/*
.link{
    background-color: hsl(201, 100%, 32%);
}
*/

a{
    text-decoration: none;
    color: whitesmoke;
    font-family: Arial;
    font-weight: bold;
    transition: 0.4s ease-in-out;
    padding: 15px;
    display: block;
    background-color: hsl(201, 100%, 37%);
}

.active{
    background-color: hsl(201, 100%, 30%);
}

.navbar a:hover{
    background-color: hsl(201, 100%, 30%);
}

header{
    width: 100%;
    height: 30vh;
    background-image: url('img/Foto_inicio_1.jpg');
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.header-PTAR{
    width: 100%;
    height: 30vh;
    background-image: url('img/PTAR_fondoTitulo2.jpg');
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.header-Servicios{
    width: 100%;
    height: 30vh;
    background-image: url('img/Header_servicios.jpg');
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.header-content{
    margin: 50px;
    color: rgb(255, 255, 255);
    text-align: center;
    font-family: Arial;
    font-weight: bold;
}

.header-content-PTAR{
    margin: 50px;
    color: rgb(0, 0, 0);
    text-align: center;
    font-family: Arial;
    font-weight: bold;
}

.header-content h2{
    font-size: 7vmin;
}

.header-content-PTAR h2{
    font-size: 7vmin;
}

.header-Contacto{
    width: 100%;
    height: 30vh;
    background-image: url('img/Header_contacto1.jpg');
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.line{
    width: auto;
    height: 4px;
    background: rgb(208, 208, 208);
    margin: 0px 20px;
    border-radius: 5px;
}

.header-content h1{
    font-size: 4vmin;
    margin-top: 50px;
    margin-bottom: 30px;
}

.ctn{
    padding: 8px 15px;
    background: white;
    border-radius: 30px;
    color: hsl(201, 100%, 37%);
    font-weight: bold;
}

.menu-btn{
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    cursor: pointer;
    display: none;
}

.sub-menu{
    display: none;
    top: 6%;
    position: relative;
}

.sub-menu ul{
    position: absolute;
}

.navbar ul li:hover .sub-menu{
    display: block;
    position: absolute;
    background-color: hsl(201, 100%, 37%);
    margin-top: 38px;
    margin-left: -8px;
}

.navbar ul li:hover .sub-menu ul{
    display: block;
    margin: 6px;
}

.navbar ul li:hover .sub-menu ul li{
    width: auto;
    padding: 0px;
    border: 1px whitesmoke;
    transition: 0.4s ease;
    text-align: left;
    border-radius: 0px;
}

.menu-desp{
    width: 22px;
    padding: 3px;
    cursor: pointer;
}

/* Descripcion */
section{
    width: 90%;
    margin: 100px auto;
    /*background-color: beige;*/
    font-family: Arial;
    text-align: justify;
}

.row{
    display: flex;
    align-items: center;
    width: 100%;
}

.row .col{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.col img{
    max-width: 95%;
    margin-left: 100px;
}

.descripcion .row{
    margin-top: 20px;    
}

p{
    padding: 10px 20px;
}

.descripcion .ctn{
    margin-top: 30px;
}

/* Descripcion Obras */

.p1Obras{
    text-decoration: none;
    color: hsl(201, 100%, 32%);
    font-family: Arial;
    font-weight: bold;
    font-size: large;
}

.p2Obras{
    text-decoration: none;
    color: black;
    font-family: Arial;
    text-align: justify;
}

.p3Obras{
    text-decoration: none;
    color: black;
    font-family: Arial;
    font-weight: bold;
    text-align: right;
}

.p4Obras{
    text-decoration: none;
    color: black;
    font-family: Arial;
    font-style: italic;
    text-align: right;
}

.pConstruccion{
    text-decoration: none;
    color: black;
    font-family: Arial;
    font-weight: bold;
    text-align: center;
}

.descripcionObras{
    width: 65%;
    margin: 10px auto;
    font-family: Arial;
    /*background-color: beige;*/
}

.rowObras{
    display: flex;
    align-items: left;
    width: 100%;
    justify-content: space-between;
}

.rowObras .colObras{
    display: flex;
    flex-direction: column;
    align-items: left;
}

.rowObras .colObras1{
    align-self: center;
    /*background-color: beige;*/
}

.colObras .imgObras{
    width: 320px;
    margin: 25px;
}

/* Descripcion Servicios */

.descripcionServicios{
    width: 80%;
    margin: 10px auto;
    font-family: Arial;
    /*background-color: beige;*/
}

.rowServicios{
    display: flex;
    align-items: normal;
    width: 100%;
    justify-content: space-between;
}

.rowServicios .colServicios{
    display: flex;
    flex-direction: column;
    align-items: left;
    /*background-color: beige;*/
}

.colServicios .imgServicios{
    /*width: 300px;*/
    max-width: 90%;
    margin-top: 30px;
    margin-left: 30px;
    margin-right: 30px;
    margin-bottom: 6px;
}

.botonServicios{
    width: 84%;
    height: 38px;
    margin: 5px;
    align-self: center;
    background-color: hsl(201, 100%, 37%);
    color: whitesmoke;
    cursor: pointer;
    font-family: Arial;
    font-weight: bold;
    font-size: large;
    margin-bottom: 30px;
    border-radius: 10px;
}

.botonServicios:hover{
    background-color: hsl(201, 100%, 27%);
    transition: 0.4s ease;
}

/* Descripcion Construcción */

.descripcionConstruccion{
    width: 80%;
    margin: 10px auto;
    font-family: Arial;
    /*background-color: beige;*/
}

.rowConstruccion{
    display: flex;
    align-items: normal;
    width: 100%;
    justify-content: space-between;
}

.rowConstruccion .colConstruccion{
    display: flex;
    flex-direction: column;
    align-items: center;
    /*background-color: beige;*/
}

.colConstruccion .imgConstruccion{
    max-width: 90%;
    margin-top: 30px;
    margin-left: 30px;
    margin-right: 30px;
    margin-bottom: 6px;
}

/* Suministro */
.listaSuministro{
    list-style: square;
}

/* Descripcion PTAR */

.descripcionPTAR{
    width: 90%;
    /*height: 400px;*/
    margin: 20px auto;
    font-family: Arial;
    align-items: center;
}

.descripcionPTAR1{
    width: 60%;
    /*height: 400px;*/
    margin: 20px auto;
    font-family: Arial;
    align-items: center;
}

.titlePTAR{
    margin: 10px;
    font-size: 2.5vmin;
    color: rgb(0, 0, 0);
    text-align: center;
    font-family: Arial;
    font-weight: bold;
    background-color: rgb(231, 231, 231);
}    

.rowPTAR0{
    display: flex;
    align-items: center;
    width: 100%;
    height: 450px;
    /*justify-content: space-between;*/
    /*background-color: beige;*/
}

.rowPTAR{
    display: flex;
    width: 100%;
    align-items: center;
    /*justify-content: space-between;*/
    /*background-color: beige;*/
}

.rowPTAR .colPTAR{
    display: flex;
    flex-direction: column;
    align-items: left;
    /*background-color: beige;*/
}

.colPTAR .imgPTAR{
    /*width: 300px;*/
    max-width: 50%;
    margin: auto;
    margin-top: 20px;

}

.linkPTAR1{
    text-decoration: none;
    color: black;
    font-family: Arial;
    font-weight: bold;
    transition: 0.4s ease-in-out;
    padding: 1px;
    display: block;
    background-color: rgb(231, 231, 231);
}

.p1PTAR1{
    text-decoration: none;
    color: black;
    font-family: Arial;
    font-weight: bold;
    text-align: center;
}

.p3PTAR1{
    text-decoration: none;
    color: black;
    font-family: Arial;
    font-weight: normal;
    text-align: center;
}

.rowPTAR1{
    display: flex;
    align-items: center;
    background-color: rgb(231, 231, 231);
}

.rowPTAR1 .colPTAR1{
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rowPTAR1 .colPTAR1_0{
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: end;
    /*background-color: beige;*/
}

.colPTAR1_0 .imgPTARWhats{
    width: 80px;
    margin-left: 180px;
    margin-top: 30px;
    margin-bottom: 30px;
}

/* Descripcion Contacto */

.linkContacto{
    text-decoration: none;
    color: black;
    font-family: Arial;
    font-weight: bold;
    transition: 0.4s ease-in-out;
    padding: 1px;
    display: block;
    background-color: white;
}

.p3Contacto{
    text-decoration: none;
    color: black;
    font-family: Arial;
    font-weight: normal;
    text-align: center;
}

.descripcionContacto{
    width: 99%;
    margin: 10px auto;
    font-family: Arial;
    /*background-color: beige;*/
}

.rowContacto{
    display: flex;
    align-items: center;
}

.rowContacto .colContacto{
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rowContacto .colContacto0{
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: end;
    /*background-color: beige;*/
}

.colContacto0 .imgContactoEmail{
    width: 80px;
    margin-left: 180px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.colContacto0 .imgContactoWhats{
    width: 80px;
    margin-left: 180px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.img-footer{
    width: 50vm;
    height: 25vh;
    background-image: url('img/Foto_inicio_2.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    margin-top: 40px;
    margin-bottom: 40px;
}

.footer{
    width: 100%;
    min-height: 0px;
    padding: 0px 0px;
    margin: 0;
    background-color: hsl(201, 100%, 37%);
    text-align: center;
}

.footer p{
    color: whitesmoke;
    margin: 0px auto;
    padding: 0px auto;
    font-family: Arial;
    font-size: 2vmin;
}

/* Model viewer*/
.Hotspot {
    background: #fff;
    border-radius: 32px;
    border: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
    box-sizing: border-box;
    cursor: pointer;
    height: 24px;
    padding: 8px;
    position: relative;
    transition: opacity 0.3s;
    width: 24px;
}

.HotspotAnnotation{
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
    color: rgba(0, 0, 0, 0.8);
    display: block;
    font-family: Futura, Helvetica Neue, sans-serif;
    font-size: 14px;
    font-weight: 700;
    left: calc(100% + 1em);
    max-width: 128px;
    overflow-wrap: break-word;
    padding: 0.5em 1em;
    position: absolute;
    top: 50%;
    width: max-content;
}

/* Mobile */
@media only screen and (max-width:850px){
    .menu-btn{
        display: block;
    }
    
    .navbar{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        padding: 30px;
        color: whitesmoke;
        background-color: hsl(201, 100%, 37%);
    }
    .nav-links{
        flex-direction: column;
        width: 120px;
        justify-content: center;
        margin-top: -400px;
        transition: all 0.5s ease;
    }
    .mobile-menu{
        margin-top: 20px;
        border-bottom-left-radius: 30%;
    }

    .nav-links li{
        margin: 5px auto;
    }

    .navbar ul li:hover .sub-menu{
        display: none;
    }
    
    .menu-desp{
        display: none;
    }

    /* Descripcion*/

    section{
        margin: 20px auto;
    }
    .row{
        flex-direction: column;
        /*background-color: beige;*/
        margin-bottom: 80px;
    }

    .row col{
        margin: 0px;
    }

    .col img{
        max-width: 90%;
        margin-left: 0px;
        margin-top: 40px;
    }

    .footer{
        padding: 10px;
    }

    /* Descripcion Obras */

    .descripcionObras{
        margin: 20px auto;
    }
    .rowObras{
        flex-direction: column;
        /*background-color: beige;*/
        margin-bottom: 10px;
    }
    .rowObras .colObras{
        margin: 0px;
        align-items: left;
    }
    .rowObras .colObras1{
        margin: 0px;
        align-self: center;
    }
    .colObras .imgObras{
        max-width: 90%;
        margin: 30px;
        align-self: center;   
    }

    /* Descripcion Servicios */

    .rowServicios{
        flex-direction: column;
        margin-bottom: 10px;
    }
    .rowServicios .colServicios{
        margin: 0px;
        align-items: center;
    }

    .botonServicios{
        width: 300px;
        height: 38px;
    }

    /* Descripcion Construcción */

    .rowConstruccion{
        flex-direction: column;
        margin-bottom: 10px;
    }
    .rowConstruccion .colConstruccion{
        margin: 0px;
        align-items: center;
    }

    /* Descripcion PTAR */

    .rowPTAR{
        flex-direction: column;
        margin-bottom: 10px;
    }
    .rowPTAR1 .colPTAR{
        margin: 0px;
        align-items: center;
    }

    .colPTAR .imgPTAR{
    /*width: 300px;*/
    max-width: 40%;
    margin: auto;
    margin-top: 20px;
}

    .rowPTAR1{
        flex-direction: column;
        margin-bottom: 10px;
    }

    .rowPTAR1 .colPTAR1{
        margin: 0px;
        align-items: center;
    }
    
    .rowPTAR1 .colPTAR1_0{
        margin: 0px;
        align-items: center;
    }

    .colPTAR1_0 .imgPTARWhats{
        width: 80px;
        margin: 30px;
    }

    /* Descripcion Contacto */
    
    .rowContacto{
        flex-direction: column;
        margin-bottom: 10px;
    }
    
    .rowContacto .colContacto0{
        margin: 0px;
        align-items: center;    
    }

    .colContacto0 .imgContactoEmail{
        width: 80px;
        margin: 30px;
    }
    
    .colContacto0 .imgContactoWhats{
        width: 80px;
        margin: 30px;
    }

    model-viewer {
        width: 100%;
        height: 45%;
        background-color: #ffffff;
    }

    /* Model viewer*/
    .Hotspot {
        background: #fff;
        border-radius: 32px;
        border: 0;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
        box-sizing: border-box;
        cursor: pointer;
        height: 5px;
        padding: 5px;
        position: relative;
        transition: opacity 0.3s;
        width: 5px;
    }

    .HotspotAnnotation{
        background: #fff;
        border-radius: 4px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
        color: rgba(0, 0, 0, 0.8);
        display: block;
        font-family: Futura, Helvetica Neue, sans-serif;
        font-size: 9px;
        font-weight: 550;
        left: calc(100% + 1em);
        max-width: 80px;
        overflow-wrap: break-word;
        padding: 0.1em 0.1em;
        position: absolute;
        top: 50%;
        width: max-content;
    }
}