body {
    font-family: "arial";
}


#toprow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* Create 4 equal columns */
    gap: 10px;
    /* Space between columns */
    padding: 10px;
}

#med {

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

#medright div {
    margin-top: 10px;
}





#outer {
    padding: 10px;
    margin: 0 auto;
    /* Center the container horizontally */
    max-width: 1200px;
    /* Limit the maximum width of the container */
}

.box {
    border: solid;
}

#medleft {
    padding: 10px;
    margin-top: 10px;
}


#ingredients {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 10px;
}
}

.grid-column {
    padding: 20px;
    /*text-align: center;*/
    border: solid;
}

#toprow {
    border: solid;
}


.nutrient {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.percent {
    margin-left: 10px;
    /* Optional, adds space between the value and the percentage */
}

#bestbefore {
    padding: 10px;
    padding-bottom: 120px;
}

#miscinfo {
    padding: 10px;
}



@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
        /* Two columns on medium screens */
    }
}

@media (max-width: 480px) {
    .grid-container {
        grid-template-columns: 1fr;
        /* One column on small screens */
    }
}
