حhtml{
    box-sizing: border-box;
}

*,*::after,*::before{
    box-sizing: inherit;
    margin: 0;
    padding: 0;
}

body{
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    width: 100vw;
    height: 100vh;
    
}

.container{
    max-width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 0 2rem;
    align-items: center;
}
.title{
    font-size: 3rem;
    letter-spacing: 0.5rem;
    margin-top: 3rem;
    font-weight: 300;
    text-shadow: 2px 2px 10px  rgb(94, 94, 94);
}

.myword{
    text-decoration: none;
    color: #6A1B9A;
    padding: 0.2rem;
    border-radius: 0.9rem;
    transition: all 200ms ease 2ms;
}
.myword:hover{
    box-shadow: 0 0 10px -1px #616161;
    color: black;
    transform: scale(1.1);
}

.letters{
    margin-top: 6rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    line-height: 0.6rem;
    gap: 0.6rem;
}
.letters__letter{
    width: 4rem;
    height: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    cursor: pointer;
    background-color: #455a6490;
    border-radius: 1rem;
    transition: all 200ms ease 2ms;
    
}
.letters__letter:hover{
    transform: scale(1.1);
    background-color: #6161618f;

}
.used{
    width: 4rem;
    height: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    border-radius: 1rem;
    background-color: #78909C;
    opacity: 0.3;
    cursor: default;
    transition: all 200ms ease 2ms;
}
.used:active{
    background-color: red;
}
.animaition{
    margin-top: 4rem;
    margin: 4rem auto 0 auto;
}
.space{
    margin-top: 3rem;
    font-size: 3rem;
}
.clue{
    letter-spacing: 1rem;
    flex-wrap: wrap;
    text-align: center;
}
.gameover{
    margin-top: 1rem;
    font-size: 1rem;
    font-weight: 400;
    text-align: center;
    display: none;
}
.gameover span{
    font-size: 0.7rem;
}



/* index2.html */
.container2{
    max-width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}
input{
    border: none;
    outline: none;
    display: block;
    height: 4rem;
    width: 25rem;
    font-size: 3.5rem;
    background-color: #FAFAFA;
}
button{
    border: none;
    outline: none;
}
.input{
    padding: 1rem 2rem;
    border: 1px solid rgba(0, 0, 0, 0.227);
    border-radius: 2rem;
    transition: all 200ms ease 2ms;
    background-color: #FAFAFA;
}
.input:has(input:focus) {
        box-shadow: -5px 5px 10px -3px #283593;
        transform: translate(10px, -10px);
        border: 1px solid rgba(0, 0, 0, 0);

}
.btn{
    width: 15rem;
    height: 3rem;
    text-transform: capitalize;
    letter-spacing: 0.2rem;
    font-weight: 400;
    font-size: 1.1rem;
    border-radius: 4rem;
    cursor: pointer;
    background-color: #283593;
    color: white;
    transition: all 200ms linear 2ms;
}
.btn:hover{
    background-color: #121b58;
    transform: translate(10px, -10px);
    box-shadow: -5px 5px 10px -3px #000000;
}
.kk{
    text-decoration: none; 
    color: black;
    font-size: 1.5rem;
}

@media (max-width : 1100px){
    .title{
        margin-top: 1.5rem;
    }
    .letters{
        margin-top: 1rem;
    }
}

@media (max-width : 655px){
    .animaition{
        margin-top: 2rem;
    }
    .space{
        margin-top: 1rem;
    }
}

@media (max-width : 510px){
    .container{
        padding : 0 0.5rem;
    }
    .title{
        margin-top: 1rem;
    }
    .letters{
        margin-top: 0rem;
        line-height: 0.3rem;
        gap: 0.3rem;
        
    }
    .letters__letter{
        height: 3rem;
        width: 3rem;
        font-size: 1.5rem;
        margin-top: 1rem ;
    }
    .used{
        height: 3rem;
        width: 3rem;
        font-size: 1.5rem;
        margin-top: 1rem;
    }

    .animaition{
        margin-top: 2rem;
    }
    .space{
        margin-top: 1rem;
        font-size: 2rem;
    }
    .container2{
        gap: 1rem;
    }
    input{
        width: 17.5rem;
        height: 2rem;
        font-size :1.5rem;
    }
    .btn{
        width: 13rem;
        height: 3rem;
        font-size: 0.8rem;
    }
    .kk{
        font-size: 1rem;
    }

}