@import "var.colors";
@import "var.globals";
@import "var.responsive";
@import "var.typo";

@import "mix.responsive";

@import "base.globals";

@import "plugin.icomoon";

@import "utils.fontscale";
@import "utils.spacing";
@import "utils.text";
@import "utils.flex";
@import "utils.animations";

@import "mod.button";
@import "mod.table";
@import "mod.form-item";
@import "mod.input";
@import "mod.overlay";

@import "comp.header";
@import "comp.hero";
@import "comp.section";
@import "comp.footer";
@import "comp.gdpr";

ul {
  margin-left: 20px;
}

.width-full {
  width: 100%;
}
.height-full {
  height: 100%;
}

.content-lg {
  max-width: 725px;
}
.content-xl {
  max-width: 850px;
}
.content-xxl {
  max-width: 1100px;
}
.content-xxxl {
  max-width: 1300px;
}

.img-md {
  width: 38%;
}

.home-first-section {
  min-height: 80vh;
  .img-md {
    min-height: 65vh;
    object-fit: cover;
  }
}
.bg-right {
  position: absolute;
  height: 100%;
  background-color: $secondary-color;
  width: 0%;
  right: 0;
  top: 0;
  opacity: 0;
  z-index: -1;
  transition: all 1s ease-out;
}
.bg-right.in-viewport {
  width: 25%;
  opacity: 1;
}

.box-svg {
  height: 80px;
  width: 80px;
  transition: all 0.4s;
}

.pos-rel {
  position: relative;
}
.pos-abs {
  position: absolute;
}

.bg-circle-left {
  position: absolute;
  background-color: $secondary-color;
  border-top-right-radius: 100%;
  top: 0;
  left: -8%;
  height: 100%;
  width: 40%;
  z-index: -1;
}

.box-with-radius {
  flex: 1;
  background-color: #fff;
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  height: 100%;
  transition: all 0.4s;
  .btn--primary {
    background-color: #fff;
    transition: all 0.4s;
    transform: translateX(-10px);
    opacity: 0;
    position: relative;
    left: -25px;
  }
  .btn--plus {
    transition: all 0.35s;
    transform: translateX(0);
    opacity: 1;
  }
  &:hover {
    transform: scale(1.01);
    box-shadow: 4px 4px 24px #3b4d67;
    .btn--primary {
      transform: translateX(0);
      opacity: 1;
    }
    .btn--plus {
      transform: translateX(15px) scale(0);
      opacity: 0;
      color: #fff;
    }
  }
}

.box-with-radius-light {
  flex: 1;
  background-color: #fff;
  border-radius: 30px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.4s;
  &:hover {
    transform: scale(1.01);
    box-shadow: 4px 4px 24px #eee;
    .icon-plus {
      transform: rotate(90deg);
    }
    .box-svg {
      transform: scale(0.8);
    }
  }
}

.row-info {
  flex-direction: column;
  justify-content: space-between;
  padding: 18px 2%;
  border-bottom: 1px solid #eee;
  transition: all 0.4s;

  .arrow-to-right {
    margin-left: 5%;
  }

  &:first-child {
    border-top: 1px solid #eee;
  }
  .date {
    padding-right: 20px;
  }
  &:hover {
    cursor: pointer;
    color: #fff;
    background-color: $secondary-color;
    .arrow-line-1,
    .arrow-line-2 {
      background-color: #fff;
      height: 2px;
    }
  }

  .category {
    padding-right: 10%;
    line-height: 1.5;
  }
}

//arrows
.arrow-to-right {
  height: 20px;
  width: 14px;
  position: relative;
  .arrow-line-1,
  .arrow-line-2 {
    width: 100%;
    height: 1px;
    background-color: #000;
    position: absolute;
    transition: all 0.4s;
  }
  .arrow-line-1 {
    transform: rotate(50deg);
    top: 9px;
  }
  .arrow-line-2 {
    transform: rotate(-50deg);
    bottom: 0;
  }
}

.arrow-to-left {
  height: 20px;
  width: 14px;
  position: relative;
  .arrow-line-1,
  .arrow-line-2 {
    width: 100%;
    height: 1px;
    background-color: #000;
    position: absolute;
    transition: all 0.4s;
  }
  .arrow-line-1 {
    transform: rotate(-50deg);
    top: 9px;
  }
  .arrow-line-2 {
    transform: rotate(50deg);
    bottom: 0;
  }
}

.arrow-down {
  position: relative;
  height: 14px;
  width: 8px;
  margin-left: 7px;
  transition: all 0.2s;
  .arrow-line-1,
  .arrow-line-2 {
    width: 100%;
    height: 1px;
    background-color: #000;
    bottom: 0px;
    position: absolute;
    transition: all 0.2s ease;
  }
  .arrow-line-1 {
    transform: rotate(40deg);
    left: -6px;
  }
  .arrow-line-2 {
    transform: rotate(-40deg);
  }
}

.icon-plus {
  position: relative;
  height: 20px;
  width: 20px;
  transition: all 0.4s ease-out;
  .line-1,
  .line-2 {
    width: 100%;
    height: 2px;
    // background-color: #000;
    top: 50%;
    position: absolute;
    transition: all 0.2s ease;
  }
  .line-2 {
    transform: rotate(90deg);
  }
}

//arrows end

.page-left-half {
  width: 75%;
}

.side-menu {
  width: 20%;
  margin-top: -120px;
  padding-top: 160px;
  padding-left: 4%;
  padding-right: 2%;
  background-color: $secondary-color;
  color: rgba(#fff, 0.5);
  transition: all 1s ease-out;
  a:hover {
    color: white;
  }
  .nuxt-link-active {
    color: white;
  }
}
.side-menu.in-viewport {
  width: 25%;
}

.side-menu-logo {
  @media (max-width: 1400px) {
    height: 45px;
    width: 50px;
    padding-right: 7px;
  }

  @media (max-width: 1200px) {
    height: 45px;
    width: 50px;
    padding-right: 15px;
  }
}

.side-menu-item {
  @media (max-width: 1200px) {
    align-items: center;
  }
}

.b-radius {
  border-radius: 30px;
}

.img-map {
  width: 100%;
  height: auto;
}

.txt-link {
  color: $secondary-color;
  &:hover {
    color: #2a73da;
  }
}

.hok-logo {
  width: 25%;
  max-width: 200px;
  min-width: 70px;
  object-fit: contain;
}

.from-bottom-opacity {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease-out;
}
.from-bottom-opacity.in-viewport {
  opacity: 1;
  transform: translateY(0);
}

.from-left {
  transform: translateX(-50px);
  transition: all 1s ease-out;
}
.from-left.in-viewport {
  transform: translateX(0);
}

.anim-opacity {
  opacity: 0;
  transition: all 1.5s ease-out;
}
.anim-opacity.in-viewport {
  opacity: 1;
}

//wp
.rendered {
  p {
    padding-top: 5px;
    padding-bottom: 8px;
  }
  a {
    color: $secondary-color;
    transition: all 0.25s;
    &:hover {
      text-decoration: underline;
    }
  }
}
.wp-block-image {
  width: 100%;
  padding: 20px 0;
  img {
    width: 100%;
    max-height: 700px;
    object-fit: contain;
    object-position: left;
  }
}

@media (max-width: 1600px) {
  .page-contact {
    .side-menu {
      padding-left: 2%;
      padding-right: 1%;
    }
  }
}

@media (max-width: 1400px) {
  .bg-right {
    width: 22%;
  }
  .side-menu {
    width: 22%;
  }
  .page-contact {
    .side-menu {
      width: 22%;
      padding-top: 145px;
    }
  }
  .side-menu-row {
    flex-direction: column;
  }
  .side-menu-item {
    display: flex;
  }
}

@media (max-width: 1300px) {
  .page-left-half {
    padding-top: 20px;
  }
  .side-menu {
    margin-top: 0;
    padding-top: 80px;
    padding-left: 3%;
  }
  .home-first-section .img-md {
    min-height: 300px;
  }
  .page-contact {
    flex-direction: column;
    .side-menu {
      width: 100%;
      display: flex;
      justify-content: space-between;
      padding: 20px 6% 100px 6%;
    }
    .page-left-half {
      width: 100%;
    }
  }
  .two-col-1 {
    flex-direction: column-reverse;
    img {
      margin: 0;
    }
  }
  .two-col-2 {
    flex-direction: column;
    img {
      margin: 0;
    }
  }
}

@media (max-width: 1000px) {
  .side-menu {
    display: none;
  }
  .bg-right {
    display: none;
  }
  .home-first-section {
    flex-direction: column;
    align-items: flex-start;
  }
  .page-left-half {
    width: 100%;
  }
  .img-md {
    width: 35%;
  }
}

@media (max-width: 800px) {
  .img-md {
    width: 60%;
  }
  .home-first-section {
    justify-content: flex-start;
  }
  .wrap-3-cols {
    flex-direction: column;
  }
  .wrap-50 {
    flex-direction: column;
  }
  .img-map {
    min-height: 400px;
    object-fit: cover;
  }
}

@media (max-width: 600px) {
  .arrow-to-right {
    margin-top: -4px;
  }
  .two-col-2 img {
    max-height: 500px;
  }
  .home-first-section .img-md {
    height: 280px;
    min-height: 250px;
    object-position: top;
    width: 100%;
  }
  .box-with-radius-light {
    box-shadow: 0px 0px 0px 1px #f1f1f1;
    margin: 10px 0;
  }
}
