@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@600&family=Poppins:wght@500&family=Shadows+Into+Light&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
    text-decoration: none;
}

body{
    background: #d6d6d6;
}

header{
    width: 100%;
         *position: fixed;
    top: 0;
    left: 0;
    background: #fff;
          *position: absolute;
}


/*  Header  Superior*/
.header__superior{
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
}

.logo img{
    width: 300px;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
}

.texto_superior{
    width: 400px;
    display: flex;
    align-items: center;
    margin: auto;    
}

.texto_superior h2{
    display: flex;
    align-items: center;
    font-size: 26px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: normal;
    font-style: italic;
    text-shadow: 0px 0px 10px rgb(179, 101, 101);
    color: #dd0d17;
}

/*  Barra Menu  */
.container__menu{
    width: 100%;
    height: 70px;
    background: #023877;
    padding: 0px 20px;
}

.menu{
    max-width: 1200px;
    margin: auto;
    height: 100%;
}

nav{
    height: 100%;
}

nav > ul{
    height: 100%; 
    display: flex;   
}

nav  ul  li{
    height: 100%;
    list-style: none;
    position: relative;
}

nav > ul > li:first-child > a{
    background-image: url(../imagenes/casa.png);
    background-size: 30px;
    background-repeat: no-repeat;
    background-position: center center;
    padding: 20px 40px;
}

nav > ul > li:first-child:hover > a{
    background-image: url(../imagenes/casa.png);
    background-size: 35px;
    background-repeat: no-repeat;
    background-position: center center;
}

nav > ul > li > a{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 30px;
    color: white;
    text-transform: uppercase;
    font-size: 14px;
    transition: all 300ms ease;
}

nav > ul > li > a:hover{
    transform: scale(1.1);
    background: #0074C7;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
}

#selected{
    transform: scale(1.1);
    background-color: #0074C7;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);    
}

/*  Sub Menu*/
nav ul li ul{
    width: 220px;
    display: flex;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 90px;
    left: -5px;
    padding: 14px 0px;
    visibility: hidden;
    opacity: 0;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
    z-index: 10;
}

nav ul li:hover ul{
    visibility: visible;
    opacity: 1;
    top: 70px;
}

nav ul li ul::before{
    content: '';
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 12px solid white;
    position: absolute;
    top: -12px;
    left: 20px;
}

nav ul li ul li a{
    display: block;
    color: #0099E9;
    padding: 6px;
    padding-left: 14px;
    margin-top: 10px;
    font-size: 14px;
    text-transform: uppercase;
    transition: all 300ms ease;
}

nav ul li ul li a:hover{
    background: #0074C7;
    color: #fff;
    transform: scale(1.1);
    padding-left: 30px;
    font-size: 14px;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);           /*  Sombra  */
}






     /* ---------------------   Principal   ----------------------- */
main{
    *width: 100%;

}

.titulo{
    *width: 80%;
    margin: 30px 0;
}

.titulo h1{
    text-align: center;
    font-size: 25px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: #1d04a7;
}

.container{
    width: 600px;
    height: 400px;
    *background: #10557a;
    overflow: hidden;
    position: relative;
    margin: 30px auto;
    border-radius: 20px;
    box-shadow: 5px 8px 12px black;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.container:hover{
    transform: scale(1.02);
    box-shadow: 13px 15px 37px black;
}

.container img{
    width: 100%;
    height: 100%;
}

.container p{
    display: block;
    font-size: 34px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 600;
    font-style: italic;
    color: #eef109;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-shadow: 5px 5px 10px black;
}





.container-app{
    display: flex;
    margin: 40px;
    background: #66d8bf;
    border-radius: 30px;
}

.articulos-app{
    width: 80%;
}

.seccion-app{
    display: flex;
    align-items: center;
    padding: 20px;
}

.seccion-app h2{
    padding-bottom: 30px;
    font-size: 30px;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-style: italic; 
    color: #063057;   
}

.seccion-app p{
    padding: 20px 40px 20px 10px;
    font-size: 22px;
    font-weight: 500;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    color: rgb(6, 41, 87);
    text-align: justify;
}

img{
    width: 300px;
    height: auto;
    border-radius: 25px;
    box-shadow: 1px 1px 8px black;
}

.menu-secundario-app{
    width: 20%;
    margin: 20px;
}

.menu-secundario-app li{
    display: block;
    text-align: left;
    color: #023877;
    text-shadow: 1px 1px 8px black;
    margin-bottom: 15px;
    padding-top: 20px;
}






.contenedor-rfid{
    *width: 80%;
    background: #66d8bf;
    display: flex;
    align-items: center;
    margin: 40px;
    border-radius: 20px;
}

.seccion-rfid{
    width: 75%;
    *border-right: 3px solid black;
    *align-items: center;
    padding: 40px;
}

.seccion-rfid h2{
    padding-bottom: 30px;
    font-size: 30px;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-style: italic; 
    color: #063057;
}

.seccion-rfid p{
    padding: 20px 40px 20px 10px;
    font-size: 22px;
    font-weight: 500;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    color: rgb(6, 41, 87);
    text-align: justify;
}

img{
    width: 300px;
    border-radius: 25px;
} 

.img{
    width: 20%;
}




























.distribuidor{
    width: 80%;
    height: 60px;
    display: flex;
    margin: 20px auto;
    background: #ebebeb;
    text-align: center;
    border: 1px solid black;
    border-radius: 5px;
}

.distribuidor h3{
    font-size: 25px;
    font-family: Arial, Helvetica, sans-serif;
    font-style: italic;
    color: #0b0885;
    padding: 0 30px;
    margin: auto;
}

           /* ---------    footer     --------- */

footer{
    width: 100%;
    padding: 10px 0px;
    background-color: #b9e2d8;
    background-size: cover;
}

.container__footer{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    margin-top: 10px;
}

.box__footer{
    display: flex;
    flex-direction: column;
    padding: 40px;
}

.box__footer .logo img{
    width: 150px;
}

.box__footer .terms{
    max-width: 350px;
    margin-top: 20px;
    font-weight: 500;
    color: #7a7a7a;
    font-size: 18px;
}

.box__footer .terms p{
    text-align: justify;
}

.box__footer h2{
    margin-bottom: 10px;
    color: #343434;
    font-weight: 700;
}

.box__footer a{
    margin-top: 10px;
    color: #7a7a7a;
    font-weight: 500;
}

.box__footer a .fab{
    margin: 0 10px;
}

.box__footer a:hover{
    opacity: 0.8;
}

.box__footer a img{
    width: 20px;
    *margin-right: 10px;
}

.box__copyright{
    max-width: 1200px;
    margin: auto;
    text-align: center;
    padding: 0px 80px;
}

.box__copyright p{
    margin-top: 20px;
    color: #7a7a7a;
}

.box__copyright hr{
    border: none;
    height: 1px;
    background-color: #7a7a7a;
}



/*  Elementos Responsivos  --------------------  */

.icon__menu{
    font-size: 26px;
    color: white;
    cursor: pointer;
    width: 26px;
    height: 100%;
    *display: flex;
    display: none;
    align-items: center;
}

#label__check{
    width: 26px;
    height: 100%;
    display: none;
}

#check__menu{
    display: none;
}

@media screen and (max-width: 720px) {
    
    .search input{
        display: none;
    }

    .header__superior{
        padding: 10px;
    }

    .logo img{
        width: 200px;
    }

    nav > ul{
        flex-direction: column;
        background-color: #023877;
        position: fixed;
        left: 0;
        top: 158px;
        width: 100%;
        height: 0px;
        transition: all 300ms ease;
        z-index: 100;
        opacity: 0;
        visibility: hidden;
    }

    nav > ul > li > a:hover{
        transform: scale(1);
    }

    nav ul li ul{
        left: 90px;
    }

    nav > ul > li:hover ul{
        top: 50px;
    }

    nav > ul > li:first-child a{
        background-position: 20px;
    }

    #selected{
        transform: scale(1);
    }

    #label__check{
        display: block;
    }

    .icon__menu{
        display: flex;
    }

    #check__menu:checked ~ nav > ul{
        height: 300px;
        visibility: visible;
        opacity: 1;
    }

    main{
        margin-top: 158px;
    }
}