/* @import url('./navbar.css'); */
/* @import url('./ribbon.css'); */
/* @import url('./image-container.css'); */

*{
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    font-size: 14px;
}

/*-------------------------Navbar------------------------------*/
/*-------------------------Navbar------------------------------*/
header{
    display: block;
    position: fixed;
    background: white;
    padding: 11px 0 0;
    width: 100%;
    z-index: 3;
}

body::-webkit-scrollbar {
    display: none;
}

nav{
    height: 42px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    width: calc(100% - 40px);
}

nav .logo{
    cursor: pointer;
}

nav .search{
    flex-grow: 1;
    margin: 0 20px;
    position: relative;
    height: 100%;
}

nav .search input[class="Search-Bar"]{
    width:-webkit-fill-available;
    height: 100%;
    border: 0;
    background-color: #eeeeee;
    padding: 0 45px 0 45px;
    border-radius: 25px;
    position: absolute;
    z-index: 1;
}

nav .search input[class="Search-Bar"]:focus{
    background-color: white;
    outline: 1.5px solid #eeeeee;
    border-radius: 25px;
}


nav .search span{
    position: absolute;
} 
nav .search .icon{
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    fill: #606060;
    scale: 0.85;
    cursor: pointer;
}
nav .search .icon:hover{
    fill: #000000;
} 

nav .search .Visual-search{
    right: 12px;
    top: 48%;
    transform: translateY(-50%);
    scale: 0.85;
    fill: #606060;
    cursor: pointer;
    z-index: 2;
} 
nav .search .Visual-search:hover{
    fill: #000000;
} 

nav #menu{
    padding: 0 10px 0 0;
    display: flex;
    list-style: none;
    justify-content: space-around;
    align-items: center;
    height: 100%;
    border-right: 1px solid #dbdbdb;
    height: 30px;
}
nav #menu li{
    cursor: pointer;
    color: #767676;
    margin: 0 15px;
}

nav #menu li:hover{
    color: #000000;
}
 

nav .control-box{
    margin: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

nav .control-box p{
    cursor: pointer;
    color: #767676;
    margin: 0 10px 0 0;
}
nav .control-box p:hover{
    cursor: pointer;
    color: #000000;
}
nav .control-box  .UploadButton{
    padding: 6px 10px;
    margin: 0 10px;
    border-radius: 5px;
    color: grey;
    border: 1.2px solid #d8d8d8;
    background: linear-gradient(to bottom, white, white,#d8d8d81f);
    box-shadow: 0px 1px 2px #00000012;
    cursor: pointer;
}
nav .control-box .UploadButton:hover{
    color: #000;
    border: 1.2px solid #a2a2a2;
}

nav .hamburger{
    cursor: pointer;
    align-self: center;
    display: flex;
    align-items: center;
    fill:grey
}

nav .hamburger:hover{
    fill: black;
}


@media only screen and (min-width:768px) and (max-width:1200px)  {
    nav #menu{
        display: none;
    }
}

@media only screen and (max-width:767px)  {
    nav #menu{
        display: none;
    }
    nav .control-box{
        display: none;
    }
    nav .control-box-active{
        display: flex;
        flex-direction: column;
        position: absolute;
        justify-content: space-around;
        z-index: 1;
        background-color: #ffffff;
        width: 100%;
        height: 70px;
        margin: 0;
        padding: 25px 0;
        top: 55px;
        left: 0;
        border-bottom: 1px solid #eeeeee;
    }    

    nav .search{
        margin: 0 20px;
    }
    .Visual-search{
        display: none;
    }
}

/*-------------------------Navbar------------------------------*/
/*-------------------------Navbar------------------------------*/

/*-------------------------Ribbon------------------------------*/
/*-------------------------Ribbon------------------------------*/

body .ribbon{
    height: 40px;
    padding: 20px 20px 10px;
    color: #767676;
    background-color: rgb(255, 255, 255);
    display: flex;
    border-bottom: 1px solid #dbdbdb;
}

body .ribbon ul{
    display: flex;
    list-style: none;
    align-items: center;
}

body .ribbon ul:nth-child(1){
    display: flex;
    list-style: none;
    align-items: center;
    padding-top: 2px;
    height: 35px;
    border-right: 1px solid #dbdbdb;
}

.menu-list{
    display: none;
}

body .ribbon ul:nth-child(2)::-webkit-scrollbar {
    display: none;
}

body .ribbon ul:nth-child(2){
    overflow-x: scroll;
    position: relative;
    margin: 0px 0px 0 25px;
}

body .ribbon ul:nth-child(2)::before{
    position: fixed;
    display: var(--displayBeforeArrow,none);
    align-items: center;
    content: " ";
    height: 50px;
    width: 70px;
    background: linear-gradient(to right,#ffffff,#ffffff,transparent);
}


body .ribbon ul:nth-child(2) .icon:nth-child(1){
    display: var(--displayBeforeArrow,none);
    fill: #555555;
    position: fixed;
    top:80px;
    z-index: 1;
}

body .ribbon ul:nth-child(2)::after{
    position: fixed;
    right: 0;
    display: var(--displayAfterArrow,flex);
    align-items: center;
    content: " ";
    height: 50px;
    width: 70px;
    background: linear-gradient(to left,#ffffff,#ffffff,transparent);
}


body .ribbon ul:nth-child(2) .icon:nth-child(2){
    display: var(--displayAfterArrow,flex);
    fill: #555555;
    position: fixed;
    right: 0;
    top:80px;
    z-index: 1;
}

/* body .ribbon ul:nth-child(2):hover .icon:nth-child(1),
body .ribbon ul:nth-child(2):hover .icon:nth-child(2){
    display: block;
} */

/* body .ribbon ul:nth-child(2):hover::before{
    display: flex;
}
body .ribbon ul:nth-child(2):hover::after{
    display: flex;
} */

body .ribbon ul li{
    padding-right:25px;
    cursor: pointer;
    min-width: fit-content;
}

body .ribbon ul  li ::before{
    position: relative;
    content: "";
    width: fit-content;
    height: 2px;
    background-color: red;
    border-bottom: 2px solid red;
}

body .ribbon ul li:hover{
    color: black;
}



@media screen and (min-width:1024px) {
    body .ribbon ul:nth-child(1){
        display: flex;
    }
    .menu-list{
        display: none;
    }
}

@media screen and (min-width:768px) and (max-width:1023px) {
    body .ribbon ul:nth-child(1){
        display: flex;
    }
    .menu-list{
        display: none;
    }
}
@media screen and (max-width:767px) {
    body .ribbon ul:nth-child(2)::before{
        /* background-color: red;
        display: block; */
        left: -20px;
    }
    body .ribbon ul:nth-child(2)::after{
        /* background-color: red;display: block; */
        right:-20px ;
    }

    body .ribbon ul:nth-child(2) .icon:nth-child(1){
        left: 5px;
    }
    body .ribbon ul:nth-child(2) .icon:nth-child(2){
        right:-20px ;
    }

    body .ribbon ul:nth-child(1){
        display: none;
    }
    .menu-list{
        display: block;
    }
    body .ribbon ul:nth-child(2){
        margin: 0px 5px;
    }
}

/*-------------------------Ribbon------------------------------*/
/*-------------------------Ribbon------------------------------*/


body .welcome{
    height: 300px;
    width: 100%;
    padding:180px 0 50px;
    background-color: #fff;
    display: flex;
}

body .welcome .context-box{
    margin: 25px 25px 0;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

body .welcome .context-box .row{
    display: flex;
    justify-content: space-between;
}

body .welcome .context-box .row .col h1{
    font-size: 3rem;
    line-height: 1.6;
}
body .welcome .context-box .row .col p{
    font-size: 18px;
    line-height: 1.6;
}

body .welcome .context-box .row .col h6{
    line-height: 1.6;
    font-weight: 100;
    color: #606060;
}

body .welcome .search{
    margin: 10px 0 0;
    position: relative;
}

body .welcome .search input[class="Search-Bar"]{
    height: 54px;
    width: -webkit-fill-available;
    border: 0;
    background-color: #eeeeee;
    padding: 0 20px 0 45px;
    border-radius: 8px;
}

body .welcome .search input[class="Search-Bar"]:focus{
    background-color: white;
    outline: 1.5px solid #eeeeee;
    border-radius: 25px;
}

body .welcome .search span{
    position: absolute;
} 
body .welcome .search .icon{
    left: 15px;
    top: 50%;
    transform: translateY(-40%);
    z-index: 1;
    fill: #606060;
    scale: 1;
    cursor: pointer;
}
body .welcome .search .icon:hover{
    fill: #000000;
} 

body .welcome .search .Visual-search2{
    right: 15px;
    top: 48%;
    transform: translateY(-50%);
    scale: 0.85;
    fill: #606060;
    cursor: pointer;
    z-index: 1;
} 
body .welcome .search .Visual-search2:hover{
    fill: #000000;
} 

/*-------------------------Image-Container------------------------------*/
/*-------------------------Image-Container------------------------------*/

.image-container{
    position: relative;
    padding: 0 25px;
    }
    
.image-container ul{
    list-style: none;
    columns: 3;
    column-gap: 25px;
}
.image-container ul li img{
    width: 100%;
    image-rendering: -webkit-optimize-contrast;
}
.image-container ul li{
    width: 100%;
    margin-bottom: 25px;
    position: relative;
}

.image-container ul li .title{
    display: none;
    color: white;
    justify-content: space-between;
    align-items:flex-end;
    position: absolute;
    width: calc(100% - 20px);
    bottom: 15px;
    padding: 0 10px;
    cursor: pointer;
}
.image-container ul li .title .profile img{
    width: 35px;
    height: 35px;
    background: pink;
    border-radius: 50%;
}

.image-container ul li .title .profile{
    margin: 0 10px;
    display: flex;
    flex-grow: 1;
    justify-content: start;
}
.image-container ul li .title .profile span{
    margin: 0 10px;
}

.image-container ul li .title h6{
    font-weight: lighter;
    overflow-y: scroll;
    height: 18px;
}
.image-container ul li .title h6::-webkit-scrollbar {
    display: none;
}
.image-container ul li .title h4{
    color: #ffffffcc;
    cursor: pointer;
    padding: 0 20px 0 0;
    text-transform:capitalize;
}

.image-container ul li .title h4:hover{
    color: #ffffff;
}

.image-container ul li .title a{
    text-decoration: none;
}

.image-container ul li button.like,
.image-container ul li button.add{
    display: block;
    position: absolute;
    z-index: 1;
    padding: 6px 8px;
    border-radius: 5px;
    color: grey;
    display: none;
    justify-content: center;
    align-items: center;
    border: 0;
    background: white;
    box-shadow: 0px 1px 2px #00000012;
    cursor: pointer;
}
.image-container ul li button.like svg,
.image-container ul li button.add svg{
    fill: grey;
    scale: 0.6;
}
.image-container ul li button.like:hover svg,
.image-container ul li button.add:hover svg{
    fill: rgb(0, 0, 0);
}

.image-container ul li button.add{
    top: 10px;
    right: 10px;
}
.image-container ul li button.like{
    top: 10px;
    right: 60px;
}
.image-container ul li .title button{
    padding:6px 8px;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    background: white;
    display: flex;
    align-items: center;
    font-weight: bold;
    color: #929292;
}
.image-container ul li .title button:hover{
    color: #000;
}
.image-container ul li .title button:hover svg{
    fill: #000;
}
.image-container ul li .title button svg{
    fill: #929292;
    scale: 0.6;
}

.image-container > button{
    display: none;
    width: 30%;
    left: 50%;
    position: relative;
    transform: translateX(-50%);
    padding: 10px 10px;
    margin: 20px 0 0;
    border-radius: 5px;
    color: grey;
    border: 1.2px solid #d8d8d8;
    background: linear-gradient(to bottom, white, white, #d8d8d81f);
    box-shadow: 0px 1px 2px #00000012;
    cursor: pointer;
}

.image-container button:hover{
    color: rgb(0, 0, 0);
    border: 1.2px solid #000000;
}

/*================================Hover=====================================*/

.image-container ul li:hover{
    cursor:zoom-in;
} 

.image-container ul li:hover .like{
    display: flex;
}
.image-container ul li:hover .add{
    display: flex
}
.image-container ul li:hover img{
    cursor:zoom-in;
    filter: brightness(0.82);
} 

.image-container ul li:hover .title{
    display: flex;
}

/*================================Hover=====================================*/

@media screen and (min-width:1024px) {
    .image-container ul{
        columns: 3;
    }
}

@media screen and (min-width:768px) and (max-width:1023px) {
    .image-container ul{
        columns: 2;
    }
    body .welcome .context-box{
        width: 100%;
    }
}
@media screen and (max-width:767px) {
    .image-container ul{
        columns: 1;
        column-gap: 0;
    }

    .image-container{
        padding:25px 5px;
    }

    body .welcome .context-box{
        width: 100%;
    }
    
    .image-container ul li .title{
        display: flex;
    }

    .image-container ul li:hover img{
        cursor:zoom-in;
        filter: brightness(1);
    }
    .image-container ul li button.like,
    .image-container ul li button.add{
        display: flex;
    }
}  

/*-------------------------Image-Container------------------------------*/
/*-------------------------Image-Container------------------------------*/

/*-------------------------Footer------------------------------*/
/*-------------------------Footer------------------------------*/

body footer{
    display: block;
    padding: 50px 20px 40px;
}

body footer h6{
    font-size: 28px;
    margin-bottom: 36px;
}

body footer .container{
    display: flex;
    justify-content: space-between;
}
body footer .container .col{
    flex-grow: 1;
}
body footer .container .social{
    flex-grow: 2;
    text-align: right;
}

body footer .container .social a{
    text-decoration: none;
    margin: 0 8px;
}
body footer .container .social a svg{
    fill: #999999;
}
body footer .container .social a svg:hover{
    fill: #000;
}
body footer .container ul{
    list-style: none; 
}
body footer .container ul li a{
    line-height: 2;
}
body footer .container ul li a{
    font-size: 15px;
    text-decoration: none;
    color:#767676;
}
body footer .container ul li a:hover{
    color: #000000;
}

body footer .ruler{
    height: 25px;
    padding: 24px 0;
    margin-top: 32px;
    border-top: 1px solid #d1d1d1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

body footer .ruler .logo{
    display: flex;
    align-items: center;
}

body footer .ruler .logo span{
    margin-left: 10px;
    color: #767676;
    font-size: 15px;
}

body footer .ruler .additional-details{
    color: #767676;
}

@media screen and (max-width:767px) {
    body footer{
        padding: 50px 15px 40px;
    }

    body footer .container{
        flex-direction: column;
    }

    body footer .container ul{
       padding: 10px 0;
    }
    body footer .container .social{
        text-align: left;
    }
    body footer .ruler .additional-details{
        color: #000000;
    }
    body footer .ruler{
        flex-direction: column;
    }
}
/*-------------------------Footer------------------------------*/
/*-------------------------Footer------------------------------*/


/*-------------------------Alert------------------------------*/
/*-------------------------Alert------------------------------*/

body #alertBox{
    position: fixed;
    top: 50%;
    z-index: 10;
    width: 410px;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #ffffff;
    border-radius: 10px;
    border: 1px solid grey;
    padding: 15px 15px;
    color: #000000;
}

body #alertBox h2{
    font-size: large;
    text-align: center;
}

body #alertBox p{
    margin: 20px 0;
    font-size: small;
    font-weight: lighter;
    line-height: 1.5;
    text-align: justify;
    background: #efefef;
    border-radius: 8px;
    padding: 20px 10px;
}

body #alertBox div{
    width: inherit;
    display: flex;
    justify-content: end;
}

body #alertBox div button{
    background: transparent;
    border: 0px;
    cursor: pointer;
}

body #alertBox div button > svg{
    fill: #aaaaaa;
    border: 0px;
    cursor: pointer;
}

body #alertBox div button:hover > svg{
    fill: #000000;
    border: 0px;
    cursor: pointer;
}

#clickDiv{
    top: 0;
    position: fixed;
    z-index: 5;
    background: #00000090;
    height: 100Vh;
    width: 100vw;
    cursor: default;
    display: flex;
    justify-content: center;
}
#clickDiv::-webkit-scrollbar {
    display: none;
}


@media screen and (max-width:767px) {


    body #alertBox{
        position: fixed;
        top: 50%;
        z-index: 10;
        left: 50%;
        transform: translate(-50%,-50%);
        width: 90vw;
    }

}
/*-------------------------Alert------------------------------*/
/*-------------------------Alert------------------------------*/
#clickImgDiv{
    top: 0;
    position: fixed;
    z-index: 5;
    background: #00000062;
    height: 100Vh;
    width: 100vw;
    cursor: default;
    display: flex;
    justify-content: center;
    overflow-y: scroll;
}

body #clickImgDiv > button{
    position: absolute;
    left: 15px;
    top: 15px;
    border: 0;
    background: transparent;
    fill: white;
    cursor: pointer;
    z-index: 2;
}

body #clickImgDiv .previewBtn{
    position: absolute;
    left: 15px;
    top: 50%;
    border: 0;
    background: transparent;
    fill: #b3b3b3;
    cursor: pointer;
    height: 100%;
    width: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(-50%);
}

body #clickImgDiv .previewBtn svg{
    scale: 1.5;
    flex-grow: 1;
}

body #clickImgDiv .nextBtn{
    position: absolute;
    right: 15px;
    top: 50%;
    border: 0;
    background: transparent;
    fill: #b3b3b3;
    cursor: pointer;
    height: 100%;
    width: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(-50%);
}

body #clickImgDiv .nextBtn svg{
    scale: 1.5;
    flex-grow: 1;
}
body #clickImgDiv .nextBtn:hover,
body #clickImgDiv .previewBtn:hover{
    fill: white;
}


body #clickImgDiv .imagePreviewBox{
    width: 85%;
    margin: 10px 0;
    padding: 0px 0px 8px;
    background: white;
    border-radius: 8px;
}

body #clickImgDiv .imagePreviewBox img{
    height: 100%;
    cursor:default;
}

body #clickImgDiv .imagePreviewBox .ImageHeader{
    height: 30px;
    padding: 15px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 8px 8px 0 0;
}
body #clickImgDiv .imagePreviewBox .ImageHeader > a button{
    background: #000000;
    color: white;
    border-radius: 5px;
    border: 0;
    padding: 10px 20px;
    cursor: pointer;
}

/* body #clickImgDiv .imagePreviewBox .ImageHeader > h5{
    font-size: large;
    font-weight: lighter;
    align-self: flex-start;
} */

body #clickImgDiv .imagePreviewBox .ImageHeader .profile{
    display: flex;
    width: 50%;
    overflow: hidden;
}

body #clickImgDiv .imagePreviewBox .ImageHeader .profile img{
    width: 35px;
    height: 35px;
    background: #000000;
    border-radius: 50%;
    margin: 0 8px 0 0;
}
body #clickImgDiv .imagePreviewBox .ImageHeader .profile span h6{
    color: #919191;
    font-weight: lighter;
    overflow-y: scroll;
    height: 18px;
}
body #clickImgDiv .imagePreviewBox .ImageHeader .profile span h6::-webkit-scrollbar{
    display: none;
}

body #clickImgDiv .imagePreviewBox .classPreview{
    display: flex;
    margin: 0 10px;
    border-radius: 5px;
    justify-content: center;
    align-items: center;
    height: 90%;
    overflow-x: scroll;
}

body #clickImgDiv .imagePreviewBox .classPreview::-webkit-scrollbar {
    display: none;
}


@media screen and (max-width:767px) {

    #clickImgDiv{
        display: none;
    }

}
