html, body {
    height: 100%;
    margin: 0;

}

body {
    background-image: url('images/kitchenbg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    font-family: Arial, sans-serif;
}
.recipe-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}


.cooking-box {
    width: 450px;              /* makes boxes wider */
    height: 550px;
    background-color: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px); /* lower opacity */
    border-radius: 20px;
    padding: 40px 20px;         /* creates headroom inside the box */
    text-align: center;
    margin-top: 70px;           /* moves whole box down */
}


.machine {
    width: 140px;
}
.food {
    width: 100px;
    height: 100px;
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.food:hover {
    transform: scale(1.15) rotate(3deg);
}
.cooking-box {
    box-shadow: 0 0 25px rgba(255,255,255,0.15);
}
.cooking-box {
    font-family: "Germania One", serif;
}
h2 {
    color: white;
    font-size: 35px;
}


.popup {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 100;
}

.popup-content {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);

    width: 70vw;
    height: 70vh;

    padding: 35px;
    margin: 10vh auto;

    border-radius: 25px;
    border: 1px solid rgba(255,255,255,0.3);

    color: white;
    text-align: center;

    font-family: "Germania One", sans-serif;

    overflow-y: auto;
}

.popup-content h2 {
    font-size: 36px;
    margin-top: 0;
}

.popup-content p {
    font-family: Arial, sans-serif;
    font-size: 18px;
    line-height: 1.6;
}

.close {
    float: right;
    font-size: 30px;
    cursor: pointer;
}

.recipe-layout{
    display:grid;
    grid-template-columns:320px 1fr;
    gap:35px;
    margin-top:20px;
    text-align:left;
}

.left-column{
    display:flex;
    flex-direction:column;
    gap:25px;
}

.right-column{
    display:flex;
    flex-direction:column;
    gap:25px;
}

.recipe-image{
    width:100%;
    border-radius:15px;
    object-fit:cover;
}

.recipe-section{
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.15);
    border-radius:15px;
    padding:18px;
}

.recipe-section h3{
    margin-top:0;
    color:#ffd96c;
    font-size:26px;
}

.recipe-section ul{
    padding-left:20px;
    font-family:Arial;
    line-height:1.7;
}

.recipe-section div{
    font-family:Arial;
    line-height:1.7;
}

.popup-content{
    overflow-y:auto;
}

@font-face {
    font-family: "Minecraftia";
    src: url("../fonts/Minecraftia-Regular.ttf") format("truetype");
}

.box {
    width: 1050px;
    padding: 20px;

    color: white;
    font-family: "Minecraftia";
	font-size: 16px;

    background-color: #684eb5;
    border: 1px solid black;
    border-radius: 5px;

    position: absolute;
    top: 720px;
    left: 390px;
}


.popup-content{
    overflow-y: auto;

    /* Firefox */
    scrollbar-width: none;

    /* IE */
    -ms-overflow-style: none;
}

.popup-content::-webkit-scrollbar{
    display: none;
}

#rice-recipes,
#pan-recipes,
#air-recipes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: flex-start;
    gap: 15px;
    margin-top: 20px;
}

.cooking-box {
    box-sizing: border-box;
}