@import url('https://fonts.googleapis.com/css2?family=Yomogi&display=swap');


@font-face {
    font-family: mint soda;
    src: url('/font/mint_soda.ttf');
}

html {
    font-family: "Yomogi", cursive;
    font-weight: 500;
    font-style: normal;
    font-size: 1.3rem;
    line-height: 1.52em;
}

.comment {
    font-size: 0.9em;
    color: gray;
}

.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.black-box{
    background-color:#000000d0;
    border:3px solid #a7a7a7;
    border-radius:4px;
    padding: 0px 1em 0.5em 1em;
    margin-bottom: 0.5em;
    color:#ffffff;
    overflow:hidden;
}

.gray-border {
    border:3px solid #8c3c3c;
    padding: 0.025em 1em 0.025em 1em;
    border-radius:12px;
}

.top-bar {
    width: 100%;
}

.top-bar p {
    margin-top: 0.5em;
    font-size: 1.1em;
}


.flex-container {
    width: 100%;
    display: flex;
    flex-direction: row;
}

.flex-item-left {
    width: 100%;
    flex: 65%;
    padding: 0.25em;
}

.flex-item-center {
    width: 100%;
    padding: 0.25em;
    padding-bottom: 0em;
}

.flex-item-right {
    width: 100%;
    flex: 35%;
    padding: 0.25em;
}

.main-container {
    width: 66%;
}

@media (max-width: 1500px) {
    .main-container {
        width: 90%;
    }
}

@media (max-width: 700px) {
    .flex-container {
        align-items:flex-start;
        flex-direction: column;
    }

    .flex-item-left, .flex-item-right {
        flex: 49%;
    }

    .main-container {
        width: 94%;
    }

    html {
        font-size: 0.9rem;
    }

    .comment {
    font-size: 0.8em;
    }
}

/* ------------------------ */
/* text effects  */
/* ------------------------ */


.top-heading {
    text-align: center;
    margin-bottom: 0.2em;
}

.center-text {
    text-align: center;
}

.sub {
    font-size: 0.8em;
    margin: -0.7em;
}

h1, h2, h3, h4, h5 {
    margin-bottom: 0.4em;
    margin-top: 0.6em;
}

p {
    margin-top: 0.3em;  
    margin-bottom: 0.3em;  
}

ul {
    margin-top: 0.3em; 
    margin-bottom: 0.3em;  
}

br {
    display: block;
    content: "";
    margin-top: 0.8em;
}

.gray {
    color: rgb(175, 175, 175)
}

.purple {
    color: rgb(208, 88, 255)
}

.yellow {
    color: rgb(255, 251, 0)
}


.orangered {
    color: rgb(255, 106, 0)
}

a {
    color: rgb(255, 242, 0)
}

.fancy-hr-left {
    background: rgb(0,0,0);
    background: -moz-linear-gradient(90deg,  rgba(255,255,255,1) 0%, rgba(255,255,255,1) 82%, rgba(0,0,0,0) 100%);
    background: -webkit-linear-gradient(90deg,  rgba(255,255,255,1) 0%, rgba(255,255,255,1) 82%, rgba(0,0,0,0) 100%);
    background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 82%, rgba(0,0,0,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000",endColorstr="#000000",GradientType=1);
    
    border: 0;
    display: inline-block;
    height: 1px;
    width: 100%;
}

/* ------------------------ */
/* img effects */
/* ------------------------ */

.floated {
    float: right;
}

figure {
    border: 1px #918585 solid;
    margin: 1em 0 0 1em;
}

figure img {
    width: 100%;
}

figcaption {
    background-color: black;
    color: rgb(197, 197, 197);
    font-style: italic;
    padding: 0.5em;
    text-align: center;
}

.center-img {
    display: block;
    margin: auto;
    text-align: center;
    width: 100%;
}

.twice-center-img {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
  }

.pixel {
    image-rendering: crisp-edges;
}

.hbox {
    display: flex;
    height: 10rem; /* Control height */
    width: 97%;   /* Respect parent width */
    box-sizing: border-box;
    position: relative; /* Prevent overlap */
    margin: auto;
    padding: auto;
    align-items: center;
}


.hbox-item {
    flex: 1 1 auto;
    min-height: 0px;
    min-width: 0px;
    object-fit: contain;
}

.insert-img {
    margin-top: 4.5%;
    margin-bottom: 1em;
}

/*BACKGROUNDS*/

.tile-bg, .star2-bg, .star-bg {
    background-repeat: repeat;
    background-attachment:scroll;
}

.strong-black-overlay {
    background-blend-mode: multiply;
    background-color: rgba(0, 0, 0, 0.5);
}

.mid-black-overlay {
    background-blend-mode: multiply;
    background-color: rgba(0, 0, 0, 0.25);
}

.star-bg {
    background-image: url("/img/bg/stars1.gif");
}

.star2-bg {
    background-image: url("/img/bg/stars7.gif");
}
