/*************************************************************************** */
/**   Author: Josip Vinković (https://www.linkedin.com/in/josipvinkovic)  ** */
/**   Company: Altoden (https://www.altoden.hr)                           ** */
/*************************************************************************** */

/* #region introduction */

.introduction {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
}

.introduction .title-group {
  margin-top: 30px;
}

.introduction .title-group h1 {
  font-size: calc(20px + 4.1vw);
  font-family: "Basier-Square-Bold";
}

.introduction .main-text p {
  width: 38.5vw;
  margin-left: 9.7vw;
  text-align: left;
  font-size: 20px;
  line-height: 30px;
}

.introduction .image {
  width: 48.6vw;
  margin-left: 2.7vw;
  height: 30vw;
  min-height: 400px;
  display: inline-block;
  background: url("../img/experiences/beach.png") no-repeat;
  background-position: center;
  background-size: cover;
}

.introduction-desktop {
  display: flex;
}

.introduction-mobile {
  display: none;
}

/* for mobile/tablet */
@media screen and (max-width: 880px) {
  .introduction-desktop {
    display: none;
  }

  .introduction-mobile {
    display: flex;
  }

  .introduction {
    margin-top: 2vw;
    flex-wrap: wrap;
  }

  .introduction .title-group {
    margin-top: 2vw;
  }

  .introduction .title-group h1 {
    font-size: 32px;
    line-height: 38px;
  }

  .introduction p {
    width: 87.5vw;
    margin: 6.25vw 0;
    padding-left: 6.25vw;
    padding-right: 6.25vw;
    text-align: left;
    font-size: 14px;
    line-height: 24px;
  }

  .introduction .image {
    width: 100vw;
    margin-left: 0;
    height: 80vw;
  }
}

/* #endregion */
/* #region experiences */

.experiences .title-group {
  margin: 6.9vw 0 -3.42vw 9.7vw;
}

.experiences .tilda {
  width: 3vw;
  height: 1.25vw;
  margin-left: -1.45vw;
  background: url("../img/icons/tilde.png");
  background-repeat: no-repeat;
  background-size: contain;
}

.experiences-list {
  margin-left: 9.7vw;
  margin-right: 9.7vw;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-content: center;
  align-items: stretch;
}

.experience-item {
  margin-top: 10.4vw;
  width: 25vw;
  min-width: 280px;
}

.experience-item .image {
  height: 23.8vw;
  min-height: 238px;
  background-size: cover;
}

.experience-item h1 {
  margin-top: 2.84vw;
  margin-bottom: 1.38vw;
  font-size: 30px;
  font-family: "Basier-Square-Bold";
  line-height: 37px;
}

.experience-item p {
  font-size: 15px;
  line-height: 27px;
  min-height: 265px;
}

.windsurf {
  background: url("../img/experiences/windsurf.jpg") no-repeat center;
}

.sailing {
  background: url("../img/experiences/sailing.jpg") no-repeat center;
}

.gastronomy {
  background: url("../img/experiences/food.png") no-repeat center;
}

.bike {
  background: url("../img/experiences/bike.png") no-repeat center;
}

.sightseeing {
  background: url("../img/experiences/building1.png") no-repeat center;
}

.kayak {
  background: url("../img/experiences/kayak.jpg") no-repeat center;
}

.speedboat {
  background: url("../img/experiences/speedboat.jpg") no-repeat center;
}

.climbing {
  background: url("../img/experiences/climbing.png") no-repeat center;
}

.dolphins {
  background: url("../img/experiences/dolphins.jpg") no-repeat center;
}

/* for mobile/tablet */
@media screen and (max-width: 880px) {
  .experiences-list {
    margin-left: 0;
    margin-right: 0;
  }

  .experience-item {
    margin-top: 10.4vw;
    width: 100vw;
    min-width: 200px;
    margin-bottom: 2vw;
  }

  .experience-item .image {
    height: 100vw;
    min-height: 200px;
  }

  .experience-item h1 {
    padding-left: 6.25vw;
    padding-right: 6.25vw;
    margin-top: 9.375vw;
    margin-bottom: 6.25vw;
    font-size: 20px;
    line-height: 24px;
  }

  .experience-item p {
    font-size: 14px;
    line-height: 24px;
    min-height: 0;
    padding-left: 6.25vw;
    padding-right: 6.25vw;
  }
}

/* #endregion */
