.restricted {
  opacity: 0.5;
}




#searchResults {
  margin-left: 200px;
  margin-top: 100px;
  display: none;
}
#filteredVocabulary {
  display: flex;
  flex-wrap: wrap;
}
.vocabulary-section {
  display: flex;
  flex-direction: column;
}
#search-content {
  display: flex;
  flex-wrap: wrap;
  margin-top: 50px;
}




.section-title {
  font-size: 18px;
  margin-left: 200px;
  margin-bottom: 5px;
}
.main-container {
    margin-top: 85px;

}
.content {
  display: flex;
  flex-wrap: wrap;
  margin-left: 190px;
  align-items: center;
}

.content-item {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.vocabulary-item {
  width: 120px;
  height: 175px;
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
}

.vocabulary-item:hover {
  width: 112px;
}

.image-container {
  width: 90px;
  height: 90px;
  margin: 0 auto;

}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 100%;
  padding: 5px;
  border: solid 4px #ececec;

}

.title-container {
  padding: 5px;
  margin-top: 5px;
}

.title-container span {
  font-weight: 700;
  font-size: 14px;
}
.title-container a {
  font-weight: 700;
  font-size: 14px;

}
.word-count-text {
  font-size: 11px;
}













.modal {
  display: none;
  position: fixed;
  z-index: 3;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(2px);
}



#modal-section-container {
  display: flex;
  margin-bottom: 15px;
}


#modal-start-learning-button {
  border-radius: 100px;
  color: #fff;
  background-color: #e4335a;
  border: none;
  padding: 15px;
  font-size: 16px;
  margin-left: 0px;
  margin-top: 5px;
}
#modal-word-count {
  font-size: 16px;
  margin-left: 0px;
}
#modal-image {
  height: 80px;
  width: 100px;
  margin-right: 10px;
  object-fit: cover;
  border-radius: 20px;
}
#modal-title-container {
  margin-left: 5px;
}


.close {
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  position: absolute; 
  top: 2px; 
  right: 20px; 
  cursor: pointer; 
  z-index: 4; 
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
}


.modal-content {
  background-color: #fefefe;
  margin: 0 auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 800px;
  border-radius: 25px;
  height: 90%;
  overflow: hidden;
  position: relative;
  margin-top: 50px;
}


 

.modal-words-container {
  padding-top: 10px;
  overflow-y: auto;
  overflow-x: hidden;
  height: calc(95vh - 250px);
}


.modal-words-container::-webkit-scrollbar {
  width: 8px;
}

.modal-words-container::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}

.modal-words-container::-webkit-scrollbar-thumb:hover {
  background: #555;
}

#modal-buttons-container {
  margin-bottom: 10px;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

h1 {
  margin-left: 200px;
  font-size: 25px;
  display: none;
}

.vocabulary-section-text {
  margin-left: 230px;
}



.word-count {
  display: none;
}