:root{
    --bg:white;
    --text:black;
    /*--link:orange;*/
    --link:#b6de48;
    --linkhover:lightgrey;
    --gradient: radial-gradient(circle, rgba(255,144,222,1) 0%, rgba(255,255,255,0) 70%);
    --accent:#ffe2ba;
}

::selection{
    color:var(--bg);
    background:var(--link);
}

*{
  box-sizing: border-box;
}

@font-face{
font-family: 'unifont';
src: url(https://cinni.net/fonts/unifont.ttf);
}

@font-face{
    font-family: 'blotter';
    src: url(https://cinni.net/fonts/Blotter-Regular.otf);
}

@font-face{
    font-family: 'globules';
    src: url(https://cinni.net/fonts/Globules-Regular.ttf);
}

body{
    font-family: 'unifont';
    margin:0;
    image-rendering:pixelated;
}
a{
    color:var(--link);
}
a:hover{
    color:var(--linkhover);
}


header, nav, main, footer{
    border:1px solid var(--link);
}

header{
    height:125px;
    background:var(--link);
    color:var(--bg);
}
header h1{
    font-size:6rem;
    padding:0px 20px;
        font-family: 'blotter';
        line-height:0;
}


nav{
    background:var(--link);
    background-image:url('img/nav.png');
    background-size: 6% 100%;
    background-repeat:no-repeat;
    background-position:right;
    border:none;
    padding:10px;
}
nav a{
    color:var(--bg);
    font-size:2rem;
    text-decoration:none;
}
nav a:hover{
    color:var(--text);
}

nav ul{
    margin:0;
}
nav li{
    display:inline;
    margin:20px;
}
main{
    padding:20px;
    border:none;
}
footer{
    border:none;
    border-top:1px solid var(--link);
    padding:2px 10px;
    letter-spacing:4px;
}
footer a{
    color:var(--text);
}
footer a:hover{
    color:var(--link);
}

.container{
    margin:40px auto;
    display:flex;
    flex-wrap:wrap;
}

.item{
    width:400px;
    text-align:center;
    margin:20px auto;
    border-radius:30px;
    border-top-right-radius:100px;
    border-bottom-left-radius:100px;
    font-size:1.2rem;
}
.item img{
    width:350px;
    height:350px;
    margin:10px;
        background:var(--gradient);
}
.item:hover{
    background:var(--accent);/*
    background-image:url('https://cinni.net/test/sparkles2.gif');
    background-size:100% 100%;
    background-position:center;*/
}
.item a:hover{
    color:var(--text);
}
main h1{
    margin:10px;
}
h2{
    font-weight:bold;
    color:var(--link);
    text-transform:uppercase;
}

.cart{
    position:fixed;
    right:0;
    margin:20px;
    height:25px;
    width:50px;
    font-weight:bold;
    font-size:1.5rem;
    text-transform:uppercase;
}

.shop{
    font-family:'globules';
    border-bottom:4px dotted var(--text);
    font-size:5rem;
    letter-spacing:4px;
    width:40%;
    float:right;
    margin-right:-20px;
}
.shop a{
    text-decoration:none;
    padding-left:20px;
}
.shop a:hover{
    background:radial-gradient(rgb(255, 196, 238) 0%, rgba(255,255,255,0) 80%);
}

.focus{
    width:500px;
    float:left;
    margin:0 50px;
    background:var(--gradient);
}

/*MOBILE STYLING*/
@media screen and (max-aspect-ratio:16/9) {
    .item{
        width:550px;
        max-width:100%;
    }
    .item img{
        width:500px;
        height:500px;
        max-width:100%;
    }
    .item a, nav a, footer{
        font-size:3rem;
    }
    main h1{
        font-size:3rem;
    }
    header h1{
        font-size:8rem;
    }
    header{
        height:150px;
    }
    .shop{
        width:60%;
        font-size:7rem;
    }
    main{
        font-size:2rem;
    }
    nav{
            background-size: 10% 100%;
    }
    
    .focus{
        display:block;
        max-width:100%;
        margin:0 auto;
        float:none;
    }
}