.container {
  background-color: var(--main-bg-color);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  border-bottom: 5px solid var(--second-accent-color);
  column-gap: 20px;
  height: 100%;
  width: 100%;
}

.text {
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  color: var(--middle-text-color);
}

.text h1 {
  color: var(--accent-color);
  font-size: var(--extra-large-heading);
  margin-bottom: 20px;
}

.text p,
.list li,
.experience-item p,
.experience-item ul li {
  font-size: var(--large-txt);
  color: var(--middle-text-color);
  line-height: 1.5em;
  margin-bottom: 10px;
}

.text p {
  margin-left: 20px;
  text-align: justify;
}

.image {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 10px;
  max-width: 50%;
}

.image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.list li {
  word-spacing: 1px;
  padding: 10px;
  border-left: 3px solid var(--accent-color);
}

.list li:hover,
.experience-item:hover {
  background-color: var(--dark-text-color);
  transition: background-color 0.3s ease-in-out;
  border-radius: 10px;
}

#wrapping-text {
  display: flex;
  flex: 1;
  flex-direction: column;
  flex-wrap: wrap;
}

.experience-item {
  margin-bottom: 30px;
  border-left: 5px solid var(--accent-color);
  padding-left: 20px;
}

.experience-item h2 {
  font-size: var(--extra-small-heading);
  color: var(--accent-color);
}

.experience-item ul {
  margin-top: 10px;
}

.experience-item ul li {
  position: relative;
}

.experience-item ul li::before {
  content: '\2022';
  color: var(--second-accent-color);
  position: absolute;
  left: -15px; /* Adjust the spacing as needed */
  top: 50%;
  transform: translateY(-50%);
}

.date {
  font-style: italic !important;
  font-size: var(--extra-small-txt) !important;
  color: var(--middle-bg-color) !important;
  text-indent: 20px;
}

.company {
  font-weight: bold;
  margin-bottom: 10px;
}

.skills {
  background-color: var(--middle-bg-color);
}

/* Small screens (up to 480px) */
@media (max-width: 480px) {
  .text h1 {
    font-size: var(--small-heading);
  }
  .image img {
    min-width: 300px;
  }
}

/* Medium screens (481px to 768px) */
@media (min-width: 481px) and (max-width: 768px) {
  .text h1 {
    font-size: var(--middle-heading);
  }
  .image img {
    min-width: 400px;
  }
}

/* Large screens (769px to 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .text h1 {
    font-size: var(--large-heading);
  }
  .image img {
    min-width: 500px;
  }
}
