/*****************************************************/
/******************** HOME SLIDER ********************/
/*****************************************************/

#home-slider-wrap {
  position: relative;
  width: 100%;
  overflow-x: hidden;
}

#home-slider-window {
  overflow-x: hidden;
  position: relative;
}

#home-slider {
  position: relative;
  top: 0;
}

.home-slide {
  height: 300px;
  cursor: grab;
  float: left;
  display: flex;
  flex-direction: column;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.home-slide:active {
  cursor: grabbing;
}

.home-slide-content-wrap {
  padding: 30px 0 0 0;
}

.home-slide-content-wrap.promotion {
  padding: 0 !important;
}

.home-slide-content-wrap.promotion a {
  display: block;
  width: 100%;
  height: 300px;
}

.home-slide-title,
.home-slide-content {
  width: max-content;
  max-width: 100%;
  padding: 5px;
  background-color: #ffffff;
  opacity: 0;
}

.home-slide-title a {
  font-size: 3rem;
  line-height: 2.5rem;
  font-weight: 900;
  text-decoration: none;
  color: #a21a3f;
  cursor: pointer;
  transition: all 0.3s ease-out;
}

.home-slide-title a:hover {
  color: #1a9da2;
}

.home-slide-content {
  margin: 5px 0 0 15px;
  max-width: 75%;
}

.home-slide.active .home-slide-title,
.home-slide.active .home-slide-content {
  opacity: 1;
  animation: 1s slidein reverse;
}

@keyframes slidein {
  0% {
    opacity: 1;
    transform: translateX(0px);
  }
  100% {
    opacity: 0;
    transform: translateX(-100%);
  }
}

.home-slide-transition {
  transition: all 0.7s ease-out;
}

#home-slider-nav {
  position: absolute;
  display: flex;
  bottom: 15px;
  right: 25px;
}

#home-slider-btn {
  display: flex;
}

#home-slider-nav button {
  width: 45px;
  height: 30px;
  border: none;
  transform: skewX(-30deg);
  background-color: #1a9da2;
  cursor: pointer;
  transition: all 0.3s ease-out;
}

#home-slider-nav button img {
  transform: skewX(30deg);
  height: 80%;
  margin: 0 auto;
}

#home-slider-next {
  margin: 0 0 0 10px;
}

#home-slider-bullets {
  display: none;
}

#home-slider-bullets li {
  transition: all 0.3s ease-out;
}

#home-slider-nav button:hover,
#home-slider-bullets li:hover {
  background-color: #10676a !important;
}

@media (min-width: 600px) {
  .home-slide-title,
  .home-slide-content {
    padding: 15px;
  }

  .home-slide-content {
    margin: 5px 0 0 30px;
  }

  .home-slide-title a {
    font-size: 6rem;
    line-height: 5rem;
  }
}

@media (min-width: 900px) {
  .home-slide,
  .home-slide-content-wrap.promotion a {
    height: 600px;
  }

  .home-slide-content-wrap {
    padding: 60px 0 0 0;
  }

  .home-slide-title a {
    font-size: 8rem;
    line-height: 6.75rem;
  }

  .home-slide-content {
    margin: 5px 0 0 60px;
    font-size: 1.75rem;
    line-height: 1.75rem;
  }

  #home-slider-nav {
    right: 25px;
    bottom: 15px;
  }

  #home-slider-bullets {
    display: flex;
    align-items: flex-end;
    margin: 0 10px 0 0;
  }

  #home-slider-bullets li {
    width: 30px;
    height: 10px;
    margin: 0 10px 0 0;
    transform: skewX(-30deg);
    transition: all 0.3s ease-out;
    background-color: #ffffff;
    cursor: pointer;
  }

  #home-slider-bullets li.active {
    background-color: #1a9da2;
  }
}

@media (min-width: 1200px) {
  .home-slide,
  .home-slide-content-wrap.promotion a {
    height: 800px;
  }

  .home-slide-content-wrap {
    padding: 120px 0 0 0;
  }

  .home-slide-content {
    margin: 5px 0 0 120px;
  }

  #home-slider-nav {
    right: 40px;
    bottom: 30px;
  }

  #home-slider-bullets {
    margin: 0 5px 0 0;
  }
}

/*****************************************************/
/********************** HOME PAGE ********************/
/*****************************************************/

#home-title {
  overflow: hidden;
  height: 0;
  width: 0;
}

#home-content {
  width: calc(100% - 30px);
  margin: 0 auto;
}

div.home-presentation-odd,
div.home-presentation-even {
  margin: 30px 0 0 0;
  position: relative;
}

.home-presentation {
  display: flex;
  flex-wrap: wrap;
}

.home-presentation-title h2 {
  font-size: 8.5rem;
  line-height: 7.5rem;
  font-weight: 900;
}

.home-presentation-title h2 a {
  color: #a21a3f;
  text-decoration: none;
  transition: all 0.3s ease-out;
}

.home-presentation-title h2 a:hover {
  color: #1a9da2;
}

.home-presentation-title p {
  margin: 15px 0 0 0;
}

.home-presentation-img {
  position: relative;
  width: calc(50% - 7.5px);
}

.home-presentation-name {
  position: absolute;
  bottom: 15px;
  left: 15px;
  font-weight: 400;
  color: #ffffff;
}

.home-presentation div:nth-child(2) {
  width: 100%;
  margin: 15px 0 15px 0;
}

.home-presentation div:nth-child(3) {
  margin: 0;
}

.home-presentation div:nth-child(4) {
  margin: 0 0 0 15px;
}

.home-category-link {
  position: absolute;
  bottom: calc(100vw - 72.5px);
  right: 0;
  width: 100px;
  height: 100px;
  background-color: #1a9da2;
  text-align: center;
  transition: all 0.3s ease-out;
}

.home-category-link a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  line-height: 100px;
  color: #fff;
  background-image: url(../img/discover.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 110%;
}

#home-catalog {
  width: 100%;
  margin: 30px 0 0 0;
  padding: 30px;
  background-color: #1a9da2;
}

#home-catalog-content {
  color: #ffffff;
  text-decoration: none;
}

#home-catalog-img {
  position: relative;
}

#home-catalog-img li {
  width: 100%;
}

#home-catalog-img li img {
  width: 47.5%;
  height: 100%;
  transform: rotate(10deg);
  transform-origin: bottom left;
  box-shadow: 7px 7px 14px 0 rgba(0, 0, 0, 0.25);
}

#home-catalog-img li:nth-child(2) {
  position: absolute;
  top: 0;
  left: 0;
}

#home-catalog-img li:nth-child(2) img {
  transform: rotate(-15deg);
  transform-origin: bottom left;
  margin: 0 0 0 auto;
}

#home-catalog-img li:nth-child(3),
#home-catalog-img li:nth-child(4) {
  display: none;
}

#home-catalog-desc {
  padding: 30px 0 0 0;
}

#home-catalog-desc a {
  cursor: pointer;
}

#home-catalog-desc h2 {
  font-size: 5.5rem;
  line-height: 4.5rem;
  font-weight: 900;
  color: #ffffff;
}

#home-catalog-desc p {
  margin: 15px 0 0 0;
}

#home-agency-container {
  width: 100%;
  margin: 30px 0 0 0;
  background-image: url(../img/home_agency_small.webp);
}

#home-agency {
  width: 100%;
  padding: 30px;
  background-color: rgba(0, 0, 0, 0.5);
}

#home-agency-title {
  width: 100%;
}

#home-agency-title h2 {
  font-size: 5.5rem;
  line-height: 4.5rem;
  font-weight: 900;
}

#home-agency-title h2 a {
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease-out;
}

#home-agency-title h2 a:hover {
  color: #1a9da2;
}

#home-agency-title p {
  margin: 15px 0 0 0;
  color: #ffffff;
}

#home-agency-link {
  position: relative;
  margin: 30px 0 0 0;
  padding: 10px;
  text-align: center;
  border-radius: 35px;
  background-color: #ffffff;
  transition: all 0.3s ease-out;
}

#home-agency-link a {
  font-size: 2.5rem;
  line-height: 2.5rem;
  font-weight: 700;
  text-decoration: none;
  color: #1a9da2;
}

@media (min-width: 600px) {
  .home-presentation {
    position: relative;
  }

  .home-presentation-img {
    width: calc(33% - 7.5px);
    order: 1;
  }

  .home-presentation-name {
    top: 15px;
    bottom: unset;
    left: 15px;
  }

  .home-presentation div:nth-child(2) {
    width: calc(67% - 7.5px);
    margin: 15px 0 0 15px;
    order: 2;
  }

  .home-presentation div:nth-child(3) {
    margin: 15px 0 0 0;
  }

  .home-presentation div:nth-child(4) {
    margin: 0;
    position: absolute;
    bottom: 0;
    left: 0;
  }

  .home-category-link {
    bottom: calc(33.5vw - 63.5px);
  }

  div.home-presentation-odd .home-presentation div:nth-child(2) {
    margin: 15px 15px 0 0;
    order: 1;
  }

  div.home-presentation-odd .home-presentation div:nth-child(3) {
    margin: 15px 0 0 0;
    order: 2;
  }

  div.home-presentation-odd .home-presentation div:nth-child(4) {
    left: unset;
    right: 0;
  }

  div.home-presentation-odd .home-presentation-name {
    left: unset;
    right: 15px;
  }

  div.home-presentation-odd .home-category-link {
    right: unset;
    left: 0;
  }

  #home-catalog-img li img {
    width: 30%;
  }

  #home-catalog-img li:nth-child(2) img {
    margin: 0 0 0 35%;
  }

  #home-catalog-img li:nth-child(3),
  #home-catalog-img li:nth-child(4) {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
  }

  #home-catalog-img li:nth-child(3) img {
    transform: rotate(5deg);
    transform-origin: bottom left;
    margin: 0 0 0 45%;
  }

  #home-catalog-img li:nth-child(4) img {
    transform: rotate(-3.5deg);
    transform-origin: bottom left;
    margin: 0 0 0 auto;
  }

  #home-catalog-desc {
    max-width: 475px;
    margin: 0 auto;
  }

  #home-catalog-desc h2 {
    font-size: 6.5rem;
    line-height: 5.5rem;
  }

  #home-agency-container {
    background-image: url(../img/home_agency_medium.webp);
  }

  #home-agency {
    display: flex;
    flex-wrap: wrap;
    padding: 60px;
  }

  #home-agency-title {
    width: calc(100% - 260px);
    margin: 0 60px 0 0;
  }

  #home-agency-title h2 {
    font-size: 6.5rem;
    line-height: 5.5rem;
  }

  #home-agency-link {
    margin: 0;
    padding: 0;
    width: 200px;
    min-height: 225px;
    border-radius: 0;
    background-color: #1a9da2;
  }

  #home-agency-link a {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 3.5rem;
    line-height: 4.5rem;
    height: 100%;
    padding: 15px 0 0 0;
    color: #ffffff;
    background-image: url(../img/location_rth.svg);
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: 80%;
  }
}

@media (min-width: 900px) {
  #home-content {
    margin: 60px auto 0;
  }

  .home-presentation-title {
    width: 57%;
  }

  .home-presentation-title h2 {
    font-size: 6.5rem;
    line-height: 5rem;
  }

  .home-presentation-title p {
    font-size: 1.35vw;
    line-height: 1.85vw;
  }

  .home-presentation-img {
    width: calc(28.5% - 7.5px);
  }

  .home-presentation div:nth-child(2) {
    width: calc(43% - 15px);
    margin: 0 0 0 15px;
  }

  .home-presentation div:nth-child(3) {
    position: absolute;
    bottom: 0;
    left: 0;
  }

  .home-presentation div:nth-child(4) {
    position: absolute;
    bottom: 0;
    left: calc(28.5% + 7.5px);
  }

  .home-presentation-name {
    top: unset;
    bottom: 15px;
  }

  .home-category-link {
    bottom: calc(50% - 50px);
  }

  div.home-presentation-even,
  div.home-presentation-odd {
    margin: 60px 0 0 0;
  }

  div.home-presentation-odd .home-presentation-title {
    margin: 0 0 0 15px;
    order: 2;
  }

  div.home-presentation-odd .home-presentation div:nth-child(2) {
    order: 1;
    margin: 0;
  }

  div.home-presentation-odd .home-presentation div:nth-child(3) {
    order: 3;
    right: calc(28.5% + 7.5px);
    left: unset;
  }

  div.home-presentation-odd .home-presentation div:nth-child(4) {
    right: 0;
    left: unset;
  }

  #home-catalog {
    margin: 60px 0 0 0;
  }

  #home-catalog-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }

  #home-catalog-img {
    width: 55%;
  }

  #home-catalog-img li img {
    width: 40%;
  }

  #home-catalog-img li:nth-child(3) img {
    margin: 0 0 0 50%;
  }

  #home-catalog-img li:nth-child(4) {
    display: none;
  }

  #home-catalog-desc {
    width: 45%;
    max-width: unset;
    padding: 0;
  }

  #home-catalog-desc p {
    font-size: 1.35vw;
    line-height: 1.85vw;
  }

  #home-agency-container {
    margin: 60px 0 0 0;
  }

  #home-agency {
    padding: 120px;
  }

  #home-agency-title {
    width: calc(100% - 320px);
    margin: 0 120px 0 0;
  }

  #home-agency-title p {
    font-size: 1.35vw;
    line-height: 1.85vw;
  }

  #home-agency-link a {
    font-size: 2.5rem;
    line-height: 2.5rem;
  }
}

@media (min-width: 1200px) {
  #home-content {
    width: calc(100% - 240px);
    margin: 120px auto 0;
  }

  .home-presentation-title h2 {
    font-size: 5.5vw;
    line-height: 4.5vw;
  }

  .home-presentation-title p {
    margin: 15px 0 0 0;
    font-size: 1vw;
    line-height: 1.5vw;
  }

  .home-presentation {
    width: 90%;
  }

  div.home-presentation-even,
  div.home-presentation-odd {
    margin: 120px 0 0 0;
  }

  .home-presentation-name,
  div.home-presentation-odd .home-presentation-name {
    width: 100%;
    top: unset;
    bottom: unset;
    left: unset;
    right: unset;
    font-size: 2.15vw;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
  }

  .home-category-link {
    width: 150px;
    height: 150px;
    bottom: calc(50% - 75px);
    left: calc(90% - 75px);
  }

  .home-category-link a {
    font-size: 2rem;
    line-height: 150px;
    background-size: unset;
  }

  div.home-presentation-odd .home-presentation {
    margin: 0 0 0 10%;
  }

  div.home-presentation-odd .home-category-link {
    right: calc(90% - 75px);
    left: unset;
  }

  #home-catalog {
    position: relative;
    width: 80%;
    margin: 120px auto 0;
    cursor: pointer;
  }

  #home-catalog-desc {
    z-index: 1;
  }

  #home-catalog-desc h2 {
    font-size: 5.5vw;
    line-height: 4.5vw;
  }

  #home-catalog-desc p {
    margin: 60px 0 0 0;
    font-size: 1vw;
    line-height: 1.5vw;
  }

  #home-agency-container {
    margin: 120px 0 0 0;
    background-image: url(../img/home_agency.webp);
  }

  #home-agency {
    padding: 10%;
  }

  #home-agency-title h2 {
    font-size: 5.5vw;
    line-height: 4.5vw;
  }

  #home-agency-title p {
    font-size: 1vw;
    line-height: 1.5vw;
  }

  #home-agency-link:hover {
    background-color: #1a9da2;
  }
}
