

body{
    background-color: #000000;
    color: #ffffff;
    font-family: 'GoodbyeDespair', Courier, monospace;
    font-size: 16px;
    margin: 0;
    padding: 0;
}

@font-face {
  font-family: 'GoodbyeDespair';
  src: url('assets/font/goodbyeDespair.ttf') format('opentype'),
       url('assets/font/goodbyeDespair.ttf') format('truetype'); 
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'PoorRichard';
  src: url('assets/font/PoorRichardOpti.otf') format('opentype'),
       url('assets/font/PoorRichardOpti.otf') format('truetype'); 
  font-weight: normal;
  font-style: normal;
}


.c-keyword { color: #ff7b7b; } /* things like do */
.c-class   { color: #4fff9e; } /* things like 'CharacterScript', 'GlobalSound' */
.c-method  { color: #dcdcaa; } /* functions like 'Show_image' */
.c-string  { color: #ce9178; } /* parameters */
.c-number  { color: #82cacc; } /* numbers */


#bg{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/bg/bg.png');
    background-repeat: repeat;
    background-size: auto 100%; 
    
    z-index: -1;
    animation: movebg 30s linear infinite;
}

.header {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 20px; 
    padding: 0px; 
    position: relative;
}

#loadermonokuma {
    position: absolute;
    display: flex;
    width: 150px;
    height: 150px;
    top: 40px;
    right: 60px;
    animation: rotate_monokuma 5s linear infinite;
}

#lang{
    width: auto;
    height: 50px;
    object-fit: cover;
    cursor: pointer;
}

#lang:hover {
    opacity: 0.8;
    transition: 0.3s;
}

.language {
    position: absolute;

    top: 80px;
    left: 20px;
    
}

.language button {
    padding: 15px;
    font-family: 'GoodbyeDespair', Courier, monospace;
    border: none;
    cursor: pointer;
    background-color: transparent;
}



.content {
    display: flex;
    flex-direction: row; 
    width: 100%; 
    flex: 1;
    
}

.container {
    display: flex;
    flex-direction: column;

    min-height: 100vh;
    text-align: center;
    border: 2px solid #ffffff;
    width: 90%;
    margin: 0 auto;
    background-color: rgba(0, 0, 0, 0.5);
}

/* side url */
.side {
    width: 250px; 
    color: white;
    padding: 20px;
    text-align: left; 
    position: sticky;
    top: 0;
    height: 100vh;
    border-right: 2px solid #ffffff;
    max-height: 100vh;
    
    align-self: flex-start; 

    overflow-y: auto; 
    overflow-x: hidden;
}

.side ul {
    list-style: none; 
    padding: 0;      
    margin: 0;
}

main {
    flex: 1; 
    padding: 40px;
    text-align: left;  
  

}

#logo{
    width: auto;
    height: 200px;
    object-fit: cover;
}


.url_bullets {
    display: flex;
    align-items: center;   
    justify-content: center; 
    
    width: 256px; 
    height: 110px;
    min-height: 110px;   
    max-height: 110px;

    background-image: url("assets/img/bullet.png");
    background-repeat: no-repeat; 
    background-position: center;
    background-size: 100% 100%;
    
   
    font-size: 14px;      
    line-height: 1.1;     
    white-space: normal;  
    text-align: center;   
    

    padding-left: 20px;   
    padding-right: 50px;
    box-sizing: border-box; 
    
    margin-top: 20px;
    margin-bottom: -45px; 
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
}

.bullet_main {
    background-image: url("assets/img/white_bullet.png");
    background-repeat: no-repeat; 
    background-position: center;
    background-size: 100% 100%; 
    color: #000000;
}

.sub-menu {
    max-height: 0;
    overflow: hidden;
    

    transition: max-height 0.4s ease-in-out;
    
}


.sub-menu .url_bullets {
    height: 110px;
    min-height: 110px;
    max-height: 110px;
    width: 256px;
    font-size: 14px;
    margin-bottom: -40px; 
}

.sub-menu .url_bullets:last-child {
    margin-bottom: 0px;
}

.whitebg{
    background-color: #f2f2f2; 
    border: 4px solid #333333; 
    border-radius: 4px;
    padding: 30px;
    

    box-shadow: 8px 8px 0px rgba(0, 0, 0, 0.5); 
    
    color: #000000;
}

.letter_style{
    font-family: 'PoorRichard', Courier, monospace;
    font-size: 16px;
    color: #000000;
}

.mark{
    background-color: #333; 
    color: #e2e8f0; 
    font-size: 20px;
    border: 1px solid #404040; 
    padding: 2px 6px; 
    
    display: inline-block;
}

.inline-code {
    background-color: #000000; 
    color: #d4d4d4;
    font-family: "PoorRichard", "Courier New", Courier, monospace; 
    padding: 6px 12px; 

    font-size: 16px;
    display: inline-block; 
    box-shadow: 0px 4px 6px rgba(0,0,0,0.3); 
}


.warning {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background-color: #fff3cd;
  color: #856404; 
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}



/*side scrollbar design*/
.side::-webkit-scrollbar {
    width: 6px; 
}

.side::-webkit-scrollbar-track {
    background: transparent;
}

.side::-webkit-scrollbar-thumb {
    background: #ffffff; 
    border-radius: 10px; 
}

.side::-webkit-scrollbar-thumb:hover {
    background: #cccccc; 
}

/* landing page */

.landing-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    width: 100%;
    position: relative;
    z-index: 1; 
}

#landing-logo {
    width: auto;
    height: 250px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0px 8px 6px rgba(0,0,0,0.6));
    animation: floating 4s ease-in-out infinite;
}

.landing-box {
    width: 90%;
    max-width: 800px;
    text-align: center;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.landing-title {
    font-family: 'GoodbyeDespair', Courier, monospace;
    font-size: 42px;
    color: #000000;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.landing-desc {
    font-size: 22px;
    line-height: 1.6;
    margin: 0;
}

/* === BOTÓN DE ITCH.IO === */
.itch-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background-color: #fa5c5c; /* Rojo clásico de itch.io, cámbialo a rosa #ff52a2 si prefieres estilo Dangan */
    color: #ffffff;
    font-family: 'GoodbyeDespair', Courier, monospace;
    font-size: 28px;
    text-decoration: none;
    padding: 20px 40px;
    border-radius: 8px;
    border: 4px solid #000000;
    box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.8);
    transition: all 0.2s ease-in-out;
}

.itch-btn:hover {
    transform: translate(-4px, -4px);
    box-shadow: 10px 10px 0px rgba(0, 0, 0, 0.9);
    background-color: #ff6b6b;
}

.itch-btn:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.9);
}

.itch-icon {
    width: 45px;
    height: 45px;
}


.landing-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 10px;
}

.landing-links .url_bullets {
    margin-top: 0;
    margin-bottom: 0;
    transition: transform 0.2s ease;
}

.landing-links .url_bullets:hover {
    transform: scale(1.05);
}

.landing-footer {
    margin-top: 40px;
    color: #ffffff;
    text-align: center;
    font-size: 16px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    background-color: rgba(0, 0, 0, 0.6);
    padding: 10px 20px;
    border-radius: 4px;
}

.download-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; 
    width: 100%;
}


.gamejolt-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background-color: #ccff00; 
    color: #000000; 
    font-family: 'GoodbyeDespair', Courier, monospace;
    font-size: 28px;
    text-decoration: none;
    padding: 20px 40px;
    border-radius: 8px;
    border: 4px solid #000000;
    box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.8);
    transition: all 0.2s ease-in-out;
}

.gamejolt-btn:hover {
    transform: translate(-4px, -4px);
    box-shadow: 10px 10px 0px rgba(0, 0, 0, 0.9);
    background-color: #d8ff33; 
}

.gamejolt-btn:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.9);
}

.gamejolt-icon {
    width: 35px; 
    height: 45px;
}


.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; 
    height: 0;
    overflow: hidden;
    

    border: 4px solid #000000; 
    box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.5); 
    border-radius: 4px;
    background-color: #000;
  
    margin-top: 20px;
    margin-bottom: 10px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* parallax type shi */
@keyframes movebg {
  from {
    background-position: 0 0;
  }
  to {

    background-position: -1920px 1080px;
  }
}

@keyframes rotate_monokuma {
  from {
    rotate: 0deg;
  }
  to {
    rotate: 360deg;
  }
}


@media (max-width: 768px) {
    
   
    #landing-logo {
        height: auto; 
        max-width: 90%; 
        max-height: 150px;
        margin-top: 60px; 
    }

  
    .landing-box {
        width: 90%;
        padding: 30px 20px; 
        gap: 20px;
    }

  
    .landing-title {
        font-size: 26px; 
    }

    .landing-desc {
        font-size: 16px;
    }

    .mark {
        font-size: 16px;
    }


    .itch-btn, .gamejolt-btn {
        font-size: 18px;
        padding: 12px 20px;
        width: 100%; 
        box-sizing: border-box;
    }
    
    .itch-icon, .gamejolt-icon {
        width: 30px;
        height: 30px;
    }
    
    .download-buttons {
        flex-direction: column; 
        width: 100%;
        gap: 15px;
    }


    .landing-links {
        flex-direction: column; 
        align-items: center;
        gap: 10px;
    }

    .url_bullets {
        margin-bottom: 0px !important; 
        background-size: contain; 
        width: 100%;
        max-width: 256px;
        height: 80px;
        min-height: 80px;
        font-size: 13px;
        padding-left: 15px;
        padding-right: 35px;
    }


    #loadermonokuma {
        width: 60px;
        height: 60px;
        top: 15px;
        right: 15px;
    }

   
    .landing-footer {
        font-size: 12px;
        width: 85%;
        padding: 10px;
        margin-top: 20px;
        margin-bottom: 30px;
    }
}