@font-face {
    font-family:pixelated;
    src: url(images/rainyhearts.ttf);
}
*{
    font-family: 'pixelated';
    image-rendering: pixelated;
    text-rendering:geometricPrecision;
    shape-rendering: crispEdges;
    padding: 0;
    cursor: url('https://file.garden/aOLHIZVloELMsOVw/nat507.cur'), auto;
    margin: 0;
}
#everything{
    margin: 0 auto;
    max-width: 60%;
}
.main-everything{
    display: flex;
    justify-content: space-around;
}
.fake-adbox img{
    margin-top: 3px;
    text-align: center;
    max-width: 100%;
}
body{
  background-image: url(images/blue-butterfly-stars-pattern.gif); 
}
.main-box{
    margin-bottom: 2%;
    width: 80%;
    float:left;
    border:1px solid rgb(0, 0, 0);
    padding: 10px;
    background-color: rgb(89, 189, 255);
    border-radius:12px;
    box-shadow: #a5d5ff 0px 1px 2px 2px inset;
    padding-left:10px;
    scrollbar-width: thin; /* auto or none */
    scrollbar-color:  rgb(97, 89, 255) rgb(89, 189, 255);
    text-align: center;
}
.title{
    display: block;
    text-align: center;
}
.main_view {
    height:400px;
    border-radius: 20px;
}

.main_view img {
    max-width: 100%;
    max-height:100%;
    object-fit: cover;
    justify-content: center;
}

.side_view {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    overflow-x: scroll;
}

.side_view img {
    width: 9rem;
    height: 7rem;
    object-fit: cover;
    cursor: pointer;
    margin: 0.5rem;
}
.gallery-box{
    background-color: #a5d5ff;
    padding: 10px;
    height: 70%;
}
.side-nav{
    width: 15%;
    border: 1px solid rgb(0, 0, 0);
    background-color: rgb(89, 189, 255);
    padding: 5px;
    float: right;
    display: grid;
    box-shadow: #c2e9ff 0px 1px 2px 2px inset;
    border-radius: 10px;
    font-size: 17px;
    overflow: hidden;
}
.side-nav p{
    font-size: larger;
}
.side-nav a{
    color:rgb(0, 8, 120);
    font-size: larger;
}
.side-nav a:hover{
    color:rgb(69, 97, 158);
}
#marquee-box{
    margin-top : 10px;
    border:1px solid rgb(0, 0, 0);
    background-color: rgb(191, 221, 255);
    display: flex;
    padding: 10px;
    box-shadow: #ffffff 0px 1px 2px 2px inset;
    border-radius: 10px;
    height: 300px;
    height:50%;
}
#marquee-box img{
    width:100%;
}
.model-view{
    background-color: #a5d5ff;
    display: flex;
    margin-bottom: 10px;
}
.full-preview img{
    height: 400px;
}
.sideview {
    float:left;
    max-width: 100%;
}
.sideview img{
    max-width: 150px;
}
.full-viewscroll{
    max-height: 400px;
    overflow: scroll;
}
@media (max-width:900px) {
    .main-box{
        position: relative;
        float:left;
        width:100%;
        z-index: 2;
    }
    #everything{
        max-width: 93%;
        margin: 0 auto;
    }
    .main_view{
        max-width: 100%;
        max-height: 100%;
    }
    .full-preview{
        height: 100%;
    }
    .full-preview img{
        max-width: 100%;
    }
    .model-view{
        display: grid;
        max-width: 100%;
        max-height: 100%;
    }
    .side-nav{
        width:100%;
        margin: 0 auto
    }
    #marquee-box{
        max-width: 100%;
    }
    #marquee-box img{
        width:100%;
    }
}