body {
    margin: 0;
    padding: 0;
    background: #FCEFD5;
    font: 400 18px Poppins, sans-serif;
}

h1, h2 {
    padding: 0;
    margin: 0 0 1rem 0;
    font-weight: 700;
    color: #000;
    position: relative;
}

h1 {
    font-size: 1.85rem;
}

h2 {
    font-size: 1.55rem;
}

p {
    margin: 0 0 1.5rem 0;
    line-height: 1.8rem;
}

a {
    text-decoration: underline;
    color: #000;
    transition: .5s;
}

a:hover {
    color: #444;
}

ul {
    margin: 1.5rem 0;
    padding: 0 1.8rem;
}

li {
    margin-top: 0.8rem;
    line-height: 1.8rem;
}

blockquote {
    padding: 1.5rem;
    background: #F6F8FA;
    border-left: 5px solid #ccc;
    font-style: italic;
    margin: 1rem 0 1.8rem 0;
    line-height: 1.5rem;
}

hr {
    border: 0;
    border-bottom: 1px solid #ccc;
    margin: 2rem 0;
}

#header-content,
#main-content,
#footer-content {
    margin: auto;
    max-width: 940px;
    padding: 1rem;
}

#main-content {
    min-height: 55vh;
}

/* Header */

#header-content .title {
    font-size: 2.5rem;
    color: #000;
    font-weight: 700;
    text-decoration: none;
}

#header-content nav {
    float: right;
    padding-top: 40px;
}

/* Footer */

#footer-content {
    text-align: center;
}

#footer-content p {
    margin: 0 0 .5rem 0;
}

/* Usefull */

.center {
    text-align: center;
}

.right {
    text-align: right;
}

/* Messages */

.message {
    font-size: 1.3rem;
}

.error {
    color: #721c24;
}

.success {
    color: #155724;
}

.warning {
    color: #856404;
}

.info {
    color: #0c5460;
}

/* Boxes */

.box {
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 0 0 1rem 0;
}

.deck {
    padding-bottom: 200px;
    background: #fff url(../images/deck.jpg) no-repeat center bottom;
}

/* Tape page */

.box.tape img {
    vertical-align: middle;
}

.box.tape p img {
    max-width: 50%;
    height: 50%;
    margin: 1.5rem auto;
    display: block;
}

.box.tape h1 + p {
    background: url(../images/background.png);
}

/* Tapes */

.items {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.box.item {
    flex: 0 0 calc((100% - 1rem) / 2);
    box-sizing: border-box;
    margin-bottom: 0;
    display: flex;
    gap: 1rem 1rem;
}

.box.item .content {
    flex: 1;
    min-width: 0;
}

.box.item img {
    max-width: 100%;
    height: 100%;
    width: auto;
    max-height: 150px;
    margin: 0;
    display: block;
}

.box.item h2 {
    margin-bottom: .5rem;
    font-size: 1.5rem;
}

.box.item .commented {
    background: url(../images/commented.png) no-repeat;
    padding-left: 38px;
    font-size: 1rem;
}

/* Breadcrumb */

.breadcrumb ul {
    list-style-type: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.breadcrumb li {
    display: inline;
    margin-right: .5rem;
}

.breadcrumb li:first-child:after {
    content: " >>";
    font-weight: bold;
    letter-spacing: -.2rem;
    margin-left: .5rem;
}

@media (max-width: 800px) {
    .box.item {
        padding: .5rem;
        flex-direction: column;
    }

    .box.item h2 {
        font-size: 1.1rem;
    }

    .box.item img {
        max-height: none;
    }

    .box.tape img {
        max-width: 100%;
        height: 100%;
    }
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(../fonts/Poppins-Regular.woff2) format('woff2');
}

@font-face {
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url(../fonts/Poppins-Italic.woff2) format('woff2');
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(../fonts/Poppins-Bold.woff2) format('woff2');
}
