/* General */

body {
    background-color: #ffeeb7;
    color: black;
    text-align: center;
    font-family: "aptos", sans-serif;

}

/* Navigation */

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
}

.navbar {
    font-family: "joanna-nova", sans-serif;
    padding: 4px;
}

.home {
    font-size: 30px;
    font-weight: 600;
}

.menu {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-right: 3%;
}

.sub {
    font-size: 20px;
}

.home:hover {
    color: #BA5937;
    transition: color 0.2s ease;
}

.sub:hover {
    color: #BA5937;
    transition: color 0.2s ease;
}


nav a {
    /*Removing default underline and colour from menu links */
    color: white;
    text-decoration: none;
}

.burger {
    display: none;
}

/* Page State */

.page {
    /*Each page state hidden until activated */
    display: none;
}

.page.active {
    display: block;
}

/* Page Layout */
/* NK: This section I asked AI for help as I never used column grids before.
From my understanding the 1fr 1fr splits the page into 2 fractions of exact same size. 
*/

.layout {
    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;

    width: 100%;

    margin: 0 auto;
    padding: 30px 2%;
}

.text-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    padding: 10px;
}

.visual-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    width: 100%;
    height: 100%;
    padding: 10px;
}

/* Text */

.title {
    color: #810020;
    font-size: 60px;
    font-family: "joanna-nova", sans-serif;
    font-weight: 700;
    margin: 10px;
}

.description {
    font-size: 18px;
    margin: 15px;
}

.speech {
    font-size: 30px;
    font-family: "dreaming-outloud-sans", sans-serif;
    margin: 10px;
    padding: 0 25%;
}

/* Buttons */

.primary {
    background-color: #810020;
    color: white;
    height: 45px;
    font-size: 16px;
    font-weight: bold;
    width: 400px;
    border-radius: 30px;
    margin: 10px;
}

.primary:hover {
    background-color: #BA5937;
    transform: scale(1.02)
}

.secondary {
    background-color: #FFFFFF;
    color: #810020;
    height: 45px;
    font-size: 16px;
    font-weight: bold;
    width: 400px;
    border-radius: 30px;
    margin: 10px;
}

.secondary:hover {
    background-color: #f5d598;
    transform: scale(1.02)
}

.back {
    background-color: #FFFFFF;
    color: #810020;
    height: 45px;
    font-size: 16px;
    font-weight: bold;
    width: 200px;
    border-radius: 30px;
    margin: 10px;
}

/* 3D and 2D Assets */
#finished-dish {
    display: block;
    margin: 5px auto;
}

#nonna {
    display: block;
    margin: 5px auto;
}

/* NK: Asked AI for recommendation on getting positioning of ingredients around the central Arancini */

#list {
    position: relative;
    width: 1000px;
    height: 600px;
    margin: 30px auto;
}

#list img {
    display: block;
}

.cutaway {
    position: absolute;
    width: 250px;
    height: 250px;
    object-fit: contain;

    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ingredient {
    position: absolute;
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.ingredient:hover {
    transform: scale(1.05);
}


/* LEFT COLUMN */

.oil {
    top: 0;
    left: 100px;
}

.onion {
    top: 0;
    left: 300px;
}

.garlic-clove {
    top: 160px;
    left: 0;
}

.vegetable-oil {
    top: 160px;
    left: 200px;
}

.rice {
    top: 320px;
    left: 0;
}

.dry-white-wine {
    top: 320px;
    left: 200px;
}

.breadcrumbs {
    bottom: 0;
    left: 100px;
}

.parmesan {
    bottom: 0;
    left: 300px;
}

/* RIGHT COLUMN */

.chicken-stock {
    top: 0px;
    right: 300px;
}

.peas {
    top: 0px;
    right: 100px;
}

.ham {
    top: 160px;
    right: 200px;
}

.eggs {
    top: 160px;
    right: 0;
}

.flour {
    top: 320px;
    right: 200px;
}

.milk {
    top: 320px;
    right: 0px;
}

.mozzarella {
    bottom: 0;
    right: 200px;
}




footer {
    font-size: 25px;
    margin: 20px;
}