@import url('https://fonts.googleapis.com/css2?family=Sora:wght@200;400;500&display=swap');

/* Reset some default styles */
body, h1, h2, h3, p, ul, li {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

* {
    box-sizing: border-box;
}

/* Add some styles for body*/
body {
    min-height: 100vh;
    max-width: 1280px;
    margin: 0 auto;
    background: #973AD3;
    color: #cbd5e1;
    font-family: 'Sora', sans-serif;
    line-height: 1.5;
    background-image: url('../images/bg-guess-the-word.png');
    /* background-image: radial-gradient(#7390d3 1px,transparent 0),radial-gradient(#426dd3 1px,transparent 0); */
    /* background-position: 0 0,25px 25px; */
    background-attachment: fixed;
    background-size: cover;
    overflow-x: hidden;
    padding: 4rem 1rem;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.game {
    width: 100%;
    
    background-color: #030616;
    border-radius: 10px;
    padding: 30px 40px;
}

.game__logo {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.game__mixed-word {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #4A5567;
    color: #97A3B6;
    font-size: 1.2rem;
    height: 50px;
    width: 100%;
    border-radius: 7px;
    margin: 0 auto 30px auto;
    letter-spacing: 5px;
    font-weight: 900;
}

.game__info {
    display: flex;
    justify-content: space-around;
    color: #4A5567;
    font-size: 0.8rem;
    align-items: center;
    margin-top: -15px;
}

.game__info-mistakes-letters {
    color: #97A3B6;
    font-size: 1.1rem;
    margin-left: 5px;
}

.game__info-tries-points {
    display: inline-block;
    margin-left: 10px;
}

.game__points-wrapper {
    display: flex;
    gap: 3px;
    align-items: center;
    margin-top: -5px;
}

.game__point {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #4A5567;
}

.game__point--checked {
    background-color: #7429C6;
}

.game__inputs {
    display: flex;
    justify-content: center;
    margin: 40px 0;
    gap: 10px;
}

.game__input {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    border: 2px solid #4A5567;
    width: 50px;
    height: 50px;
    font-weight: 700;
    font-size: 1.5rem;
    background-color: transparent;
    color: #F2F5F9;
    text-align: center;
    outline: 0;
}

.game__input--current,
.game__input:focus {
    border: 2px solid #672171;
}

.game__buttons {
    display: flex;
    justify-content: space-around;
}

.game__button {
    border-radius: 7px;
    background-color: #C951E7;
    color: #F2F5F9;
    -webkit-box-shadow: 0px 5px 0px 0px rgba(103,33,113,1);
    -moz-box-shadow: 0px 5px 0px 0px rgba(103,33,113,1);
    box-shadow: 0px 5px 0px 0px rgba(103,33,113,1);
    font-size: 0.9rem;
    padding: 5px 20px;
    cursor: pointer;
}

.game__button:hover {
    opacity: 0.5;
}

.game__language {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.game label {
    display: block;
    font-size: 0.8rem
}
.game select[name=langs] {
    margin-left: 10px;
    padding: 5px;
}
.message {
    margin-top: 20px;
    font-size: .8rem;
    line-height: 1.3;
    max-width: 440px;
    text-align: center;
}

@media (min-width: 460px) {
    .game {
        width: 450px;
        max-width: 660px;
    }
}

@media (min-width: 720px) {
    .logo {
        display: initial;
    }
}