@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
}
body {
  background-image: url(https://zlatanovbreg.rs/stanovi-img/ponuda-staniva-background.png);
  font-family: "Roboto", sans-serif;
}
.tipovi-stanova {
  display: flex;
  justify-content: center;
}
.tipovi-stanova-container {
  /* background-color: aquamarine; */
  display: flex;
  max-width: 1400px;
  width: 100%;
  flex-wrap: wrap;
  justify-content: center;
}

.stan-tip {
  height: 40rem;
  width: 25rem;
  margin: 2rem;

  /* background-color: antiquewhite; */
  position: relative;
}

.stan-tip::after {
  content: "";
  position: absolute;
  height: 90%;
  width: 70%;
  bottom: 0;
  left: 15%;
  border: 1.5px solid #003049;
}

.stan-tip-container {
  font-weight: 300;
  height: 90%;
  width: 100%;
  background-color: bisque;
  display: flex;
  flex-direction: column;
}

.stan-tip-img {
  height: 50%;
  width: 100%;
  background-color: #3e5b70;
  position: relative;
  display: grid;
  place-items: center;
}
.stan-tip-img img {
  position: absolute;
  width: 90%;
  height: auto;
  z-index: 1;
}
.stan-tip-zb-1-2 {
  overflow: hidden;
}
.stan-tip-zb-1-2 img {
  width: auto;
  height: 100%;
}
@media (max-width: 768px) {
  .stan-tip-img:not(.stan-tip-zb-1-2) img {
    width: 98%;
  }
}

.stan-tip-desc {
  letter-spacing: 0.5px;
  font-weight: 400;
  height: 50%;
  width: 100%;
  background-color: #ecf0f3;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}
.stan-tip-desc a,
.stan-tip-desc button {
  padding: 0 1rem;
  cursor: pointer;
  color: #003049;
}
.stan-tip-desc p {
  padding: 0 1rem;
  font-size: 1.2rem;
  color: #003049;
}
.tip-stan-br h3,
h2 {
  font-weight: 500;
}
.stan-tip-desc p span {
  font-weight: 500;
}
.tip-stan-br {
  display: flex;
  justify-content: space-between;
}
.stan-tip-desc a h2 {
  width: fit-content;
}

.br3::after {
  content: "SOLD";
  color: white;
  height: auto;
  width: fit-content;
  background-color: red;
  padding: 5px;
  border-radius: 4px;
  margin-left: 3px;
}
.stan-tip-desc a h2::after {
  content: "";
  display: block;
  height: 2px;
  width: 0;
  background-color: #003049;
  transition: width 0.8s;
  transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
}
.stan-tip-desc a h2:hover::after {
  width: 100%;
}

.pogledaj-stan-btn {
  text-decoration: underline;
  width: fit-content;
  border: none;
  background: none;
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  /* text-decoration: underline; */
  transition: color 0.1s linear;
}

.pogledaj-stan-btn:hover {
  color: #6f9ab9;
}
