@import url('https://fonts.googleapis.com/css2?family=SN+Pro:ital,wght@0,200..900;1,200..900&display=swap');

.sn-pro {
    font-family: "SN Pro", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

html {
    height: 100%;
    width: 100%;
    text-align: center;
}

body {
    font-family: "SN Pro";
    background-color: white;
    display: flex;
    flex-direction: column;
    cursor: crosshair;
}

header {
    margin: auto;
    padding: 20px;
    padding-top: 0px;
    border-bottom: solid black 2px;
}

article {
    padding: 20px;
    border-bottom: solid black 2px;
}

footer {
    height: 50px;
    width: fit-content;
    margin: auto;
    align-content: center;
}

#pic {
    height: 200px;
    border: dashed black 4px;
}

h1 {
    font-size: 1.75em;
    text-decoration: underline;
}

h2 {
    font-size: 1.5em;
}

p {
    font-size: 1em;
}

.description {
    text-align: justify;
}

hr {
    border: none;
    border-bottom: dotted black 2px;
}

a {
    font-style: italic;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    color: orange;
    font-weight: bold;
}

ul,
ol {
    /*Ceci permet de sélectionner les listes*/
}

.time {
    font-weight: bold;
    font-style: italic;
    color: grey;
}

.external-link {
    color: purple;
}

#cook-time {
    font-weight: bold;
    font-style: italic;
}

#encadre {
    width: 80%;
    max-width: 1200px;
    margin: auto;
    border: solid black 2px;
    background-color: rgb(255, 238, 218);
    border-radius: 20px;
}

#divdescription {
    max-width: 1000px;
    margin: auto;
}

#divingredient {
    max-width: 1000px;
    text-align: left;
    margin: auto;
}

#divpreparation {
    max-width: 1000px;
    text-align: left;
    margin: auto;
}

#divfond {
    max-width: 1000px;
    text-align: justify;
    margin: auto;
}

@media only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px) {

    #pic {
        width: auto;
        height: 100px;
    }
}