:root{
    --main_bg_color: red;
    --main_text_color: white;
    --main_accent_color: black;

    --dark_bg_color: var(--main_bg_color);
    --text_on_dark_color: var(--main_text_color);
    
    --light_bg_color: var(--text_on_dark_color);
    --text_on_light_color: var(--dark_bg_color);
    

    --header_height:        50px;
    --footer_height:        50px;
}

footer nav .col{
    margin:0;
    padding:0;
}

/* Remove gap between p and i tags in footer navigation */
footer nav a {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 0;
}

footer nav a p {
    margin: 0;
    line-height: 1;
}

footer nav a i {
    margin: 0;
    line-height: 1;
}

/**
 *  This is for tablets
**/
@media only screen and (max-width: 47em) 
{
    
    h1{
        font-size: calc(1.375rem + 0.5vw) !important;
        margin-top:5px !important;
    }
    main{
        width:90%;
        margin:0 auto;
        margin-bottom: 55px;
        padding-top: 40px;
    }
    
    /* input{
        width:calc(100vw - 20px) !important;
        margin:0 auto !important;
    } */
    select{
        width:calc(100vw - 20px) !important;
        margin:0 auto !important;
    }
    header{
        box-sizing: border-box;
        position: fixed;
        top: 50;
        width: 100%;
        z-index: 500;
        background:white;
        box-shadow: 0 -7px 25px -2px gray;
        max-height: 50px;
        overflow: hidden;
    }
    #shoppinglist{
        font-size: 13px;
    }
    .split{
        width: 75%;
        margin:15px auto;
    }
    p{
        margin-bottom:7px !important;
    }
    
    :disabled{
        color:grey;
    }


    .shoppinglistheader{
        box-sizing: border-box;
        background:white;
        box-shadow:0 10px 15px -10px gray;
        position: sticky;
        top: 50px;
        margin: 10px 0;
        z-index: 501;
        padding-top: 5px;
        max-height: 50px;
        font-size: 16px;
    }
}

/**
 *  This is for phones
**/
@media only screen and (max-width: 30em) 
{
    h1{
        font-size: calc(1.375rem + 0.5vw) !important;
        margin-top:5px !important;
    }
    main{
        width:100%;
        margin:0 auto;
        margin-bottom: 55px;
        padding-top: 40px;
    }

    .card{
        border: none !important;
    }
    /* input{
        width:calc(100vw - 20px) !important;
        margin:0 auto !important;
    } */
    select{
        width:calc(100vw - 20px) !important;
        margin:0 auto !important;
    }
    header{
        box-sizing: border-box;
        position: fixed;
        top: 50;
        width: 100%;
        z-index: 500;
        background:white;
        box-shadow: 0 -7px 25px -2px gray;
        max-height: 50px;
        overflow: hidden;
    }
    #shoppinglist{
        font-size: 13px;
    }
    .split{
        width: 75%;
        margin:15px auto;
    }
    p{
        margin-bottom:7px !important;
    }
    
    :disabled{
        color:grey;
    }

    .shoppinglistheader{
        box-sizing: border-box;
        background:white;
        box-shadow:0 10px 15px -10px gray;
        position: sticky;
        top: 50px;
        margin: 10px 0;
        z-index: 501;
        padding-top: 5px;
        max-height: 50px;
        font-size: 16px;
    }
}


