/*ANIMACIONES Y FUENTES*/
@keyframes spin{
    0% { transform: rotate(0deg)}
    100% { transform: rotate(360deg)}
}
@keyframes pulseIntro{
    from{color: white;}
    to{color:grey;}
}
@keyframes start{
    10%{color:white}
    20%{color:grey}
    25%{color:white}
    30%{color:grey}
    35%{color:white}
    38%{color:grey}
    41%{color:white}
    44%{color:grey}
    46%{color:white}
    48%{color:grey}
    50%{color:white}
}
@font-face {
    font-family: 'game';
    src: url(../CSS/VT323-Regular.ttf);
}


body{
    background-color: black;
    overflow: hidden;
}
p{
    font-family: "game";
}
.hide{
    display: none;
}



/*PANTALLA DE CARGA*/
#loader{
    border: 12px solid #373636; 
    border-top: 12px solid #a4a1a4;
    border-radius: 50%;
    animation: spin 2s linear infinite;
    margin: auto;
    height: 60px;
    width: 60px;
    position: absolute;
    top: 0;bottom: 0;left: 0;right: 0;
}



/*TÍTULO*/
#gameTitle{
    height: 60vh;
    width: 80%;
    margin: auto;
    text-align: center;
    position: relative;
    top: 20vh;
}
#logo{
    margin: auto;
    width: 100%;
    max-width: 600px;
}
#pulsaIntro{
    color: white;
    font-size: 20pt;
    animation: pulseIntro 1s alternate infinite;
}
#copyright{
    color: rgb(170, 170, 170);
}



/*mobile control pad*/
#controlPad{
    position: absolute;
    bottom: 0px;
    right: 0;
    left:0;
    width: 100%;
    margin:auto;
    height: 150px;
}
#controlPad i{
    background-color: rgb(138, 33, 126);
    height: 30px;
    width: 45px;
    border-right: #443838 solid 3px;
    border-bottom: #443838  solid 3px;
    border-radius: 12px;
    font-size: 25px;
    padding-top: 20px;
    padding-left:5px;
}
#intro{
    height: 100px;
    width: 100px;
}
.d3{
    top: 60px
}
.d2 i{
position: absolute;
left: 62px;
}
.d2,.d3{
    position: absolute;
    left: 50%;
    display: flex;
    flex-direction: row;
    gap: 10px
}
#d1{
    position: absolute;
    right:50%;
    background-color: rgb(136, 34, 58);
    height: 90px;
    width: 100px;
    border-right: #443838 solid 3px;
    border-bottom: #443838  solid 3px;
    border-radius: 12px;
    font-size: 25px;
    padding-top: 20px;
    padding-left:5px;
    margin-right: 30px;
}
#d1:active,#arr:active,#aba:active,#der:active,#izq:active{
    border-left: #443838 solid 3px;
    border-top: #443838  solid 3px;
    border-right:none;
    border-bottom:none;
    color:#443838;
}


/*CUADROS DE DIALOGO*/
#conversations{
    width: 60%;
    min-width: 500px;
}
#dim{
    height:100vh;
    width:100%;
    position:absolute;
    top:0;
    left:0;
    background-color: rgba(0, 0, 0, 0.592);
}
#mafaldaConv,#mafaldaWin{
    position: absolute;
    top: 20%;
    left:40%;
    height: 50%;
}
.bubble{
    position: absolute;
    top: 60%;
    left: 0;
    right: 0;
    margin-left:auto;
    margin-right:auto;
    width: 100%;
    max-width: 900px;
    min-width: 300px;
    border: 4px rgba(195, 195, 195, 0.754) solid;
    background:rgba(0, 0, 0, 0.7);
    border-radius: 30px 0 30px 30px;
    height: 30%;
    max-height: 150px;
}
#dialogue{
    padding-left: 1%;
    padding-right: 1%;
    position: absolute;
    top: 2%;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 800px;
    font-size: 30px;
    color: white;
}
#next{
    position:absolute;
    top:79%;
    left:0;right:0;
    width: 300px;
    color: white;
    margin: auto;
    display: none;
    font-size: 20pt;
}
#mafaldaConv{
    position: absolute;
    top: 30%;
    left:50%;
    height: 50%;
}


#Canvas {
    border: 5px solid black;
    position: absolute;
    top: -250px;
    left: -700px;
}
@media screen and (min-width:768px) {
    #controlPad{
        display: none;
    }
}


