/* chargement police media/KOMIKAX_.ttf */
@font-face {
    font-family: 'Komika';
    src: url('./media/KOMIKAX_.ttf') format('truetype');
}

body {
    background-size: cover;
    font-family: 'Komika', sans-serif;
    color: white;
}
.content {
    padding-top: 30px;
    padding-bottom: 60px;
    background: url('./media/bgdark1.jpg') no-repeat center center;
    /* fit background erticall */
    background-size: cover;
}
main {
    width: 90%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}
header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: black;
    color: white;
    text-align: center;
}
.menu {
    margin: 10px 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
.postit {
    background-color: #ffde60;
    text-transform: uppercase;
    max-width: 80%;
    margin: auto;
    margin-top: 30px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.5);
    padding: 20px;
    color: black;
    
    transform: rotate(8deg);
    transform-origin: center center;
}
.postit::before {
    background-image: url('./media/smallpin.png');
    background-repeat: no-repeat;
    content: '';
    position: absolute;
    width: 50px;
    height: 100px;
    top: -42px;
    left: 150px;
    transform: rotate(8deg);
}
.footnote {
    text-align: center;
    margin-top: 25px;
    font-size: 0.6rem;
}
tr > th {
    text-align: left;
}
.postit table {  
    font-size: 0.9rem;
}
.address {
    margin-top: 10px;
    font-size: 0.9rem;
}
.phone a {
    color: rgb(255, 222, 96);
    text-decoration: none;
}

footer {
    background-color: black;
    color: white;
    text-transform: uppercase;
    padding: 30px 20px;
    text-align: center;
    padding: 20px;
}
.socials {
    display: flex;
    flex-direction: row;
    margin-top: 10px;
}


/* desktop */
@media (min-width: 768px) {
    header {
        font-size: 1.3rem;
    }
    header img {
        max-width: 500px;
        padding: 20px 0 0 0;
    }
    main {
        flex-direction: row;
        max-width: 1200px;
        justify-content: space-between;
    }
    .menu {
        width: 48%;
    }
    .postit {
        max-width: 350px;
        display: flex;
        flex-direction: column;
    }
    .postit > * {
        margin: auto unset;
    }
    .postit table {
        margin: auto;
    }
}