    
.social img{
    width: 40px;
    height: 40px;
}
.perehod img {
    width: 30px;
    height: 30px;
    border-radius: 50px;
    border: 1px solid rgb(49, 36, 105);
}

.perehod>a:hover {
    transform: scale(1.5);

}

.perehod {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-self: flex-end;
    padding: 0 120px 0 120px;
    margin-bottom: 20px;

}
        /* Game Styles */
        .game1 {
            border: 1px solid rgb(13, 6, 64);
            border-radius: 50px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            padding: 20px;
            margin: 20px auto;
            width: 800px;
        }

        #game {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 20px;
        }

        #task {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        #task-text {
            font-size: 18px;
            font-weight: bold;
        }

        #speak-icon {
            cursor: pointer;
            width: 24px;
            height: 24px;
        }

        #word-pool {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
            justify-content: center;
        }

        .word {
            border: 1px solid #000;
            border-radius: 50px;
            padding: 10px;
            cursor: pointer;
            background-color: #f0f0f0;
            user-select: none;
            font-size: 10px;
        }

        #sentence-builder {
            border: 5px solid #000;
            border-radius: 20px;
            padding: 20px;
            background-color: rgba(243, 243, 125, 0.332);
            width: 80%;
            min-height: 100px;
            display: flex;
            align-items: center;
            justify-content: flex-start;
            gap: 10px;
            flex-wrap: wrap;
        }

        #feedback {
            margin-top: 20px;
            font-size: 18px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .buttons {
            display: flex;
            gap: 10px;
            margin-top: 20px;
            flex-direction: row;
        }

        .buttons button {
            padding: 10px 20px;
            border: 1px solid green;
            border-radius: 50px;
            background-color: #c8ba8d;
            cursor: pointer;
            font-size: 16px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            flex-direction: row;
        }

        .buttons button:hover {
            background-color: #b0a57d;
        }

        .icon {
            width: 24px;
            height: 24px;
            cursor: pointer;
        }

          /* Добавляем стили для правильного отображения */
          #sentence-builder {
            display: flex;
            flex-wrap: wrap;
            min-height: 60px;
            padding: 10px;
            background-color: #fff9c4;
            border-radius: 8px;
            margin: 10px 0;
            gap: 5px;
            align-items: center;
        }
        
        #sentence-builder.combined {
            flex-direction: row;
            flex-wrap: nowrap;
            overflow-x: auto;
            white-space: nowrap;
        }
        
        .word {
            display: inline-flex;
            padding: 8px 12px;
            background-color: #e3f2fd;
            border-radius: 4px;
            cursor: pointer;
            font-size: 16px;
            transition: all 0.3s;
            height: 40px;
            box-sizing: border-box;
            align-items: center;
            justify-content: center;
        }
        
        .word.combined {
            background-color: #bbdefb;
            white-space: nowrap;
            width: auto;
            min-width: fit-content;
        }

       /* Бургер-меню */
.burger-menu {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1000;
}

.burger-menu div {
    width: 25px;
    height: 3px;
    background-color: #000;
}

.nav-burger {
    position: fixed;
    top: 0;
    left: -100%;
    width: 250px;
    height: 100vh;
    background-color: rgba(200, 186, 141, 0.95);
    transition: left 0.3s ease;
    z-index: 999;
    padding-top: 80px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.nav-burger.active {
    left: 0;
}

.nav-burger .ul-header {
    list-style: none;
    padding: 20px;
    margin: 0;
    flex-direction: column;
}

.nav-burger .li-header {
    margin-bottom: 20px;
}

.nav-burger .a-header {
    color: hsla(47, 18%, 20%, 0.814);
    text-decoration: none;
    font-size: 18px;
    display: block;
}

.nav-burger .a-header:hover {
    color: rgb(4, 1, 48);
}

      /* Медиазапросы */
@media (max-width: 950px) {
.nav-header{
    display: none;
}
    .game1{
        width: 500px;
    }
    .buttons {
        /* flex-direction: column; */
        align-items: center;
        gap: 10px;
    }

    .buttons button {
        width: 80%;
        padding: 8px 16px;
        font-size: 14px;
    }

    .buttons #prev-btn,
    .buttons #next-btn {
        width: auto;
        padding: 8px;
    }

    .buttons #prev-btn img,
    .buttons #next-btn img {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 900px) {
    .game1{
        width: 500px;
    }
    .buttons button {
        font-size: 13px;
    }

    .buttons #prev-btn img,
    .buttons #next-btn img {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 800px) {
    .game1{
        width: 350px;
    }
    .buttons button {
        font-size: 12px;
    }

    .buttons #prev-btn img,
    .buttons #next-btn img {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 700px) {
    .buttons button {
        font-size: 11px;
    }

    .buttons #prev-btn img,
    .buttons #next-btn img {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 600px) {
    .buttons button {
        font-size: 10px;
    }

    .buttons #prev-btn img,
    .buttons #next-btn img {
        width: 12px;
        height: 12px;
    }
}

@media (max-width: 500px) {
    .buttons button {
        font-size: 9px;
    }
    .game1{
        width: 400px;
    }

    .buttons #prev-btn img,
    .buttons #next-btn img {
        width: 10px;
        height: 10px;
    }
    .task-text{
        font-size: 10px;
    }
    .word{
        font-size: 10px;
    }
    #feedback{
        font-size: 8px;
    }
    #check-btn{
        font-size: 8px;
        text-align: center;
    }
}

@media (max-width: 400px) {
    .game1{
        width: 300px;
    }
    .buttons button {
        font-size: 8px;
    }

    .buttons #prev-btn img,
    .buttons #next-btn img {
        width: 8px;
        height: 8px;
    }
}

@media (max-width: 300px) {
    .buttons button {
        font-size: 7px;
    }

    .buttons #prev-btn img,
    .buttons #next-btn img {
        width: 6px;
        height: 6px;
    }
}
