@import url('https://fonts.googleapis.com/css2?family=Cabin+Sketch:wght@400;700&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

html{
    --base-color: bisque;
    --meal-color: #a83232;
    --side-color: #eb9019;
    --dessert-color: #ad589b;
    --drink-color: #5890ad;
}

html {
    background: rgb(214, 214, 214);
    box-sizing: border-box;
    line-height: 1.5em;
    font-size: 20px;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

html {
    background-image: radial-gradient(#d9d9d9 1px, transparent 1px), radial-gradient(#d9d9d9 1px, transparent 1px);
    background-size: 12px 12px;
    background-position: 0 0, 6px 6px;
    background-color: rgba(71, 212, 255, 0);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Cabin Sketch', Arial, Helvetica, sans-serif;
}

h1 {
    line-height: 2.5rem;
    font-size: 3rem;
}

h2{
    font-size: 1.7rem;
}

#ggs {
    text-align: center;

}

.text-center{
    text-align: center;
}

.mt-5{
    margin-top: 3rem;
}

.dotted{
    height: 1px;
    border:none;
    border-bottom: 5px dotted gray;
}

body {
    width: 80%;
    margin: 2rem auto;
    min-width: 300px;
    max-width: 1100px;
    height: 100%;
    min-height: 90vh;
    padding: 0;
    background: white;
    border: 2px solid rgba(0, 0, 0, .05);
}

main {
    padding: 2rem 4rem;
}

a {
    text-decoration: none;
}

.rep-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    font-size: .8rem;
    line-height: .8rem;
    word-wrap: break-word;

    &>a {
        display: flex;
        flex-direction: column;
        justify-content: start;
        padding: .5rem 1rem;
        border: 1px solid lightgray;
        border-radius: 5px;
        color: black;
        width: 8rem;
        text-align: center;
        gap: .3rem;
        font-weight: 500;

        &:visited{
            color: black;
        }

        &>.summary{
            font-size: .6rem;
            font-weight: 300;
        }

        /*&.base{
            border-color: bisque;
        }
    
        &.meal{
            border-color: #a83232;
        }
    
        &.side{
            border-color:#eb9019;
        }
    
        &.dessert{
            border-color: #ad589b;
        }
    
        &.drink{
            border-color:#5890ad;
        }*/
    }
}

.tags {
    display: none;
    justify-content: center;
    align-items: end;
    margin: .4rem 0 0 0;
    line-height: .6rem;
    font-size: .6rem;
    gap: .2rem;

    &>span {
        padding: .3rem;
        border-radius: 20px;
        color: black;
    }

    .base{
        background-color: bisque;
    }

    .meal{
        background-color: #a83232;
        color: white;
    }

    .side{
        background-color:#eb9019;
        color: white;
    }

    .dessert{
        background-color: #ad589b;
        color: white;
    }

    .drink{
        background-color:#5890ad;
        color: white;
    }
}

#back-btn {
    text-decoration: none;
    width: min-content;
    height: min-content;
    text-align: center;

    &>* {
        font-size: 2rem;
    }
}

#back-btn:active,
#back-btn:visited,
#back-btn:hover {
    color: lightgray;
}

@media (max-width: 650px) {
    html {
        font-size: 16px;
    }

    body {
        width: 90%;
        margin: 1rem auto;
        min-height: 100vh;
    }

    main {
        padding: 0rem 1rem 1rem 1rem;
    }
}