
.container {
    display: flex;
	font-family: 'Arimo';
    background-color: #fff;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container_left {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
	margin-right: 333px;
}
.container_right {
    flex: none;
    display: flex;
    justify-content: center;
    align-items: center;
	margin-left: -305px;
}

.centered-content {
    text-align: right;
}


.cats {
	width:350px;
	font-size:20px;
	padding:5px;
	border:1px solid #c1c1c1;
	color:#000;
	font-family:'Arimo';
	border-radius: 6px;
	margin-top:5px;
}

#submit {
	width: 355px;
    cursor: pointer;
    padding: 10px;
    font-size: 22px;
    font-weight: bold;
    font-family: 'Arimo';
    background: #3498db;
    border: 2px solid #1b8dd9;
    border-radius: 10px;
    color: #fff;
}

#title {
	width:350px;
	font-size:20px;
	padding:5px;
	border:1px solid #c1c1c1;
	color:#000;
	font-family:'Arimo';
	border-radius: 6px;
	margin-top:5px;
}
#description {
	width:350px;
	font-size:20px;
	padding:5px;
	border:1px solid #c1c1c1;
	color:#000;
	font-family:'Arimo';
	border-radius: 6px;
	margin-top:5px;
}
.input {
	width:350px;
	font-size:20px;
	padding:5px;
	border:1px solid #c1c1c1;
	color:#000;
	font-family:'Arimo';
	border-radius: 6px;
	margin-top:5px;
}

.diff {
	max-width: 530px;
}
#diff1 {
	margin-top:5px;
	background: #2ecc71;
	width: 360px;
	height: 130px;
	padding: 25px;
	border-radius: 8px;
	border:3px dashed #1b8b4b;
}

#diff1_2 {
	display:inline-block;
	margin-top:5px;
	background: #2ecc71;
	width: 200px;
	height: 130px;
	padding: 25px;
	border-radius: 8px;
	border:3px dashed #1b8b4b;
}

#diff1_2 input {
	width: 200px;
}

#diff2 {
	margin-top:5px;
	background: #f1c40f;
	width: 360px;
	height: 130px;
	padding: 25px;
	border-radius: 8px;
	border:3px dashed #bf9b0c;
}
#diff2_2 {
	display:inline-block;
	margin-top:5px;
	background: #f1c40f;
	width: 200px;
	height: 130px;
	padding: 25px;
	border-radius: 8px;
	border:3px dashed #bf9b0c;
}

#diff2_2 input {
	width: 200px;
}


#diff3 {
	margin-top:5px;
	background: #f39c12;
	width: 360px;
	height: 130px;
	padding: 25px;
	border-radius: 8px;
	border:3px dashed #bf7a0e;
}
#diff3_2 {
	display:inline-block;
	margin-top:5px;
	background: #f39c12;
	width: 200px;
	height: 130px;
	padding: 25px;
	border-radius: 8px;
	border:3px dashed #bf7a0e;
}

#diff3_2 input {
	width: 200px;
}

#diff4 {
	margin-top:5px;
	background: #e74c3c;
	width: 360px;
	height: 130px;
	padding: 25px;
	border-radius: 8px;
	border:3px dashed #af3023;
}
#diff4_2 {
	display:inline-block;
	margin-top:5px;
	background: #e74c3c;
	width: 200px;
	height: 130px;
	padding: 25px;
	border-radius: 8px;
	border:3px dashed #af3023;
}

#diff4_2 input {
	width: 200px;
}

.board {
	width: 600px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}


.board div {
	background-color: #9bd5ff;
    color: #152b3a;
}


.btn {
	font-family: 'Arimo';
	font-weight: bold;
    padding: 10px 20px;
    font-size: 16px;
	background-color: transparent;
    border: 1px solid #152b3a;
    color: #152b3a;
    cursor: pointer;
	border-radius: 50px;
}

.btn:disabled {
    background-color: #ccc;
    color: #152b3a;
    border: none;
    cursor: not-allowed;
}

#check-answers:enabled {
    background-color: #152b3a;
    border: 1px solid #152b3a;
    color: #fff;
}

.message {
    font-size: 20px;
    font-weight: bold;
    margin-top: 20px;
}

.category-info {
    font-weight: bold;
    margin-bottom: 10px;
}

.hidden {
    display: none;
}

.word {
	display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    width: 134px;
    height: 85px;
    text-align: center;
    border-radius: 10px;
    vertical-align: middle;
    font-size: 18px;
    font-family: 'Arimo';
    font-weight: bold;
}

.word.selected {
    background-color: #3e4f57;
	color:#fff;
    font-weight: bold;
}

.category-box {
    font-size: 20px;
    border-radius: 7px;
    font-family: 'Arimo';
	width: 590px;
	height: 85px;
    margin-bottom: 10px;
	color: #fff;
	margin-top: -10px;
}

.category-box-added {
	animation: slideInFromRight 1s forwards;	
}


@keyframes slideInFromRight {
    from {
        opacity: 0; /* התחלת האנימציה: התיבה לא נראית */
        transform: translateX(100%); /* התיבה מתחילה מימין מאחורי המסך */
    }
    to {
        opacity: 1; /* סיום האנימציה: התיבה מתקרבת מימין לשמאל */
        transform: translateX(0); /* התיבה מתקרבת למרכז המסך */
    }
}

#buttons-div {
    float: left;
    display: inline-block;
    position: relative;
    left: 8px;
}

#attempts {
    display: flex;
    align-items: center;
	flex-direction: column;
    float: right;
    position: relative;
    right: 8px;
}

#attempts-bg {
	background: #152b3a;
    padding: 3px;
    margin-bottom: 3px;
    color: #ffffff;
}

#help {
	font-family: 'Arimo';
    font-weight: bold;
    padding: 10px 20px;
    font-size: 16px;
    background-color: #152b3a;
    border: 1px solid #152b3a;
    color: #fff;
    width: 555px;
    border-radius: 50px;
    cursor: pointer;
    margin-top: 5px;
}

#restart {
	display: none;
	font-family: 'Arimo';
    font-weight: bold;
    padding: 10px 20px;
    font-size: 16px;
    background-color: transparent;
    border: 1px solid #152b3a;
    color: #152b3a;
    width: 590px;
    border-radius: 50px;
    cursor: pointer;
    margin-bottom: -30px;
}

#clue {
	font-family: 'Arimo';
	font-weight: bold;
    padding: 10px 20px;
    font-size: 16px;
	background-color: transparent;
    border: 1px solid #152b3a;
    color: #152b3a;
    cursor: pointer;
	width: 555px;
	border-radius: 50px;
}

#clue:hover {
	background: #d9e4ec;
	border-color: #768693;
	color: #152b3a;
	cursor:pointer;
}

.message-overlay {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgb(0 0 0 / 57%);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    display: none;
    font-size: 60px;
    font-family: 'Arimo';
    font-weight: bold;
}

.select {
	padding: 6px;
    width: 200px;
    border-radius: 7px;
    font-size: 16px;
    font-family: 'Arimo';
    border: 1px solid #b9b9b9;
	display:inline-block;
}

#game_title {
	margin:0;
	text-align:center;
}
#game_description {
	margin:0;
	text-align:center;
}

/* CSS */
.modal {
  display: none; 
  position: fixed; 
  z-index: 1; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  background-color: rgba(0,0,0,0.4); 
  text-align: right;
}

.modal-content {
    background-color: #fefefe;
    margin: 15% 33.8%;
    padding: 20px;
    border: 1px solid #888;
    width: 30%;
	animation: modalFadeIn 0.5s ease-in-out;
}

.close {
  color: #aaaaaa;
  float: left;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

/* כללי האנימציה */
@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
