html {
    background-color: hsla(186, 1%, 54%, 0.56);
}

body {
    display:flex; 
    flex-direction:column;
    font-family: sans-serif;
    margin:0;
    padding:0;
}

/* ---------------- ESTILOS PARA HEADER ----------------------- */

header {
    background-color:#7f8c8d;
    display:flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    margin:0;
    padding:0.6em;
}

header a figure {
    width: 150px;
    margin-left:10em;
    margin-top: 1em;
}

header a figure img {
    width: 100%;
}

header form {
    display:flex;
    border-style: hidden;
    align-items: center;
    justify-content: space-between;
    background-color:white;
    margin: 0em 2em;
    width:500px;
    border-radius: 15px;
    padding: 0.3em 0.5em 0.3em 1em ;
    border-radius: 8px;
}

input {
    border: none;
    font-size: 12pt;
    font-family: sans-serif;
    display:inline-block;
    width: 100%;
    height: 25px;
}

input:focus {
    outline-width: 0;
}

#buscar {
    background-color: rgba(255, 255, 255, 0);
    border-style:hidden;
    padding:0.3em 0em;
}

#buscar img {
    width: 60%;
}

header div {
    display:flex; 
    flex-direction:row;
    color:white;
    margin-right: 2em;
}

header div p {
    margin: 0 0.5em;
}

header div p a {
    text-decoration: none;
    display:block;
    align-items: center;
    font-family: sans-serif;
    color: white;
    margin:0;
}

.negrita {
    font-weight: 600;
}

/* ---------------- ESTILOS PARA NAVEGADOR ----------------------- */

nav {

    margin:0;
    padding:0;
    margin-bottom: 0;
}

nav ul {
    display:flex;
    justify-content: space-between;
    align-items:center;
    justify-content: center;
    padding:0;
    box-shadow: 0px 10px 10px rgba(128, 128, 128, 0.33); 
    margin-top: 0px;
}

nav ul li {
    text-align: center;
    font-family: sans-serif;
    font-weight: 400;
    font-size: 12pt;
    width: 100%;
    padding: 0.5em 0;
    margin-top: 0;
    
}

nav ul a li {
    display:flex;
    justify-content: center; 
    align-items: center;  
}

nav ul a {
    width: 100%;
    text-decoration: none;
    color:white;
}

#DG {
    background-color: #00B999;
}

#DG:hover {
    background-color: #03a388;
}

#DI {
    background-color: #00C96E;
}

#DI:hover {
    background-color: #09af64;
}

#DIyS {
    background-color: #4F99B6;
}

#DIyS:hover{
    background-color: #3c7f9a;
}
#DTI {
    background-color: #AC59B5;
}

#DTI:hover {
    background-color: #84408b;
}
#ARQ {
    background-color: #FF8006;
}
#ARQ:hover {
    background-color: #b75f0b;
}
#DP {
    background-color: #FF4B3A;
}
#DP:hover {
    background-color: #ba2f22;
}

/* ----------------ESTILOS PARA SECTION----------------------- */



section {
    display:flex;
    flex-direction: column;
    align-self: center;
    width: 70%;
    height: auto;
    margin:2em 0em;
    margin-bottom:3em;
}

section article {
    background-color: white;
}

.negro {
    display:flex;
    flex-direction: column;
    background-image: url(../img/Banner.jpg);
    background-size: cover;
    background-color: rgba(0, 0, 0, 0.55);

    width: auto;
    }

section article h1 {
    margin-left:40%;
    margin-top: 5em;
    margin-bottom: 1em;
    padding:0;
    color:white;
    font-size: 30pt;
}

#markets {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin:0;
    margin-right: 27em;
    padding:0;
    margin-left: 40%;
    width: auto;;
    margin-bottom: 1em;
}

#markets img {width:100%; min-width: 150px; }

#celular {
    /*---------------Para Full HD-------------------*/
    position:absolute; top:250px; left:18%; visibility:visible;
    width: 19%;
}

#celular img {
    width: 100%;
}

#bottom {
    background-image: url(../img/pattern_01.jpg);
    background-repeat: repeat;
    height: 400px;
    width: 100%;
    margin:0;
}

section article h2 {
    margin:2em 5% 0% 40%;
    padding:0;
    color:black;
    font-size: 20pt;
    font-weight: 600;
}

section article p {
    margin:1em 5% 0 40%; 
    line-height: 160%;
    font-size: 16pt;
    
}

.magenta {
    color: #ff0080;
}


/*----------------- Seccción footer -----------------------*/

footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background-color:#7f8c8d;
    text-align: center;
    line-height: 140%;
    color:white;
    padding:0em;
}

footer figure img {
    width: 200px;
}

footer p {
    width: 40%;
    padding: 0 9em;
}

footer div {
    padding:0;
    margin:0em;
}

footer div h1 {
    padding: 0em 0;
    font-weight: 600;
    font-size: 12pt;
}

footer ul li {
    list-style: none;
    text-align: left;
    line-height: 100%;
    padding:0;
}

footer ul li a {
    text-decoration:none;
    color:white;
    font-size: 10pt;
}

footer ul li a:hover {
    color:aqua;
}
    

@media all and (max-width:1230px) {
    
    nav ul li { height: 50px;}
    
    section article div h2 {
    height: 40px;}

#celular {top:300px;}
    
}

    @media all and (max-width:800px) {
        
/*Responsive del header*/
    
    header {
    flex-direction: column;
    margin:0;
    padding:1em;
}
  
header a figure {
    margin-left:0em;
}
    
header div {
    margin-top:1em;
}

header form {
    min-width:70px;
    margin 0 2em;
}
 
header form {
        max-width: 400px;   
}    
    
#EnCategoria form {
        min-width: 100px;
}
        
/*Responsive del resto*/
    
#celular {visibility:hidden;}
        
#bottom {
    height: 500px;
}

section article h1 {
    margin:0em;
    margin-top: 1em;
    padding:1em;
    color:white;
    font-size: 28pt;
}

#markets {
    align-items: center;
    margin:0 3em;
    padding:0;
    width: inherit;
    width:70%;
    padding:1em
    
}

#markets img {
    width: 100%;
}
        
section article h2 {margin:2em;margin-bottom: 0;}
section article p {margin:3em;margin-top:2em;}
    
/*Responsive del footer*/
    
footer {
    flex-direction: column;
    font-size: 10pt;
    }

footer div h1 {
    font-size: 11pt;
    }
    
footer ul li {
    list-style: none;
    text-align: center;
    line-height: 120%;
    padding-right:5em;
    margin:0;
}
        
}