/*#region Imports*/
/* @import url('https://fonts.googleapis.com/css2?family=Staatliches&display=swap'); */
@import url("https://fonts.googleapis.com/css?family=Luckiest+Guy&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300&display=swap');
@font-face{
    font-family: DS_DIGITAL;
    src:url(../fonts/DS-DIGIT.TTF)
}
/*#endregion*/

/*#region Geral*/

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}

body{
    background-color: #E9E9E9;
}

.container{
    display:flex;
    flex-direction: column;
    align-items: center;
}

/*#endregion*/

/*#region Titulo */

.titulo{
    text-align: center;
    width: 100%;
    font-family: "Luckiest Guy", cursive;
    color:#ffd700;
    margin: 10px;
    letter-spacing: .4rem;
}

/* link de onde foi obtido o efeito do título
https://edrodrigues.com.br/blog/8-exemplos-impressionantes-de-efeitos-de-texto-css-e-javascript-3d/# 
*/
h1 {
    font-size: 5.5em;
    text-shadow: 0 0.1em 20px rgba(0, 0, 0, 1), 0.05em -0.03em 0 rgba(0, 0, 0, 1),
    0.05em 0.005em 0 rgba(0, 0, 0, 1), 0em 0.08em 0 rgba(0, 0, 0, 1),
    0.05em 0.08em 0 rgba(0, 0, 0, 1), 0px -0.03em 0 rgba(0, 0, 0, 1),
    -0.03em -0.03em 0 rgba(0, 0, 0, 1), -0.03em 0.08em 0 rgba(0, 0, 0, 1), -0.03em 0 0 rgba(0, 0, 0, 1);
    
}  
/*#endregion */

/*#region Placar*/
.placar{
    display:flex;
    text-align: center;
    padding: 5px;
    margin-bottom: 10px;
    background-color: #3b3b3a;
    color:#ffffff; 
    border: 1px solid #9c9c9c;
    border-radius: 5px;
    box-shadow: 0px 2px 4px #888888; 
    font-family: "Luckiest Guy", cursive;
    letter-spacing: 0.2rem;;
}

.placar #vitorias, .placar #derrotas{
    width: 270px;
    background-color: #000000;
    margin: 2px;
    border: 2px solid #716c6c;
    border-radius: 5px;
    font-size: 40px;
    font-family: DS_DIGITAL;
}

.placar #vitorias{
    color:#02f53a;
}

.placar #derrotas{
    color:#ff0c0c;
}
/*#endregion*/

/*#region Imagem */
.borda-imagem{
    width: 600px;
    height: 425px;
    margin: 20px;
    margin-top: 0px;
    border: 10px solid #ffd700;
    border-radius: 40px;
}

.borda-imagem #imagem{
    /* filter: blur(20px); */
    /* width: 570px;
    height: 405px; */
    width: 100%;
    height: 100%;
    border: 10px solid #ffd700;
    border-radius: 40px;
    box-shadow: 0px 2px 4px #888888;
}
/*#endregion */

/*#region Barra de Progresso */
.progresso{
    display: flex;
    width: 500px;
    height: 30px;
    margin: 10px;
    border-radius: 10px;
    background-color: #9c9c9c;
    box-shadow: 0px 2px 4px #888888;
}

.progresso div{
    width: 20%;
    height: 30px;
    background-color: #ffffff;
    margin-right: 1px;
}

.progresso #progresso-01{
    margin-left: 0px;
    border-radius: 10px 0px 0px 10px;
}

.progresso #progresso-05{
    margin-right: 0px;
    border-radius: 0px 10px 10px 0px;
}

/*#endregion */

/*#region Form*/
form{
    width: 600px;
}
/*#endregion*/

/*#region Input */
.input-container{
	position:relative;
	margin-top: 30px;
}

.input-container label{
	position:absolute;
	top:20px;
	left:0px;
    font-family: 'Poppins', sans-serif;
	font-size:16px;
	color:#e41515;	
	transition: all 0.5s ease-in-out;
}

.input-container input{ 
  border:0;
  border-bottom:1px solid #9c9c9c;  
  background:transparent;
  width:100%;
  padding:8px 0 5px 0;
  font-size:32px;
  color:#9c9c9c;
  text-align: center;
  text-transform: uppercase;
}

.input-container input:focus{ 
 border:none;	
 outline:none;
 border-bottom:1px solid #e74c3c;	
}

.input-container input:focus ~ label, 
.input-container input:valid ~ label{
	top:-12px;
	font-size:12px;	
    color:#9c9c9c;
}

/*#endregion*/

/*#region Jogar_Novamente*/
#jogarNovamente button{
    display: none;
    background-color: #ffd700;
    width: 430px;
    margin-top: 10px;
    padding: 3px;
    text-align: center;
    border-radius: 10px;
    border: 2px solid dimgray;
    box-shadow: 0px 2px 4px #888888;
    font-family: "Luckiest Guy", cursive;
    font-size: 1.7em;
    cursor: pointer;
}

#jogarNovamente button:hover{
    font-size: 1.75em;
    background-color: #84e712;
}
/*#endregion*/

/*#region Footer*/
footer{
    display: flex;
    position: absolute;
    bottom: 10px;
    color:dimgray;
    font-family: 'Poppins', sans-serif;
    font-size: 0.8em;
}

footer a{
    margin:0 5px;
    color:dimgray;
    transition: transform .2s; 
}

footer a:hover{
    color: #e41515;
    transform: scale(1.5);
}

/*#endregion*/

/*#region Modal*/

/* The Modal (background) */
.modal-container{
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
  
/* Modal Content */
.modal {
    position: relative;
    background-color: #fefefe;
    border: 10px solid #000000;
    border-radius: 5px;;
    text-align: center;
    margin: auto;
    padding: 0;
    width: 40%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animacao;
    -webkit-animation-duration: 0.4s;
    animation-name: animacao;
    animation-duration: 0.4s
  }
  
  /* adiciona Animação */
@-webkit-keyframes animacao {
    from {top:-300px; opacity:0} 
    to {top:0; opacity:1}
}
  
@keyframes animacao {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}
  
  /*  botao X - fecha a modal */
  .close {
    color: white;
    float: right;
    font-size: 2rem;
    font-weight: bold;
    font-family: 'Poppins', sans-serif;
}
  
.close:hover, .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}
  
.modal-header {
    padding: 2px 16px;
    background-color: #ffd700;
    font-family: "Luckiest Guy", cursive;
    letter-spacing: 0.3em;
    font-size: 1.3rem;
    color: #000000;
}
  
.modal-body {
    padding: 2px 16px;
    font-family: 'Poppins', sans-serif;
}
  
/*#endregion*/

/*#region Media Query*/
@media (max-width: 320px){

    h1 {
        font-size: 2.0em;
    }

    .placar #vitorias, .placar #derrotas{
        width: 120px;
    }

    .borda-imagem{
        width: 300px;
        height: 225px;
    }

    .borda-imagem #imagem{
        background-size: 300px;
    }

    .progresso{
        width: 260px;
        height: 20px;
    }

    .progresso div{
        height: 20px;
    }
    form{
        width:100%;
    }

    .input-container { 
        margin-top: 20px;
        text-align: center;
    }

    .input-container input{ 
        font-size: 16px;
        width: 90%;
    }

    .input-container label{
        top:10px;
        padding-left: 15px;
        font-size: 0.5em;
    }

    .input-container input:focus ~ label, 
    .input-container input:valid ~ label{
        top:-12px;
        font-size:6px;	
        color:#9c9c9c;
    }

    #jogarNovamente button{
        width: 270px;
    }

    .modal {
        width: 90%;
    }
}

@media (min-width: 321px) and (max-width: 375px){

    h1 {
        font-size: 2.5em;
    }

    .placar #vitorias, .placar #derrotas{
        width: 140px;
    }

    .borda-imagem{
        width: 320px;
        height: 235px;
    }

    .borda-imagem #imagem{
        background-size: 320px;
    }

    .progresso{
        width: 280px;
        height: 25px;
    }

    .progresso div{
        height: 25px;
    }
    form{
        width:100%;
    }

    .input-container { 
        margin-top: 20px;
        text-align: center;
    }

    .input-container input{ 
        font-size: 18px;
        width: 90%;
    }

    .input-container label{
        top: 10px;
        padding-left: 20px;
        font-size: 0.6em;
    }

    .input-container input:focus ~ label, 
    .input-container input:valid ~ label{
        top:-12px;
        font-size:8px;	
        color:#9c9c9c;
    }

    #jogarNovamente button{
        width: 300px;
    }

    .modal {
        width: 90%;
    }
}

@media (min-width: 376px) and (max-width: 425px){

    h1 {
        font-size: 3em;
    }

    .placar #vitorias, .placar #derrotas{
        width: 160px;
    }

    .borda-imagem{
        width: 380px;
        height: 280px;
    }

    .borda-imagem #imagem{
        background-size: 380px;
    }

    .progresso{
        width: 280px;
        height: 25px;
    }

    .progresso div{
        height: 25px;
    }
    form{
        width:100%;
    }

    .input-container { 
        margin-top: 20px;
        text-align: center;
    }

    .input-container input{ 
        font-size: 20px;
        width: 90%;
    }

    .input-container label{
        top:10px;
        padding-left: 20px;
        font-size: 0.7em;
    }

    .input-container input:focus ~ label, 
    .input-container input:valid ~ label{
        top:-12px;
        font-size:10px;	
        color:#9c9c9c;
    }

    #jogarNovamente button{
        width: 350px;
    }

    .modal {
        width: 90%;
    }
}

@media (min-width: 426px) and (max-width: 641px){

    h1 {
        font-size: 4.4em;
    }

    .placar #vitorias, .placar #derrotas{
        width: 200px;
    }

    .borda-imagem{
        width: 500px;
        height: 360px;
    }

    .borda-imagem #imagem{
        background-size: 500px;
    }

    .progresso{
        width: 450px;
        height: 30px;
    }

    .progresso div{
        height: 30px;
    }
    form{
        width:100%;
    }

    .input-container { 
        margin-top: 25px;
        text-align: center;
    }

    .input-container input{ 
        font-size: 25px;
        width: 90%;
    }

    .input-container label{
        top:10px;
        padding-left: 30px;
    }

    #jogarNovamente button{
        width: 400px;
    }

    .modal {
        width: 90%;
    }
    
}

/*#endregion*/

