
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@700&display=swap');
body {
     font-family: "Nunito", sans-serif;
    font-weight: 700;
    font-style: normal;
    background-color: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
    margin:0;
}

::-webkit-scrollbar-thumb{
    color: #66afe9;
}
/* ::-webkit-scrollbar {
  width: 2vw;
}

::-webkit-scrollbar-track { 
  border-radius: 10px;
}
 
::-webkit-scrollbar-thumb {
  background: #ba82fa; 
  width: 2vw;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #ca92fa; 
} */

.crossword {
    background-color: #fff;
    padding: 20px;
    padding-right: 0;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0);
    text-align: center;
    width: 100%;
}

.section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border: 3px solid #ba82fa;
    padding: 20px;
    border-radius: 20px;
    background-size: 100% 100%;
    background-position: center;
}



.section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}

.section h2 {
    margin-bottom: 10px;
    color: #333;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 5px;
    border-radius: 5px;
    font-size: 40px;
    /* display: inline-block; */
}


.section p {
    margin-bottom: 15px;
    color: #444;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 5px;
    border-radius: 5px;
    font-size: 20px;
    display: inline-block;
}
.des{
  margin-bottom: 15px;
  color: #000;
  background-color: rgba(255, 255, 255, 0);
  padding: 5px;
  border-radius: 5px;
  font-size: 23px;
  display: inline-block;
}

.word {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.cell {
    font-family: "Nunito", sans-serif;
    font-weight: 300;
    width: 30px;
    height: 30px;
    text-align: center;
    font-size: 18px;
    margin: 2px;
    border: 3px solid #ccc;
    border-radius: 13px;
    background-color: rgba(255, 255, 255, 0.9);
}

.cell:focus {
    outline: none;
    border-color: #66afe9;
}

.correct {
    background-color: #a3d8a3;
}

.color-box {
    display: inline-block;
    width: 25px;
    height: 25px;
    margin-right: 2px;
    border: 2px solid #000;
    border-radius:20px;
    vertical-align: middle;
}

.description {
    margin-bottom: 10px;
    margin-left:10px;
    margin-right:30px;
    
}

.description.no {
    border: none;
    margin-left:5px;
}

.description.dashed {
    border: 2px dashed #000;
    border-radius:13px;
}

.description.solid {
    border: 3px solid #000;
    border-radius:13px;
}


.duplicate {
  background-color: #ffaaaa; /* Красный цвет для дубликатов */
  border-color: #ffbbbb;
  
  
}

details {
    margin-top:30px;
    margin-bottom: 10px;
    padding-bottom: 20px;
    border: 3px solid #ba82fa;
    padding: 40px;
    border-radius: 20px;
}