html {
    box-sizing: border-box;
    font-size: 16px;
}

*, *::after, *::before {
    box-sizing: inherit;
}

h1, h2, h4, ul {
    margin: 0px;
}

body {
    background-color: #f3e6d8;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 115px;
    line-height: 1.6rem;
}

#card {
    width: 735px;
    background-color: #ffffff;
    border-radius: 20px;
    padding: 40px;
}

img {
    width: 100%;
    border-radius: 10px;
}

h1 {
    color: #302d2c;
    margin-top: 40px;
    font-size: 2.5rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

h2 {
    color: #854632;
    font-size: 1.65rem;
}

h1, h2 {
    font-family: "Young Serif";
    font-weight: 400;
    opacity: 0.95;
}

p, h4, li {
    font-family: "Outfit";
    color: #5f574e;
    font-weight: 400;
}

#preparation-time {
    background-color: #fff5fa;
    padding: 25px;
    margin-top: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
}

#preparation-time h4 {
    color: #7b284f;
    font-weight: 700;
    font-size: 1.2rem;
    opacity: 0.9;
}

#preparation-time ul {
    margin-top: 8px;
    padding-left: 25px;
}

ul {
    padding-left: 25px;
}

ul li {
    padding-left: 20px;
    margin-left: 0px;
    line-height: 1.9rem;
}

#preparation-time li::marker {
    color: #7b284f;
    font-size: 0.8rem;
}

#ingredients, #instructions {
    margin-top: 25px;
}

li::marker {
    font-size: 0.8rem;
}

#ingredients li::marker, #instructions li::marker {
    color: #854632;
}

ol {
    padding-left: 25px;
}

ol li {
    padding-left: 20px;
}

ol li:not(:first-of-type) { 
    padding-top: 0.18rem; 
}

ol li::marker {
    font-weight: 700;
}

span {
    color: #302d2c;
    font-weight: 700;
    opacity: 0.8;
}

hr {
    background-color: #e4ded8;
    opacity: 0.4;
    margin-top: 25px;
    margin-bottom: 30px;
}

table {
    font-family: "Outfit";
    font-weight: 400;
    width: 100%;
}

table, td {
    border-bottom: 1.9px solid #e4ded8;
    border-collapse: collapse;
}

table td:nth-child(1) {
    color: #5f574e;
    padding-left: 30px;
    padding-bottom: 10px;
    padding-top: 15px;
}

table td:nth-child(2) {
    color: #854632;
    font-weight: 700; 
    padding-left: 0px;
}

table, #bottom-row td {
    border-bottom: none;
}

.attribution {
    font-size: 11px;
    text-align: center;
    margin-top: 10px;
}

.attribution a {
    color: hsl(228, 45%, 44%);
}

@media (max-width: 375px) {

    body {
        padding: 0px;
        margin: 0px;
    }

    #card {
        width: 100%;
        padding: 0px;
        margin: 0px;
        border-radius: 0px;
    }

    img {
        border-radius: 0px;
    }

    #mobile {
        padding: 0px 30px 30px 30px;
    }

    h1 {
        font-size: 2.2rem;
        line-height: 1em;
        margin-top: 30px;
    }
    
}