*{
    box-sizing: border-box;
}

body{
    /* background: linear-gradient(0.25turn, #B0824A 0.5rem, #D2BF9F, #B0824A 95%); #B0824A, #D2BF9F */
    background-image: linear-gradient(rgba(249, 240, 222, 0.7), rgba(254, 246, 230, 0.7)), url("https://img.freepik.com/foto-gratis/fondo-papel-grunge_1048-10849.jpg");
    background-size: cover;
    font-family: "Libre Baskerville", Arial, Helvetica, sans-serif;
    color: #28190e;
    margin:0;
    padding:0.1rem;
    overflow-x:hidden;
}
.body
{
    display: flex;
}
.wrapper{
    width: 70%;
    margin: 0 auto;
    text-align:justify;
}
header{
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
header img{
    width: 20vw;
    margin-left: 1rem;
    border-radius: 50%;
    margin-bottom: 0.5rem;
}
h1{
    font-size: 3rem;
    margin-left: 1rem;
    text-decoration: underline;
}
hr{
    width: 100%;
    border: 1px solid #28190e;
}
aside{
    width:20%;
    margin: 0 0;
}
ul{
    padding-left: 0;
}
li{
    margin-top:1rem;
    font-weight: bold;
    list-style-type:none;
    border-left: double #28190e 2px;
    padding-left: 0.5rem;
}
ul li:hover{
    text-decoration: underline;
}
a{
    text-decoration: none;
    color: #28190e;
    font-size:clamp(0.8rem, 1.3vw, 1.3rem);
}
p a{
    font-size: 1rem;
    font-weight: bold;
    text-decoration: underline;
}
.hidden{
    display:none;
}
cite{
    display: block;
    text-align: right;
}
footer{
    width: 60%;
    margin-left:1rem;
    margin-right: clamp(5rem 30% 40rem);
    margin-bottom: 2rem;
}
ol li{
    list-style-type: decimal;
}
.reference{
    display:flex;
    flex-flow:column;
    margin-left:3rem;
    flex-wrap:wrap;
    height:7rem;
    line-height:0.1rem;
    width: 80%;
}
.h2{
    display:flex;
    flex-flow:column;
    text-align: center;
}
.h2 h1{
    margin-bottom:0.5rem;
    margin-top:0.5rem;
}
.images{
    display:flex;
}
.images img{
    margin: 0 1rem;
    object-fit: contain;
}
.float-r{
    float:right;
    margin-left:0.7rem;
}
.width{
    width:50%;
}
.float-l{
    float:left;
    margin-right:0.7rem;
}
.height{
    height:50%;
}
.contact{
    margin:0;
    width: 100%;
    height: 7rem;
    background: linear-gradient(0.25turn, rgb(238, 208, 127, 0.2), rgb(245, 239, 215, 0.5), rgb(238, 208, 127, 0.2));
    overflow:hidden;
}
a img{
    width:20px;
}
@media (max-width: 600px)
{
    body{
        background-size:contain;

    }
    .body{
        flex-flow: column;
        padding:0;
        
    }
    .wrapper{
        margin:0 auto;
        width:20rem;
    }
    aside{
        margin:0;
        display:block;
        width:100vw;
    }
    ul{
        display:flex;
    }
    li{
        justify-content: space-between;
    }
    h1{
        font-size: 2rem;
    }
}

blockquote
{
    background: #f3dcc2;
    padding: 1rem;
    border:2px solid #f3c999;
    border-radius:10px;
}
.center
{
    margin: 2rem auto;
}
.contact
{
    padding:2rem;
}
.btn{
    height: 40px;
    border:none;
    outline:none;
    font-size:15px;
    background:#222;
    color:#f5f5f5;
    border-radius:10px;
    cursor:pointer;
}
.btn:hover{
    padding:0 0.5rem;
    margin:0;
}
.pop-up{
    position:fixed;
    top:-110%;
    opacity:0;
    left:50%;
    transform: translate(-50%, 50%) scale(1.25);
    width:380px;
    padding:20px 30px;
    background: #F5EFD7;
    box-shadow: 2px 2px 5px 5px rgba(0, 0, 0, .15);
    border-radius:10px;
    transition: top 0ms ease-in-out 200ms,
                opacity 200ms ease-in-out 0ms,
                transform 200ms ease-in-out 0ms;
                
}
.pop-up.active{
    top:50%;
    opacity:1;
    transform:translate(-50%, -50%) scale(1);
    transition: top 0ms ease-in-out 200ms,
                opacity 200ms ease-in-out 0ms,
                transform 200ms ease-in-out 0ms;
    
}
.pop-up #close-btn{
    position: absolute;
    top:10px;
    right:15px;
    width:15px;
    border:none;
    background:none;
    width:15px;
    height:15px;
    font-size:1.5rem;
    cursor:pointer;
}
.pop-up form h2{
    text-align: center;
    color:#222;
    margin: 10px 0px 20px;
    font-size:25px;
}
.pop-up form .form-element{
    margin:15px 0px;
}
.pop-up form label{
    font-size:14px;
    color: #222;
}
.pop-up form .form-element input{
    margin-top:5px;
    display:block;
    width:100%;
    padding: 10px;
    outline:none;
    border:1px solid #aaa;
    border-radius:5px;
}
.pop-up form .form-element button{
    width:100%;
    height: 40px;
    border:none;
    outline:none;
    font-size:15px;
    background:#222;
    color:#f5f5f5;
    border-radius:10px;
    cursor:pointer;
}
.pop-up .error{
    margin-top:0.5rem;
    text-align: center;
    font-size:12px;
    color: #D01F31;
}
.hidden{
    display:hidden;
}