.hero-mid {
  width: 95%;
  min-height: 80vh;
  height: auto;
}

.contact-container {
  display: flex;
  width: 100%;
  min-height: 100vh;
  height: auto;
  align-items: stretch;
}

.contact-form {
  width: 50%;
  padding-top: 200px;
  padding-bottom: 50px;
  padding-left: 5vw;
  background: #f9f9f9;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-form h1 {
  color: #222;
  font-size: 45px;
  font-weight: 500;
  letter-spacing: 8px;
  margin: 0;
}

.contact-form p {
  font-size: 18px;
  width: 80%;
  color: #222;
  letter-spacing: 4px;
  margin-bottom: 20px;
}

.contact-form form {
  display: flex;
  width: 60%;
  flex-direction: column;
}

.contact-form input,
.contact-form textarea {
  padding: 8px;
  margin-bottom: 20px;
  border: none;
  border-bottom: 1px solid #222;
  background: transparent;
  font-size: 18px;
  font-family: "Jost";
  letter-spacing: 4px;
  
}
.contact-form textarea {
  min-height: 10vh;
}

.contact-form button {
  padding: 10px;
  background-color: #000;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 20%;
}

.contact-form button:hover {
  background-color: #333;
}

.contact-info {
  width: 50%;
  /* background: url(../images/kontakt.png);
  background-size: cover; */
  height: auto;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.contact-info .contact-image{
      width: 100%;
  height: 100%;
}
.contact-info img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.info-text {
  position: absolute;
  color: #fff;
  text-align: center;
  bottom: 20px;
}

.info-text a {
  text-decoration: none;
  color: #fff;
  margin: 20px 0;
  font-size: 24px;
  letter-spacing: 8px;
}
.info-text a:hover {
  text-decoration: underline;
}

#phone {
  width: 100%;
}
#naslov {
  margin-top: 20px;
}

.map iframe {
  width: 100%;
  height: 60vh;
}
@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .hero-mid {
    width: 100%;
    min-height: 70vh;
    height: auto;
  }

  .contact-container {
    display: flex;
    width: 100%;
    min-height: 70vh;
    height: auto;
    align-items: stretch;
  }

  .contact-form {
    width: 50%;
    padding-top: 200px;
    padding-bottom: 50px;
    padding-left: 5vw;
    background: #f9f9f9;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .contact-form h1 {
    color: #222;
    font-size: 45px;
    font-weight: 500;
    letter-spacing: 8px;
    margin: 0;
  }

  .contact-form p {
    font-size: 18px;
    width: 90%;
    color: #222;
    letter-spacing: 4px;
    margin-bottom: 20px;
  }

  .contact-form form {
    display: flex;
    width: 80%;
    flex-direction: column;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 8px;
    margin-bottom: 20px;
    border: none;
    border-bottom: 1px solid #222;
    background: transparent;
    font-size: 18px;
    font-family: "Jost";
    letter-spacing: 4px;
  }
  .contact-form textarea {
    min-height: 10vh;
  }

  .contact-form button {
    padding: 10px;
    background-color: #000;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 20%;
  }

  .contact-form button:hover {
    background-color: #333;
  }

  .contact-info {
    width: 50%;
    background: url(../images/kontakt.png);
    background-size: cover;
    height: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .contact-info img {
    width: 100%;
    height: auto;
  }

  .info-text {
    position: absolute;
    color: #fff;
    text-align: center;
    bottom: 20px;
  }

  .info-text a {
    margin: 20px 0;
    font-size: 24px;
    letter-spacing: 8px;
  }

  .map iframe {
    width: 100%;
    height: 60vh;
  }
}
@media (max-width: 768px) {
  .hero-mid {
    width: 100%;
    min-height: 80vh;
    height: auto;
  }

  .contact-container {
    display: flex;
    flex-direction: column;
    width: 100%;

    min-height: 100vh;
    height: auto;
    align-items: stretch;
  }

  .contact-form {
    text-align: center;
    width: 100%;
    padding-top: 150px;
    padding-bottom: 50px;
    padding-left: 0;
    background: #f9f9f9;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .contact-form h1 {
    color: #222;
    font-size: 45px;
    font-weight: 500;
    letter-spacing: 8px;
    margin: 0;
  }

  .contact-form p {
    font-size: 18px;
    width: 90vw;
    color: #222;
    letter-spacing: 4px;
    margin: 0 auto 20px auto;
  }

  .contact-form form {
    display: flex;
    width: 90vw;
    flex-direction: column;
    margin: 0 auto;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 8px;
    margin-bottom: 20px;
    border: none;
    border-bottom: 1px solid #222;
    background: transparent;
    font-size: 18px;
    font-family: "Jost";
    letter-spacing: 4px;
  }
  .contact-form textarea {
    min-height: 10vh;
  }

  .contact-form button {
    padding: 10px;
    background-color: #000;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: max-content;
  }

  .contact-form button:hover {
    background-color: #333;
  }

  .contact-info {
    width: 100%;
    min-height: 50vh;
    height: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .info-text {
    position: absolute;
    color: #fff;
    text-align: center;
    bottom: 20px;
  }

  .info-text a {
    margin: 20px 0;
    font-size: 16px;
    letter-spacing: 8px;
  }

  .map iframe {
    width: 100%;
    height: 30vh;
  }
}
