/*---------ESTRUCTURA GENERAL---------*/

body {
        background: url("https://agingoutsidethelines.com/wp-content/uploads/2019/07/stephen-meyers-rLBewYnoi6I-unsplash.jpg") repeat-x;
    font-family: "arial", verdana;
    color: black;
    Line-Height: 1em;
}





/*---------CABECERA---------*/

header {
    text-align: center;
    width: 100%;
    margin: 5px 5px;
    background: linear-gradient(105deg, darkslategrey, dimgray, darkslategrey, dimgray, darkslategrey);
    border-radius: 25px;
    font: bold;
}

h1 {
    padding: 20px;
    font-size: 1.2em;
    line-height: 10px;
}



/*---------MENU PRINCIPAL---------*/

nav ul {
    background: linear-gradient(25deg, slategray, dimgray, slategray, dimgray, slategray);
    text-align: center;
    list-style: none;
    overflow: hidden;
    width:97%;
    border-radius: 9px;
}

nav ul :hover{
    color: white;
    opacity: 0.5;
    transition: all 1s;
    cursor: pointer;
}



ul li {
    display: inline-block;
    padding: 15px 5px 15px 5px;
    transition: all ease-in-out 250ms;
    cursor:pointer;
}

ul li a {
    background: MidnightBlue;
    color: CornflowerBlue;
    padding:10px;
    text-decoration: none;
    border-radius: 9px;
}






/*---------ASIDE---------*/

aside {
    float: right;
    width: 30%;
    margin: 5px 0 0 68%;
    position: fixed;
    background: linear-gradient(75deg, black, darkblue, black);
    border-radius: 15px;
}

aside ul li {
    margin: 3px 3px 3px 0;
    padding: 2px;
    float: left;
    list-style: none;
}

aside ul li a {
    display: block;
    /*position: relative;*/
    padding: 5px 5px;
    margin-right: 50px;
    background: linear-gradient(45deg, MidnightBlue, darkblue, MidnightBlue);
    color: CornflowerBlue;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    border-radius: 9px;
}

aside ul li a:hover {
    background: royalblue;
}





/*---------CUERPO---------*/

section {
    position: static;
    width: 65%;
    padding: 0.6em;
    min-height: 280px;
    margin-top: 17px;
    margin-left: 15px;
    margin-right: 15px;
    color: azure;
    background: linear-gradient(55deg, darkblue, black, black, midnightblue, black, black, darkblue);
    border-radius: 15px;
}

.enlace a{
  color: blue;
}

.enlace a:hover{
  color: darkmagenta;
}





/*---------PIE---------*/

footer {
    background: linear-gradient(55deg, darkblue, black, black, midnightblue, black, black, darkblue);  
    color: white;
    width: 100%;
    border-radius: 15px;
    margin-top:15px;
    height: 50px;
    text-align:center;
    position: relative;
    bottom: 0;
}    

.enlace a{
    color: blue;
    text-decoration:none;
}

.enlace a:hover{
    color: darkmagenta;
}

footer p{
    padding-top: 15px;
}

  

/*---------RESPONSIVE---------*/

@media (max-width: 768px)
{
  
body{
    font-size: 20px;
}

h1{
    font-size: 10px;
}

ul li{
    display: block;
}


section{
    width: 60%; 
}

aside ul li a {
    padding: 25px 5px;
    font-size: 15px;
    margin-right: 70px;
}

iframe {
    width: 105px; 
}

h2{
    line-height: 30px;
}

footer{
    padding-bottom: 15px;
}


}




