* {
    box-sizing:border-box;
}

body{
    margin:0;
    color:white;
    background-color: rgb(11, 12, 19);
}

.matters{
    color:blue;
    text-shadow:black 2px 2px 2px, blue 0px 8px 3px;
}

#header{
    width:100%;
    background-image: linear-gradient(0deg, rgb(233, 180, 180), rgb(233, 180, 180), transparent),
    url(https://fombrizone.b-cdn.net/bg_fombri.jpg)
    ;
    background-attachment: fixed;
    background-repeat:no-repeat;
    -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;

    -webkit-filter: blur(1px) invert(85%);
    -moz-filter: blur(1px) invert(85%);
    -o-filter:blur(1px) invert(85%);
    filter:blur(1px) invert(85%);

    padding-bottom:20%;
}

#intro-text{
    text-align:center;
    color: rgb(233, 224, 236);
}
#disclaimer{
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
    width: 30%;
    height: auto;
    font-size: .5rem;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    text-align: justify;
    text-decoration: underline 1px #4fc500;
    color: #4fc500;
    background-color: #000;
    border: rgb(0, 255, 157) dashed 2px;
    padding: 1%;
  }
  
#disclaimer ul{
    font-size:.8rem;
    
}

#filesDraggablediv {
    position: absolute;
    top:10%;
    right:6%;
    z-index: 9;
    width: 30vw;

    border:#ccc 1px solid;
    background-color: rgb(11, 12, 19);
}
#filesDraggablediv button{
    display:block;
}

.disappearsmall {
    font-size:small;
}
.accordionFile {
    display:none;

    background-color: rgb(11, 12, 19);
    margin-bottom: .8em;
    font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size:.8em;
 }
.accordionFile ul, li{
    margin-left:2vw;
}

 .accordion{
    padding: .5em;
    width:100%;
    text-align: left;
    font-weight:550;
    color:rgb(235, 86, 210);
 }
 .accordion:nth-of-type(odd){
    background-color: rgb(241, 234, 243);
    border:none;
 }
 .accordion:nth-of-type(even){
    background-color: rgb(234, 222, 238);
    border:none;
 }

 .accordion.active{
    background-color: #000;
 }
 .accordion:hover{
    background-color: rgb(123, 133, 223);
 }
.accordion:focus{
    background-color: #000;
}

 #filesheader {
    cursor:grab;
    z-index:10;
    background-color: rgb(18, 63, 161);
    color: rgb(115, 212, 106);
    padding:1em;
    text-align: center;
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    letter-spacing: 1px;
 }

#intro-content{
    display:flex;
    flex-flow: row nowrap;
    height:18.5vh;
    overflow-y:scroll;
    overflow-x: hidden;
    background-color: rgb(18, 63, 161);
    color:rgb(115, 212, 106);
    font-family: sans-serif;
    font-weight: 550;
}

#journal {
    position:relative;      /*so i can "position:absolute" the anchor link*/
    margin:0 auto;
}
#journal > img{
    position:absolute;
    height:80%;
    top:2vh;
    left:40%;
}
#journal a{
    z-index:1;

    position:absolute;
    bottom:4vh;
    color:rgb(255, 176, 242);
    text-decoration:underline wavy 2px rgb(255, 176, 242);
    font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: large;
    font-weight: 700;
    letter-spacing: 0.1rem;
    text-shadow: #0a0099 0 0 4px;
}
#journal a:hover {
    color:rgb(235, 86, 210);
    text-shadow:plum 0 0 6px, #0a0099 0 0 4px;
}
#journal a:active {
    color:rgb(235, 86, 210);
    text-shadow:plum 0 0 6px, #0a0099 0 0 4px;
}
#journal a:focus {
    color:rgb(235, 86, 210);;
    text-shadow:plum 0 0 6px, #0a0099 0 0 4px;
}

#journal {
    order:1;
    flex-basis: 33%;
}
#intro-content ul{
    order:2;
    flex-basis:62%;
}
#intro-content li:first-of-type{
    margin: 0 0 0.5em 0;
    list-style-type:none;
}
#intro-content li:not(:first-of-type){
    margin-top:1vh;
}


.main-container{
    margin-top:8vh;
}

.buttons{
    display:flex;
    flex-flow:row nowrap;
    gap:2px;
    margin-left:40%;
}
.buttons button{
    border: solid rgb(64, 177, 11) 2px;
    border-radius: .25rem .25rem 0 0;
    border-bottom:none;
    width:10rem;
    height:4rem;
    cursor:pointer;
    font-weight: 700;
    font-size:1.1rem;

    background-color: black;
    color:rgb(133, 143, 114)
}
.buttons button:hover{
    background-color: blue;
}
#btn_fanart:hover{
    background-color: rgb(255, 0, 119);
}



.own{
    background-color: black;
    margin: 0 5vw;

    border: rgb(39, 33, 0) 3px solid;
    outline: ridge 5px blue;
}
.own > button{
    margin-left:70%;
}

.fanart{
    display:none;
    background-color: black;
    margin: 0 5vw;

    border: rgb(39, 33, 0) 3px solid;
    outline: ridge 5px rgb(255, 0, 119);
}
.fanart > button{
    margin-left:70%;
}

.gallery{
    display: grid;
    grid-template-columns: 25% 29% 22% 20%;
    grid-template-rows: minmax(150px, auto);
    grid-gap: 2vmin;

    margin: 2%;
    
}
.gallery img{
    width:100%;
    max-height:70vh;
    object-fit: scale-down;
}
.gallery img:hover{
    opacity:0.6;
    outline:2px violet solid;
}
.gallery img:active{
    opacity:0.6;
    outline:2px violet solid;
}
.gallery img:focus{ /*doesnt work?*/
    opacity:0.6;
    outline:2px violet solid;
}







/*!
 * baguetteBox.js
 * @author  feimosi
 * @version 1.11.1
 * @url https://github.com/feimosi/baguetteBox.js
 */
 #baguetteBox-overlay{
    display:none;
    opacity:0;
    position:fixed;
    overflow:hidden;
    top:0;
    left:0;
    width:100%;
    height:100%;
    z-index:1000000;
    background-color:#222;
    background-color:rgba(0,0,0,.8);
    -webkit-transition:opacity .5s ease;
    transition:opacity .5s ease;
}
 
 #baguetteBox-overlay.visible{
    opacity:1;
}
 
 #baguetteBox-overlay .full-image{
    display:inline-block;
    position:relative;
    width:100%;
    height:100%;
    text-align:center;
}
 
 #baguetteBox-overlay .full-image figure{
    display:inline;
    margin:0;
    height:100%;
}
 
 #baguetteBox-overlay .full-image img{
    display:inline-block;
    width:auto;
    height:auto;
    max-height:100%;
    max-width:100%;
    vertical-align:middle;
    -webkit-box-shadow:0 0 8px rgba(0,0,0,.6);
    -moz-box-shadow:0 0 8px rgba(0,0,0,.6);
    box-shadow:0 0 8px rgba(0,0,0,.6);
}
 
 #baguetteBox-overlay .full-image figcaption{
    display:block;
    position:absolute;
    bottom:0;
    width:100%;
    text-align:center;
    line-height:1.8;
    white-space:normal;
    color:#ccc;
    background-color:#000;
    background-color:rgba(0,0,0,.6);
    font-family:sans-serif;
}
 
 #baguetteBox-overlay .full-image:before{
    content:"";
    display:inline-block;
    height:50%;
    width:1px;
    margin-right:-1px;
}

#baguetteBox-slider{
    position:absolute;
    left:0;
    top:0;
    height:100%;
    width:100%;
    white-space:nowrap;
    -webkit-transition:left .4s ease,-webkit-transform .4s ease;
    transition:left .4s ease,-webkit-transform .4s ease;
    transition:left .4s ease,transform .4s ease;
    transition:left .4s ease,transform .4s ease,-webkit-transform .4s ease,-moz-transform .4s ease;
}
 
 #baguetteBox-slider.bounce-from-right{
    -webkit-animation:bounceFromRight .4s ease-out;
    animation:bounceFromRight .4s ease-out;
}
 
 #baguetteBox-slider.bounce-from-left{
    -webkit-animation:bounceFromLeft .4s ease-out;
    animation:bounceFromLeft .4s ease-out;
}
 @-webkit-keyframes bounceFromRight{0%,100%{margin-left:0}50%{margin-left:-30px}
}
 @keyframes bounceFromRight{0%,100%{margin-left:0}50%{margin-left:-30px}
}
@-webkit-keyframes bounceFromLeft{0%,100%{margin-left:0}50%{margin-left:30px}
}
@keyframes bounceFromLeft{0%,100%{margin-left:0}50%{margin-left:30px}
}

.baguetteBox-button#next-button,.baguetteBox-button#previous-button{
    top:50%;
    top:calc(50% - 30px);
    width:44px;
    height:60px;
}

.baguetteBox-button{
    position:absolute;
    cursor:pointer;
    outline:0;
    padding:0;
    margin:0;
    border:0;
    -moz-border-radius:15%;
    border-radius:15%;
    background-color:#323232;
    background-color:rgba(50,50,50,.5);
    color:#ddd;
    font:1.6em sans-serif;
    -webkit-transition:background-color .4s ease;
    transition:background-color .4s ease;
}

.baguetteBox-button:focus,.baguetteBox-button:hover{
    background-color:rgba(50,50,50,.9);
}

.baguetteBox-button#next-button{
    right:2%;
}

.baguetteBox-button#previous-button{
    left:2%;
}

.baguetteBox-button#close-button{
    top:20px;
    right:2%;
    right:calc(2% + 6px);
    width:30px;
    height:30px;
}
    
.baguetteBox-button svg{
    position:absolute;
    left:0;
    top:0;
}

.baguetteBox-spinner{
    width:40px;
    height:40px;
    display:inline-block;
    position:absolute;
    top:50%;
    left:50%;
    margin-top:-20px;
    margin-left:-20px;
}

.baguetteBox-double-bounce1,.baguetteBox-double-bounce2{
    width:100%;
    height:100%;
    -moz-border-radius:50%;
    border-radius:50%;
    background-color:#fff;
    opacity:.6;
    position:absolute;
    top:0;
    left:0;
    -webkit-animation:bounce 2s infinite ease-in-out
    ;animation:bounce 2s infinite ease-in-out;
}
    
.baguetteBox-double-bounce2{
    -webkit-animation-delay:-1s;
    animation-delay:-1s;
}

@-webkit-keyframes bounce{0%,100%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1);transform:scale(1)}
}
        
@keyframes bounce{0%,100%{-webkit-transform:scale(0);-moz-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1);-moz-transform:scale(1);transform:scale(1)}
}



@media (max-width:1080px){

.gallery{
    display: block;
    
}

.buttons button{
    width:8rem;
    font-size:1rem;
}

#filesDraggablediv {
    position:static;
    z-index: 1;
    width: 65vw;
    margin-top: 0.4vh;
    border:none;
}
#filesheader {
    cursor:auto;
    z-index:1;
 }
 .disappearsmall {
    display: none;
}

#disclaimer{
    position:static;
    width:100%;
    height:auto;

    text-align:justify;
    margin: 0 auto;
    padding: 0 16%;
}

}



@media (max-width: 760px) {

.own, .fanart{
    margin:auto 2px;
}
.gallery img{
    width:100%;

}

.buttons button{
    width:6rem;
}

#intro-content li{
    font-size:small;
}
}



