@font-face {
    font-family: "Pixel10R";
    src: url("Fonts/PixelMplus10-Regular.ttf");
}
@font-face {
    font-family: "Pixel10B";
    src: url("Fonts/PixelMplus10-Bold.ttf");
}
@font-face {
    font-family: "Pixel12R";
    src: url("Fonts/PixelMplus12-Regular.ttf");
}
@font-face {
    font-family: "Pixel12B";
    src: url("Fonts/PixelMplus12-Bold.ttf");
}
@font-face {
    font-family: "mplus hzk";
    src: url("Fonts/mplus hzk.ttf");
}
@font-face {
    font-family: "prstartk";
    src: url("Fonts/prstartk.ttf");
}
@font-face {
    font-family: "windows";
    src: url("Fonts/windows_command_prompt.ttf");
}
@font-face {
    font-family: "zx";
    src: url("Fonts/zx-spectrum.ttf");
}
 

#active {
    color: #5759d8;
    border-color: #5557d2;
    background-color: #7375fd;
}
/* Background */
body{
    background-color: #0C112A;
    background-image: url("BackgroundPixel.png");
    background-repeat: repeat-x;
    background-position: bottom;
    background-attachment: fixed;
    }
.FooterSpan {
    display: block;
    margin-bottom: 18em;
}
@media only screen and (max-width:420px) {
    body{
        background-color: #0C112A;
        background-image: url("BackgroundPixel.png");
        background-repeat: repeat-x;
        background-position: bottom;
        background-attachment: fixed;
        background-size: 550px auto;
    }
    .FooterSpan {
        display: block;
        margin-bottom: 13em;
    }
}


/* Header */
#header{
    margin: 0;
    background: #0C112A;
    position: relative;
    right: 0;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 100;
}
.container{
    width: 100%;
    max-width: 1250px;
    margin: 5px auto;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center; 
}
.Logo img{
    margin: auto 10px;
    height: auto;
    cursor: cell;
}
.main_nav ul{
    padding: 0;
    margin: 0;
    list-style: none;
}
.main_nav ul li{
    float: left;
    margin: 15px;
    position: relative;
    display: block;
}
.main_nav ul li a {
    display: block;
    border: 10px outset #28398e;
    cursor: cell;
    /*text*/
    font-size: 15px;
    color: #fff;
    font-family: "mplus hzk";
    text-align: center;
    text-decoration: none;
    width: 100%;
    background-color: #182152;
}
.main_nav ul li a:hover:not(.active) {
    color: #4ae5ea;
    cursor: cell;
    border-color: #5bedf2;
    background-color: #ADFDFF;
}
.main_nav ul li a:active {
    transform: translateY(5px);
}
.header_right img{
    padding: 0;
    margin: 0;
    list-style: none;
    float: left;
    position: relative;
    display: block;
}

.LanguageBtn img{
    margin: 15px 0px 15px 14px;
    position: relative;
    display: block;
    width: auto;
    height: 86px;
    cursor: cell;
    border: 10px outset #28398e;
    background-color: #182152;
}  
.LanguageBtn img:hover {
    color: #f1ee00;
    border-color: #A877EF;
    background-color: #c298ff;
}
.LanguageBtn img:active {
    transform: translateY(5px);
}
#BGMOn{
    color: #5759d8;
    border-color: #5557d2;
    background-color: #7375fd;
}
#BGMOn:hover {
    color: #4ae5ea;
    cursor: cell;
    border-color: #5bedf2;
    background-color: #ADFDFF;
}

/*Header Responsive: Show Nav Icon*/
@media only screen and (min-width:1250px){
    .NavIcon{display: none;}
}
@media only screen and (max-width:1250px) {
    .container{
        justify-content: center; 
        align-items: center;
        z-index: 100;
    }
    .main_nav:not(.active) {display: none;}
    .main_nav.active {
        position: fixed;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100%;
        left: 0;
        top: 125px;
        padding: 0px;
        background-color: #0C112A;
        z-index: 100;
    }
    .main_nav.active ul li{
        float: none;
        margin: 30px 10px;
        position: relative;
        display: block;
        z-index: 100;
    }
    .main_nav.active ul li a {
      padding: 0;
      border: none;
      cursor: cell;
      font-size: 23px;
      color: #fff;
      font-family: "mplus hzk";
      text-align: center;
      text-decoration: none;
      height: 40px;
      width: 100%;
      background: none;
      display: flex;
      justify-content: center;
      align-items: center;
        z-index: 100;
    }
    .main_nav ul li a:hover:not(.active) {
        color: #4ae5ea;
        background-color: #ADFDFF;
        z-index: 100;
    }
    .NavIcon img{
        padding: 0;
        margin: 0;
        margin: 15px 5px 15px 0px;
        position: relative;
        display: block;
        width: auto;
        height: 86px;
        border: 10px outset #28398e;
        cursor: cell;
        background-color: #182152;  
    }
    .NavIcon img:hover {
        color: #4ae5ea;
        cursor: cell;
        border-color: #5bedf2;
        background-color: #ADFDFF;
    }
    .NavIcon img:active {
        transform: translateY(5px);
    }
    .Logo img{
        margin: auto 20px;
    }
}
/*Header Responsive: Resize Logo Nav BGM */
@media only screen and (max-width:720px) {
    .container{
        justify-content: center; 
        align-items: center;
    }
    .Logo img{
        width: 140px;
        margin: auto 10px;
        height: auto;
    }
    .NavIcon img{
        margin: 15px 10px 15px 10px;
        width: auto;
        height: 50px;
    }
    .LanguageBtn img{
        margin: 15px 10px 15px 10px;
        width: auto;
        height: 50px;
    }  
    .main_nav.active {
        top: 90px;
    }
}
@media only screen and (max-width:360px) {
    .container{
        justify-content: center; 
        align-items: center;
    }
    .Logo img{
        width: 100px;
        height: auto;
    }
    .NavIcon img{
        margin: 15px 10px 15px 10px;
        width: auto;
        height: 50px;
    }
    .LanguageBtn img{
        margin: 15px 10px 15px 10px;
        width: auto;
        height: 50px;
    }  
    .main_nav.active {
        top: 90px;
    }
}





/*Subtitle*/
ul {
  list-style-type: none;
}
.Subtitle {
    display: flex;
    align-items: center;
    justify-content: center;
}
.Subtitle ul {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
}
.Subtitle ul li{
    margin: 0;
    padding: 0;
    margin-top: 20px;
    margin-right: 10px;
    margin-left: 10px;
}
.Subtitle ul li h1{
    margin: 0;
    padding: 0;
    box-shadow: inset 0 -10px 0 #7375fd;
    cursor: cell;
    /*text*/
    font-size: 30px;
    color: #fff;
    font-family: "mplus hzk";
    text-align: center;
    text-decoration: none;
    height: 50px;
    width: 200px;
    background:none;
    display: flex;
    justify-content: center;
    align-items: center;
}
/*
.Subtitle ul li h1:hover:not(.active) {
color: #f1ee00;
border-color: #e1e557;
background-color: #fdfb73;
}
*/
.Subtitle ul li h1:active {
    transform: translateY(5px);
}
/*Subtitle Responsive*/
@media only screen and (max-width: 720px) {
    .Subtitle {
        width: 100%;
        justify-content: center;
    }
  .Subtitle ul {
      width: 100%;
      margin: 0 auto;
      justify-content: center;
      align-items: center;
      margin-left: -30px;
    }
  .Subtitle ul li {
      width: 100%;
      padding: 0;
      margin: 0 auto;
      justify-content: center;
      align-items: center;
    }
  .Subtitle ul li h1 {
      margin-right: 30px;
      margin-left: 30px;
      width: 80px;
      padding: 0;
      border: none;
      box-shadow: inset 0 -5px 0 #7375fd;
      cursor: cell;
      font-size: 25px;
      color: #fff;
      font-family: "mplus hzk";
      text-align: center;
      text-decoration: none;
      height: 100%;
      width: 100%;
      background:none;
      justify-content: center;
      align-items: center;
    }
}
@media only screen and (max-width: 500px) {
      .Subtitle ul {
          margin-left: -18px;
        }
      .Subtitle ul li h1 {
          margin-right: 18px;
          margin-left: 18px;
          font-size: 16px;
        }
}


/*Content*/
.A{
    margin: 0px auto;
    position: relative;
    background-color: #7375fd;
    border: 10px outset #28398e;
    margin-top: 20px;
    padding: 0;
    font-family: "mplus hzk";
    font-size: 20px;
    height: 100%;
    width: 90%;
}
.B{
    margin: 0px auto;
    position: relative;
    background-color: #7375fd;
    border: 10px outset #28398e;
    margin-top: 20px;
    padding: 0;
    font-family: "mplus hzk";
    font-size: 20px;
    height: 100%;
    width: 90%;
}
.C{
    display: flex;
    flex-direction: column;
    margin: 0px auto;
    justify-content: center;
    position: relative;
    background-color: #7375fd;
    border: 10px outset #28398e;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    padding: 20px;
    font-family: "mplus hzk";
    font-size: 20px;
    height: 100%;
}
.C > * {
    display: block;
    margin: 20px auto;
}





/*Image Main*/
.grid {
  display: flex;
  flex-wrap: wrap;
  padding-right: 15px;
}
/*
.columnImg:hover {
    border: 10px solid #fff;
    width: 95%;
    filter: grayscale(100);
}
*/


.columnA {
  flex: 45%;
  max-width: 50%;
  padding: 5px;
}
/*
.columnA {
  flex: 20%;
  max-width: 25%;
  padding: 5px;  
}
*/
.columnA img {
    margin: 5px;
    vertical-align: middle;
    width: 100%;
    cursor: cell;
    transition: filter 0.3s ease;
}


@media screen and (max-width: 1400px) {
  .columnA {
    flex: 40%;
    max-width: 50%;
  }
}
@media screen and (max-width: 600px) {
  .columnA {
    flex: 90%;
    max-width: 100%;
  }
}


.columnB {
  flex: 45%;
  max-width: 50%;
  padding: 5px;
    
}
.columnB img {
    margin: 5px;
    vertical-align: middle;
    width: 100%;
    cursor: cell;
    filter: opacity(100%);
    transition: filter 0.3s ease;
}


@media screen and (max-width: 1400px) {
  .columnB {
    flex: 40%;
    max-width: 50%;
  }
}
@media screen and (max-width: 600px) {
  .columnB {
    flex: 90%;
    max-width: 100%;
  }
}






.Image {
    position: relative;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 0;
    border: 10px solid #fff;
    padding: 0px;
}
.ImageTitle{
    color: white;
    margin-top: 20px;
    margin-bottom: 5px;
    margin-left: 30px;
    position: relative;
    z-index: 1;
    font-size: 40px;
}
.ImagePostTime {
    color: white;
    margin-bottom:5px;
    margin-top:0px;
    font-size: 20px;
    margin-left:30px;
    position: relative;
    z-index: 1;
}
.ImagePreview  {
    top: -105px;  
    height: 200px; 
    overflow: hidden;
    position: relative;
    margin-bottom: -105px;
}
.ImagePreview img{
    position: absolute;
    top: -190px;
    left:0;
    width: 100vh;
    height: auto; 
}
.ImageFull img{
    position: relative;
    width: 100%;
    margin-bottom: -4px;
}
.ImgMore{
    width: auto;
    height: 60px;
    display: block;
    border: 10px solid #fff;
    cursor: cell;
    position: absolute;
    margin-top: 10px;
    margin-right: 10px;
    right: 0px;
    z-index: 2;
}
.ImgMore:hover {
    color: #4ae5ea;
    cursor: cell;
    border-color: #5bedf2;
    background-color: #ADFDFF;
}
.ImgMore:active {
    transform: translateY(5px);
}
.ImgBack{
    width: auto;
    height: 60px;
    display: block;
    border: 10px solid #7375fd;
    cursor: cell;
    position: absolute;
    margin-top: 10px;
    margin-right: 10px;
    right: 0px;
    z-index: 2;
}
.ImgBack:hover {
    color: #4ae5ea;
    cursor: cell;
    border-color: #5bedf2;
    background-color: #ADFDFF;
}
.ImgBack:active {
    transform: translateY(5px);
}
.ImageC1{
    margin-top: -30px;
    padding: 30px;
    color: #fff;
    line-height: 1.5;
}
@media only screen and (max-width: 720px) {
    .ImgMore{
        border: 5px solid #7375fd;
        width: 40px;
        height: 40px;
        margin-right: 10px;
    }
    .ImgBack{
        border: 5px solid #7375fd;
        width: 40px;
        height: 40px;
        margin-right: 10px;
    }
    .ImageTitle{
        margin-left: 15px;
        margin-top: 10px;
        margin-bottom:5px;
        font-size: 30px;
    }
    .ImagePostTime{
        margin-left: 15px;  
        font-size: 15px;
    }
    .ImagePreview  {
        top: -75px;  
        height: 150px; 
        overflow: hidden;
        position: relative;
        margin-bottom: -75px;
    }
    .ImagePreview img{
        position: absolute;
        top: -80px; 
        left:0;
        width: 70vh;
        height: auto; 
    }
    .ImageC1{
        margin-top: -30px;
        padding: 20px;
        color: #fff;
        font-size: 15px;
        line-height: 1.5;
    }
}
@media only screen and (max-width:420px) {
    .Image{
        padding: 0px;
        margin-top: 10px;
        margin-bottom: 10px;
        margin-left: 0px;
        margin-right: 0px;
    }
    .ImageTitle{
        margin-left: 15px;
        margin-top: 10px;
        margin-bottom:5px;
        font-size: 20px;
    }
    .ImagePostTime{
        margin-left: 15px;  
        font-size: 13px;
    }
    .ImagePreview  {
        top: -61px;  
        height: 100px; 
        overflow: hidden;
        position: relative;
        margin-bottom: -61px;
    }
    .ImagePreview img{
        position: absolute;
        top: -130px; 
        left:0;
        width:50vh;
        height: auto; 
    }
    .ImgMore {
        border: 5px solid #fff;
        margin-top: 5px;
        width: auto;
        height: 30px;
        margin-right: 6px;
    }
    .ImgBack {
        border: 5px solid #fff;
        margin-top: 5px;
        width: auto;
        height: 30px;
        margin-right: 6px;
    }
    .ImageC1{
        margin-top: -20px;
        padding: 15px;
        color: #fff;
        font-size: 11px;
        line-height: 1.5;
    }
}


/* Footer */
    /* Footer Chatbox*/
.footer-container {
    background: none;
    position: fixed;
    display: flex;
    flex-direction: column;
    right: 0;
    max-width: 230px;
    z-index: 100;
    display: flex;
    flex-direction: column;
}
#email {
    position: fixed;
    margin: 0px;
    padding: 5px;
    right: 20px;
    bottom: 441px;
    width: 160px;
    height: 20px;
    border: 10px inset #28398e;
    overflow: hidden;
    font-size: 20px;
    color: #7375fd;
    font-family: "mplus hzk";
    background-color: #182152;
}
.footer textarea {
    position: fixed;
    margin: 0px;
    padding: 5px;
    right: 20px;
    bottom: 241px;
    /*border*/
    width: 160px;
    height: 160px;
    border: 10px inset #28398e;
    overflow: hidden;
    /*text*/
    font-size: 20px;
    color: #7375fd;
    font-family: "mplus hzk";
    /*background*/
    background-color: #182152;
}
.footer textarea::placeholder {
    /*text*/
    color: #4e5a93;
    font-family: "mplus hzk";
    font-size:  20px;
}
#email::placeholder {
    /*text*/
    color: #4e5a93;
    font-family: "mplus hzk";
    font-size:  20px;
}
#footer-submitbtn {
    position: fixed;
    margin: 0px;
    padding: 5px;
    right: 20px;
    bottom: 181px;
    width: 190px;
    height: 50px;
    font-family: "prstartk";
    color: #fff;
    border: 10px outset #28398e;
    background-color: #182152;
}
#footer-submitbtn:hover {
    color: #4ae5ea;
    cursor: cell;
    border-color: #5bedf2;
    background-color: #ADFDFF;
}
#footer-submitbtn:active {
    transform: translateY(5px);
}


    /*chaticon*/
#chat-icon{
    margin-right: 1rem;
    position: fixed;
    display: block;
    width: auto;
    height: 130px;
    cursor: cell;
    right: 0;
    bottom: 0px;
    transition: all 0.2s ease-out; 
    z-index: 100;
}
#chat-icon:hover {
    transform: scale(1.1);
}
#chat-icon:active {
    transform: scale(0.5);
    transform: rotate(-20deg);
}
 
.bubble-container{
    display: flex;
    flex-direction: column;
    position: fixed;
    margin: 0;
    right: 130px;
    bottom: 140px;
    z-index: 100;
    padding:0;
    width: 170px;
}
#messageArea {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;  /* Adjust as needed */
    margin: 0 0 13px;
    font-family: "mplus hzk";
    font-size: 12px;
    color: #000;
}
#messageArea p{
    margin: 0;
    text-align: center;
}

.footer-otherbuttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.footer-otherbuttons img{
    margin: 2px;
    width: 25px;
    height: 25px;
}
.footer-otherbuttons img:hover {
    cursor: cell;
    border-color: #5bedf2;
    background-color: #7375fd;
}
.footer-otherbuttons img:active {
    transform: translateY(5px);
}

.bubble img{
    position: fixed;
    right: 80px;
    bottom: 100px;
    z-index: 100;
    width: 260px;
    height: auto;
}

.backToTop {
    position: fixed;
    bottom: 20px;
    left: 20px;
    padding: 0;
    width: 70px;
    height: 70px;
    border: 10px outset #28398e;
    background-color: #182152;
    cursor: cell;
    z-index: 2;
}
.backToTop:hover {
    cursor: cell;
    border-color: #5bedf2;
    background-color: #ADFDFF;
}
.backToTop:active {
    transform: translateY(5px);
}

@media only screen and (max-width: 720px) {
    .backToTop {
        height: 50px;
        width: 50px;
        bottom: 10px;
        left: 10px;
        bottom: 10px;
        border: 10px outset #28398e;
    }
    .backToTop:hover {
        border: 5px solid #fff;
    }
}

@media only screen and (max-width: 420px) {
    #chat-icon{
        right: 0px;
        width: auto;
        height: 100px;
        bottom: 0;
    }
    #chat-icon:active {
        transform: scale(0.1);
        transform: rotate(-5deg);
    }
    .bubble img{
        right: 40px; /*-40*/
        bottom: 80px; /*-20*/
    }
    .bubble-container{
        right: 90px;
        bottom: 120px;
    }

}
    /* @2023 Karaz*/
#Copyright {
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    margin: 0;
    text-align: center;
    font-family: 'zx';
    font-size: 13px;
    color: #a974ef;
}



