@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400..900&family=Oxanium:wght@200..800&family=Quantico:ital,wght@0,400;0,700;1,400;1,700&display=swap');

*{
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
     font-family: "Orbitron", 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: greenyellow;
}

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: "Quantico", sans-serif;
    /* font-size: 50px; */
}

main section img{
    width: 100%;
    border-radius: 15px;
}

main section.with_image figure{
    width: 25%;
}

.with_image{
    display: flex;
    gap: 20px;
}

.link_to_recipe{
    width: 100%;
    border-radius: 20px;
    border: 3px solid red;
    transition: 0.5s;
}

.link_to_recipe:hover{
    transform: scale(1.05);
}

#march{
    border-collapse: collapse;
}

#march th, #march td{
    border: 3px solid red;
    padding: 2px;
    width: 70px;
    height: 30px;
}

#march td{
    text-align: right;
    transition: 0.5s;
}

#march td:not(.past):hover{
    background-color: blue;
    color: white;
}

.past{
    opacity: 0.4;
}

#merge_cells{
    border-collapse: collapse;
}

#merge_cells td{
    border: 5px solid blue;
    text-align: center;
    padding: 20px;
    font-size: 30px;
}

#closing{
    cursor: pointer;
    transition: 0.5s;
    display: block;
    position: absolute;
}

#closing:hover{
    transform: rotate(360deg) !important;
}

footer{
    background-color: gray;
    height: 30px;
    position: fixed;
    bottom: 0px;
    left: 0px;
    right: 0px;
    text-align: center;
    line-height: 30px;
    color: white;
}