*{
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

:root{
    --main_bg: #00FFFF;
    --w: 5vw;
    --h: 2vh;
}

header{background-color: blue;
    color: white;
    padding: 5px 20px;
    height: 84px;
    display: flex;
    align-items: center;
}

header h1{
    width: calc(100% - 80px);
    float: right;
    text-align: center;
    line-height: 84px;
    flex: 1;
    font-size: clamp(12px, 5vw ,32px);
}

h2{
    font-size: calc((var(--w) + var(--h)) *2);
}


nav{
    background-color: green;
}

nav ul{
    display: flex;
    gap: 20px;
    padding: 5px 20px;
    height: 30px;
    align-items: center;
    justify-content: space-evenly;
}

nav ul li{
    list-style: none;

}

nav ul li a{
text-decoration: none;
color: black;
}

#active{
    text-decoration: underline;
    text-underline-offset: 3px;
}

main{
    background-color: var(--main_bg);
    min-height: calc(100vh - 40px - 30px - 74px);
    padding: 20px 20px 50px 20px;
}

main p{
    font-family: Georgia, 'Times New Roman', Times, serif;
}

main section img{
    width: 100%;
    border-radius: 15px;
}

main section.width_image figure{
    width: 10%;
}

.width_image{
    display: flex;
    gap: 20px;
}

.link_to_recipe{
    width: 100%;
    border-radius: 20px;
    border: 3px solid rgb(0, 0, 0);
    transition: 0.5s;
}

.link_to_recipe:hover{
    transform: scale(1.05);
}

#march{
    border-collapse: collapse;
}

#march th, #march td{
    border: 3px solid rgb(0, 0, 0);
    padding: 2px;
    width: 70px;
    height: 30px; 
}

#march td{
    text-align:right
}

.past{
    opacity: 0.4;
}
   
#closing{
    cursor: pointer;
    transition: 0.5s;
    display: block;
    position: absolute;
}


footer{
    background-color: grey;
    height: 30px;
    position: fixed;
    bottom: 0px;
    left: 0px;
    right: 0px;
    text-align: center;
    line-height: 30px;
    color: white;
}