:root {
    --background:#16100a;
    --date: #7188a9; 
    --text-color: #f4f2f0; 
    --primary: #dfb588;
    --secondary: #723e05;
    --link-color: #fe9727;
    --h1-size: 2rem; 
    --h2-size: 1.75rem; 
    --h3-size: 1.5rm; 
    --h4-size: 1.4rem; 
    --p-size: 1.3rem;
}
@font-face {
    font-family: "Amiri";
    src: url(/fonts/Amiri-Regular.ttf);
}
body{
    display: flex;
    flex-direction: column;
    min-height: 16rem;
    max-width: 62.5rem;
    margin: 0 auto;
    background-color: var(--background);
    font-family: 'Amiri';

}
.navbar {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}
.navbar a {
    color: var(--text-color);
    text-decoration: none;
    padding: 10px;
    margin-right: 20px;
    font-size: var(--p-size);
    transition: color 0.5s ease;
}
.navbar a:hover{
color: var(--link-color);
}

.border{
    background-image: url(/images/borders.jpg);
    background-repeat: repeat;
    background-position: center;
    background-size: contain;
    display: block;
    height: 2rem;
}

.carpet {
    width: 100%;
    height: auto;
    }


.content{
    padding: 20px 5px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-content: flex-start;
}
.content, .content * {
    color: var(--text-color);
    font-size: var(--p-size);
    font-weight: normal;
}
.content h1{
    font-size: var(--h1-size);
    font-weight: 600;
    align-self: center;
}

.content h2 {
    font-size: var(--h2-size);
    font-weight: 600;
}

.content h3 {
    font-size: var(--h3-size);
    font-weight: 600;
}

.content h4 {
    font-size: var(--h4-size);
    font-weight: 600;
}

.content p {
    font-size: var(--p-size);
}

.content a{
    text-decoration: none;
    color: var(--link-color);
}

ol, ul {
    font-size: 1.2rem; 
    margin-left: 0px; 
    margin-top: 20px; 
    margin-bottom: 20px; 
    width: 100%;
    box-sizing: border-box;
}

li {
    margin-bottom: 10px; 
}
@media (max-width:62.5rem) {
    .box{
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    .photo{
        width: 100%;
        height: fit-content;
        order: 1;
        
    }
    .text{
        width: 100%;
        order: 2;
    }

}

@media (min-width:62.5rem) {
    .box{
        display: flex;
        flex-direction: row;
        width: 100%;
    }
    .photo{
        width: 50%;
        height: fit-content;
        order: 2;
        
    }
    .text{
        width: 50%;
        order: 1;
    }
    
}
.box img {
    width: 100%;
}

footer {
    text-align: center;
    padding: 3px;
    font-size: var(--h4-size);
}
footer a {
    text-decoration: none;
    color: var(--link-color);
}