/* GENERAL ---------------------------------------------------------------------------------------- */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-size: 16px;
    line-height: normal;
    font-family: sans-serif;
    font-weight: 400;
}
body {
    margin: 0;                                    
    padding: 0;
}

/* Header (m)-------------------------------------------*/
.header1 {
    grid-area: header1;
}

/* PLC/HMI PAGE -------------------------------------------------------------------------------------- */
#plchmi {
    height: 100vh;                                                                                  
    background-color: white;
    display: grid;                                                                                  
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;                                         
    grid-template-rows: 1fr 840px 1fr 1fr;                 
    grid-template-areas: 
        "header1 header1 header1 header1 header1 header1"
        "mainarea-pl mainarea-pl mainarea-pl mainarea-pl mainarea-pl mainarea-pl"
        "plc plc plc plc plc plc"
        "footer footer footer footer footer footer";
}
#mainarea-pl {
    grid-area: mainarea-pl;
    background-image: url('../images/mainarea-pl.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
}
#mainarea-pl {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
#mainarea-pl h2 {
    color: #eeeeee;
    margin: 1em 2em 0em 2em;
    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    line-height: 60px;
}
#mainarea-pl p {
    color: #dfe4e7;
    margin: 0em 3.5em;
    font-size: 1.125rem;
    font-weight: 500;
    width: 25em;
    text-align: justify;
    text-justify: inter-word;
}
.scheduleacall {
    display: flex;
    text-decoration: none;
    background-color: #546e7a;
    border: 1px solid #fafafa;
    border-radius: 0.7em;
    color: #fafafa;
    padding: 10px 30px;
    margin: 0 8px;
    text-transform: uppercase;
    font-weight: bold;
    margin-top: 20px;
    margin-right: 70px;
}
.scheduleacall:hover {
    background-color: #607d8b;
    color: #bdbdbd;
}
#mainarea-pl .scheduleacall {
    margin-left: 3.3em;
    margin-top: 1.6em;
    padding: 0.625em 1.25em;
}
#plc {
    background: white;
    grid-area: plc;
    margin: 0;
    padding: 0;
}
.titulo-area {
    display: flex;
    margin-top: 4em;
    flex-direction: column;
    align-items: center;
    
}
.titulo-area h1 {
    padding-bottom: 0.5em;
    font-size: 2rem;
    font-weight: 600;
}
.titulo-area p {
    font-size: 1rem;
    width: 42%;
    text-align: justify;
    text-justify: inter-word;
}
.productsblocksDN {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: top;
    justify-content: start;
    margin: 1em 0 0 1em;
    list-style-type: none;
}
.productsblocksDN .productblockDN {
    display: flex;
    flex-direction: column;
    width: 19%;
    min-width: 350px;
    height: 600px;
    margin: auto;
    padding: auto;
    margin-right: 1.5em;
    margin-top: 1.5em;
    border: 2px solid #e0e0e0;
    border-radius: 0.625em;
    background-color: #fff;
    color: #424242;
    text-align: left;
    align-items: center;
    justify-content: top;
}
.productsblocksDN .productblockDN:hover {
    background: #f5f5f5;
}
.productsblocksDN .productblockDN .titulobloque {
    margin-top: 0.6em;
    font-size: 1rem;
    font-weight: 600;
}
.productsblocksDN .productblockDN .imagenbloque {
    padding-top: 0em;
}
.productsblocksDN .productblockDN img {
    width: 300px;
    height: 180px;
}
.productsblocksDN .productblockDN p {
    font-family: helvetica;
    width: 300px;
    font-size: 1rem;
    font-weight: 400;
    margin: 0.5em;
    text-align: justify;
    text-justify: inter-word;
}
.productsblocksDN .productblockDN .linksproductblockDN {
    margin-top: 15px;
}
.productsblocksDN .productblockDN .linksproductblockDN .buttonlink {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    text-decoration: none;
    background-color: #fafafa;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    color: #424242;
    padding: 8px 5px;
    margin: 0px;
    width: 300px;
    text-align: center;
}
.productsblocksDN .productblockDN .linksproductblockDN .buttonlink:hover {
    background-color: #757575;
    color: #f5f5f5;
}
#twolineswhite {
    margin-bottom: 100px;
}

/* Footer (m) -------------------------------------------*/
.footer {
    grid-area: footer;
}

/* ------------------------  RESPONSIVE DESIGN ------------------------------------------------------------------------ */

/* Large devices (desktops, less than 1200px) ----------------------- */
@media (max-width: 1199.98px) {
    /*main */
    #mainarea-pl h2 {
        font-size: 26px;
        font-weight: 700;
    }
}

/* Medium devices (tablets, less than 992px) ------------------------ */
@media (max-width: 991.98px) {
    
    #mainarea-pl h2 {
        font-size: 24px;
        font-weight: 700;
        letter-spacing: 1.25px;
        line-height: 50px;
    }
}

/* Small devices (landscape phones, less than 768px)  */
@media (max-width: 767.98px) {
    #mainarea-pl h2 {
        font-size: 22px;
        font-weight: 600;
        letter-spacing: 1px;
        line-height: 40px;
    }
    #mainarea-pl p {
        font-size: 1rem;
        font-weight: 400;
    }
}