:root {
    --header-backgroudcolor: rgb(255, 255, 255);
    --aside-backgroudcolor: rgb(255, 67, 67);
    --nav-backgroundcolor: rgb(255, 46, 46);
    --main-backgroudcolor: rgb(0, 0, 0);
    --footer-backgroudcolor: #B30912;
    
    --aside-color: rgb(227, 6, 19);
    --gravera-color: rgb(227, 6, 19);
    --footer-color: rgb(255, 255, 255);
}

.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24

}

* {
    padding: 0;
    box-sizing: border-box;
}

html {
    margin: 0 auto;
    max-width: 1024px;
}


.container {
    position: sticky; 
    top: 0px;
}   

.aside {
    background-color: var(--aside-backgroudcolor);

    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;

    border-radius: 5px;

    width: 100%;
}

.aside-logo-div {    
    width: 25%;
    text-align: center;
}

.aside-logo {
    width: 40px;
}

.aside-search-div {
   width: 50%;
   text-align: center;
}

.aside-search-div .search-bar {
   
    border: none;

    height: 30px;
    width: 50%;
    border-radius: 5px;
    vertical-align: middle;
  
}

.aside-search-div .search-button {

    background-color: var(--aside-color);
    color: white;
    border: none;
    padding: 3px 10px 5px 10px;
    border-radius: 5px;
    font-family: "Abel", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 18px;
    vertical-align:middle
    
}

.aside-search-div .serach-button:hover {
    background-color: rgb(169, 9, 17);
}

.aside-search-div .search-button:active {
    background-color: rgb(124, 7, 12);
}

.aside-search-form {
    text-decoration: none;
}

.aside-links-div {
    width: 25%;
    text-align: right;
    height: 100%;
    padding-right: 5%;
}

/*
Might be useful
.aside-link {
    text-decoration: none;
    background-color: var(--aside-color);
    border-radius: 5px;
    display: inline-block;
    vertical-align: middle;
    
    color: white;
    font-family: "Abel", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 18px;
    margin: 2%;
    padding: 4px 5px 4px 5px;
}

*/

.aside-link-icon {
    display: inline-block;
    vertical-align: middle;

    text-decoration: none;
    background-color: var(--aside-color);
    border-radius: 5px;
    
    color: white;
    font-family: "Abel", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 18px;
    margin: 2%;
    padding: 4px 4px 0px 4px;
    vertical-align: middle;
}

/* might be useful 
.aside-link:hover {
    background-color: rgb(169, 9, 17);
}
.aside-link:active {
    background-color: rgb(124, 7, 12);
}
*/

.aside-link-icon:hover {
    background-color: rgb(169, 9, 17);
}

.aside-link-icon:active {
    background-color: rgb(124, 7, 12);
}


aside a {
    color: black;
    font-family: "Abel", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 18px;
}

.header {
   background-color: var(--header-backgroudcolor);
   display: flex;
   justify-content: center;
}

.logo {
   margin: 10px;
   max-width: 100%;
   height: auto;
}

.nav {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;	

    width: 100%;

    background-color: var(--nav-backgroundcolor);
    border-radius: 5px;
}

nav a {
    background-color: rgb(232, 12, 23);

    font-family: "Abel", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 145%;

    text-decoration: none;
    color: white;
    margin: 10px 1.5%;
    padding: 0.5% 1% 0.5% 1%;
    border-radius: 5px;
}

nav a:hover {
    background-color: rgb(169, 9, 17);
}

nav  a:active {
    background-color: rgb(124, 7, 12);
}

.grid-container-footer {

    background-color: var(--footer-backgroudcolor);
    color: white;

    border-radius: 5px;

    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-template-rows: auto auto;
    grid-gap: 10px;
}

.grid-container-main {
    display: grid;
    grid-template-columns: 5fr 2fr;
    grid-template-rows: auto auto auto;
    grid-gap: 10px;

    margin: 10px 0px 10px 0px;
}

.main-title-objects {
    grid-column: 1 / 3;
    text-align: center;

    font-family: "Abel", sans-serif;
    font-weight: 900;
    font-style: normal;
    font-size: 200%;
    margin: 10px 0px 10px 0px;
}

.empty-cart{
    font-family: "Abel", sans-serif;
    font-weight: 900;
    font-style: normal;
    font-size: 200%;
    margin: 10px 0px 10px 0px;
}

.cart-items-div {
    grid-column: 1 / 2;
    text-align: center;
    background-color: lightgray;
    border-radius: 5px;
}

.cart-item-div {
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-template-rows: auto;
    grid-gap: 10px;
    margin: 10px 10px 10px 10px;
    background-color: white;
}

.cart-item-pic-div {
    text-align: center;
    grid-column: 1 / 2;
    margin: 10px 10px 10px 10px;
}

.cart-item-desc-div {
    grid-column: 2 / 3;

    height: 60%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin: 10px 10px 10px 10px;

}

.cart-item-pic {
    width: 100%;
    height: auto;
}

.cart-item-name {
    width: 50%;
    text-align: left;
    font-family: "Abel", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 145%;
    margin: 0px;
}

.cart-item-price {
    width: 40%;
    text-align: right;
    font-family: "Abel", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 145%;
    margin: 0px;
}

.cart-item-largetext {
    text-align: left;
    width: 100%;
    font-family: "Abel", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 100%;
    margin: 0px;
}

.cart-item-smalltext {
    text-align: left;
    width: 70%;
    font-family: "Abel", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 100%;
    margin: 0px;
}

.cart-item-remove {
    text-align: center;
    width: 30%;

    background-color: var(--aside-color);
    color: white;
    border: none;
    padding: 3px 10px 5px 10px;
    border-radius: 5px;
    font-family: "Abel", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 18px;
}

.cart-item-remove:hover {
    background-color: rgb(169, 9, 17);
}

.cart-item-remove:active {
    background-color: rgb(124, 7, 12);
}

.cart-total-div-wraper {
    grid-column: 2 / 3;
    text-align: center;
    background-color: lightgray;
    border-radius: 5px;
}

.cart-total-div {
    background-color: white;
    border-radius: 5px;
    margin: 10px 10px 10px 10px;
}

.cart-total-h2 {
    font-family: "Abel", sans-serif;
    font-weight: 900;
    font-style: normal;
    font-size: 200%;
    margin: 10px 0px 10px 0px;
}

.cart-item-price-total {
    font-family: "Abel", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 100%;
    margin: 0px;
}

.cart-total {
    text-align: center;
    width: 100%;
    font-family: "Abel", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 145%;
    margin: 0px;
}

.cart-checkout {
    text-align: center;
    width: 80%;

    background-color: var(--aside-color);
    color: white;
    border: none;
    padding: 3px 10px 5px 10px;
    border-radius: 5px;
    font-family: "Abel", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 18px;
    margin: 10px 0px 10px 0px;
}

.cart-checkout:hover {
    background-color: rgb(169, 9, 17);
}

.cart-checkout:active {
    background-color: rgb(124, 7, 12);
}

.footer-links-div {
    grid-column: 2 / 3;
}

.footer-contactinfo-div {
    grid-column: 3 / 4;
}

.footer-sociallinks-div {
    grid-column: 4 / 5; 
}

.footer-copyright-div {
    grid-column: 1 / 6;
    text-align: center;
}

.footer-h2 {
    font-family: "Abel", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 145%;
    margin: 10px 0px 10px 0px;
}

.footer-link {
    color: white;
    text-decoration: none;
    display: block;
    margin: 5px 0px 5px 0px;

    font-size: 18px;
}

.footer-link:hover {
    text-decoration: underline;
}

.footer-link:active {
    color: rgb(88, 88, 88);
}

footer a {
    font-family: "Abel", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 18px;
    margin: 0px 0px 10px 0px;
}

footer p {
    font-family: "Abel", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 18px;
    margin: 0px 0px 10px 0px;
}

.fa-brands{    
    box-sizing: content-box;
    color: var(--gravera-color);
    background-color: white;
    border-radius: 50%;
    padding: 6px;
    font-size: 2rem;
    margin: 0px 5px 0px 5px;
}



@media (max-width: 768px) { 


    .grid-container-main {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;

    }

    .main-title-objects {
        grid-column: 1 / 2;
    }

    .cart-items-div {
        grid-column: 1 / 2;
    }

    .cart-total-div-wraper {
        grid-column: 1 / 2;
    }

    .cart-item-div {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
    }

    .cart-item-pic-div {
        grid-column: 1 / 2;
    }

    .cart-item-desc-div {
        grid-column: 1 / 2;
    }


    .grid-container-footer {
        display: grid;
        grid-template-columns: 1fr 3fr 1fr;
        grid-template-rows: auto auto auto auto auto;
        grid-gap: 20px;
    }

    .footer-links-div {
        grid-column: 2 / 3;
        text-align: center;
    }
    
    .footer-contactinfo-div {
        grid-column: 2 / 3;
        text-align: center;
    }
    
    .footer-sociallinks-div {
        grid-column: 2 / 3; 
        text-align: center;
    }
    
    .footer-copyright-div {
        grid-column: 2 / 3;
        text-align: center;
    }

}