.main-content {
    display: grid;
    grid-template-columns: 92%;
    justify-content: center;
    margin-bottom: 10%;
}

#recipe-controls {
    margin-bottom: 5%;
    display: inline-flex;
    width: 100%;
    justify-content: center;
}

#recipe-controls a {
    text-decoration: none;
    color: black;
    font-size: 1.4em;
}

#recipe-controls a:focus {
    outline: 2px solid;
}

#recipe-controls a:focus:not(:focus-visible) {
    outline: none;
}

li {
    list-style-type: circle;
    line-height: 22px;
    margin-left: 1.5%;
}

#eat-1 {
    background-color: #D0ECF4;
    line-height: 1.3em;
    padding: 25px 50px 25px 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
}

#info-2 {
    margin-top: 3%;
    padding: 25px 50px 25px 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
    border: 2px solid #999999;
}

#eat-2 {
    display: grid;
    grid-template-columns: 30% 30% 30%;
    grid-gap: 60px;
    justify-content: center;
    margin-top: 5%;
    margin-bottom: 7%;
}

#eat-2 img {
    width: 100%;
    height: auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
}

#eat-2 a {
    transition: transform .4s;
}

#eat-2 a:hover, #eat-2 a:focus {
    transform: scale(1.1);
}

#eat-2 a:focus:not(:focus-visible) {
    transform: none;
}

#categories {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-items: center;
    grid-row-gap: 35px;
    grid-column-gap: 35px;
    margin-top: 75px;
}

#categories a:visited, #categories a:active {
    text-decoration: none !important;
}

.link-banner:visited, .link-banner:active, .link-banner:focus {
    text-decoration: none !important;
    outline: none;
    text-underline: none;
}

.link-banner {
    text-decoration: none;
    font-weight: bold;
    font-size: 14pt;
    transition: transform .4s;
}

.link-banner:hover, .link-banner:focus {
    transform: scale(1.1);
}

.see-all {
    transform: none !important;
    border: 2px solid transparent;
    background-color: #006A66;
    color: white !important;
    text-align: center;
    padding: 14px 10px;
    text-decoration: none !important;
    text-underline: none !important;
}

.see-all:active, .see-all:visited {
    text-decoration: none !important;
    text-underline: none !important;
}

.see-all:hover, .see-all:focus {
    background: white !important;
    border: 2px solid #006A66;
    color: black !important;
}

.link-banner span {
    background-color: rgba(11, 123, 127, 0.7);
    color: white;
    text-align: center;
    height: 50px;
    display: grid;
    align-content: center;
}

.inner-flex {
    display: flex;
    flex-direction: column;
}

.link-banner img {
    height: auto;
    width: 100%;
    margin-top: -50px;
    z-index: -1;
}

.see-all {
    grid-column: 2;
    grid-row: 1;
    width: 205px;
    margin-bottom: 35px;
}

.grid-breakfast {
    grid-column: 1;
    grid-row: 2;
}

.grid-app {
    grid-column: 2;
    grid-row: 2;
}

.grid-maindish {
    grid-column: 3;
    grid-row: 2;
}

.grid-salad {
    grid-column: 2;
    grid-row: 3;
}

.grid-side {
    grid-column: 1;
    grid-row: 3;
}

.grid-snack {
    grid-column: 3;
    grid-row: 3;
}

.grid-dessert {
    grid-column: 1;
    grid-row: 4;
}

.int-cats a {
    text-decoration: none;
}

.int-cats {
    display: grid;
    grid-template-columns: repeat(9, 4%);
    /* margin-right: 5%; */
    justify-items: center;
    justify-content: center;
    grid-row-gap: 17px;
    grid-column-gap: 7%;
    align-items: center;
}

.int-links {
    background-color: rgba(11, 123, 127, 1);
    color: white;
    text-align: center;
    height: 45px;
    width: 135px;
    display: grid;
    align-content: center;
    font-weight: bold;
    transition: transform .4s;
    border: 2px solid transparent;
}

.int-links:hover, .int-links:focus {
    background: white;
    color: black;
    border: 2px solid #006A66;
    transition: 0.5s;
}

.back-link {
    color: black;
    text-decoration: none;
    font-weight: bold;
    width: 70px;
    font-size: 14pt;
}

.back-link:focus {
    outline: 2px solid;
}

.back-link:focus:not(:focus-visible) {
    outline: none !important;
}

#return {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#return img {
    width: auto;
    height: 16px;
    padding-right: 4px;
}


/* Media Queries */

@media only screen and (max-width: 1700px) {
    .int-links {
        width: 120px;
    }
}

@media only screen and (max-width: 1550px) {

    .int-links {
        width: 100px;
        font-size: 10pt;
    }

    .back-link {
        font-size: 11pt;
    }

    #return {
        justify-content: center;
    }

    #return img {
        padding-right: 10px;
    }

}

@media only screen and (max-width: 1250px) {
    #eat-2 {
        display: grid;
        padding-left: 2.5%;
        padding-right: 2.5%;
        grid-gap: 50px;
    }

    .link-banner img {
        margin-top: -30px
    }

    .link-banner {
        font-size: 11pt
    }

    .link-banner span {
        height: 30px
    }

    .all-recipes {
        height: 40px
    }

    .see-all {
        width: 160px
    }

    .int-links {
        width: 80px;
        height: 35px;
        font-size: 9pt;
    }

    .int-cats {
        grid-template-columns: 1% repeat(8, 4%);
    }
}

@media only screen and (max-width: 1024px) {
    .int-cats {
        grid-template-columns: repeat(8, 4%);
        grid-row-gap: 5px;
        grid-column-gap: 8%;
    }

    .int-cats a {
        grid-row: 2;
    }

    .back-link {
        grid-row: 1 !important;
    }

    .site-h1 {
        font-size: 25pt;
    }
}

@media only screen and (max-width: 950px) {
    .int-cats a {
        grid-row: inherit;
    }

    .int-cats {
        grid-template-columns: repeat(5, 4%);
        grid-row-gap: 20px;
        grid-column-gap: 14%;
        justify-items: self-end;
    }

    .back-link {
        grid-row: 1 / span 2 !important;
    }
}


@media only screen and (max-width: 800px) {
    #eat-2 {
        margin-top: 7%;
        grid-template-columns: 50% 50%;
        padding-left: 5%;
        padding-right: 5%;
    }

    #eat-2 img:hover {
        transform: none;
    }

    .link-banner:hover {
        transform: none;
    }
}

@media only screen and (max-width: 768px) {
    #categories {
        margin-top: 40px;
        grid-row-gap: 20px;
        grid-column-gap: 20px;
    }

    .link-banner {
        font-size: 9pt;
    }

    .see-all {
        margin-bottom: 20px;
    }

}

@media only screen and (max-width: 675px) {
    .back-link {
        grid-column: 1 / span 3;
    }

    .int-cats {
        grid-template-columns: 10% 10% 10%;
        grid-row-gap: 20px;
        grid-column-gap: 25%;
        justify-items: baseline;
        justify-content: flex-start;
    }

    .int-links {
        width: 165px;
        height: 40px;
        font-size: 11pt;
    }

}

@media only screen and (max-width: 650px) {

    .grid-breakfast {
        grid-column: 1;
        grid-row: 2;
    }

    .grid-app {
        grid-column: 1;
        grid-row: 3;
    }

    .grid-maindish {
        grid-column: 1;
        grid-row: 4;
    }

    .grid-salad {
        grid-column: 1;
        grid-row: 6;
    }

    .grid-side {
        grid-column: 1;
        grid-row: 5;
    }

    .grid-snack {
        grid-column: 1;
        grid-row: 7;
    }

    .grid-dessert {
        grid-column: 1;
        grid-row: 8;
    }

    .see-all {
        grid-column: 1;
        grid-row: 1;
    }

    #categories {
        display: grid;
        grid-template-columns: 1fr;
        justify-items: center;
        grid-row-gap: 35px;
        grid-column-gap: 35px;
        margin-top: 50px;
    }

    .link-banner img {
        margin-top: -50px
    }

    .link-banner {
        font-size: 11pt
    }

    .link-banner span {
        height: 50px
    }

    .see-all {
        width: 200px;
    }

    .all-recipes {
        height: 50px;
    }

    .main-content {
        margin-bottom: 20%;
    }

}

@media only screen and (max-width: 600px) {
    .back-link {
        grid-row: 1 !important;
        grid-column: 1 / span 2;
    }

    .int-links {
        width: 100%;
        font-size: 12pt;
    }

    .int-cats {
        grid-template-columns: 1fr 1fr;
        grid-row-gap: 19px;
        grid-column-gap: 10%;
        justify-items: baseline;
        justify-content: flex-start;
    }
}

@media only screen and (max-width: 425px) {
    #eat-1 {
        padding: 25px 25px 25px 25px;
        margin-bottom: 12%;
    }

    #eat-1 p {
        font-size: 1em;
    }

    #eat-1 h1 {
        font-size: 1.5em;
    }

    #eat-2 {
        margin-top: 12%;
        margin-bottom: 20%;
        grid-template-columns: 100%;
        padding-left: 0;
        padding-right: 0;
        grid-gap: 25px;
    }
}

@media only screen and (max-width: 375px) {

    .link-banner img {
        margin-top: -40px
    }

    .link-banner {
        font-size: 11pt
    }

    .link-banner span, .all-recipes {
        height: 40px
    }

    .see-all {
        margin-bottom: 10px;
    }
}

@media only screen and (max-width: 320px) {
    .int-cats {
        grid-template-columns: 1fr;
    }

    .back-link {
        grid-column: 1;
    }
}