html{
    scroll-behavior: smooth;
}

@font-face {
    font-family: playfair;
    src: url(playfairregular.ttf)
}
@font-face {
    font-family: lato;
    src: url(latoregular.ttf)
}

body { 
    font-family: lato;
    margin: 0; padding: 25px 50px;
    color: var(--black);
    background: var(--backgrd);
    display: flex;
    flex-direction: column;
    align-items: center;
}




:root{
    --blue: blue;
    --txtblue: rgba(0,0,255,0.9);
    --white: white;
    --black: rgba(0,0,0,0.8);
    --backgrd: rgb(247, 245, 252);
    --head2: rgba(0,0,0,0.6);
}


#playfair{
    font-family: playfair;
}



a {
    text-decoration: none;
    color: var(--black);
    transition: 0.4s ease-in-out;
}
a.active, a:hover{
    color: var(--blue);
}
li{
    padding: 0;
    margin: 0 5px;
    list-style-type: none;
}
h1{
    color: rgba(0,0,0,0.85)
}
h3{
    color: rgba(0,0,0,0.6)
}




button{
    border: none;
    padding: 9px 18px;
    border-radius: 5px;
    text-decoration: none;
    transition: 0.3s ease-in-out;
    display: flex;
    align-items: center;
}
.btn{
    background-color: var(--txtblue);
    color: var(--white);
    margin: 10px;
}
.btnstrip{
    background-color: rgba(0,0,255,0.075);
    color: var(--blue);
    margin: 10px;
}
.btnw{
    background-color: var(--white);
    margin: 10px;
}
.btnwb{
    background-color: var(--white);
    padding: 15px 30px;
}
.btn:hover, .btnw:hover, .btnwb:hover, .btnstrip:hover, .go_cat_orange:hover, .go_cat_blue:hover{
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12), 0 5px 10px rgba(0, 0,0,0.24);
}
button span {
    font-size: 20px;
    padding: 0px;
    margin: 0 5px 0 0;
}


.lr{
    width: 100%;
    display: flex;
}
.lr #lr_r{
    justify-content: end;
}


#graddy{
    background-image: linear-gradient(to top right, rgba(0, 0, 255, 0.2),rgba(255, 166, 0, 0.1))
}


/*--------------------*/

.topcont{
    width: 100%;
    margin-top: 25px;
    border-radius: 10px;
    padding: 30px;
}
.topcont .lr #lr_l h1{
    font-size: 45px;
}

.flexi{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.category{
    width: 350px;
    height: 200px;
    border-radius: 20px;
    margin: 10px;
    position: relative;
}
.category .desc{
    display: flex;
    position: absolute;
    bottom: 10px;
    width: 100%;
}
.category h3{
    margin-bottom: 0;
    margin-right: 10px;
    margin-left: 10px;
    color: var(--white);
    flex: 1;
    text-align: end;
}
.go_cat_orange{
    margin-right: 10px;
    width: 50px;
    height: 50px;
    border-radius: 25px;
    background-color: orange;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    font-size: 20px;
    align-self: flex-end;
}
.go_cat_blue{
    margin-right: 10px;
    width: 50px;
    height: 50px;
    border-radius: 25px;
    background-color: blue;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    align-self: flex-end;
}


/*------------*/
#footer{
    margin: 30px;
}
#footer div{
    margin: 20px;
}
footer{
    background-color: rgba(0,0,255,0.075);
    width: 100%;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
footer p{
    margin: 8px 0 0 0;
}

/*---------------*/
.sidebar{
    display: none;
    position: fixed;
    width: 100vw;
    height: 100vh;
    background-color: var(--backgrd);
    top: 0;
}
.sidebar .inner span{
    font-size: 30px;
    color: blue;
    align-self: flex-end;
}
.sidebar .inner{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
}
#open_sidebar{
    display: none;
    font-size: 30px;
    color: blue;
    align-self: flex-end;
}

.app_store1{
    margin: 10px 0 0 10px;
    display: flex;
}
.app_store1 img:last-child{
    margin-left: 10px;
}
.app_store1 img{
    height: 40px;
}
.app_store2{
    margin: 40px 0;
    display: flex;
}
.app_store2 img{
    height: 50px;
}
.app_store2 img:last-child{
    margin-left: 20px;
}

/* --NEW PIKAPLACE */
#xx1{
    border-radius: 20px;
}
#xx3{
    width: 400px;
    margin-right: 30px;
    border-radius: 20px;
}

#xx4{
    width: 400px;
    margin-left: 30px;
    border-radius: 20px;
}
#bigpic{
    width: 800px;
    margin-top: 30px;
    border-radius: 20px;
}

.yt{
    border-radius: 20px;
    width: 560px;
    height: 315px;
}

#ficn{
    font-size: 30px;
    margin: 5px;
}


@media (max-width: 1000px){

    #dsk{
        display: none;
    }
    #open_sidebar{
        display: block;
    }
    
    body { 
        padding: 20px;
    }
    .flexi{
        flex-wrap: wrap;
    }
    #inv{
        flex-direction: column-reverse;
    }
    #norm{
        flex-direction: column;
    }
    #bigpic, #lr_r{
        width: unset;
        max-width: 100%;
    }
    #xx1 {
        max-width: 100%;
        margin-top: 20px;
    }
    #footer div{
        margin: 10px;
    }


}


@media (max-width: 780px){
    .app_store1 img{
        height: 35px;
    }
    .app_store2 img{
        height: 45px;
    }
    .category{
        width: 100%;
        margin: 0 0 20px 0;
    }
    /* NEW */
    #xx2{
        width: 100%;
    }
    
    #xx3{
        width: unset;
        margin-right: unset;
    }
    #xx4{
        width: unset;
        margin-left: unset;
    }
    
    .yt{
        width: 100%;
        height: 200px;
        margin-top: 30px;
    }

}