body{
    box-sizing: border-box;
    margin: 0;
    background-image: url("index.jpeg");
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
    background-attachment: fixed;
  margin: 0;
  padding: 0;
}

hr {
    position: fixed;
    
    width: 100%;
    z-index: 1;
  }
p{
    margin:0;
    padding:0;
}
.header{
    font-weight: bold;
    color:  white;
    display: flex;
    justify-content: space-between;
    padding: 20px;
    background-color: lightslategray;
}

.game{
    font-size: 40px;
}

.game span{
    font-size: 40px;
    text-transform: uppercase;
}

.header p{
    margin-top: 7px;
    font-size: 30px;
}

.category{
color: rgb(136, 61, 0);
text-transform: uppercase;
}


.image{
    width: 50%;
    height: 600px;
    background-color: white;
    margin: 20px;
    position: relative;
    overflow: hidden;
    max-width: 100%;
  max-height: 100%;
}

.image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;

}
.letters{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 20px;
    width: 50%;
    height: 600px;
    align-content: center;
    padding: 0 30px 0 30px;
} 


.main{
    display: flex;
    margin: 20px;
    background-color: transparent;
    justify-content: center;
   
}

.letters span{
    width: 65px;
    font-family: sans-serif;
    height: 65px;
    margin-left: 7.5px;
    margin-right: 7.5px;
    margin-bottom: 15px;
    line-height: 65px;
    text-align: center;
    font-weight: bold;
    font-size: 35px;
    background-color: #ee7e38;
    color: black;
    cursor: pointer;
    border: solid 2px white;
    text-transform: uppercase;

}


.solution{
    display: flex;bottom: 0;
    left: 0;
    justify-content: center;
    height: 100px;

}
.letter{
    background-color: aliceblue;
    border-bottom: solid 5px ;
    width: 70px;
    height: 80px;
    line-height:80px ;
    font-weight: bold;
    text-align: center;
    font-size: 45px;
    margin-left: 20px;
}

.right{
    background-color: lightseagreen !important;
    width: 65px;
    font-family: sans-serif;
    height: 65px;
    margin-left: 7.5px;
    margin-right: 7.5px;
    margin-bottom: 15px;
    line-height: 65px;
    text-align: center;
    font-weight: bold;
    font-size: 30px;
    color: black;
    border: solid 2px white;
    text-transform: uppercase;
}

.wrong{
    background-color: rgb(187, 198, 209)  !important;
    width: 65px;
    font-family: sans-serif;
    height: 65px;
    margin-left: 7.5px;
    margin-right: 7.5px;
    margin-bottom: 15px;
    line-height: 65px;
    text-align: center;
    font-weight: bold;
    font-size: 30px;
    color: black;
    border: solid 2px white;
    text-transform: uppercase;
}


.solution .hide{
display: none;
}

.solution .found{
    display: inline-block;
    text-transform: uppercase;
}

.repeat{
    background-color: darkred;
    width: 100px;
    border:solid 3px white;
    height: 50px;
   margin-left: 93%;
   font-size: 20px;
   line-height: 50px;
   text-align: center;
   color: white;
   font-family: sans-serif;
   border-radius: 8px;
   cursor: pointer;
}


.pop{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #C1E1C1;
    padding: 60px 60px 120px 60px;
    width: 1200px;
    height: 400px;
    font-size: 90px;
    font-weight: bold;
    color: black;
    border-radius: 10px;
    z-index: 9999;
    text-align: center;
   
}

.pop span{
    margin-top: 10px;
    display: block;
}

.pop button{
    cursor: pointer;
    background-color: red;
    border-radius: 8px;
    border: black solid 3px;
    width: 200px;
    height: 100px;
    font-size: 50px;
    color: white;
    margin-bottom: 50px;
    margin-top:70px;
    padding: 0;
}


.pop{
    display: none;
}

.done{
    display: block !important;
}

.show{
    font-size: 120px;
    margin:0 !important;    
}
.text{
    font-size: 50px;
}


@media (max-width: 900px) {

    .letters span{
        width: 55px !important;
        height: 55px !important;
        line-height: 55px !important;
    }
    .header{
        width: 200%;
    }
    .image {
      width: 10000%;
      height: auto;
      margin-left: 50px;
    }
  
    .header {
      margin: 0;
    }
  
    .main {
      width: 190% !important;
      margin: 20px 0 20px 30px !important;
      padding: 0;
      overflow-x: auto;
      white-space: nowrap;
    }
    
    .letter{

        width: 20% !important;
        height: 50px !important;
        margin-left: 10px !important;
        line-height: 50px !important;
        font-size: 20px !important;
       
    }
    .solution{
        margin-left: 65% !important;
        width: 80% !important;
    }
    .repeat{
        margin-left:92% !important ;
    }
    .pop{
        width: 80% !important;
    }
  }

  
@media (max-width: 1400px) {
  

    .pop{
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: #C1E1C1;
        padding: 60px 60px 120px 60px;
        width: 1200px;
        height: 400px;
        font-size: 90px;
        font-weight: bold;
        color: black;
        border-radius: 10px;
        z-index: 9999;
        text-align: center;
       
    }
    
    .pop span{
        margin-top: 10px;
        display: block;
    }
    
    .pop button{
        cursor: pointer;
        background-color: red;
        border-radius: 8px;
        border: black solid 3px;
        width: 200px;
        height: 100px;
        font-size: 50px;
        color: white;
        margin-bottom: 50px;
        margin-top:70px;
        padding: 0;
    }
    
.repeat{
    background-color: darkred;
    width: 100px;
    border:solid 3px white;
    height: 50px;
   margin-left: 80%;
   font-size: 20px;
   line-height: 50px;
   text-align: center;
   color: white;
   font-family: sans-serif;
   border-radius: 8px;
   cursor: pointer;
}

    .image{
        width: 100%;
        height: 600px;
        background-color: white;
        margin: 20px;
        position: relative;
    }
    
    .image img{
        width: 100%;
        height: 100%; 
        object-fit: cover; 
        object-position: center;
    }

    .letters{
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        margin: 20px;
        width: 100%;
        height: 615px;
        align-content: center;
        padding: 0 3px 0 3px;
    } 
    
    .main{
        width: 90%;
        height: 500%;
        flex-wrap: wrap;
        margin-left: 40px;
        margin-top: 50px;
    }

    .letter{
        border-bottom: solid 2px black;
        width: 20px;
        height: 30px;
        line-height:20px ;
        font-weight: bold;
        text-align: center;
        font-size: 15px;
        margin-left: 5px;
    }

    .letters span{
        width: 35px;
        font-family: sans-serif;
        height: 35px;
        margin-left: 7.5px;
        margin-right: 7.5px;
        margin-bottom: 15px;
        line-height: 35px;
        text-align: center;
        font-weight: bold;
        font-size: 25px;
        color: black;
        cursor: pointer;
        border: solid 2px white;
        text-transform: uppercase;
        
        }
    }
    



@media (min-width:950px) and (max-width:1400px){

    .letters{
        width: 65%;
    }
    .letters span{
        width: 50px !important;
        height: 50px !important;
        line-height: 50px;
        font-size: 30px;
    }
   
    .letter{
        width: 5%;
        margin: 6px;
        height: 50px;
    }
    

}