html {
    background-color: rgba(3, 163, 136, 0.68);
}

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-content: center;
    align-items: center;
    align-self: center;
    width: 71%;
    margin:1em 0em;
    padding:0;
    background-color:rgba(229, 229, 229, 0.76);
}

section article {
    display:flex;
    flex-direction: column;
    align-self: center;
    align-items:center;
    color:#525D5E;
    padding: 1em 0em;
    width: 100%;
}

h1 {
    font-size: 26pt;
    width: 80%;
    margin-bottom: 0.5em;
    text-align: center;
    color:#079f84;
}

.banner {
    width: 80%   
}

section article figure img {
    width: 100%;
    
}

#registrate {
    font-size: 18pt;
    margin-bottom: 0;
    text-align: center;
}

#registrate a {
    text-decoration: none;
    color:#1baf95;
}

#registrate a:hover {
    color:#0e7663;
}

.ancho {    width: 90%;
    margin: 0 auto;
}

.boton {
    margin-top: 20px;
	margin-bottom: 20px;
    background: #27AE60;
    border: none;
    font-size: 1.6em;
    font-weight: 300;
    padding: 5px 0;
    width: 100%;
    border-radius: 3px;
    color: #b3eecc;
    border-bottom: 4px solid #1e8449;
}


/*-----------------Busqueda alfabetica---------------------*/


#EnCategoria form {
    display:flex;
    border-style: hidden;
    align-items: center;
    justify-content: space-between;
    background-color:white;
    margin: 0em;
    margin-bottom: 2em;
    border-radius: 15px;
    min-width: 500px;
    padding: 0.3em 0.5em 0.3em 1em ;
    border-radius: 8px;
}  
    
#alfabet {
    display:flex;
    flex-wrap: wrap;
    justify-content: center;
    line-height: 160%;
    margin:0;
    padding:0;
    list-style: none;
    text-decoration: none;
    max-width: 80%;
}

#EnCategoria ul a {
    text-decoration:none;
    padding:0em 0.5em;
}

#EnCategoria ul li {
    color:#4b4b4b;
}

/*----------------- Seccción galeria -----------------------*/
section{
    padding-bottom: 2em;
}

section article {
    margin:0; padding: auto;
}

#sect1 {
    display:flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    align-content: center;
    width: 80%;
    margin:0;
    padding:0;
}

#sect1 p {
    margin:0; padding:0; width: 100%; line-height: 150%;
}

#sect1 figure {width: 30%;}

#resumen {
    display: block; margin:0 4.5em; width: auto;
    text-align:justify;
    line-height: 150%;
}

#sect2 {
    display:flex;
    flex-direction: row;
    justify-content: space-around;
    width: 80%;
    margin:0;
    padding:0;
}

#sect2 div {
    padding:0.5em;
    width: 100%;
    min-width: 200px;
}

#sect2 div a {
    display: block;
    text-decoration: none;
    margin:0;
    padding:0;
}

#sect2 div a figure {
    margin:0; padding:0;
}

#sect2 div a figure img {
    margin:0;
    padding:0;
}
#sect2 div h2 {
    display:block;
    text-align: center;
    margin:0;
    padding:0.6em 0em;
    color:white;
    font-size: 14pt;
    width: 100%;
}

#sect2 div h2:hover {
        color:rgba(255, 255, 255, 0.62);
    }

.dg_class {
   background-color: #00B999;
}

.di_class {
   background-color: #09af64;
}

.diys_class {
    background-color:#4F99B6;
}
.arq_class {
   background-color: #FF4B3A;
}

.dti_class {
    background-color:#AC59B5;
}

.dp_class {
    background-color:#FF8006;
}

/*----------------- 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;
    margin-top: 1em;
}

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;
}
    
@charset "utf.8";

/*------------------------------------------------------------------------*/

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

@media all and (max-width:950px) {
    
/* Responsive del Article*/
    
#sect2 {
    flex-direction: column;
    width: 70%;
    }
   
/*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;
}
    
/*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;
}
    
}