


body{
    margin: 0;
    background: url(images/ovni.png) no-repeat center;
    background-size: cover;
    min-height: 100vh;
    animation: movimiento 30s infinite linear alternate;
}

@keyframes movimiento{
    from{
        background-position: top right;
    } to{
        background-position: bottom top;
    }
}

header{
    background: #312D2A;
    padding: 10px;
    text-align: center;
    margin-bottom: 10px;
   
}
.cabecalho {
    margin: 0;
}

h2{
   
    margin: 0;
    color: white;
    font-weight: 500;
}

main{
    width: 50%;
    margin: auto;
    padding: 0px;
    background: rgba(43, 39, 39, 0.7);
    display: flex;
    gap: 30px;
}

.logo img {
    margin: -20px;
    margin-left: 2px;
    float: left;
    padding: 0;
     max-width: 150px;
    max-height: 150px;
    
   
   
}

.logo:hover{
    color: gray;
    
}

#imagen{
    width: 200px;
}

#palabra_a_adivinar{
    
    margin-top: 20px;
    margin-left: 10px;
}

#resultado{
    color: white;
    font-size: 30px;

}

#palabra_a_adivinar span{
    color: #ffffff;
    vertical-align: bottom;
    font-size: 3em;
    border-bottom: 3px solid red;
    width: 30px;
    text-align: center;
    margin-left: 15px;
    margin-top: 10px;
    margin-right: 6px;
    display: inline-block; 
}

.teclado{

    width: 48%; 
    margin: 5px;
    margin-left: 22%; 
    
}

#letras{
    margin: auto;
    margin-left: 24%;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 20px;
   
}

#letras button{
    
    width: 30px;
    padding: 6px 0;
    text-align: center;
    background:#ffffff;
    border: 3px solid #161513;

}

.boton-obtenerPalabra{
   
    margin-left:49%;
    text-align: center;
    text-decoration: none;
    padding: 8px;
    font-weight: 500;
    font-size: 18px;
    color: #ffffff;
    background-color: #161513;
    border-radius: 6px;
    border: 2px solid #0f0101;
    margin-bottom: 10px;
    
}
.boton-obtenerPalabra:hover{
    color: #161513;
    background-color: #ffffff;
    display: inline-block;
    transform: scale(1.1);
    fill: whitesmoke;
    filter: drop-shadow(0 0 3rem #aab2d5);

}

.boton-volver{
    
    margin-left: 54.5%;
    text-decoration: none;
    padding: 5px;
    font-weight: 500;
    font-size: 15px;
    color: #ffffff;
    background-color: #161513;
    border-radius: 6px;
    border: 2px solid #01030f;
    
}

.boton-volver:hover{
    color: #161513;
    background-color: #ffffff;
    display: inline-block;
    transform: scale(1.1);
    fill: whitesmoke;
    filter: drop-shadow(0 0 3rem #aab2d5);
}


footer{
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 0%;
    background: #312D2A;
    padding: 0.5%;
    bottom: 0;
    width: 99%;
    position: absolute;

}

.rodape {
    align-items: center;
}

.redes {
    align-items: center;
    margin-right: 43%;
    flex-direction: row;
}


.linkedin{

    max-width: 1rem;
    margin-left: 48.8%;
    flex-direction: row;
    flex-wrap: wrap;
    border-radius: 25%;
}

.linkedin:hover{
    -webkit-transform: scale(1.5);
    -moz-transform: scale(1.5);
    -o-transform: scale(1.5);
    -ms-transform: scale(1.5);
    transform: scale(1.5)
}


.github{
    max-width: 1rem;
    margin-top: 0%;
    margin-left: 50%;
    flex-direction: row;
    flex-wrap: wrap;
    border-radius: 25%;
        
}

.github:hover{
    -webkit-transform: scale(1.5);
    -moz-transform: scale(1.5);
    -o-transform: scale(1.5);
    -ms-transform: scale(1.5);
    transform: scale(1.5)
}


.copyright{
    margin: 0;
    text-align: center; 
    color: #ffffff;
    font-size: 18px;
    font-weight: 400;
}


.copyright:hover {
  color: whitesmoke;
  display: inline-block;
  fill: whitesmoke;
  filter: drop-shadow(0 0 1rem #aab2d5);
}

.audio {
    margin-left: 80%;
    margin-top: -2%;

}


@media screen and (max-width:480px){

    body{
        margin: 0;
        width: 100%;
        background-size: cover;
        
        min-height: 100vh;
        animation: movimiento 40s infinite linear alternate;
    }

    @keyframes movimiento{
        from{
            background-position: top left;
        } to{
            background-position: bottom top;
        }
    }

    .logo{
        margin-left: 5px;
        margin-top: 5px;
      }


    header {
        background: #312D2A;
        margin: auto;
        padding: 0px;
        width: 100%;
        text-align: center; 
        flex-wrap: nowrap;  
    
    }

    h2{
        margin: 0px;
        text-align: center;
        margin-top: 0px;
        font-size: 20px;
        color: white;
        font-weight: 500;
        
    }
    
    main{
        width: 50%;
        padding: 70px;
        background: rgba(87, 86, 86, 0.7);
        display:contents;
        gap: 30px;
    
    }
    
    .teclado{ 
        
        margin-left: 0px;
        display: contents;

    }

    #letras{
      
      gap: 9px;
      margin-bottom: 10px;
      margin-left: 10px;
    }

    #letras button{
    
    width: 30px;
    padding: 6px 0;
    text-align: center;
    background:#ffffff;
    border: 3px solid #161513;

}

    .audio {
        margin-top: 0px;
        margin-left: 10px;
        max-width: 5px;
        margin-bottom: 5px;

           
      }

      .boton-obtenerPalabra{
       
        margin-left: 100px;
        text-align: center;
        text-decoration: none;
        padding: 8px;
        font-weight: 500;
        font-size: 18px;
        color: #ffffff;
        background-color:#161513;
        border-radius: 6px;
        border: 2px solid #0f0101;
        margin-bottom: 10px;
        
    }
    
    .boton-volver{
       
        margin-left: 140px;
        text-decoration: none;
        padding: 5px;
        font-weight: 500;
        font-size: 15px;
        color: #ffffff;
        background-color: #161513;
        border-radius: 6px;
        border: 2px solid #01030f;
        margin-bottom: 10px;
        
    }

    footer{
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 0%;
    background: #312D2A;
    padding: 0.5%;
    bottom: 0;
    width: 99%;
    position: absolute;

}

.rodape {
    align-items: center;
}

.redes {
    align-items: center;
    margin-right: 43%;
    flex-direction: row;
}


.linkedin{

    max-width: 1rem;
    margin-left: 48.8%;
    flex-direction: row;
    flex-wrap: wrap;
    border-radius: 25%;
}

.linkedin:hover{
    -webkit-transform: scale(1.5);
    -moz-transform: scale(1.5);
    -o-transform: scale(1.5);
    -ms-transform: scale(1.5);
    transform: scale(1.5)
}


.github{
    max-width: 1rem;
    margin-top: 0%;
    margin-left: 50%;
    flex-direction: row;
    flex-wrap: wrap;
    border-radius: 25%;
        
}

.github:hover{
    -webkit-transform: scale(1.5);
    -moz-transform: scale(1.5);
    -o-transform: scale(1.5);
    -ms-transform: scale(1.5);
    transform: scale(1.5)
}


.copyright{
    margin: 0;
    text-align: center; 
    color: #ffffff;
    font-size: 18px;
    font-weight: 400;
}

.audio {
    margin-left: 80%;
    margin-top: -2%;

}
