/* General settings */

:root {
    --primary-site-color:#ff4747;
    --border-radius:10px;
    --box-shadow: 0px 2px 5px 2px rgba(160, 160, 160,0.2);
    --mobile-side-space: 1em;
    --pc-side-space: 1.25em;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #f2f2f2;
    font-family: Open Sans,Roboto,Arial,Helvetica,sans-serif,SimSun;
}

.hiddenn {
    display: none;
}

nav ul li {
    list-style: none;
}

ul li a {
    text-decoration: none;
    color:#333;
}

/* MOBILE FIRST START HERE */

/* Navigacia top bar */

nav.top-list {
    display: none;
}

.tool-bar {
    background: #fff;
    position: relative;
}

.site-logo {
    padding: 15px 40px 10px 40px;
}

.site-logo .logo {
    display: block;
    text-indent: -999em;
    background: url('images/ali-logo.png');
    background-repeat: no-repeat;
    height: 2.5rem;
}

.site-logo .desc {
    margin-top: 0.188em;
    display: block;
    height: 15px;
    line-height: 12px;
    overflow: hidden;
    font-size: 9px;
    color: #999;
}

/*Tlacitko na rolovacie menu */

.openmenu {
    text-decoration: none;
    background: #ccc;
    padding: 0.5rem;
    position: absolute;
    top: 20px;
    right: 40px;
    display: block;
    background: url('images/menu2.png');
    background-size: cover;
    width: 40px;
    height: 40px;
}

/* Vyrolovane menu */

.primary-nav {
    position: absolute;
    width: 100%;
}

.primary-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.primary-nav ul li a{
    text-decoration: none;
    display: block;
    padding: 0.938em 1.875em;
    background: #fff;
    color: #666;
}

/* Mobilny obsah */

main.home {
    background: #fff;
}

main img {
    width: 100%;
}

.poradie {
    padding: 0 3%;
}

.poradie .text-side h1 a {
    text-decoration: none;
    color: #333;
    display: block;
    text-align: center;
}

.flashdeals h1 a {
    text-decoration: none;
    color: #333;
}

/* normal content */

.normal-content {
    padding: 0 var(--mobile-side-space);
}

/* Special content */

.special-content {
    display: flex;
    flex-direction: column-reverse;
}

.special-content .text-side {
    padding: 0 var(--mobile-side-space);
}

.special-content .text-side > a {
    text-decoration: none;
    font-weight: bold;
    color: var(--primary-site-color);
    margin-bottom: 0.5em;
    display: block;
    text-align: center;
}

.blog .tut-nav ul li {
    background: #fff;
}

section.banner img {
    width: 100%;
    min-height: 18rem;
}

.div-box, .notice {
    padding: 0 var(--mobile-side-space);
}

.notice {
    background: #fff2cc;
    padding: 1em;
    border-left: 6px solid #ffdf80;
    border-radius: 2px;
    margin: 1em 0;
    line-height: 1.5rem;
}

.notice p{
    margin: 0;
}

.text-box p {
    text-align: justify;
}

.text-box h1, .text-box h2 {
    text-align: center;
    margin-left: 0.188em;
}

.div-box p {
    text-align: justify;
    font-size: 1rem;
    line-height: 1.75rem;
}

section.article-list {
    padding: 2em 1.5em;
}

.article-preview h1 {
    text-align: center;
    margin: 0.5em 0;
}

.article-preview ul {
    list-style: none;
    padding: 0;
}

.article-preview ul li {
    margin: 0 0 1em 0;
}

.article-preview .textside, .article-list .textside {
    padding: 1px var(--mobile-side-space);
    text-align: justify;
    line-height: 1.5em;
}

.article-preview .textside p a, .article-list .textside p a {
    font-weight: bold;
}

.article-preview .textside p a:focus,
.article-list .textside p a:focus {
    color: #ff4747;
}

div.article-btn {
    text-align: center;
}

div.article-btn a{
    display: inline-block;
    padding: 0.8em 1.5em;
    background: #F8951D;
    color: #fff;
    font-weight: bold;
    border-radius: 4px;
    text-decoration: none;
}

div.article-btn a:hover {
    color: #fff!important;
    background: #df7e07;
}

/* Blog page mobile */

.article-list ul {
    list-style: none;
    padding: 2em 0;
}

.article-list ul li {
    margin: 0 0 2em 0;
}

.article-list ul li{
    display: flex;
    flex-direction: column;
    border-radius: 5px;
    overflow: hidden;
}

.article-list ul li .image-side {
    flex: 1;
}

.article-list .image-side img {
    min-height: 250px;
    max-height: 250px;
}

.article-list ul li .textside {
    flex: 2;
}

.article-list ul li .textside h2 {
    font-size: 1.3rem;
}

.single-article .article-header h1 {
    padding: 0 var(--mobile-side-space);
    font-size: 1.6rem;
}

.single-article .article-content h2 {
    font-size: 1.3rem;
}

.single-article p {
    background: #fff2cc;
    padding: 0.938em;
    border-radius: 4px;
}

.single-article .article-content{
    padding: 0 var(--mobile-side-space);
}

.single-article ol, .single-article ul {
    background: #e6f1c1;
    padding: 20px 10px 20px 32px;
    border-radius: 4px;
    border-left: 5px solid #c4df6d;
}

.single-article ol li, .single-article ul li {
    margin-bottom: 1em;
    padding-left: 0.125em;
}

.single-article ol li:last-child, .single-article ul li:last-child {
    margin-bottom: 0;
}

 /* webkit scrollbar */

 ::-webkit-scrollbar {
    width: 0.5rem;
}

::-webkit-scrollbar-track {
    margin-block: 0.1rem;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(#1a75ff,#ff5c33);
    border-radius: 1.5rem;
    
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(blue,red);
}

/* Footer mobile */

.pre-footer {
    padding: var(--mobile-side-space);
    background: #fff;
}

.pre-footer h2 {
    text-align: center;
}

.site-footer .footer-info div.container{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin:2rem auto 4rem auto;
}

.site-footer .footer-info .flex-item {
    width: 48%;
    text-align: center;
}

.site-footer .footer-info .flex-item h3 {
    margin: 0.2em 0;
}

.pre-footer ul {
    list-style: none;
    text-align: center;
    padding: 0;
}

.site-footer .flexboxes li {
    text-align: center;
}

.pre-footer ul li {
    margin-bottom: 0.5rem;
    text-align: left;
}

.pre-footer ul li a {
    display: block;
    padding: 0.625em;
    background: var(--primary-site-color);
    color: #fafafa;
}

.bottom-side {
    padding: var(--mobile-side-space);
    text-align: center;
}

.cat-item {
    padding-left: 25px;
    position: relative;
}

.cat-item:before {
    display: block;
    position: absolute;
    left: 10px;
    top: 9px;
    content: " ";
    width: 24px;
    height: 24px;
    background: url('images/icons.png');
}

.c-item1:before{
    background-position: 0 -3780px;
}

.c-item2:before{
    background-position: 0 -2807px;
}

.c-item3:before{
    background-position: 0 -2999px;
}

.c-item4:before{
    background-position: 0 -675px;
}

.c-item5:before{
    background-position: 0 -763px;
}

.c-item6:before{
    background-position: 0 -1697px;
}

.c-item7:before{
    background-position: 0 -1449px;
}

.c-item8:before{
    background-position: 0 -399px;
}

.c-item9:before{
    background-position: 0 -1785px;
}

.c-item10:before{
    background-position: 0 -1785px;
}

.c-item11:before{
    background-position: 0 -3504px;
}

.c-item12:before{
    background-position: 0 -487px;
}

.c-item13:before{
    background-position: 0 -311px;
}

.c-item14:before{
    background-position: 0 -1571px;
}

.c-item1:hover::before {
    background-position: 0 -3824px;
}

.c-item2:hover::before {
    background-position: 0 -2851px;
}

.c-item3:hover::before {
    background-position: 0 -3043px;
}

.c-item4:hover::before {
    background-position: 0 -719px;
}

.c-item5:hover::before {
    background-position: 0 -807px;
}

.c-item6:hover::before {
    background-position: 0 -1741px;
}

.c-item7:hover::before {
    background-position: 0 -1493px;
}

.c-item8:hover::before {
    background-position: 0 -443px;
}

.c-item9:hover::before {
    background-position: 0 -3043px;
}

.c-item10:hover::before {
    background-position: 0 -1829px;
}

.c-item11:hover::before {
    background-position: 0 -3548px;
}

.c-item12:hover::before {
    background-position: 0 -531px;
}

.c-item13:hover::before {
    background-position: 0 -355px;
}

.c-item14:hover::before {
    background-position: 0 -1615px;
}

.flexed {
    display: flex;
    vertical-align: middle;
    align-items: center;
    padding-left: 12px;
}

.flexed i {
    color: #B6B6B6;
}

.flexed a {
    width: 100%;
}

.flexed:hover i {
    color: #F6961D;
}

/* MEDIA START HERE */
@media screen and (min-width: 1000px){

    .container {
        width: 80%;
        margin: 0 auto;
    }

    /* Vrchny bar s linkami */
    nav.top-list {
        display: block;
        background: #fafafa;
        border-bottom: 1px solid #f2f2f2;
    }
    
    nav.top-list .top-ul {
        margin: 0;
        display: flex;
        justify-content: right;
        list-style: none;
    }
    
    nav.top-list .top-ul li {
        padding: 0.625em;
        position: relative;
    }
    
    nav.top-list .top-ul li a {
        font-size: 0.75rem;
    }
    
    nav.top-list .top-ul li a:hover {
        color:var(--primary-site-color);
    }

    nav.top-list .top-ul li.dropdowned:hover {
        background: #fff;
        box-shadow: var(--box-shadow);
    }

    nav.top-list .dropdown {
        display: none;
        background: #fff;
        padding: 0;
        min-width: max-content;
        box-shadow:  var(--box-shadow);
    }

    nav.top-list .dropdown li {
        padding: 1em 1.5em 1em 0.8em;
    }

    nav.top-list .dropdown li:hover {
        background: #fafafa;
        box-shadow: none;
    }

    nav.top-list li:hover .dropdown {
        display: block;
        position: absolute;
        margin-top: 0.625em;
        margin-left: -0.625em;
        z-index: 9999;
    }

    /* Navigacia s logom */

    .flex-cont {
        display: flex;
    }
    
    .tool-bar .flex-cont {
        align-items: center;
    }

    .site-logo {
        padding: 25px 0;
    }

    .site-logo .logo {
        display: block;
        text-indent: -999em;
        background: url('images/ali-logo.png');
        background-repeat: no-repeat;
        width: 166px;
        height: 40px;
        margin: 0 1.25em;
    }
    
    .site-logo .desc {
        margin-top: 0.188em;
        display: block;
        height: 15px;
        line-height: 12px;
        overflow: hidden;
        font-size: 9px;
        color: #999;
        text-align: center;
    }

    /*button pre mobile menu */

    .openmenu {
        display: none;
    }

    /* Hlavna navigacia */

    nav.primary-nav {
        position: static;
        margin-left: 4em;
    } 

    nav.primary-nav ul {
        display: flex;
        padding: 0 0 0 0;
    }
    
    nav.primary-nav ul li {
        padding: 0 1em;
    }
    
    nav.primary-nav ul li a {
        font-size: 0.85rem;
        font-weight: bold;
        position: relative;
        padding: 0.625em 0;
    }
    
    nav.primary-nav ul li a::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 0.175rem;
        background: #ff4747;
        transform: scale(0, 1);
        transform-origin: 0% 100%;
        transition: transform 0.4s ease;
    }
    
    nav.primary-nav ul li a:hover::after {
        transform: scale(1, 1);
    }

    /* content */

    .content {
        padding: 1em 0;
    }

    .content > div {
        display: flex;
        justify-content: space-between;
    }

    main.content-side {
        order: 2;
    }

    aside.leftside {
        order: 1;
    }

    aside.rightside {
        order: 3;
    }

    main.home {
        background: none;
    }

    .article-preview h1 {
        padding: 0.8em;
        margin: 0;
    }

    /* Aside navigacia nalavo a napravo */

    aside.leftside {
        border-radius: var(--border-radius);        
    }

    aside.leftside .left-nav {
        background: #fafafa;
        margin-bottom: 1em;
        box-shadow: var(--box-shadow);
        border-radius: var(--border-radius);
    }

    aside.leftside .left-nav ul li a{
        display: block;
        padding: 0.625em;
    }

    aside.leftside .left-nav ul {
        margin: 0.5em 0;
        padding: 0;
    }
    
    aside.leftside .left-nav ul li {
        list-style: none;
    }
    
    aside.leftside .left-nav ul li a {
        padding: 0.938em 1.25em;
        display: block;
        font-size: 1rem;
    }
    
    aside.leftside .left-nav ul li:hover {
        box-shadow: var(--box-shadow);
        -webkit-box-shadow: var(--box-shadow);
        -moz-box-shadow: var(--box-shadow);
    }

    aside.leftside .left-nav ul li:last-child:hover {
        border-bottom-left-radius: var(--border-radius);
        border-bottom-right-radius: var(--border-radius);
        overflow: hidden;
    }

    aside.leftside .left-nav ul li:hover {
        background: #fff;
    }
    
    aside.leftside .left-nav ul li a:hover {
        color: #e60000;
        font-weight: bold;        
    }
    
    aside.leftside .left-nav h2 {
        font-size: 1.1rem;
        margin: 0;
        padding: 0.9em 1.25em;
        background: #d9d9d9;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
    }

    aside.rightside .aside-box,
    aside.leftside .aside-box {
        border-radius: var(--border-radius);
        margin-bottom: 1em;
    }

    aside.rightside .aside-box:last-child,
    aside.leftside .aside-box:last-child {
        margin-bottom: 0;
    }

    aside.leftside .aside-box a,
    aside.rightside .aside-box a {
        display: block;
    }

    aside.leftside .aside-box img,
    aside.rightside .aside-box img {
        width: 100%;
        border-radius: var(--border-radius);
    }

    aside.rightside, aside.leftside {
        display: block;
        width: 19%;
    }

    /* main obsah */

    section {
        padding: 1.2em;
    }

    section.banner {
        padding: 0;
    }

    /*  
        Special Content sú sekcie ktoré sú rozdelené na lavu 
        stranu s obrázkom a pravú stranu s textom
    */

    .special-content {
        display: flex;
        flex-direction: row;
        padding: 3%;
    }

    .special-content .image-side {
        width: 40%;
    } 
    
    .special-content .text-side {
        width: 60%;
        padding: 0.2em 1.2em;
        padding-right: 0;
    }

    .special-content .text-side h1 {
        font-size: 1.4em;
        margin-left: 0;
        text-align: left;
    }

    .special-content .text-side h1 a{
        text-align: left;
    }

    .special-content .text-side p {
        color: #666;
    }

    .special-content .text-side > a {
        display: inline-block;
        text-decoration: none;
        background: #ff7c4d;
        padding: 0.64em 0.8em;
        border-radius: 0.2rem;
        color: #fff;
        font-weight: bold;
    }

    .special-content .text-side > a:hover {
        background: #ff571a;
    }

    .flashdeals .text-side p strong {
        font-size: 0.85rem;
        color: #999;
    }

    /* Product page settings */

    main.products {
        background: #fff;
        padding: 1em 1.2em;
    }

    /* Grid box START*/

    .grid-box {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
        gap: 1em;
    }

    .grid-box .grid-item {
        box-shadow: var(--box-shadow);
        overflow: hidden;
        border-radius: 5px;
        display: flex;
        flex-direction: column;
    }

    .grid-item img {
        display: block;
    }

    .grid-item .text-boxx {
        padding: 0.8em;
        font-size: 0.9rem;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        border-top: 1px solid #e6e6e6;
    }

    .pricebox {
        display: flex;
        justify-content: right;
        align-items: center;
        gap: 0.5em;
    }

    .pricebox p {
        margin: 0;
    }

    .grid-item .product-link {
        display: block;
        text-decoration: none;
        color: #666;
        margin-bottom: 1em;
    }

    .grid-item .product-link:hover {
        text-decoration: underline;
    }

    .pricebox .discount {
        background: var(--primary-site-color);
        color: #fff;
        padding: 0.8em;
        border-radius: 50%;
        margin: 0;
    }


    /* Grid box END*/
  
    .content-side section {
        margin-bottom: 1.5em;
    }

    section.article-preview {
        margin-bottom: 1em;
    }

    section.article-preview:last-child {
        margin-bottom: 0;
    }

    section.article-preview ul {

        padding: 0;
    }

    section.article-preview ul li {
        display: flex;
    }

    section.article-preview ul li .textside {
        padding: 0.625em 1.25em;
        flex:1;
    }

    section.article-preview ul li .textside h2 {
        margin: 0 0 0.5em 0;
        text-align: left;
    }

    section.article-preview ul li .textside p {
        font-size: 0.9rem;
        margin: 0 0 0.5em 0;
        line-height: 1.2rem;
    }

    .textside p a {
        font-weight: bold;
    }

    section.article-preview ul li .image-side img {
        width: 100%;
        height: 100%;
        max-width: 14rem;
    }

    section.article-preview ul li a:hover{
        color:#ff4747;
    }

    section.article-preview ul li {
        margin-bottom: 1em;
        background: #fafafa;
    }

    .content-side {
        width: 60%;
        overflow: hidden;
        border-radius: var(--border-radius);
        display: flex;
        flex-direction: column;
    }

    .content-side .banner img {
        width: 100%;
        border-radius: var(--border-radius);
    }

    .single-article .article-content {
        padding: 0 var(--pc-side-space);
    }

    a.pomoc:after {
        content: ' +';
    }

    a.pomoc:hover a.pomoc:after {
        content: ' x';
    }

    /* normal content */

    .normal-content {
        padding: 1em var(--pc-side-space);
    }

    .text-box {
        background: #fff;
        border-radius: var(--border-radius);
        box-shadow: var(--box-shadow);
    }

    .text-box p a.text-link {
        text-decoration: none;
        font-weight: bold;
        color: var(--primary-site-color);
    }

    .text-box p {
        line-height: 1.5rem;
    }

    .text-box *:first-child {
        margin-top: 0;
    }

    .div-box, .notice {
        padding: 0;
    }

    .notice {
        background: #fff2cc;
        padding: 0.938em;
        border-left: 6px solid #ffdf80;
        border-radius: 2px;
        margin: 0 0 0.9em 0;
    }

    .notice p {
        margin:0;
    }

    .box {
        width: 48%;
    }

    .box p {
        text-align: justify;
    }

    .article-list .image-side img {
        width: 100%;
        min-height: 10rem;
        max-height: 10rem;
    }

    .article-list ul li {
        border-bottom: 1px solid #f2f2f2;
        padding-bottom: 2em;
        margin-bottom: 1em;
        flex-direction: row;
    }

    .article-list .textside h2 {
        text-align: left;
    }

    /* Single article */

    .single-article .article-header {
        margin-bottom: 3em;
        position: relative;
    }

    .single-article .article-header img {
        height: 100%;
        border-radius: 5px;
    }
    
    .single-article .article-header h1 {
        position: absolute;
        top: 0;
        width: 100%;
        padding: 2em 2.5em;
        margin: 0 auto;
        text-align: center;
        background: linear-gradient(
            to right , 
            rgba(0,0,0,0.4), 
            rgba(0,0,0,0.6),  
            rgba(0,0,0,0.4));
        color: #fff;
        font-size: 2rem;
        border-start-start-radius: 5px;
        border-start-end-radius: 5px;
        text-shadow: 0px 0px 2px rgba(0, 0, 0, 1);;
    }

    .single-article h2 {
        font-size: 1.4rem;
    }

    .single-article img {
        width: 100%;
        max-height: 25rem;
        margin: 0.5em 0;
    }

    .single-article .article-header img {
        border: none;
    }

    .single-article p {
        background: #fff2cc;
        padding: 0.938em;
        border-radius: 4px;
        text-align: justify;
    }

    .single-article p:first-child {
        font-weight: bold;
        color: #333;
    }

    .single-article p a {
        font-weight: bold;
        color: #b38600;
        text-decoration: none;
    }

    .single-article p a:hover {
        color: #806000;
    }

    .single-article p:last-child a {
        color: #445313;
        font-weight: 400;
        text-decoration: underline;
    }

    .single-article p:last-child a:hover {
        color: #677d1c;
    }

    .single-article p:last-child {
        background: #e6f1c1;
    }

    .single-article ol, .single-article ul {
        background: #e6f1c1;
        padding: 1.25em 0.625em 1.25em 2em;
        border-radius: 4px;
        border-left: 5px solid #c4df6d;
    }

    .single-article ol li, .single-article ul li {
        margin-bottom: 1em;
        padding-left: 0.125em;
    }

    .single-article ol li:last-child, .single-article ul li:last-child {
        margin-bottom: 0;
    }

    /* Footer  */

    .site-footer .footer-info > div{
        display: flex;
        flex-wrap: wrap;
        border-bottom: 1px solid #eee;
    }

    .site-footer .footer-info > div .flex-item {
        width: 16.66666666666667%;
        min-width: 12rem;
        position: relative;
        padding: 2.5em 0;
    }

    /* pásiky sivé vo footeri na rozdelenie flex itemov */
    .site-footer .footer-info > div .flex-item:after {
        content: " ";
        font-size: 44px;
        width: 1px;
        height: 56px;
        background: #979797;
        position: absolute;
        opacity: .14;
        right: 0;
        top: 50%;
        transform: translate(-50%);
    }

    .site-footer .footer-info > div .flex-item:last-child:after {
        content: "";
        font-size: 0px;
        width: 0px;
        height: 0px;
        background: #979797;
        position: static;
        transform: translate(-50%);
        display: none;
    }

    .site-footer .footer-info > div .flex-item h3 {
        font-size: 0.9rem;
        line-height: 1.875rem;
        margin-bottom: 0.5em;
        color: #333;
        font-weight: 600;
        text-align: center;
    }

    .site-footer .footer-info > div .flex-item p {
        font-size: 0.75rem;
        color: #999;
        padding: 0 0.95em;
        text-align: center;
    }

    .site-footer .flexboxes {
        display: flex;
        justify-content: space-around;
    }

    .pre-footer {
        background: #fff;
        border-top: 1px solid #d9d9d9;
    }

    .pre-footer .list-container {
        display: flex;
    }

    .pre-footer ul {
        list-style: none;
        padding: 0;
    }

    .pre-footer ul:first-child {
        margin-right: 2em;
    }

    .pre-footer .flexboxes li a {
        color: #666;
    }

    .pre-footer a {
        color: #666;
        line-height: 1.4rem;
        letter-spacing: 1px;
    }

    .pre-footer .flex-item img {
        display: block;
        width: 60px;
        margin: 0 auto;
    }

    .pre-footer .flex-item img.bigger-img {
        width: 110px;
    }

    .bottom-side {
        text-align: center;
        background: #333;
        padding: 1em 0;
        color: #aaa;
    }

    .pre-footer .product-list li a,
    .site-footer ul li a {
        background: none;
        padding: 0;
        font-weight: 100;
        font-size: 0.75rem;
        display: inline;
    }

    .site-footer ul li a:hover {
        color: #ff4747;
    }

    .site-footer .flexboxes li {
        margin: 0;
        line-height: 1.5rem;
        text-align: left;
    }

    .pre-footer h2 {
        font-size: 1rem;
        color: #333;
        text-align: left;
        letter-spacing: 1px;
    }

} /* END OF MEDIA 1000px */

@media screen and (min-width: 1300px) {
    nav.primary-nav ul li a {
        font-size: 0.8rem;
    }

    aside.leftside .left-nav ul li a {
        font-size: 0.9rem;
    }

    nav.top-list .top-ul li a {
        font-size: 0.72rem;
    }
}

@media screen and (min-width: 1600px) {
    nav.primary-nav ul li a {
        font-size: 0.9rem;
    }

    aside.leftside .left-nav ul li a {
        font-size: 1rem;
    }

    nav.top-list .top-ul li a {
        font-size: 0.75rem;
    }
}

@media screen and (max-width: 500px) {

    aside.leftside nav {
        padding: var(--mobile-side-space);
        text-align: center;
    }

    aside.leftside nav ul {
        padding: 0;
    }

    aside.leftside nav ul li {
        background: var(--primary-site-color);
        margin-bottom: 0.3em;
        padding: 0.5rem;
    }

    aside.leftside nav ul li a {
        color: #fafafa;
    }

    aside .aside-box a {
        display: block;
        width: 80%;
        margin: 4% auto;
    }

    aside .aside-box a img {
        width: 100%;
        border-radius: var(--border-radius);
    }
}

@media screen and (min-width: 500px) and (max-width: 1000px) {
    
    aside .aside-box a {
        display: block;
    }

    aside .aside-box a img {
        width: 100%;
    }

    aside {
        display: flex;
        justify-content: space-between;
        padding: var(--mobile-side-space);
        margin-bottom: 5%;
        gap: 1%;
    }

    aside.leftside nav {
        background: var(--primary-site-color);
        color: #fafafa;
        padding: 0 0.5em;
        overflow: auto;
        height: 351.91px;
    }

    aside.leftside nav ul {
        padding: 0;
    }

    aside.leftside nav ul li {
        padding: 0.5em 0.3em;
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    }

    aside.leftside nav ul li a {
        color: #fafafa;
    }

    aside h2 {
        font-size: 1.1rem;
    }

    aside .aside-box img{
        border-radius: var(--border-radius);
    }

    aside > * {
        width: 32%;
        border-radius: var(--border-radius);
        overflow: hidden;
    }

    aside > nav {
        width: 35%;
    }
}