header {
    margin-top: 2%;
    margin-left: 2%;
    cursor: pointer;
    transition: all 1s;
    transform: rotate(360deg);
}

img {
    -webkit-transition: -webkit-transform .8s ease-in-out;
    transition: transform .8s ease-in-out;
}
  
img:hover {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
}

.caja {
    display: flex;
    flex-direction: column;
    padding: 1%;
    align-items: center;
    margin-top: 10px;
}

.caja2 {
    display: flex;
    flex-direction: column;
    padding: 1%;
    align-items: center;

}

.caja3 {
    display: flex;
    flex-direction: column;
    padding: 1%;
    align-items: center;
   
}

.invisible {
    display:none !important;
}

.boton1 {
    box-shadow: 0 0 40px 40px #1572af inset, 0 0 0 0 #3498db;
    -webkit-transition: all 150ms ease-in-out;
    transition: all 150ms ease-in-out;
    padding-left: 50px;
    padding-right: 50px;
    padding-top: 20px;
    padding-bottom: 20px;
    border: none;
    color: rgb(7, 7, 7);
    border-radius: 24px;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    font-size: 25px;
    font-weight: bold;
   
}

.boton1:hover {
    transition: 1s;
    transform: scale(1.1); 
    box-shadow: 0 0 10px 0 #0ee68c inset, 0 0 10px 4px #62aa19;
     
}
    
div {
    margin-bottom: 3%;
}

.boton2 {
    box-shadow: 0 0 40px 40px #54c3e9 inset, 0 0 0 0 #91e88f;
    -webkit-transition: all 150ms ease-in-out;
    transition: all 150ms ease-in-out;
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 20px;
    padding-bottom: 20px;
    border-radius: 24px;
    color: #010101;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    font-size: 15px;
    border: none;
    font-weight: bold;
    
}

.boton2:hover {
    box-shadow: 0 0 10px 0 #f04cda inset, 0 0 10px 4px #43e5e8;
    transition: 1s;
    transform: scale(1.1);
 
}

button:active {
    opacity: 80%;
}

.boton {
    padding-top: 17px;
    padding-bottom: 17px;
    padding-left: 40px;
    padding-right: 40px;
    border-radius: 20px;
    margin-left: 10px;
    margin-right: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
   
}

textarea {
    background-color: transparent;
    font-family: 'Montserrat', sans-serif;
    color: rgb(158, 218, 8);
    font-size: x-large;
    text-transform: uppercase;
    
}

textarea::placeholder {
    font-family: 'Montserrat', sans-serif;
    color:rgb(169, 10, 10);
    font-size: x-large;
    text-transform: none;
    
}
.boton:active {
    opacity: 80%;
}

.boton3 {
    background-color: #0A3871;
    color: darkorange;
    border: none;
    font-size: 18px;
    cursor: pointer;
    
}

.boton3:hover {
    
    border: 1px solid #0A3871;
    color: #e9ecf0;
    box-shadow: 0 0 10px 0 #173c52 inset, 0 0 10px 4px #91e88f;
    transition: 1s;
    transform: scale(1.1);
}

.boton4 {
    background-color: #df5d42;
    border: 1px solid #0A3871;
    color: #0A3871;
    font-size: 18px;
    cursor: pointer;
    font: bold;
    
}

.boton4:hover {
    background-color: #0A3871;
    color: darkorange;
    border: none;
}



@import url(https://fonts.googleapis.com/css?family=Montserrat);

body{
    background-color: #2a2a2a;
 
}



.container h1
{
    text-align: center;
    color: #00c2b5;
}



.text-copy {
    fill: none;
    stroke: white;
    stroke-dasharray: 6% 29%;
    stroke-width: 5px;
    stroke-dashoffset: 0%;
    animation: stroke-offset 5.5s infinite linear;
    
}

.text-copy:nth-child(1){
	stroke: #4D163D;
	animation-delay: -1;
}

.text-copy:nth-child(2){
	stroke: #840037;
	animation-delay: -2s;
}

.text-copy:nth-child(3){
	stroke:darkgoldenrod;
	animation-delay: -3s;
}

.text-copy:nth-child(4){
	stroke: #BD0034;
	animation-delay: -4s;
}

.text-copy:nth-child(5){
	stroke: #FDB731;
	animation-delay: -4.5s;
}

@keyframes stroke-offset{
	100% {stroke-dashoffset: -35%;}
}


/*Responsive*/

@media screen and (max-width:480px){

    
    
    .boton3{
        width: 290px;
        margin-top: 40px;
        color: darkorange;
       
    }
    
    .boton4{
        width: 300px;
        height: 55px;
        color: darkorange;
        margin-top: 30px;
        margin-left: 5px;
       
    }

    #guardar{
        height: 65px;
        margin-left: 30px;
        text-align: center;
    }

    #cancelar{
        margin-left: 25px;
        height: 60px; 
        
    }

    #juego{
        margin-left: 430px;
   }

    .footer{
        margin-top: 550px;
        margin-left: 250px;
    }

}