/* * {
  width: 100%;
} */
body {
  background-color: #1e1e1f;
  font-family: Arial, sans-serif;
  color: #e0e0e0;
  margin: 0;
  padding: 0;
}

/* the info-section elements styles */
#info-section {
  display: flex;
  gap: 1rem;
  flex: 1;
}

#image-slide {
  border: 1px solid #f2fd7d;
  border-radius: 20px;
  padding: 10px;
  text-align: center;
}
.placeholder-p {
  border: 1px solid #f2fd7d;
  border-radius: 20px;
  padding: 20px;
}

h1 {
  color: #f2fd7d;
  text-align: center;
  font-size: 2rem;
  margin-top: 1.5rem;
}

p {
  color: #c9c7ba;
  line-height: 1.6;
  text-align: center;
}

#info {
  border: 1px solid grey;
  border-radius: 20px;
  padding: 20px;
  max-width: 800px;
  margin: auto;
  background: #252527;
}

#search-form {
  margin: 2rem auto;
  border: 1px solid grey;
  border-radius: 30px;
  display: flex;
  flex-direction: row;
  gap: 1rem;
  padding: 1rem;
  align-items: center;
  justify-content: center;
  width: 50%;
  background: #333;
}

#country-code {
  padding: 10px;
  border-radius: 10px;
  border: none;
  outline: none;
  font-size: 1rem;
}

#submit-search {
  padding: 10px 11px;
  border-radius: 10px;
  background: #f2fd7d;
  border: none;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
}

#submit-search:hover {
  background: #e5e756;
}

#details {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin: 2rem auto;
  width: 60%;
  padding: 20px;
  border: 2px solid #f2fd7d;
  border-radius: 20px;
  background: #252527;
  box-shadow: 0 4px 8px rgba(242, 253, 125, 0.2);
  flex-wrap: wrap;
}

#image {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
}

#image img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border: 1px solid grey;
  padding: 2px;
  border-radius: 20px;
  flex-wrap: wrap;
}

#span-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 2;
  gap: 1rem;
  padding: 5px;
}

#span-details span {
  border: 2px solid #f2fd7d;
  border-radius: 15px;
  padding: 15px;
  background: #333;
  transition: 0.3s;
  cursor: pointer;
  width: 100%;
  text-align: center;
  font-weight: bold;
  color: #e0e0e0;
  box-shadow: 0 4px 6px rgba(242, 253, 125, 0.3);
}

#span-details span:hover {
  background: #f2fd7d;
  color: #333;
  transform: scale(1.03);
  box-shadow: 0 6px 12px rgba(242, 253, 125, 0.5);
}

#user-comment {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #252527;
  padding: 20px;
  border-radius: 15px;
  width: 50%;
  margin: auto;
}

#user-comment h4 {
  font-size: 1.2rem;
  color: #f2fd7d;
}

#user-comment form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}

textarea {
  width: 100%;
  height: 100px;
  padding: 10px;
  resize: vertical;
  border-radius: 10px;
  border: none;
  outline: none;
  font-size: 1rem;
  background: #333;
  color: #e0e0e0;
}
#submit-comments {
  align-self: flex-end;
  padding: 0.7rem 1.2rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  background-color: #f2fd7d;
  transition: 0.3s;
}

#submit-comments:hover {
  background-color: #e5e756;
}

hr {
  width: 50%;
}

#commentsDiv {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 20px;
  border: 1px solid grey;
  border-radius: 30px;
  width: 50%;
  margin: auto;
}

#submitComments {
  display: flex;
  margin-top: 10px;
  align-self: flex-end;
  padding: 0.7rem 1.2rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  background-color: #f2fd7d;
  transition: 0.3s;
}
