@font-face {
    font-family: Rolftext;
    src: url('../fonts/PoiretOne-Regular.ttf');
}

:root{
    --opaqueRed: rgba(160, 10, 10, 0.6);
}


* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    background-image: url('../img/flamingos.png');
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    font-family: Rolftext;
    font-weight: bold;
}

footer {
    border: 10px solid white;
    background-color: white;
    position: relative;
    margin-top: 500px;
    margin-bottom: 0px;
    text-align: center;
    font-weight: 900;
    font-size: 15px;
}

h1 {
    margin-top: 150px;
    margin-bottom: 50px;
    text-align: center;
    font-size: 3rem;
    text-decoration: underline;
}

.underCons{
    background-image: none;
    background-color: yellow;
    text-decoration: none;
    font-weight: 1500;
    transition: 0.3s;
}

.underCons:hover{
    background-image: none;
    background-color: black;
    border: 10px solid yellow;
    color: yellow;
    border-radius: 5px;
    transition: 0.3s ;
}

.mainText{
    font-family: Rolftext;
    font-size: 17px;
    color: black;
}

header{
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    padding: 40px 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .navbar{
    position: relative;
    display: flex;
}

header .navbar li{
    list-style: none;
    margin-left: 30px;
    
}

header .navbar li a{
    border: 5px outset white;
    border-radius: 5px;
    background-image: none;
    background-color: var(--opaqueRed);
    text-decoration: none;
    color: black;
    font-weight: 600;
    padding: 10px;
    transition: 0.3s;
    font-size: 1.5em;
}

header .navbar li a:hover{
    background-color: white;
    color: red;
    border-radius: 5px;
    padding: 2px;
}

.photoRolf {
    background-image: url('../img/black-fabric-texture-background-vector.jpg');
    text-align: center;
    border: 5px outset brown;
    border-radius: 10px;
    width: 270px;
    margin: auto;
}

.photoRolf img {
    display: block;
    width: 270px;
    height: 300px;
    margin: auto;
    
}
.photoRolf p {
    background-image: url('../img/black-fabric-texture-background-vector.jpg');
    font-size: 25px;
    color: white;
}

p {
    color: black;
    font-size: 17px;
}

/*Estilos para la galería de fotos de los aves.*/
.gallContainer{
    margin-left: auto;
    margin-right: auto;
    width: 900px;
    background-image: url('../img/black-fabric-texture-background-vector.jpg');
    border: 5px solid black;
    border-radius: 10px;
}

.gallery{
    display: inline-block;
    border: 1px solid grey;
    margin-left: 10px;
    margin-bottom: 10px;
    margin-top: 10px;
    width: 200px;
}

.gallery .description{
    background-image: none;
    background-color: black;
    color: white;
    text-align: center;
    padding: 10px;
}

.gallery:hover{
    border: 1px solid darkgoldenrod;
}
.gallery img{
    width: 100%;
    margin-bottom: -5px;
}

