@font-face {
    font-family: "Outfit";
    src: url(assets/fonts/outfit/Outfit-VariableFont_wght.ttf);
}

@font-face {
    font-family: "YoungSerif";
    src: url(assets/fonts/young-serif/YoungSerif-Regular.ttf);
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: "Outfit";
    font-weight: 400;

    display: flex;
    justify-content: center; /* Расположение содержимого по основной оси */
    align-items: center; /* Расположение содержимого по побочной оси */
    background-color: hsl(30, 54%, 90%);

    flex-direction: column;

}


main {
    width: 46rem;
    background-color: hsl(0, 0%, 100%);

    border-radius: 1.1rem;

    padding: 2.5rem;
    margin: 7.7rem 22rem;
}

.wrapper {
    border-radius: 10px;
    overflow: hidden;
}

.wrapper img{
    width: 100%;
}

.header-image {
    display: none;
}

h1 {
    font-family: "YoungSerif";
    font-weight: 300;
    font-size: 30px;
    margin: 2rem 0 1rem 0;
}

h2 {
    font-family: "YoungSerif";
    font-weight: 300;
    margin-top: 1rem;
    color: hsl(14, 45%, 36%);
}

h2:not(:first-of-type) {
    border-top: 1px solid lightgray;
    padding-top: 1rem;
}

.recipe-desc {
    font-family: "Outfit";
    font-size: 16px;
    font-weight: 300;
    color: hsl(30, 10%, 34%);
    margin-bottom: 1.5rem;
}

.prep-time {
    background-color:  hsl(330, 100%, 98%);
    padding: 1.5rem;
    border-radius: 10px;
}

ol li {
    padding: 0 0 0.7rem 1rem;
    line-height: 1.4rem;
}

ol {
    margin-top: 1rem;
}

ul, ol {
    padding-left: 1.5rem;
}

ul li{
    padding-left: 1rem;
    line-height: 2rem;
}

li::marker {
    font-weight: bold;
    color: hsl(30, 10%, 34%);;
}

.bold {
    font-weight: 700;
}

table {
    table-layout: fixed;
    width: 100%;
    border-collapse: collapse;
}

table td {
    text-indent: 2.3rem;
    border-bottom: 1px solid lightgray;
    padding: 0.8rem 0 1rem 0;

    font-family: "Outfit";
    font-size: 16px;
    font-weight: 300;
    color: hsl(30, 10%, 34%);
}

table tr td:nth-child(2) {
    font-weight: bold;
  }


@media (max-width: 600px) {
    main {
        width: 100%;
        border-radius: 0;
        margin-top: 0;
        padding-top: 0;
    }

    .header-image {
        display: block;
        width: 100%;
    }

    .wrapper {
        display: none;
    }
  }