
.inside-outside {
  display: flex;
  flex-direction: row;
}
.code-video {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 95%;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  will-change: transform, opacity, filter;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  background-repeat: no-repeat;
  min-height: 30vh;
  margin: auto;
  > img {
    width: 20%;
  }
  .address {
    margin: 1rem 0;
  }
  .contact-us {
    margin: 1rem 0;
    padding: 1rem;
  }
}
.mailto {
  font-family: SEATBCN-Condensed, sans-serif;
  font-size: 12px;
  color: white;
}
.social {
  display: flex;
  margin: 1rem 0;
  gap: 0.5rem;
}
.social a {
  color: white;
}

/* -------------------------------------------------------------- */
/* BREAKPOINTS */

/* Mobile */
@media only screen and (min-width: 320px) and (max-width: 767px) {
  .font-size-h {
    font-size: 2rem;
  }
  .lheight {
    line-height: 1.2rem;
  }
  .font-size-sub {
    font-size: 1rem;
  }
  .block-subtitle {
    font-size: 1rem;
    margin: 0.5rem 0;
  }
  .inside-outside {
    position: absolute;
    max-width: 81%;
    margin-top: 19rem;
    margin-left: 22px;
    gap: 12px;
  }
  .img-fluid-1.our-team-i {
    margin-top: 18rem;
    left: 2.5rem;
  }
  .img-fluid-1.portfolio1-i {
    margin-top: 3rem;
    height: 187px;
    width: 100%;
    object-fit: cover;
  }
  .code-video {
    margin-top: 7rem;
    width: 95%;
  }
}
@media screen and (min-height: 320px) and (max-height: 430px) and (orientation: landscape) {
  .m-container {
    margin-top: 10rem !important;
    margin-bottom: 22rem !important;
  }
  .block {
    max-width: 85% !important;
  }
  .inside-outside {
    width: 78% !important;
    margin-top: 26rem;
  }
  .img-fluid-1 {
    max-width: 75% !important;
  }
  .img-fluid-1.our-team-i {
    margin-top: 26rem !important;
    left: 7rem !important;
  }
  .img-fluid-1.portfolio1-i {
    margin-top: 4rem !important;
    left: 7rem !important;
  }
  .code-video {
    margin-top: 38rem !important;
    min-height: 60vh !important;
    width: 90% !important;
  }
  .contact-us,
  .map {
    margin: 1rem !important;
  }
  .map-block {
    display: flex;
    width: 90% !important;
  }
}
/* iPhone SE landscape */
@media screen and (min-width: 667px) and (max-width: 667px) and (orientation: landscape) {
  .m-container {
    margin-bottom: 16rem !important;
  }
  .inside-outside {
    width: 79% !important;
    margin-top: 16rem;
  }
  .img-fluid-1.our-team-i {
    left: 5rem !important;
    margin-top: 16rem !important;
  }
  .img-fluid-1.portfolio1-i {
    margin-top: 3rem !important;
    left: 5rem !important;
    height: 297px;
  }
  .code-video {
    margin-top: 16rem !important;
    min-height: 60vh !important;
    width: 80% !important;
  }
  .contact-us,
  .map {
    margin: 1rem !important;
  }
  .map-block {
    display: flex;
    width: 80%;
    margin: 3rem auto;
  }
}
/* iPhone 15, iPhone 15 Pro */
@media only screen and (min-width: 393px) and (max-width: 393px) {
  .mailto {
    font-size: 1rem;
  }
}
/* -------------------------------------------------------------- */
@media only screen and (min-width: 320px) and (max-width: 1024px) {
  .img-fluid-2 {
    display: flex;
    max-width: 47%;
    height: auto;
  }
  .map {
    width: 100%;
    margin: 1rem 0;
  }
  .contact-us {
    width: 100%;
    margin: 1rem;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1512px) {
  .social {
    gap: 1.5rem;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1920px) {
  .lheight {
    line-height: 2.7rem;
  }
  .font-size-sub {
    font-size: 2.25rem;
  }
  .social a {
    width: 1rem;
    font-size: 2rem;
  }
  .mailto {
    font-size: 1rem;
  }
}

/* Tablet */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .font-size-h {
    font-size: 4rem;
  }
  .block-subtitle {
    font-size: 1.8rem;
  }
  .inside-outside {
    position: absolute;
    width: 88%;
    margin-top: 27rem;
    margin-left: 30px;
    gap: 22px;
  }
  .img-fluid-1.our-team-i {
    margin-top: 26rem;
    left: 3.5rem;
  }
  .img-fluid-1.portfolio1-i {
    margin-top: 6rem;
  }
  .code-video {
    margin-top: 41rem;
    margin-bottom: 4rem;
    width: 95%;
  }
}
@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  .code-video {
    margin-top: 55rem;
  }
  .map-block {
    width: 95%;
    margin: auto;
  }
}
/* -------------------------------------------------------------- */

/* Tablet iPad Pro */
@media only screen and (min-width: 1024px) and (max-width: 1024px) {
  .inside-outside {
    width: 90%;
    margin-left: 35px;
  }
  .code-video {
    margin-top: 56rem;
    margin-bottom: 4rem;
    width: 95%;
  }
  .img-fluid-1.our-team-i {
    left: 4rem;
  }
  .contact-us {
    width: 100%;
    margin: 1rem 3rem;
  }
}
@media only screen and (min-width: 1366px) and (max-width: 1366px) and (orientation: landscape) {
  .p-driven {
    padding-right: 39% !important;
  }
  .inside-outside {
    margin-left: 33rem !important;
  }
  .code-video {
    margin-top: 21rem !important;
  }
  .p-oursoul {
    padding-left: 41% !important;
  }
  .p-innovation {
    padding-right: 39%;
  }
}
/* -------------------------------------------------------------- */

@media only screen and (min-width: 1025px) {
  .contact-us {
    width: 50%;
    padding-left: 11rem;
  }
  .map {
    width: 50%;
  }
}

@media only screen and (min-width: 1025px) and (max-width: 1512px) {
  .img-fluid-2 {
    display: flex;
    max-width: 45%;
    height: auto;
  }
  .oursoul-block {
    margin-left: 34.5vw;
  }
}
/* Laptop */
@media only screen and (min-width: 1025px) and (max-width: 1439px) {
  .font-size-h {
    font-size: 7.1rem;
  }
  .block-subtitle {
    font-size: 2rem;
  }
  .inside-outside {
    position: absolute;
    width: 60%;
    margin-top: 5rem;
    margin-left: 31rem;
    gap: 1rem;
  }
  .img-fluid-1.our-team-i {
    margin-top: -25.2rem;
    width: 48%;
  }
  .img-fluid-1.portfolio1-i {
    margin-top: -18.5rem;
    width: 48%;
    right: 2rem;
  }
  .code-video {
    background-size: cover;
    min-height: 50vh;
    width: 100%;
    margin-top: 17rem;
    > img {
      width: 10%;
    }
  }
  .map-block {
    display: flex;
    width: 100%;
    margin-top: 4.5rem;
    margin-bottom: 2rem;
  }
  .p-driven {
    padding-right: 34%;
  }
  .p-oursoul {
    padding-left: 37%;
  }
  .p-innovation {
    padding-right: 32%;
  }
  .mailto {
    font-size: 1.2rem;
  }
}
/* -------------------------------------------------------------- */

@media only screen and (min-width: 1440px) and (max-width: 1920px) {
  .font-size-h {
    font-size: 9.1rem;
  }
  .block-subtitle {
    font-size: 2.5rem;
  }
  .mailto {
    font-size: 1.5rem;
  }
}

/* CODE laptop */
@media only screen and (min-width: 1440px) and (max-width: 1512px) {
  .p-driven {
    padding-right: 31%;
  }
  .inside-outside {
    position: absolute;
    width: 56%;
    margin-top: 5rem;
    margin-left: 39rem;
    gap: 2rem;
  }
  .img-fluid-1.our-team-i {
    margin-top: -33.5rem;
    width: 43%;
  }
  .img-fluid-1.portfolio1-i {
    margin-top: -25rem;
    width: 45%;
    right: 2.5rem;
  }
  .code-video {
    background-size: cover;
    min-height: 50vh;
    width: 95%;
    margin-top: 19rem;
    > img {
      width: 10%;
    }
  }
  .p-oursoul {
    padding-left: 41%;
  }
  .p-innovation {
    padding-right: 32%;
  }
}
/* -------------------------------------------------------------- */

@media only screen and (min-width: 1440px) {
  .map-block {
    display: flex;
    width: 95%;
    margin-top: 4.5rem;
    margin-bottom: 2rem;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Desktop */
@media only screen and (min-width: 1513px) and (max-width: 1920px) {
  .p-driven {
    padding-right: 51%;
  }
  .inside-outside {
    position: absolute;
    width: 60%;
    margin-top: 5rem;
    margin-left: 52.7rem;
    gap: 2rem;
  }
  .img-fluid-2 {
    display: flex;
    width: auto;
    height: 600px;
  }
  .oursoul-block {
    margin-left: 28.3vw;
  }
  .img-fluid-1.our-team-i {
    margin-top: -31.5rem;
    width: auto;
  }
  .img-fluid-1.portfolio1-i {
    margin-top: -25rem;
    width: 900px;
    object-fit: cover;
    right: 3rem;
  }
  .p-oursoul {
    padding-left: 54%;
  }
  .p-innovation {
    padding-right: 50%;
  }
  .social {
    gap: 1.8rem;
  }
}
/* -------------------------------------------------------------- */

@media only screen and (min-width: 1513px) {
  .code-video {
    background-size: cover;
    min-height: 50vh;
    width: 95%;
    > img {
      width: 10%;
    }
  }
}

/* Desktop XL */
@media only screen and (min-width: 1921px) {
  .font-size-h {
    font-size: 17rem;
  }
  .lheight {
    line-height: 3.9rem;
  }
  .font-size-sub {
    font-size: 3.25rem;
  }
  .block-subtitle {
    font-size: 4.5rem;
  }
  .p-driven {
    padding-right: 58%;
  }
  .inside-outside {
    position: absolute;
    margin-top: 7rem;
    margin-left: 75rem;
    gap: 2rem;
  }
  .img-fluid-2 {
    display: flex;
    width: auto;
    height: 750px;
  }
  .oursoul-block {
    margin-left: 1px;
  }
  .img-fluid-1.our-team-i {
    margin-top: -42rem;
    width: auto;
  }
  .img-fluid-1.portfolio1-i {
    margin-top: -36rem;
    width: auto;
    right: 16rem;
  }
  .p-oursoul {
    padding-left: 60%;
  }
  .p-innovation {
    padding-right: 57%;
  }
  .social {
    gap: 2.5rem;
  }
  .social a {
    width: 1rem;
    font-size: 2.5rem;
  }
  .mailto {
    font-size: 2.5rem;
  }
}
/* -------------------------------------------------------------- */
