*,
::before,
::after{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* border: var(--MyBorder1); */
}
html{
    font-size: 62.5%;

}
body{
    font-size: 1.4rem ;
    font-family: 'Playfair Display', serif;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    color: var(--gray1);
}
:root {
    --MyBorder: #eb008a solid 2px;
    --MyBorder1:teal solid 1.5px;
    --MyBorder2: yellow solid 2px;
    --bg-white: #FFFFFF;
    --black: #000000;
    --gray1: #333333;
    --gray2: #4f4f4f;
    --gray3: #828282;
    --gray4: #BDBDBD;
    --orange: #F2994A;
}
a{
    text-decoration: none;
}
h1, h2, h3,
h4, h5, h6{
    font-family: 'Playfair Display', sans-serif;
    color: var(--GRAY1);
    font-weight: bold;
    margin-bottom: 2.5%;
}
img{
    width: 100%;
    height: auto;
}
ul{
    list-style: none;
}
.container {
    border: var(--MyBorder1);
    position: relative;
    min-width: 376px;
    max-width: 768px;
    max-height: 3740px;
    box-shadow: 0px 2px 24px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 3.5%;
    margin: 0 auto;
 
}
/* ------------------- */
header{
    padding-top: 15px;
    margin: 0 auto;
}
header h1 {
    padding-bottom: 12px;
    font-size: 2.4rem;
    line-height: 3.2rem;
}
div.dots-text{
    display: flex;
    align-items: baseline ;
}
div.dots{
    width: 13px;
    height: 8px;
    background-image: url(../images/6dots.svg);
    background-repeat: no-repeat;
    background-position: left;
}
header p{
    width: 95%;
    padding-left: 2.5%;
    color: var(--gray2);
    font-style: italic;
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1.5rem;
    margin-bottom: 5%;
}
img{
    width:95%;
    height:6%;
    border-radius: 12px ;
    margin-bottom: 2.5%;
    
}
/* -------- MAIN - MAIN ----------- */
main{
    width: 100%;
    margin: 0 auto;
}
.yields{
    display: flex;
    align-self: stretch;
    margin-bottom: 7%;
}
.yields img{
    width: 22px;
    height: 22px;
    margin-right: 7px;
}
.yields ul li:first-child{
    color: var(--gray4);
    font-weight: bold;
    font-size:0.8rem;
    line-height: 1.2rem;
}
.yields ul li:last-child{
    color: var(--orange);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.2rem;
    text-transform: uppercase;
}
/* ------------ARTICLE.TIME------------------ */
article.time{
    /* border: var(--MyBorder1); */
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 7%;
}
.time div{
    display: flex;
    justify-content: center;
    align-items: center;
}
.time img{
    width: 15px;
    height: 15px;
    margin-right: 7px;
}
.time ul li:first-child {
    color: var(--gray4);
    font-family: Montserrat;
    font-weight: bold;
    font-size: 0.8rem;
    line-height: 10px;
    text-transform: uppercase;
}
.time ul li:last-child {
    color: var(--gray1);
    font-family: Montserrat;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.2rem;
}
/* ----------ARTICLE.INGREDIENTS-------------------- */
.ingredients{
    font-style: normal;
    /* font-weight: bold; */
    font-size: 1.8rem;
    line-height: 2.4rem;
}
.ingredients h2{
    margin-bottom: 3.5%;
}
.ingredients p{
    font-family: 'Playfair Display', serif;
    color: var(--gray1);
    font-style: italic;
    font-weight: normal;
    font-size: 1.6rem;
    line-height: 2.1rem;
    margin-bottom: 5%;
}
.ingredients span{
    font-weight: bold;
}
.ingredients>div{
    margin-bottom: 2.3%;
}
.ingredients>div:last-of-type{
    margin-bottom: 8%;
}
.ingredients div ul{
    display: flex;
    font-weight: normal;
}
.ingredients ul li:first-child{
    height: 10px;
    padding: 10px;
    border: var(--gray3) solid 1px;
    border-radius: 4px;
    margin-right: 2.5%;
}
.ingredients ul:last-of-type{
    font-size:1.4rem ;
    line-height: 2.2rem;
    font-weight: normal;
} 
/* ----------ARTICLE.CHEESECAKE------------- */
.cheesecake{
    font-style: normal;
    line-height: 2.4rem;
}
.cheesecake h2{
    font-style: italic;
    font-weight: normal;
    font-size: 1.8rem;
    line-height: 2.4rem;
    margin-bottom: 5%;
}
cheesecake span{
    font-weight: bold;
}
.cheesecake>div {
    margin-bottom: 2.5%;
}
.cheesecake>div:last-of-type{
    margin-bottom: 10%;
}
.cheesecake>div ul {
    display:flex;
}
.cheesecake ul li:first-child{
    height: 10px;
    padding: 10px;
    border: var(--gray3) solid 1px;
    border-radius: 4px;
    margin-right: 2.5%;
}
.cheesecake em{
    font-weight: 700;
}
/* ----------ARTICLE.INSTRUCTIONS---------- */
.instructions {
    line-height: 2.4rem;
}
.instructions h2 {
    font-size: 1.8rem;
    line-height: 2.4rem;
    margin-bottom: 5%;
}
.instructions span{
font-weight: bold;
}
.instructions>div>ul{
  display: flex;
  margin-bottom: 5%;
}
.instructions>div:last-of-type{
    margin-bottom: 25%;
  }
.instructions ul li{
    margin-right: 5%;
}
.instructions ul>li:first-of-type{
    height: 13px;
    height: 32px;
    padding: 3%;
    background-color: orange;
    color:white;
    font-weight: bold;
    text-align: center;
    border-radius: 4px;
    display: flex;
    align-items: center;
}
footer{
    color:#eb008a;
    text-align: center;
}
/* FORMAT DESKTOP - FORMAT DESKTOP - FORMAT DESKTOP */
@media screen and (min-width:775px) {
    body {
        background-color: rgb(255, 213, 219);
    }

    container {
        min-width: 775px;
        max-width: 1440px;
        position: relative;
    }

    .yields_time {
        position: absolute;
        width: 216px;
        height: 367px;
        left: 63%;
        top: 20%;
        background: #FFFFFF;
        box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
        border-radius: 12px;
    }
    .yields{
        display: flex;
        justify-content: center;
        margin: 25% 0;
    }

    article.time {
        display: block;
        justify-content: center;

    }
    .time>div{
        margin-bottom: 25%;
        justify-content: 0;
    }

    

 
    
}