* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 1px;
  text-decoration: none;
  color:#fff;
}
h2 {
 margin-bottom: 0.8em;
 color:#183242;
 font-weight: 600;
}
p{
  font-size: 15px;
}
/****NAVBAR****/
.nav {
  background-color: #10222D;
  border-bottom: 2px solid #44667B;
  position: fixed;
  width: 100%;
  height: 65px;
  z-index: 9999;
  padding: 0 calc(10px + 1.5vw);
}
.nav-container{
  width: 100%;
  max-width: 700px;
  margin:0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 65px;
}
.logo {
  font-family: 'Great Vibes', cursive;
  font-size: 1.5em;
}
.nav-links {
  display: flex;
  width: 450px;
}
.nav-links li {
  list-style: none;
}
.nav-links a{
  transition: 300ms;
  font-size: 15px;
}
.nav-links a:hover {
  color: #F3C677;
}
.burger {
  display: none;
  cursor: pointer;
}
.burger div {
  width: 25px;
  height: 3px;
  margin: 5px;
  background-color: #fff;
  transition: all 400ms ease;
}
.toggle .line1 {
  transform: rotate(-45deg) translate(-5px, 6px);
}
.toggle .line2 {
  opacity: 0;
}
.toggle .line3 {
  transform: rotate(45deg) translate(-5px, -6px);
}
/****END-NAVBAR****/

/****HERO****/
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: url("img/hero.jpg");
  background-size: cover;
  background-position: left top;
  background-repeat: no-repeat;
  text-align: center;
}
.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding:0 calc(10px + 1.5vw);
  margin:0 auto;
}
.hero-text::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: rgba(30, 25, 20, 0.4);
}
h1{
  font-size: calc(25px + 1vw);
  font-weight: 600;
  z-index: 1;
  line-height: 1.3;
  padding-bottom: 0.35em;
  padding-top:70px;
  animation:hero 4000ms ease forwards;
  text-shadow: 1px 1px #1a1a1a;
}
.hero-text p {
  font-size: 17px;
  z-index: 1;
  margin: 10px 0 1.8em;
  opacity:0;
  animation:hero 4000ms ease forwards;
  animation-delay: 800ms;
  text-shadow: 1px 1px #1a1a1a;
}
.cta-wrapper {
  z-index: 1;
  margin: 1.2em 0 0;
  opacity:0;
  animation:btns 1500ms ease forwards;
  animation-delay: 1500ms;
}
.cta1 {
  color:#fff;
  background: #3F8BB1;
  border-radius: 5px;
  padding: 0.8em 1.9em;
  transition: 350ms;
  font-weight: 500;
  display:inline-block;
  font-size: 14px;
}
/****END_HERO****/

/****ABOUT****/
#about {
  padding-bottom: 1.2em;
  background: #E4EEF4;
}
.about-text-wrapper{
  padding: 0 calc(10px + 1.5vw);
}
.about-text{
  padding: 4.5em 0;
  margin:auto;
  max-width: 700px;
}
.about-text h2{
  padding-bottom: 15px;
  color:#183242;
  font-size: 21px;
  max-width: 1200px;
  margin:auto;
}
.about-text p {
  color:#183242;
  max-width: 1100px;
  margin:auto;
}
.included-wrapper{
  width:100%;
  background-color: #BDCFD9;
  padding:60px calc(10px + 1.5vw) 0;
}
.included{
  display: flex;
  flex-wrap: wrap;
  width:100%;
  max-width: 700px;
  margin:auto;
}
.included-card{
  margin: 0 auto 60px;
  max-width: 400px;
}
.card-img-wrapper{
  display:flex;
  justify-content: center;
  align-items: center;
}
.fa-2x{
 font-size: 40px;
 color:#335468;
}
.card-text{
  margin-top: 20px;
  text-align: center;
}
.included-card h3{
  font-size: 19px;
  color:#183242;
  font-weight: 600;
}
.included-card p{
  letter-spacing: .4px;
  color:#183242;
  margin-top: 0.4em;
}
/****END-ABOUT****/

/****APARTMENT****/
#apartment {
  padding: 3em calc(10px + 1.5vw) 5em;
}
#apartment p{
  color:#183242;
}
#apartment h2{
  font-size: 21px;
}
.apartment-info-wrapper {
  display:flex;
  flex-direction: column;
  margin:0 auto;
  max-width: 700px;
}
.apartment-description {
 display:flex;
 flex-direction: column;
 width:100%;
 margin:0 auto;
}
.apartment-description ul {
  list-style: none;
  margin-bottom: 2em;
}
.apartment-description li{
  line-height: 1.8;
  color:#183242;
  font-size: 15px;
}
.apartment-description li::before {
  content: "";
  background: #183242;
  display: inline-block;
  width: 5px;
  height:5px;
  border-radius: 50%;
  margin:0 6px 2.7px 0;
}
sup{
  color:#183242;
}
.apartment-description h3{
  color:#183242;
  font-size: 18px;
  font-weight: 600;
  padding-bottom: 0.4em;
}
#apartment .fa-star{
  color:#c0900c;
}
.apartment-price{
  text-align: center;
  margin-bottom: 3em;
  color:#183242;
}
.price{
  color:#183242;
  font-size: 1.4em;
  font-weight: 600;
}
.apartment-gallery{
 display:flex;
 align-items: center;
 flex-direction: column;
}
.gallery-highlight{
  width:100%;
  max-width: 700px;
  margin:0 calc(10px + 1.5vw);
  box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
}
.apartment-preview{
  display:grid;
  grid-template-columns: repeat(5,2fr);
  grid-gap: 2px;
  margin-top: 2px;
  width:100%;
  max-width: 700px;
  cursor:pointer;
}
.apartment-img{
 width:100%;
 max-height:120px;
 opacity:0.6;
 transition:300ms ease;
}
.apartment-img.active{
  opacity:1;
}
/****END-APARTMENT****/

/****STARA_BASKA****/
#stara-baska{
  background-color: #fff;
  padding:2.5em 0;
}
#stara-baska p{
  color:#183242;
  padding-top: 10px;
}
#stara-baska h2{
  font-size: 22px;
}
#stara-baska h2::after {
   background: none repeat scroll 0 0 #F3C677;
   bottom: -10px;
   content: "";
   display: block;
   height: 3px;
   position: relative;
   width: 70px;
}
.stara-baska-dio{
  padding:1.5em 1em;
  margin-bottom: 1em;
}
.stara-baska-text-wrapper{
  padding-bottom: 1.5em;
  max-width: 700px;
  margin:auto;
}
.stara-baska-slika-wrapper{
  display:flex;
  justify-content: center;
}
.baska-slika{
  width: 100%;
  max-width: 700px;
  border-radius: 10px;
  min-height: 200px;
  height: max-content;
  aspect-ratio: 16 / 9;
  box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}
/****END_STARA_BASKA****/

/****EXPLORE****/
.explore{
  padding:0 calc(10px + 1.5vw);
}
.explore-card-wrapper{
  max-width: 700px;
  margin:0 auto;
}
.explore-card{
  margin-bottom: 70px;
  border-radius: 10px;
  box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 1px, rgba(0, 0, 0, 0.07) 0px 2px 2px, rgba(0, 0, 0, 0.07) 0px 4px 4px, rgba(0, 0, 0, 0.07) 0px 8px 8px, rgba(0, 0, 0, 0.07) 0px 16px 16px;
}
.explore-card img{
  display:flex;
  width:100%;
  max-height:350px;
  border-top-left-radius: 10px;
  border-top-right-radius:10px;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}
.explore-card-text{
  padding: 0 15px 20px;
}
.explore h2{
  font-size: 21px;
  max-width: 700px;
  margin: 0 auto;
}
.explore h3{
  color: #335468;
  margin-top:18px;
  font-size: 19px;
}
.explore p{
  color: #335468;
  margin: 10px auto 40px;
  max-width: 700px;

}
/****END_EXPLORE****/

/****PARALAX****/
.paralax{
  position: relative;
  background: url("img/para-img.jpg");
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  display:flex;
  justify-content: center;
  align-items: center;
}
.paralax::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.3);
}
.paralax-text{
  display: flex;
  text-align: center;
  padding:100px 20px;
}
.paralax-text p{
 font-size: 35px;
 font-family: 'Great Vibes', cursive;
 z-index: 1;
 text-shadow: 1px 1px #1a1a1a;
}
/****END-PARALAX****/

/****BEACHES****/
#beaches {
  padding:3em calc(10px + 1.5vw) 0.1em;
}
#beaches h2{
  max-width: 720px;
  margin:auto;
  padding:0 16px;
  color:#183242;
  font-size: 22px;
  text-align: center;
}
.beach-wrapper {
  max-width: 700px;
  margin: 3em auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.beach-item {
  border-radius: 10px;
  width:100%;
  margin:0 0 70px;
  box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 1px, rgba(0, 0, 0, 0.07) 0px 2px 2px, rgba(0, 0, 0, 0.07) 0px 4px 4px, rgba(0, 0, 0, 0.07) 0px 8px 8px, rgba(0, 0, 0, 0.07) 0px 16px 16px;
}
.beach-img-sm {
  width:100%;
  max-height:350px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  object-fit: cover;
}
.beach-text{
  margin: 0 0 25px 15px;
}
.beach-text h3{
  color:#335468;
  margin: 20px 0 10px;
  font-size: 19px;
}
.beach-text p{
  color:#335468;
  line-height: 1.7;
}
.beach-info{
  color:#335468;
  font-weight: 600;
  font-size: 14.5px;
}
/****END-BEACHES****/

/****CONTACT****/
#contact{
  padding: 5em calc(10px + 1.5vw);
  background-color: #BDCFD9;
}
.contact-wrapper{
  width:100%;
  max-width: 700px;
  margin: 0 auto;
}
#contact h3{
  color:#183242;
  padding-bottom:5px;
  font-size: 20px;
  font-weight: 600;
}
.contact-wrapper p,
.contact-wrapper a{
  color:#183242;
}
.adresa{
  margin-bottom: 3em;
}
.mob{
  padding-bottom: 5px;
}
/****END-CONTACT****/

/****FOOTER****/
footer{
  background-color: #10222D;
  height:70px;
  padding:0 calc(10px + 1.5vw);
}
.footer-wrapper{
  width:100%;
  max-width: 700px;
  margin: 0 auto;
  height:70px;
  text-align: left;
  display:flex;
  flex-direction: column;
  justify-content: center;
}
.footer-wrapper p{
  font-size: 14px;
  line-height: 2;
}
.mail {
  color: #4ca1af;
}
.design {
  color: #4ca1af;
}
/****END-FOOTER****/

/****MEDIA****/

@media screen and (max-width:767px) {
  h1{
    max-width: 400px;
  }
  .hero-text p{
    max-width: 400px;
  }
}
@media screen and (max-width:1023px) {
  body {
    overflow-x: hidden;
  }
  .nav-links {
    position: absolute;
    right: 0px;
    top: 65px;
    height: 100vh;
    background-color: #10222D;
    display: flex;
    flex-direction: column;
    width: 70%;
    transform: translateX(100%);
    padding-top: 50px;
  }
  .nav-links li{
    margin-bottom: 30px;
    padding: 0 0 10px 10px;
    border-bottom: 1px solid #44667B;
  }
  .nav-links a{
    padding: 10px 35px 10px 20px;
  }
  .burger {
    display: block;
  }
  .nav-active {
    transform: translateX(0%);
    transition: transform 500ms ease-in;
  }
}
@media screen and (min-width:769px) {
  h1{
    font-size: 35px;
  }
  .apartment-description{
    margin-top: 30px;
    flex-direction: row;
    justify-content: space-between;
  }
  .included{
    justify-content: space-between;
  }
  .included-card{
    width:45%;
  }
  .explore-card-wrapper{
    display:flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .explore-card{
    width:47%;
  }
  .beach-wrapper{
    justify-content: space-between;
  }
  .beach-item{
    width:47%;
    margin:0 0 60px;
  }
  .contact-wrapper{
    display:flex;
    flex-direction: row;
  }
  .contact{
    margin-left: 100px;
  }
  .adresa{
    margin:0;
  }
  .footer-wrapper{
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
  }
  .drugi-p{
    margin-left: 65px;
  }
}
@media screen and (min-width:1024px) {
  .nav{
    padding: 0 calc(30px + 1.5vw);
    height:80px;
  }
  .nav-container{
    max-width: 1300px;
    height:80px;
  }
  .logo{
    font-size: 30px;
  }
  .nav-links{
    width:450px;
    justify-content: space-between;
  }
  h1{
    font-size: 40px;
  }
  .hero-text p{
    font-size: 20px;
  }
  .cta1{
    font-size: 15px;
    letter-spacing: 2px;
    padding:1em 2.2em;
  }
  .cta1:hover{
    letter-spacing: 4px;
  }
  .about-text-wrapper{
    padding: 0 calc(30px + 1.5vw) ;
    max-width: 1300px;
    margin:0 auto;
  }
  .about-text{
    max-width: 1300px;
    text-align: center;
  }
  .about-text h2{
    font-size: 25px;
    max-width: 750px;
  }
  .about-text p{
    max-width: 750px;
    font-size: 16px;
  }
  #apartment{
    padding:70px calc(30px + 1.5vw) 40px;
  }
  #apartment h2{
    font-size: 25px;
  }
  .apartment-description{
    flex-direction: column;
  }
  .apartment-info-wrapper{
    flex-direction: row;
    justify-content: space-between;
    max-width: 1300px;
  }
  .apartment-gallery{
    width:50%;
    margin-top: 20px;
  }
  .included-wrapper{
    padding: 70px calc(30px + 1.5vw);
  }
  .included {
    max-width: 1300px;
  }
  .included-card{
    width:22%;
    margin:0;
  }
  .fa-2x{
    font-size: 45px;
  }
  .card-img-wrapper{
    justify-content: flex-start;
  }
  .card-text{
    text-align: left;
  }
  #stara-baska{
    padding:60px calc(30px + 1.5vw) 30px;
  }
  #stara-baska h2{
    font-size: 25px;
  }
  #stara-baska p{
    font-size: 16px;
  }
  .stara-baska-dio{
    display:flex;
    flex-direction: row;
    justify-content: space-between;
    max-width: 1300px;
    margin: 0 auto;
    padding:40px 0;
  }
  .stara-baska-text-wrapper{
    width:47%;
    margin:0;
  }
  .stara-baska-slika-wrapper{
    width:50%;
  }
  .obrnuto{
    order:1;
  }
  .explore h2{
    font-size: 25px;
    text-align: center;
  }
  .explore p{
    text-align: center;
    font-size: 16px;
    margin:10px auto 60px;
  }
  .explore {
    padding: 50px calc(30px + 1.5vw) 30px;
  }
  .explore-card-wrapper{
    max-width: 1300px;
  }
  .explore-card{
    width:30%;
    margin-bottom: 60px;
  }
  .paralax-text{
    padding:150px 30px;
  }
  .paralax-text p{
    font-size: 45px;
  }
  #beaches{
    padding: 60px calc(30px + 1.5vw) 0;
  }
  #beaches h2{
    font-size: 25px;
  }
  .beach-wrapper {
    max-width: 1300px;
    margin: 50px auto 30px;
  }
  .beach-item{
    width:30%;
  }
  .contact-wrapper{
    justify-content: space-between;
  }
}
@media screen and (min-width:1440px) {
  .logo{
    font-size: 35px;
  }
  .hero{
    background-attachment: fixed;
  }
  h1{
    font-size: 60px;
    font-weight: 500;
  }
  .hero-text p{
    font-size: 25px;
  }
  .about-text h2{
    font-size: 35px;
    line-height: 1.4;
    max-width: 900px;
  }
  .about-text p{
    max-width: 800px;
  }
  #apartment h2{
    font-size: 35px;
  }
  .included-card{
    width:21%;
  }
  #stara-baska h2{
    font-size: 30px;
  }
  .paralax-text p{
    font-size: 50px;
  }
  .explore h2{
    font-size: 35px;
  }
  #beaches h2{
    font-size: 30px;
  }
  #contact h3{
    font-size: 22px;
  }
}
/****END-MEDIA****/

/****KEYFRAMES****/
@keyframes hero {
  from {
    opacity:0;
  }
  to {
    opacity:1;
  }
}
@keyframes btns {
  from{
    transform:translateY(30px);
    opacity:0;
  }
  to{
    transform:translateY(0px);
    opacity:1;
  }
}
