:root {
    --White: hsl(0, 0%, 100%);
    --Stone100: hsl(30, 54%, 90%);
    --Stone150: hsl(30, 18%, 87%);
    --Stone600: hsl(30, 10%, 34%);
    --Stone900: hsl(24, 5%, 18%);
    --Brown800: hsl(14, 45%, 36%);
    --Rose800: hsl(332, 51%, 32%);
    --Rose50: hsl(330, 100%, 98%);
}

@font-face {
    font-family: 'YoungSerif';
    src: url('young-serif/YoungSerif-Regular.ttf') format('truetype');
}

@font-face {
    font-family: "Outfit";
    src: url('outfit/Outfit-VariableFont_wght.ttf') format('truetype');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    font-family: 'Outfit', sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--Stone100);
}

.main-container {
    background-color: var(--White);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 375px;
    width: 100%;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5rem;
    margin-bottom: 1rem;
}

header img {
    max-width: 100%;
    max-height: auto;
}

.about-Omelette {
    width: 83%;
    margin: 25px 0;
}

.about-Omelette h1 {
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 15px;
    line-height: 32px;
}

h1 {
    font-family: 'Young Serif';
}

.prep-time {
    background-color: var(--Rose50);
    padding: 1.3rem;
    border-radius: 10px;
    width: 83%;
}

.prep-time h1 {
    font-family: 'Outfit';
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--Rose800);
}

.prep-time ul {
    padding: 0 1.7rem;
}

.prep-time li {
    padding-top: 0.6rem;
}

span {
    font-weight: bold;
}

li {
    padding-left: 0.795rem;
}

::marker {
    color: var(--Brown800);
    font-weight: 600;
}

.ingredients, .instructions, .nutrition {
    margin: 0 28px;
    padding: 25px 0;
    border-bottom: 1px solid var(--Stone150);
    width: 83%;
}

.title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.8rem;
    color: var(--Brown800);
}

.ingredients ul, .instructions ol {
    padding-left: 1.7rem;
}

.nutrition {
    width: 82.9%;
    padding-bottom: 20px;
    border: none;
}

table {
    border: none;
    border-collapse: collapse;
    width: 100%;
}

td {
    padding: 0.5rem 1.7rem;
    font-size: 1rem;
}

.top-border{
    border-top: 1px solid var(--Stone150);
}

.nut-value {
    color: var(--Brown800);
    font-weight: 700;
    padding-right: 3.5rem;
}

.attribution { 
    font-size: 0.8rem; 
    text-align: center;
    margin-bottom: 1rem; 
}
.attribution a { 
    color: hsl(228, 45%, 44%); 
}


@media (min-width: 430px) {
    .main-container {
    margin: 4rem;
    margin-bottom: 1rem;
    padding: 1.8rem 1.8rem 0 1.8rem;
    border-radius: 0.8rem;
    max-width: 560px;
    width: 100%;
    font-size: 0.78rem;
    }

    img {
        border-radius: 0.5rem;
    }

    .ingredients, .instructions, .nutrition, .about-Omelette {
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        width: 100%;
    }   

    .prep-time {
        margin-left: 0;
        width: 100%;
    }
    
    .title {
        font-size: 1.7rem;
        margin-bottom: 1rem;
    }

    td {
        font-size: 0.8rem;
    }

    .attribution { 
        font-size: 1rem; 
}

    
}