/* reset */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
.italic{
    font-style: italic;
}
.bold{
    font-weight: bold;
}
@import url('https://fonts.googleapis.com/css2?family=Charmonman:wght@400;700&family=Open+Sans:ital,wght@0,400;0,700;1,400;1,700&family=Pirata+One&display=swap');

/* ------ */
body{
    background-color: #AB201F;
    color: black;
    font-size: 16px;
    margin: 25px 20%;
    font-family: 'Open Sans', sans-serif;
}
h1{
    font-family: 'Pirata One', cursive;
    font-size: 82px;
}
h2{
    font-family: 'Charmonman', cursive;
    font-weight: bold;
    font-size: 52px;
}
h3{
    font-family: 'Charmonman', cursive;
    font-size: 38px;
}
header{
    text-align: center;
}
header img{
    width: 200px;
    height: auto;
}
header .intro{
    background-image: url("../ressources/parchemin.png");
    background-position: center;
    background-size: cover;
    margin: 18px 0px;
    padding: 32px;
}
.content{
    padding: 42px 42px;
    background-image: url("../ressources/parchemin.png");
    background-position: center;
    background-size: cover;
}
.generator{
    margin: 32px 0px;
    padding: 18px;
    border: black 2px solid;
}
.result span{
    font-family: 'Charmonman', cursive;
    font-size: 38px;
    margin: 12px;
    padding: 12px;
    background-color: #F7EAD1;
    border: 2px solid #B0A692;
}
.center{
    text-align: center;
}
.result .button{
    color: inherit;
    text-decoration: none;
    background-color: #F7EAD1;
    font-family: 'Charmonman', cursive;
    font-size: 18px;
    margin: 0px 12px;
    padding: 8px;
    border: 2px solid #B0A692;
    border-radius: 12px;
    font-weight: bold;
}
.result .button:hover{
    text-decoration: underline;
    cursor:pointer;
}
.result .button:active{
    text-decoration: underline;
    background-color: #c0b5a1;
}
.result p{
    margin: 25px 0px;
}


/* PHONE */
@media only screen and (max-width: 820px){
    body{
        background-color: #AB201F;
        color: black;
        font-size: 16px;
        margin: 15px 5%;
        font-family: 'Open Sans', sans-serif;
    }
    h1{
        font-family: 'Pirata One', cursive;
        font-size: 82px;
    }
    h2{
        font-family: 'Charmonman', cursive;
        font-weight: bold;
        font-size: 36px;
        margin-top: 16px;
    }
    .result span{
        font-size: 32px;
    }
    .result .button{
        font-size: 14px;
        margin: 16px;
    }
}