* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@font-face {
    font-family: outfit;
    src: url("../assets/fonts/outfit/static/Outfit-Bold.ttf");
    font-weight: 700;
}

@font-face {
    font-family: "outfit 400";
    src: url("../assets/fonts/outfit/static/Outfit-Regular.ttf");
    font-weight: 400;
}

@font-face {
    font-family: "outfit 600";
    src: url("../assets/fonts/outfit/static/Outfit-Bold.ttf");
    font-weight: 600;
}

@font-face {
    font-family: "Young Serif";
    src: url("../assets/fonts/young-serif/YoungSerif-Regular.ttf");
    font-weight: 400;
}


html {
    font-size: 62.5%;
}

body {
    display: flex;
    align-items: center;
    flex-direction: column;
}

main {
    min-width: 375px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

figure {
    width: 100%;
}

figure img {
    width: 100%;
    height: 100%;
}

.section1,
.section2,
.section3 {
    padding: 1rem 2rem 0 2rem;
}

h1 {
    font-size: 3rem;
    margin-bottom: 1.3rem;
    font-family: "Young Serif";
    color: hsl(24, 5%, 18%);
}

.section1 p {
    font-size: 1.4rem;
    font-family: "outfit 400";
    color: hsl(30, 10%, 34%);
}

.preparationTime {
    background-color: hsl(330, 100%, 98%);
    height: 18rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    gap: 1.5rem;
    border-radius: 2rem;
    margin: 1.3rem 0 1.3rem 0;
}

.preparationTime h2 {
    color: hsl(332, 51%, 32%);
    font-family: "outfit 600";
    font-size: 2rem;
}

.preparationTime ul {
    padding-left: 2.5rem;
    color: hsl(30, 10%, 34%);
    text-indent: 1.5rem;
    font-family: "outfit 400";
    font-size: 1.4rem;
}

.preparationTime li {
    margin-bottom: 1rem;
}

.preparationTime ul li::marker {
    color: hsl(332, 51%, 32%);
}

strong {
    color: hsl(24, 5%, 18%);
    font-family: "outfit 600";
}

.ingredients h2 {
    margin: 0 0 2rem 0;
    font-family: "young-serif";
    font-size: 3rem;
    color: hsl(14, 45%, 36%);
}

.ingredients ul {
    padding-left: 2.4rem;
    text-indent: 1.5rem;
    color: hsl(30, 10%, 34%);
    font-size: 1.4rem;
    font-family: "outfit 400";
}

.ingredients li {
    margin-bottom: 01rem;
}

.ingredients li::marker {
    color: hsl(14, 45%, 36%);
}

hr {
    border: 1px solid hsl(30, 18%, 87%);
    width: 80%;
    margin: 3rem 0 3rem 0;
}

.section2 h2 {
    margin-bottom: 2rem;
    color: hsl(14, 45%, 36%);
    font-size: 3rem;
    font-family: "young-serif";
}

.section2 ol p {
    padding-left: 0.5rem;
    font-family: "outfit 400";
    font-size: 1.4rem;
    color: hsl(30, 10%, 34%);
}

.section2 li {
    margin: 0.8rem 0 0.8rem 3rem;
}

.section2 li::marker {
    color: hsl(14, 45%, 36%);
    margin-right: 1rem;
    font-family: "outfit 600";
    font-size: 1.4rem;
}

.section3 {
    width: 100%;

}

.section3 h2 {
    color: hsl(14, 45%, 36%);
    font-family: "young-serif";
    font-size: 3rem;
    margin-bottom: 2.5rem;
}

.section3 p {
    font-size: 1.4rem;
    font-family: "outfit 400";
    color: hsl(30, 10%, 34%);
    margin-bottom: 2rem;
}

.section3 table {
    width: 100%;
    height: 100%;
}

.section3 td {
    padding: 1rem;
    border-bottom: 0.1rem solid hsl(30, 18%, 87%);
    color: hsl(30, 10%, 34%);
    font-family: "outfit 400";
    font-size: 1.4rem;
    text-indent: 2.6rem;
}

.section3 .tdColor {
    color: hsl(14, 45%, 36%);
}

.section3 .td1 {
    border-bottom: 0.1rem solid hsl(0, 0%, 100%);
    margin-bottom: 2rem;
}

.attribution {
    font-size: 1.1rem;
    text-align: center;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.attribution a {
    color: hsl(228, 45%, 44%);
    text-decoration: none;
}

@media screen and (max-width: 1440px) and (max-height: 600px) {


    body {
        background-color: hsl(30, 54%, 90%);
        max-width: 1440px;
        max-height: 100%;
        margin-bottom: 5rem;
    }

    main {
        background-color: hsl(0, 0%, 100%);
        width: 73.8rem;
        height: 100%;
        padding: 1.5rem;
        border-radius: 2rem;
        margin: 5rem 0 5rem 0;
    }

    figure img {
        margin-bottom: 4rem;
        border-radius: 2rem;
        width: 100%;
        height: 100%;
    }

    .section1 h1 {
        font-size: 3.9rem;
        text-transform: uppercase;
        margin-bottom: 2.7rem;
        font-family: "Young Serif";
        color: hsl(24, 5%, 18%);
    }

    .section1 p,
    .preparationTime ul,
    .ingredients li,
    .section2 ol p,
    .section3 td,
    .section3 p {
        font-size: 1.6rem;
    }

    .preparationTime h2,
    .ingredients h2,
    .section2 h2,
    .section3 h2 {
        font-size: 3rem;
    }

    hr {
        width: 90%;
    }

}