@import url('https://fonts.googleapis.com/css?family=Just Another Hand');
@import url('https://fonts.googleapis.com/css?family=Alexandria');

/* Add a black background color to the top navigation */
body {
    overflow-y: scroll;
    width: 100%;
    margin:auto;
    background-color:white; /*rgb(217, 228, 217);*/
}

.topnav {
    text-align: center;
    overflow: visible;
    display: flex;
    width: fit-content;
    margin: auto;
    height:8vw;
}

/* Style the links inside the navigation bar */
.topnav a {
    display: inline;
    margin: auto;
    width: 5vw;
    color: #f2d8ef;
    text-align: center;
    height: auto;
    text-decoration: none;
    font-size: 2.5vw;
    font-family: 'Just Another Hand';
}

/* Change the color of links on hover */
.topnav a:hover {
    color: #cfbccd;
}

/* Add an active class to highlight the current page */
.topnav a.active {
    background: none;
    color: #e398da;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
    display: none;
}

.cartnumber {
    height: 1vw;
    width: 1vw;
    color:white;
    font-size:0.8vw;
    font-family:'Verdana';
    background-color: rgb(199, 70, 199);
    position:absolute;
    border-radius: 50%;
    display: inline-block;
    opacity:0;
}

.banner {
    position: relative;
    text-align: center;
    height: 8vw;
}
        
.bannerdiv {
    color:white;
    position: absolute;
    top: 50%;
    left: 8%;
    font-family:"Just Another Hand", Helvetica, sans-serif;
    font-size:3vw; 
    -webkit-text-stroke-width: 1px; 
    -webkit-text-stroke-color: #914a90;
    transform: translate(-50%, -50%);
}

.banner .topnav img {
    height: 100%;
    object-fit: contain;
}
        
.footer {
    background-color: #cfb2ce;
    position:relative;
    bottom:0;
    width:100%;
    height: 100px;
    margin-top:20px;
    color:white;
    font-family:"Alexandria", Helvetica, sans-serif;
}


.cart {
    position: fixed;
    top: 1vw;
    right: 1.5vw;
    border: none;
    outline: 0;
    z-index: 1;
    padding: 0.3vw;
    text-align: center;
    cursor: pointer;
    font-size: small;
    opacity: 0.6;
    height: 2vw;
    width: 2vw;
}

.cart img {
    height: 2vw;
    width: 2vw;
}

.row {
    text-align: center;
    padding-left:10%;
    padding-right:10%;
}


.column {
    padding: 5px;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
}
        
.card {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    width: 18%;
    height: 30%;
    margin: auto;
    margin-top: 2vw;
    text-align: center;
    display: block;
    font-family: arial;
    position: relative;
    /*padding: 3vw;*/
}
        
.card img {
    height: 15vw;
    /*width: 20vh;*/
    object-fit: cover;
    display: block;
    opacity: 1;
    transition: .5s ease;
    backface-visibility: hidden;
}

.price {
    color: grey;
    font-size: 0.8vw;
    font-family:'Verdana';
    margin:3px;
}

/* Position the image container (needed to position the left and right arrows)*/
.container {
  margin:auto;
  margin-top:20px;
}

.title{
    margin:auto;
    text-align:center;
    font-size:2vw;
}

.ccontainer{
    position:absolute;
    left:0;
    width:30%;
}

@media screen and (min-width: 2000px) {
}

@media screen and (max-width: 600px) {
    .cart {
        width: 2vh;
        height: 2vh;
        top: 1vh;
        right: 2vh;
    }

    .cart img {
        height: 2vh;
        width: 2vh;
        object-fit: contain;
    }

    .banner {
        margin-top:15px;
        height: 100%;
        margin-bottom:15px;
    }
    
    .banner .topnav img {

    }

    .row {
        text-align: center;
        padding-left:5%;
        padding-right:5%;
    }
    
    .cartnumber{
        height: 1.5vh;
        width: 1.5vh;
        font-size:1vh;
    }
    
    .topnav {
        max-width:100%;
        height:8vh;
    }
    .topnav a {
        font-size: 3vh;
        padding: 1.5vh;
    }
    
    .card {
        width: 45%;
    }

    .card img {
        height: 30vw;
        width: 10vh;
            }
    
    .footer {
        background-color: #cfb2ce;
        height: 70px;
    }
    
    .star-five {
        margin: 1vh 0;
        position: relative;
        display: block;
        color: yellow;
        width: 0px;
        height: 1px;
        border-right: 10px solid transparent;
        border-bottom: 7px solid rgb(199, 83, 180);
        border-left: 10px solid transparent;
        transform: rotate(35deg);
    }
    .star-five:before {
        border-bottom: 8px solid rgb(199, 83, 180);
        border-left: 3px solid transparent;
        border-right: 3px solid transparent;
        position: absolute;
        height: 0;
        width: 0;
        top: -4px;
        left: -6px;
        display: block;
        content: '';
        transform: rotate(-35deg);
    }
    .star-five:after {
        position: absolute;
        display: block;
        color: rgb(199, 83, 180);
        top: 1px;
        left: -10px;
        width: 0px;
        height: 0px;
        border-right: 10px solid transparent;
        border-bottom: 7px solid rgb(199, 83, 180);
        border-left: 10px solid transparent;
        transform: rotate(-70deg);
        content: '';
    }
}

