/* Fuentes */

@font-face {
    font-family: 'BallparkFont';
    src: url('../fonts/ballpark.woff') format('woff');
    font-style: normal;
    font-weight: normal;
    font-size: normal;
}

@font-face {
    font-family: 'DayromFont';
    src: url('../fonts/dayrom.woff') format('woff');
    font-style: normal;
    font-weight: normal;
    font-size: normal;
}

/* Elementos generales... */
body {
    background: url('../images/yellow_background.png');
    font-family: 'Trebuchet MS', Arial, sans-serif;
    font-size: initial;
    color: #323232;
}

#divprincipal {
    width: 900px;
    margin: auto;
}

/* Elementos de header */
header h1 {
    font-family: 'BallparkFont';
    font-size: 4.5em;
}

header h2 {
    font-family: 'DayromFont';
    font-size: 1.5em;
    font-weight: bold;
    margin-top: 0px;
    margin-left: 24px;
}

#picture1 {
    display: inline-flex;
}

header {
    background: url('../images/line.png') repeat-x bottom;
}

#logo, header h1 {
    display: inline-block;
    margin-bottom: 0;
}

#logo {
    width: 120px;
}

/* Navegador */

nav a, footer h1 {
    font-family: 'DayromFont';
    font-weight: normal;
    text-transform: uppercase;
}

nav a {
    font-size: 1.35em;
    text-decoration: none;
    padding-bottom: 3px;
}

nav ul {
    list-style-type: none;
}

nav {
    display: inline-block;
    text-align: right;
    width: 75%;
}

nav li {
    display: inline-block;
    margin-right: 20px;
}

nav a:hover,
nav a:focus {
    color: #760000;
    border-bottom: 3px solid #760000;
}

/* BANNER */

#banner-image {
    margin-top: 15px;
    height: 200px;
    margin-bottom: 25px;
    background: url('../images/sanfrancisco.jpg') no-repeat;
    border-radius: 5px;
    box-shadow: 10px 10px 50px #323232;
    position: relative;
}

#banner-description {
    position: absolute;
    bottom: 0;
    display: inline-block;
    background-color: rgba(0, 0, 0, 0.485);
    color: white;
    width: 100%;
    border-radius: 0px 0px 5px 5px;
    padding-top: 15px;
    padding-bottom: 5px;
}

#banner-text {
   margin: 10px; 
}

.red-button {
    display: inline-block;
    height: 25px;
    position: absolute;
    right: 5px;
    bottom: 8px;
    border-radius: 5px;
    font-size: 1.2em;
    text-align: center;
    color: white;
    text-decoration: none;
    padding: 3px 8px 0px 8px;
    background: url('../images/red_background.png');
    border: 1px solid #760000;
}

/* CUERPO */

article header h1 {
    font-family: 'Trebuchet MS', Arial, sans-serif;
    font-size: 1.1em;
}

article header h1 span {
    vertical-align: super;
}

section, aside {
    display: inline-block;
    vertical-align: top;
    text-align: justify;
}

section {
    width: 65%;
    margin-right: 15px;
}

aside {
    width: 30%;
    background-color: #9ca72d;
    box-shadow: 0px 2px 5px #323232;
    border-radius: 5px;
    padding: 10px;
    color: white;
    font-size: 0.9em;
    background: -webkit-radial-gradient(center, circle, white, #760000 80%);
    background: -moz-radial-gradient(center, circle, white, #760000 80%);
    background: -o-radial-gradient(center, circle, white, #760000 80%);
    background: -ms-radial-gradient(center, circle, white, #760000 80%);
}

#arrow {
    position: relative;
    left: -22px;
    vertical-align: middle;
}

#zozor-picture, .redes {
    text-align: center;
}

/* FOOTER */

footer {
    background: url('../images/top.png') no-repeat top center, url('../images/line.png') repeat-x top, url('../images/shadow.png') repeat-x top;
    margin-top: 25px;
}

footer {
    font-size: 0.83em;
}

#my-pictures img {
    border: 1px solid #323232;
    margin-right: 5px;
    width: 50px;
    height: 50px;
}

#my-pictures img:nth-child(3) {
    border: 3px solid red;
}