@import url(fonts.css);
@import url(stars.css);
@import url(clouds.css);
@import url(skeleton.css);

:root {
  --primary-color: #ffffff;
  --secondary-color: #747c83;
  --cs-dark: rgba(5, 0, 56, 1);
  --cs-medium: rgba(24, 13, 133, 1);
  --cs-light: rgba(15, 107, 208, 1);

  --bg-primary: #f9f9f9;
  --bg-secondary: #f9f9f9;
  --bg-overlay: rgba(32, 35, 45, 0.8);

  --border-overlay: 1px solid #15171e;

  --font-family: 'Space Grotesk', sans-serif;
  --font-family-mono: 'Space Mono', monospace;
  --font-size: 1rem;

  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-bold: 700;

  --line-height: 1.5em;

  --font-size-h1: 2.5rem;
  --font-weight-h1: var(--font-weight-bold);

  --font-size-h2: 2rem;
  --margin-bottom-h2: 1.5rem;
  --font-weight-h2: var(--font-weight-medium);

  --font-size-h3: 1.875rem;
  --margin-bottom-h3: 1.25rem;
  --font-weight-h3: var(--font-weight-medium);

  --font-size-h4: 1.25rem;
  --margin-bottom-h4: 1rem;
  --font-weight-h4: var(--font-weight-medium);

  --font-size-h5: 1rem;
  --margin-bottom-h5: 0.75rem;
  --font-weight-h5: var(--font-weight-medium);

  --font-size-h6: 1rem;
  --margin-bottom-h6: 0.5rem;
  --font-weight-h6: var(--font-weight-light);

  --padding-xl: 3.25rem;
  --padding-lg: 2.625rem;
  --padding-md: 2rem;
  --padding-sm: 1rem;
  --padding-xs: 0.625rem;

  --margin-xl: 3.25rem;
  --margin-lg: 2.625rem;

}

body {
  font-family: var(--font-family), sans-serif;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background-image: url('../img/cloud-1.jpg');
  background-size: cover;
  background-attachment: fixed;
  // color: var(--primary-color);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 400;
  font-size: 100%;
  line-height: var(--line-height);
  position: absolute;
}

h1 {
  font-size: var(--font-size-h1);
  font-weight: var(--font-weight-h1);
}

h2 {
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-h2);
  margin-bottom: var(--margin-bottom-h2);
}

h3 {
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-h3);
  margin-bottom: var(--margin-bottom-h3);
}

h4 {
  font-size: var(--font-size-h4);
  font-weight: var(--font-weight-h4);
  margin-bottom: var(--margin-bottom-h4);
}

h5 {
  font-size: var(--font-size-h5);
  font-weight: var(--font-weight-h5);
  margin-bottom: var(--margin-bottom-h5);
}

h6 {
  font-size: var(--font-size-h6);
  font-weight: var(--font-weight-h6);
  margin-bottom: var(--margin-bottom-h6);
}
/* global overlay & overlay */
.global-overlay {
  position: fixed;
  top: 0;
  left: -100vw;
  height: 100%;
  overflow: visible;
  width: 100%;
}

.overlay {
  position: fixed;
  overflow: hidden;
  top: 0;
  left: -50%;
  background: var(--bg-overlay);
  width: 100%;
  height: 100%;
  -webkit-transition: all 0.5s cubic-bezier(0.7, 0, 0.3, 1);
  transition: all 0.5s cubic-bezier(0.7, 0, 0.3, 1);
  border-right: var(--border-overlay);
}

.overlay.skew-part {
  -webkit-transform: skew(-25deg, 0deg);
          transform: skew(-25deg, 0deg);
}

/* left side */
#left-side {
  position: fixed;
  left: 0;
  top: 0;
  width: 50%;
  height: 100%;
  -webkit-transition: all 0.3s cubic-bezier(0, 0, 0.58, 1);
  transition: all 0.3s cubic-bezier(0, 0, 0.58, 1);
}

#left-side .content {
  position: absolute;
  z-index: 0;
  left: 0;
  padding: 0;
  top: 50vh;
  width: 100%;
  padding: 0 10%;
  -webkit-transition: all 0.3s cubic-bezier(0, 0, 0.58, 1);
  transition: all 0.3s cubic-bezier(0, 0, 0.58, 1);
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  text-align: left;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  opacity: 1;
  visibility: visible;
  color: var(--primary-color);
}

/* brand logo */
.brand-logo {
  position: absolute;
  left: 10%;
  top: 5%;
  max-width: 250px;
}

.text-cs-dark {
  color: var(--cs-dark);
}

.btn-cs {
  background-color: var(--cs-medium);
  color: var(--primary-color);
}

.btn-outline-cs {
  /*color: var(--cs-dark);*/
}

.btn-outline-cs:hover {
  color: var(--cs-dark);
  border-color: var(--cs-dark);
  border-width: 1px;
}

.btn-cs:hover {
  background-color: var(--cs-dark);
  color: var(--primary-color);
  border-color: var(--cs-dark);
  border-width: 1px;

}

footer {
  margin-top: var(--padding-md);
  font-family: var(--font-family-mono), monospace;
  font-weight: 400;
  font-size: 14px;

}

footer h5 {
  font-family: var(--font-family-mono), monospace;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  text-transform: uppercase;
  text-align: center;
  color: #757A86;
}

#right-side {
  background: #f2f3f7;
  position: relative;
  overflow: auto;
  height: 100vh;
  direction: rtl;
  -webkit-transform: translate3d(100%, 0, 0);
  transform: translate3d(100%, 0, 0);
  top: 0;
  width: 50%;
  -webkit-transition: all 0.5s cubic-bezier(0.7, 0, 0.3, 1);
  transition: all 0.5s cubic-bezier(0.7, 0, 0.3, 1);
}

#right-side > * {
  direction: ltr;
}

.scrollbar {
  scrollbar-width: thin;
  scroll-behavior: smooth;
  scrollbar-color: var(--cs-light) transparent;
  scrollbar-gutter: stable both-edges;
}

#right-side.hide-right {
  -webkit-transform: translate3d(200%, 0, 0);
   transform: translate3d(200%, 0, 0);
}


#right-side h1, #right-side h2, #right-side h3, #right-side h4, #right-side h5, #right-side h6 {
  text-transform: uppercase;
}

#right-side .content {
  padding: 8% 10% 0;
  color: var(--secondary-color);
  direction: ltr;
}

#right-side .content .separator {
  display: block;
  height: 2px;
  background: #FFFFFF;
  width: 100%;
  margin: var(--padding-xl) 0 60px;
}

#contact-form {
  /*margin-top: var(--padding-lg);*/
}

#contact-form .form-control {
  border-radius: 0;
  height: 2.5rem;
}

#contact-form textarea.form-control {
    min-height: 150px;
}

#contact-form .btn {
  border-radius: 0;
  font-weight: var(--font-weight-bold);
}

#block-answer {
    min-height: 60px;
    margin-top: 1em;
    text-align: center;
    color: #757A86;
}

.info-contact .item-map .contact-item {
    padding: 15px 0;
    font-size: 14px;
    text-align: center;
}

/* ------------------------------------- */
/* 8. Media Queries .................... */
/* ------------------------------------- */
/* Large Devices, Wide Screens */
/* Notebook devices */
/* Medium Devices, Desktops */
@media only screen and (max-width: 1024px) {
  body {
    overflow: auto;
    background-attachment: initial;
    position: initial;

    scrollbar-width: thin;
    scroll-behavior: smooth;
    scrollbar-color: var(--cs-light) transparent;
    scrollbar-gutter: stable both-edges;
  }

  #right-side {
    overflow: hidden;
    height: 100%;
  }

  .info-contact .item-map {
    padding-inline: 0;
  }

  .overlay {
    left: 0;
    width: 100%;
    height: 100%;
  }
  .overlay.skew-part {
    -webkit-transform: skew(0deg, 0deg);
            transform: skew(0deg, 0deg);
  }
  #container {
    height: 100%;
    position: absolute;
    width: 100%;
    left: 0;
  }
  .brand-logo {
    position: relative;
    left: 50%;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
    margin: 25px 0;
  }
  .light-btn {
    padding: 0.7em 0;
    margin-right: 0;
    float: none;
    margin: 0 auto;
    margin-bottom: 15px;
    max-width: 50%;
  }
  .action-btn {
    padding: 0.7em 0;
    float: none;
    margin: 0 auto;
    max-width: 50%;
  }
  #left-side {
    position: relative;
    width: 100%;
    height: auto;
    padding: 100px 0 150px;
  }
  #left-side .content {
    position: relative;
    left: 50%;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
    top: auto;
    text-align: center;
  }
  .social-icons {
    left: 0;
    bottom: 0;
    margin-left: 0;
    margin-bottom: 0;
  }
  #right-side {
    position: relative;
    -webkit-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
    top: 0;
    width: 100%;
  }
  #right-side.hide-right {
    -webkit-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
  }
  .closeX {
    background-color: #ff0000!important;
    color: #00ffff!important;
  }
  #close-more-info {
    display: none;
  }
  #close-more-info:hover {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
  }
  #close-more-info.hide-close {
    right: -40px;
  }
  .mCSB_scrollTools {
    right: 0;
  }
  .mCSB_scrollTools-left {
    right: 0 !important;
  }
}

/* Small Devices, Tablets */
@media only screen and (max-width: 768px) {
  .light-btn {
    max-width: 70%;
    min-width: 60%;
  }
  .action-btn {
    max-width: 70%;
    min-width: 60%;
  }
  .photo-line figure {
    padding: 0;
    margin: 0 0 20px !important;
    width: 100% !important;
  }
  .info-contact .item-map:first-child {
    padding-left: 0;
  }
  .info-contact .item-map:last-child {
    padding-right: 0;
  }
  .dialog__content {
    width: 80%;
    max-width: 80%;
    min-width: 75%;
  }
  .dialog .dialog-inner {
    padding: 40px 20px 90px;
    overflow: hidden;
  }
}

/* Extra Small Devices, Phones */
@media only screen and (max-width: 480px) {
  #left-side {
    padding: 50px 0 100px;
  }
  #left-side .content {
    padding: 0 3%;
  }
  #left-side.minimal-phone {
    height: 100vh;
  }
  h1.text-intro {
    font-size: 30px;
  }
  h2.text-intro {
    font-size: 18px;
  }
  .light-btn {
    max-width: 80%;
    min-width: 70%;
  }
  .action-btn {
    max-width: 80%;
    min-width: 70%;
  }
  .dialog__content {
    width: 95%;
    max-width: 95%;
    min-width: 75%;
  }
  .dialog .close-newsletter {
    top: 2px;
    right: 5px;
  }
  .dialog .dialog-inner {
    padding: 40px 20px 50px;
  }
  .dialog .dialog-inner h4 {
    font-size: 25px;
    margin-bottom: 20px;
  }
  #subscribe .block-message {
    padding: 5px 2px;
  }
  #subscribe p.notify-valid {
    font-size: 12px;
  }
}

/* Only for tablet in landscape mode */
/* Only for phone in landscape mode */
@media screen and (max-device-width: 750px) and (orientation: landscape) {
  #left-side {
    padding: 50px 0 100px;
  }
  h1.text-intro {
    font-size: 30px;
  }
  h2.text-intro {
    font-size: 18px;
  }
  .dialog__content {
    width: 100%;
    max-width: 100%;
    min-width: 75%;
  }
  .dialog .close-newsletter {
    top: 2px;
    right: 5px;
  }
  .dialog .dialog-inner {
    padding: 40px 20px 50px;
  }
  .dialog .dialog-inner h4 {
    font-size: 25px;
    margin-bottom: 5px;
  }
  #subscribe #notifyMe {
    margin-top: 10px;
  }
  #subscribe #notifyMe .form-group .form-control {
    width: 70%;
    margin: 0;
    float: left;
  }
  #subscribe #notifyMe .form-group button.submit {
    width: 30%;
    margin: 0;
    float: left;
  }
  #subscribe .block-message {
    padding: 5px 2px;
  }
  #subscribe p.notify-valid {
    font-size: 12px;
  }
}
