.card {
  position: relative;
}

.grid {
  grid-template-columns: repeat(auto-fit, minmax(370px, 1fr));
}

.jobs-container {
  margin-top: var(--indent-3);
}

.jobs-container > .card {
  background-color: var(--blue-color);
}

.jobs-container > *,
.patents-container > * {
  padding: var(--indent-2);
  background-color: var(--blue-color);  
  display: flex;
  border-radius: 20px;
  height: 8rem;
}

.jobs-container > * > :first-child {
  background-color: var(--white-color);
  color: var(--black-color);
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 20px;
  width: 30px;
  height: 30px;
  border-radius: 100px;
  margin-right: var(--indent-3);
}

.jobs-container > * > :nth-child(2) {
  width: 80%;
  font-weight: bold;
}

.patents-container {
  margin: var(--indent-3) 0;
}

.patents-container > * {
  background-color: var(--secondary-color);
  display: flex;
  flex-direction: column;
}

.patents-container > * > :first-child {
  font-weight: bold;
  margin-bottom: var(--indent-2);
}

.patents-redirect {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background-color: var(--white-color);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 15px;
  height: 15px;
  padding: 10px;
  border-radius: 12px;
}

.patents-redirect > img {
  width: 15px;
  height: 15px;
}

.history-block {
  display: flex;
} 

.vesna-img {
  height: 250px;
  aspect-ratio: 16/9;
  margin-right: var(--indent-2);
  border-radius: var(--border-radius);
}

.history-block > :last-child {
  display: flex;
  flex-direction: column;
}

.history-block > :last-child > button {
  width: fit-content;
  margin-top: var(--indent-2);
  padding: var(--indent-2);
  background-color: var(--secondary-color);
  color: var(--white-color);
  border-radius: 10px;
}

.history-more {
  width: 8.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  background-color: var(--secondary-color);
  font-family: "Prosto One", sans-serif;
  color: var(--white-color);
  padding: var(--indent-1);
  margin-top: var(--indent-1);
  border-radius: var(--border-radius);
}

.history-more > :last-child {
  margin-left: var(--indent-1);
}

.mb-3 {
  margin-bottom: var(--indent-3);
}

.map-block {
  height: 30rem;
}

@media screen and (max-width: 390px) {
  .head-text h1 {
    font-size: 1.5rem !important;
    margin-bottom: 1rem;
  }

  .jobs-container .card h4 {
    font-size: 0.6rem;
  }

  .patents-container > * > :first-child  {
    font-size: 1rem;
  }

  .patents-container .card span {
    font-size: 0.8rem;
  }
}

@media screen and (max-width: 900px) {
  .head-text h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .w-25 {
    width: 80%;
  }

  .w-50 {
    width: 100%;
  }

  .vesna-img {
    display: none;
  }

  .map-block {
    height: 40rem;
  }

  .jobs-container > .card {
    font-size: 1rem !important;
  }
}

@media screen and (max-width: 1325px) {
  .history-block {
    padding-bottom: 4rem;
  }

  /* .jobs-container {
    font-size: 0.8rem;
  } */
}

