
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
}
body{
  background-color: rgb(255, 255, 255);
 
}

/* LINKOVI */
header {
    min-height: 10vh;
    width: auto;
    background-color: rgb(18, 14, 36);
    background-position: center;
    background-size: cover;
    position: relative;
}
.linkovi {
    position: absolute;
    top: 30px;
    right: 80px;
    list-style: none;
    padding: 10px; 
    
}

ul li {
    display: inline-block;
    margin-right: 10px;
    
}

a {
    color: rgb(255, 255, 255);
    text-decoration: none;
    padding: 8px;

    position: relative;
    overflow: hidden;
}

.link1::after,
.link2::after,
.link3::after,
.link4::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: rgb(186, 189, 46);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.link1:hover::after,
.link2:hover::after,
.link3:hover::after,
.link4:hover::after {
    transform: scaleX(1);
}

.linksl{
    width: 6%;
    position: relative;
    margin-left: 20px;
    margin-top: 15px;
}




/* APARTMANI */
.container{
    display: flex;
    justify-content: center;
    flex-wrap:wrap;

}
.card{
    background: rgb(255, 255, 255);
    width: 270px;
    height: 400px;
    margin: 10px;
    border-radius: 15px;
    border-style: solid;
    border-color: rgb(0, 0, 0);
    border-width:thin ;
  
}
.card-image{
   
    height: 150px;
    margin-bottom: 15px;
    background-size: cover;
    border-radius: 15px 15px 0 0;

}
.ap-1{
    background-image: url(slike/1\ \(3\).jpg);
}
.ap-2{
    background-image: url(slike/1\ \(28\).jpg);
}
.ap-3{
    background-image: url(slike/1\ \(29\).jpg);
}

.card h2{
    text-align: center;
    padding: 10px;
    font-family: "Montserrat", sans-serif;
    font-style: normal;
    font-weight: normal;
}
.card p{
    padding: 10px;
    text-align: center;
}
.card a{
    background-color:rgb(32, 23, 70);
    color: white;
    padding: 15px 20px;
    display: block;
    text-align: center;
    margin: 20px 50px;
    text-decoration: none;
    border-radius: 10px;

}
.card:hover {
    border-color: green;
    color: rgb(0, 0, 0);
    transform: scale(1.03);
    transition: all 0.5s ease;
}


h3{
    text-align: center;
    font-family: "Montserrat", sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 30px;
    margin: 40px;
}

/* FOOTER */
footer{
    background-color: rgb(18, 14, 36);
    height: auto;
    width: auto;
    font-family: "Open Sans";
  
    color: #fff;
  
  }
  .footer-content{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
  
  }
  .footer-content h3{
    font-size: 1.8rem;
    font-weight: 400;
    text-transform: capitalize;
    line-height: 3rem;
  
  }
  .socials{
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem 0 3rem 0;
  
  }
  .socials li{
    margin: 0 10px;
  
  }
  .socials a{
    text-decoration: none;
    color: #fff;
  }
  .socials a i{
    font-size: 1.1rem;
    transition: color .4s ease;
  
  }
  .socials a:hover i{
    color: aqua;
  }
  
  .footer-bottom{
    background-color: rgb(18, 14, 36);
    width: auto;
    padding-bottom: 20px ;
    text-align: center;
  
  }
  .footer-bottom p{
    font-size: 14px;
    word-spacing: 2px;
    text-transform: capitalize;
  }
  .footer-bottom span{
    text-transform: uppercase;
    opacity: 0.4;
    font-weight: 200;
    
  
  }


/* COUNTER */
.counter{
background-image: linear-gradient(rgba(13, 32, 110, 0.7), rgba(4, 9, 30, 0.7)), url(slike/1\ \(50\).jpg);
background-size: cover;
height: 30vh;

color: #fff;
margin-top: 40px;

 }
.counter .grid{
  grid-template-columns: repeat(4,1fr);
  text-align: center;
  place-items: center;
  padding-top: 80px;
  
 
}
.counter h1{
  font-size: 70px;
  font-family: "Montserrat", sans-serif;
  font-style: normal;
  font-weight: normal;
}
.ccontainer{
  justify-content: space-evenly;
  display: flex;

}
span{
  font-size: 20px;
  font-family: "Montserrat", sans-serif;
  font-style: normal;
  font-weight: normal;
}
.counter hr{
  width: 50%;
  margin: 10px auto;
  background: #7fc142;
  height: 2px;
border: none;
}

.starcolor{
  color: #e3ee45;
}


@media screen and (max-width: 768px) {
  /* HEADER I LINKOVI */
  header {
    min-height: auto;
    padding: 10px;
    text-align: center;
  }
  .linkovi {
    position: static;
    display: block;
    text-align: center;
    margin-top: 10px;
    margin-right: 0;
  }
  ul li {
    display: block;
    margin-right: 0;
    margin-bottom: 10px;
  }
  .linksl {
    margin: 0 auto;
    display: block;
    width: 20%;
  }
  /* APARTMANI CARDS */
  .card {
    width: 100%;
  }
  /* FOOTER */
  .footer-content {
    padding: 20px;
  }
  .socials li {
    margin: 0 5px;
  }
}

@media screen and (max-width: 480px) {
  /* COUNTER */
  .counter {
    height: 40vh;
  }
  .counter h1 {
    font-size: 50px;
  }

}

