@font-face{
    font-family: Raleway;
    src: url("resources/fonts/raleway/Raleway-VariableFont_wght.ttf")
}
@font-face{
    font-family: Roboto;
    src: url("resources/fonts/roboto/Roboto-Regular.ttf")
}

body{
    margin: 0px;
}
a{
    color:black;
    text-decoration: none;
}
.welcome{
    height: 400px;
    width: 100%;
    background-image: url("resources/page/welcome.png");
    background-position: center;
    background-repeat: no-repeat;
}
.welcome img{
    height: 200px;
    width: auto;
    margin-top: 50px;
    margin-left: 25px;
}
header{
    height: 70px;
    width: 100%;
    background-color: rgb(204, 205, 198);
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: Raleway, 'Times New Roman', Times, serif;
    font-size: 2rem;
    transition-duration: 1s;
}
header #headerLogo{
    margin: 0px 10px;
    height: 80%;
    max-height: 100px;
    opacity: 0;
    transition-duration: 1s;
}
.fullHeader{
    box-shadow: inset 0 -1px black;
}
.fullHeader #headerLogo{
    opacity: 1;
}
header nav{
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header nav div{
    height: 100%;
    padding: 0px 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
header nav div:hover{
    cursor: pointer;
    box-shadow: inset 0 -2px black;
}
#cart{
    border-radius: 10%;
    border: 1px solid  black;
    margin: 0px 10px;
    background-color: rgb(180, 180, 180);
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-family: Roboto, 'Times New Roman', Times, serif;
    font-size: 0.8em;
}
#cart:hover{
    cursor: pointer;
    box-shadow: -1px -1px grey, 1px 1px grey;
}
#cart div{
    height: 1em;
    width: 1em;
    margin: 0px 5px;
    border-radius: 30%;
    border: 1px solid  black;
    font-size: 0.6em;
    display: flex;
    justify-content: center;
    align-items: center;
   
}


#mainPage{
    padding: 0px 0px 30px 0px;
    background-color: rgb(240, 240, 240);
    text-align: center;
    font-family: Raleway, 'Times New Roman', Times, serif;
    font-size: 1.2em;
}
#mainPage h1{
    padding: 15px 0px;
    margin: 0px 0px;
}


footer{
    width: 100%;
    padding: 10px 0px;
    background: -moz-linear-gradient(rgb(204, 205, 198),rgb(125, 126, 122));
    background: linear-gradient(rgb(204, 205, 198),rgb(125, 126, 122));
    box-shadow: inset 0 1px black;
    display: grid;
    grid-template-columns: repeat(auto-fill, 300px);
    justify-content: space-around;
}
footer .bottomCard{
    width: 225px;
    height: auto;
    margin: 30px;
    padding: 20px;
    border-radius: 1%;
    display: flex;
    flex-direction: column;
    justify-content: start;
    font-family: Raleway, 'Times New Roman', Times, serif;
    font-size: 1.25em;
}
footer .bottomCard ul{
    display: flex;
    flex-direction: column;
    justify-content: start;
    font-size: 1em;
}
footer .bottomCard ul li:hover{
    cursor: pointer;
}
footer .bottomCard ul li img{
    height: 1em;
    width: auto;
}

@media screen and (max-width: 1079px){
    .welcome img{
        display: none;
    }
    header{
        height: auto;
        font-size: 3em;
        flex-direction: column;
    }
    header #headerLogo{
        opacity: 1;
    }
    header #cart{
        margin:10px 0px;
    }
}