
/* bass styles */
@font-face {
    font-family: 'young-serif';
    src: url(./assets/fonts/young-serif/YoungSerif-Regular.ttf) format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'outfit';
    src: url(./assets/fonts/outfit/Outfit-VariableFont_wght.ttf) format('truetype');
    font-weight: normal;
    font-style: normal;
}
body {
    padding: 40px;
    background-color: #f3e5d8;
    font-family: 'outfit';
}

.container {
    background-color: white;
    max-width: 700px;
    margin: auto;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.recipe-img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 20px;
}

h1 {    
    font-size: 32px;
    margin-bottom: 10px;
    font-family: 'young-serif';
}

.description p {
    color: #424040;
    margin-bottom: 25px;
    font-size: 8px;
    line-height: 1.5;
}

.prep-time {
    background-color: #fff5fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.prep-time h3 {
    font-family: 'young-serif';
    color: #7b284f;
}

.prep-time ul {
    padding-left: 20px;
    color: #424040;
}

h2 {
    font-family: 'young-serif';
    color: #683a15;
    margin-top: 30px;
}

.ingredients, .instructions {
    padding-left: 20px;
    color: #333;
    border-bottom: 1px solid #cecccc;
    margin-bottom: 20px;
}

.ingredients li {
    margin-bottom: 6px;
    line-height: 1.5;    
}

.ingredients ul {
    margin-bottom: 40px;   
}

.instructions li {
    margin-bottom: 6px;
    line-height: 1.5;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2%;
}

.data {
    color: #683a15;
    font-family: 'outfit';
    font-size: 10px;
    font-weight: bold;
}

table td {
    padding: 10px;
    border-bottom: 1px solid #cecccc;
    font-size: 8px;
}

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

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

/* reponsive styles */
@media (max-width:600px) {
    body {
        padding: 10px;
    }

    .container {
        padding: 20px;
    }

    h1 {
        font-size: 10px;
    }

    h2 {
        font-size: 9px;
    }

    .prep-time ul, .ingredients, .instructions {
        padding-left: 15px;
    }

    table td {
        padding: 8px;
        font-size: 7px;
    }
}