/**
*  ____            _   _               _
* / ___|  ___  ___| |_(_) ___  _ __   / |
* \___ \ / _ \/ __| __| |/ _ \| '_ \  | |
*  ___) |  __/ (__| |_| | (_) | | | | | |
* |____/ \___|\___|\__|_|\___/|_| |_| |_|
*/
/* SECTION 1 */

/* Obrázky pre mobil (portrait) budú mať object-fit: contain */

#hero_fullscreen {
    height: 100svh;
    width: 100%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    object-fit: cover !important;
    overflow: hidden;
}

#vp {
    height: 100svh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    object-fit: contain !important;
}

#hero_fullscreen video {
    max-width: none !important;
    object-fit: cover !important;
}

.hero-box {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    grid-gap: 0px;
    align-content: center;
    justify-content: center;
    align-items: start;
    height: 100%;
    width: 100%;
}

.hero-image-box {
    height: 100%;
    width: 100%;
    display: grid;
    align-items: stretch;
    grid-column: 1 / -1;
    grid-row: 1 / -1;
}

.hero-text-box {
    grid-column: 1 / -1;
    grid-row: 1 / -1;
    align-self: end;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: max-content;
    text-align: left;
    /* z-index: 10; */
}

/* video {
    width: 100%;
    height: 100%;
} */

@media screen and (min-width: 1000px) {
    #padder {
        width: 94%;
        margin: auto;
        font-family: poppins;
    }

    .dmt_studio_m_t1 {
        text-transform: none;
        font-size: 4vw;
        line-height: 4vw;
        font-weight: 100;
        letter-spacing: 0px;
        text-shadow: 1px 1px 2px rgba(0,0,0,1);
        color: #fff;
    }

    .dmt_studio_m_t2 {
        font-size: 3vw;
        line-height: 3vw;
        font-weight: 100;
        letter-spacing: 0px;
        text-shadow: 1px 1px 2px rgba(0,0,0,1);
        color: #fff;
    }

    .dmt_studio_m_t3 {
        text-transform: none;
        font-size: 2vw;
        line-height: 2vw;
        font-weight: 100;
        letter-spacing: 0px;
        text-shadow: 1px 1px 2px rgba(0,0,0,1);
        color: #fff;
    }

    .dmt_studio_m_t4 h2 {
        font-family: meri;
        font-size: 1.8vw;
        line-height: 1.5vw;
        padding-bottom: 2.5vw;
        font-weight: 900;
        text-transform: none;
        padding-bottom: 5vh;
        font-weight: 600;
        text-shadow: 1px 1px 2px rgba(0,0,0,1);
        color: #9a9a9a;
    }
}

@media only screen and (max-width: 1000px) {
    #padder {
        width: 85%;
        margin: auto;
        font-family: poppins;
    }

    .dmt_studio_m_t1 {
        text-transform: none;
        font-size: 8vw;
        line-height: 8vw;
        margin-bottom: 0px;
        font-weight: 100;
        letter-spacing: 0px;
    }

    .dmt_studio_m_t2 {
        text-transform: none;
        font-size: 6vw;
        line-height: 6vw;
        font-weight: 100;
        letter-spacing: 0px;
    }

    .dmt_studio_m_t3 {
        text-transform: none;
        font-size: 5vw;
        line-height: 5vw;
        font-weight: 100;
        letter-spacing: 0px;
    }

    .dmt_studio_m_t4 h2 {
        text-transform: none;
        font-family: meri;
        font-size: 4vw;
        line-height: 5vw;
        padding-bottom: 4vw;
        color: #65778c;
        font-weight: 900;
        text-transform: none;
        padding-bottom: 3vh;
        letter-spacing: 0px;
    }
}


/**
*  ____            _   _               ____
* / ___|  ___  ___| |_(_) ___  _ __   |___ \
* \___ \ / _ \/ __| __| |/ _ \| '_ \    __) |
*  ___) |  __/ (__| |_| | (_) | | | |  / __/
* |____/ \___|\___|\__|_|\___/|_| |_| |_____|
*/
/* SECTION 2 */
#section2 {
  background-color: #ffe6e8;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  object-fit: cover !important;
}

.s2_crop_out {
  height: 100%;
  width: 1400px;
  justify-items: anchor-center;
}

.s2_crop_in {
  height: 100%;
}

.s2_left {
  font-family: poppins;
  text-align: center;
  color: #d00018;
  float: left;
  align-content: center;
  display: grid;
}

.s2_right_center {
  background-image: url("/source/media/img/dtm-girl.webp");
  height: 100%;
  display: grid;
  background-repeat: no-repeat;
  background-position: 50% 100%;
}

@media screen and (min-width: 1000px) {
    #section2 {
    height: 550px;
    }

    .s2_crop_in {
      width: calc(100% - 100px);
      margin: 0 auto;
    }

    .s2_left {
      font-size: 25px;
      line-height: 40px;
      height: 100%;
      width: 47%;
    }

    .s2_right {
      float: right;
      height: 100%;
      width: 47%;
    }

    #s2_left_center {
      /* display: grid;
      justify-content: center;
      justify-self: center;*/
      padding: 0px 50px;

      /* position: relative;
      top: 50%; */
      /* -webkit-transform: translateY(-50%); */
      /* -ms-transform: translateY(-50%);
      transform: translateY(-50%); */
    }

    .s2_right_center {
      width: 100%;
      justify-self: center;
    }
}

@media only screen and (max-width: 1000px){
  #section2 {
    height: 100svh;
  }

  .s2_crop_in {
    width: 85%;
    margin: 0 auto;
  }

  .s2_crop {
    height: 100%;
    width: 1400px;
  }

  .s2_left {
    font-size: 2.9svh;
    line-height: 5.33vw;
    height: 40svh;
    width: 100%;
  }

  .s2_right {
    float: left;
    height: 60svh;
    width: 100%;
    overflow: hidden;
  }

  .s2_right_center {
    background-size: contain;
  }

  .s2_right_center img {
    width: 100%;
  }
}

/**
*  ____            _   _               _____
* / ___|  ___  ___| |_(_) ___  _ __   |___ /
* \___ \ / _ \/ __| __| |/ _ \| '_ \    |_ \
*  ___) |  __/ (__| |_| | (_) | | | |  ___) |
* |____/ \___|\___|\__|_|\___/|_| |_| |____/
*/
/* SECTION 3 */
#section3 {
  background: white;
  width: 100%;
  display: flex;
  padding-bottom: 80px;
}

.s3_crop_out {
    /* background-color: blue; */
    height: 100%;
    width: 1280px;
    justify-items: anchor-center;
}

.s3_crop_in {
    height: 100%;
    margin: 0 auto;
}

.select {
    height: calc(50% - 20px);
    font-family: poppins;
}

.port_item {
    background-color: green;
    overflow: hidden;
    height: auto;
    float: left;
    margin: 20px 0px;
    border-radius: 12px;
    position: relative;
    background-color: #fff;
    transition: 0.4s all ease-in-out;
    box-shadow: 0px 1px 20px -10px #adadad !important
}

.port_item:hover {
    transition: 0.4s all ease-in-out;
    transform: translate(0px, -20px);
    scale: 100%;
    box-shadow: 0px 20px 18px -10px #adadad !important;
}

.port_item:nth-child(odd) {}

.port_item:nth-child(even) {
  float: right;
}

.port_item video {
    display: block; /* Zamedzí pridaniu medzery od inline-block správania */
    margin: 0;
    padding: 0;
}

.port_item a {
    text-decoration: none;
    color: inherit;
}

.port_name {
    font-family: poppins;
    margin: 0;
}

.port_quote {
    color: #65778c;
    font-family: meri;
    margin: 5px 0 0;
}

#testimonials {
  font-family: poppins;
}

#testimonial_icon {
    height: 80px;
    width: 80px;
    font-family: poppins;
    font-size: 80px;
    line-height: 40px;
    transform: rotate(180deg);
    color: white;
    background-color: black;
    border-radius: 100%;
    justify-content: center;
    display: grid;
}

blockquote {
    margin: 0;
}

footer {
    color: #65778c;
    font-family: meri;
    margin-top: 10px;
    font-size: 0.9em;
}

/* SECTION 3 - PORT ITEM */
@media screen and (min-width: 650px) {
  #section3 {
      padding-top: 120px;
      align-items: center;
      justify-content: center;
      object-fit: cover !important;
  }

  .s3_crop_in {
      width: calc(100% - 100px);
      background-color: red;
  }

  .selected {
      aspect-ratio: 2 / 1.222; /* Pomery strán: šírka 2 a výška 1 (50 %) */
      width: 50%;
      font-size: 40px;
      line-height: 53.33px;
      float: left;
      align-content: center;
      margin-top: 20px;
  }

  .port_item {
      width: calc(50% - 20px);
  }

  .p_item {
      width: calc(100% - 60px);
      height: 60px;
      padding: 30px;
  }

  .port_name {
      font-size: 24px;
      font-weight: 100;
  }

  .port_quote {
      font-size: 16px;
      font-weight: 100;
  }

  .testimonials_wraper {
    width: calc(50% - 100px);
    margin-left: 20px;
    padding: 50px;
    height: auto;
    float: right;
  }

  #testimonials {
    float: left;
    font-size: 24px;
    line-height: 32px;
  }

  #testimonial_icon {
      float: left;
      margin-left: 21px;
  }

  blockquote {
      padding: 25px 25px 0px 25px;
  }

  footer {
      font-size: 0.9em;
  }
}

@media only screen and (max-width: 650px) {

  .s3_crop_in {
    width: 85%;
  }

  .selected {
    width: 100%;
    text-align: center;
    font-size: 40px;
    line-height: 53.33px;
    padding: 120px 0px;
  }

  .port_item {
    width: 100%;
  }

  .port_item:hover {
    transition: 0.4s all ease-in-out;
    transform: translate(0px, -20px);
    scale: 100%;
    box-shadow: 0px 20px 18px -10px #adadad !important;
  }

  .port_item:nth-child(odd) {}

  .port_item:nth-child(even) {
    float: right;
  }

  /* SECTION 3 - PORT ITEM */

  .p_item {
    width: calc(100% - 60px);
    height: 60px;
    padding: 30px;
  }

  .port_name {
    font-size: 20px;
    font-weight: 100;
  }

  .port_quote {
    font-size: 16px;
    font-weight: 100;
  }

  .testimonials_wraper {
    width: 100%;
    height: auto;
    text-align: center;
  }

  #testimonials {
    font-size: 24px;
    line-height: 32px;
  }

  #testimonial_icon {
    margin: 0 auto;
    text-align: center;
  }

  blockquote {
    padding: 25px 0px;
  }

  footer {
    font-size: 0.9em;
  }
}

/**
* **************************************
* *  _____            _                *
* * | ____|_  ___ __ | | ___  _ __ ___ *
* * |  _| \ \/ / '_ \| |/ _ \| '__/ _ \*
* * | |___ >  <| |_) | | (_) | | |  __/*
* * |_____/_/\_\ .__/|_|\___/|_|  \___|*
* *            |_|                     *
* **************************************
*/
/* Explore */

#explore_section {
  display: flex;
  justify-content: center;
}

.all-projects {
  font-family: poppins;
  text-align: center;
  border: 1px solid #c8d8df;
  border-radius: 50px;
  box-sizing: border-box;
  color: #65778c;
  font-size: 18px;
  height: 90px;
  letter-spacing: -.5px;
  line-height: 88px;
  padding: 0 45px;
  position: relative;
  transition: all .2s ease-out;
  -webkit-user-select: none;
  text-decoration: none;
}

a.all-projects:hover {
    background-color: #65778c;
    border-color: #65778c;
    color: #fff;
}

@media (hover: none) {
  .all-projects {
    background-color: #65778c;
    border-color: #65778c;
    color: #fff;
  }
}

@media (max-width: 768px) {
  .all-projects {
    width: 85%;
  }
}

/**
* #####################################
* # ____                  _           #
* #/ ___|  ___ _ ____   _(_) ___ ___  #
* #\___ \ / _ \ '__\ \ / / |/ __/ _ \ #
* # ___) |  __/ |   \ V /| | (_|  __/ #
* #|____/ \___|_|    \_/ |_|\___\___| #
* #####################################
*/

#services_section {
  width: 100%;
  height: 900px;
  background: linear-gradient(white 0%, #e4f7f7);
  overflow: hidden;
  padding: 150px 0 0
}

.services_container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 6%;  /* horizontal space between columns */
  row-gap: 20px;     /* vertical space between rows */
  padding: 0 50px;
  max-width: 1400px;
  margin: 0 auto;
  box-sizing: border-box; /* ensures padding is included in max-width */
}

.services_cell {
  height: 370px;
  text-align: center;
}

.services_cell:first-child {
  padding-top: 100px;
  height: 270px;
}

.services_cell a,
.services_cell a:hover {
  text-align: center;
  text-decoration: none;
  color: inherit;
}

.services_lootie_icon{
  width: 100px;
  height: 100px;
  margin: 0 auto;
  display: block;
}

.services_nadpis {
  font-family: poppins;
  padding-top: 10px;
  letter-spacing: -.67px !important;
  font-weight: 100;
  font-size: 35px;
  line-height: 53.33px;
}

.services_popis {
  font-family: meri;
  color: #45545F !important;
  margin: 17px 0px;
  font-size: 20px;
  line-height: 30px;
  letter-spacing: -.18px;
}

.services_learn {
  width: max-content;
  text-align: center;
  opacity: 0%;
  padding-bottom: 40px;
  transition: all 0.6s;
  border-bottom: 1px solid #485700 !important;
  position: relative;
  top: 32px;
  margin: 0 auto;
}

.services_cell:hover .services_learn {
  opacity: 100%;
  color: #485700;
  top: 0px;
  padding-bottom: 10px;
}

div#obrazky_serv {
  width: 2px;
  height: 2px;
  margin: 0 auto;
  position: relative;
  bottom: 0px;
  bottom: 150px;
}

img.j {
  position: absolute;
  opacity: 0;
  z-index: 0;
}

img.sr_img_1 {
  bottom: -315px;
  left: -1200px;
}

img.sr_img_2 {
  width: 340px;
  bottom: -315px;
  left: -415px;
}

img.sr_img_3 {
  width: 380px;
  bottom: -478px;
  left: 80px;
  transform: rotate(215deg);
}

img.sr_img_4 {
  width: 530px;
  bottom: -262px;
  left: 570px;
}

#sr_real_1 {
    animation: obr1 .6s ease forwards;
}

#sr_real_2 {
    animation: obr2 .6s ease forwards;
    animation-delay: 0.2s;
}

#sr_real_3 {
    animation: obr3 .6s ease forwards;
    animation-delay: 0.4s;
}

#sr_real_4 {
    animation: obr4 .6s ease forwards;
    animation-delay: 0.8s;
}
@keyframes obr1 {
  0% {opacity: 0.5; left: -1700px; bottom: -830px; filter: blur(10px);}
  100%{opacity: 1;}
}

@keyframes obr2 {
  0% {opacity: 0.5; left: -800px; bottom: -830px; filter: blur(10px);}
  100%{opacity: 1;}
}

@keyframes obr3 {
  0% {opacity: 0.5; left: 400px; bottom: -830px; filter: blur(10px);}
  100%{opacity: 1;}
}

@keyframes obr4 {
  0% {opacity: 0.5; left: 1050px; bottom: -630px; filter: blur(10px);transform: rotate(30deg);}
  100%{opacity: 1;}
}

img.reasons_cupcake {
  position: absolute;
  opacity: 0;
  width: 250px;
  z-index: 0 !important;
}

img#cupcakean {
  animation: prich 1s ease forwards;
}

@keyframes prich {
  from {opacity:0;bottom: 540px;left: -400px; transform: rotate(0deg);}
  to {opacity: 1;bottom: 540px;left: 0px; transform: rotate(35deg);}
}

@media (hover: hover) and (max-width: 1000px) {
  #services_section {
    height: auto;
    padding: 0
  }

  .services_container {
    grid-template-columns: repeat(2, 1fr);
    padding-bottom: 50px;
  }

  img.sr_img_1 {
    bottom: -211px;
    left: calc(-45svw - 548px);
  }

  img.sr_img_2 {
    bottom: -218px;
    left: -196px;
  }

  img.sr_img_3 {
      bottom: -373px;
      left: calc(45svw - 153px);
  }

  @keyframes obr1 {
    0% {opacity: 0.5; left: -1700px; bottom: -830px; filter: blur(10px);}
    100%{opacity: 1;}
  }

  @keyframes obr2 {
    0% {opacity: 0.5; left: -800px; bottom: -830px; filter: blur(10px);}
    100%{opacity: 1;}
  }

  @keyframes obr3 {
    0% {opacity: 0.5; left: 800px; bottom: -830px; filter: blur(10px);}
    100%{opacity: 1;}
  }
}

@media (max-width: 600px) {
  #services_section {
    height: auto;
    padding: 0
  }

  .services_container {
    grid-template-columns: 1fr;
    padding-bottom: 0px;
  }

  img.sr_img_2 {
    bottom: -232px;
    left: calc(-45svw - 196px);
  }

  img.sr_img_3 {
    bottom: -379px;
    left: calc(45svw - 153px);
  }

  @keyframes obr1 {
    0% {opacity: 0.5; left: -800px; bottom: -830px; filter: blur(10px);}
    100%{opacity: 1;}
  }

  @keyframes obr2 {
    0% {opacity: 0.5; left: 800px; bottom: -830px; filter: blur(10px);}
    100%{opacity: 1;}
  }

}

@media (hover: none) and (max-width: 1000px) {
  .services_learn {
    opacity: 100%;
    padding-bottom: 40px;
    top: 0px;
    margin: 0 auto;
    padding-bottom: 10px;
  }

}

/**
*  ____            _   _               ____
* / ___|  ___  ___| |_(_) ___  _ __   | ___|
* \___ \ / _ \/ __| __| |/ _ \| '_ \  |___ \
*  ___) |  __/ (__| |_| | (_) | | | |  ___) |
* |____/ \___|\___|\__|_|\___/|_| |_| |____/
*/
/* SECTION 5 */

#section5 {
  background: white;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  object-fit: cover !important;
}

.s5_crop_out {
  height: 100%;
  width: 1400px;
}

.s5_crop_in {
  height: 100%;
  width: 85%;
  margin: 0 auto;
}

.s5_brands {
  font-family: poppins;
  font-size: 40px;
  line-height: 50px;
  font-weight: 100 !important;
  float: left;
}

.s5_brands_p {
  font-family: meri;
  color: #65778c;
}

.s5_brands_logos {
  float: left;
}

.s5_brand-container {

  float: left;
  justify-content: center;
  display: flex;
  border-right: 1px solid #f3f3f3;
  border-bottom: 1px solid #f3f3f3;
}

@media screen and (min-width: 1000px) {
        .s5_crop_out {
          justify-items: anchor-center;
        }

        .s5_crop_in {
          padding: 200px 0px;
          display: flex;
          align-items: center;
        }

        .s5_brands {
          width: 25%;
          margin-left: 10%;
        }

        .s5_brands_p {
          font-size: 22px;
          letter-spacing: -.46px;
          line-height: 34px;
        }

        .s5_brands_logos {
          width: 60%;
          margin-left: 5%;
        }

        .s5_brand-container {
          width: 33%;
        }


        .s5_brand-container:nth-of-type(3) {
          border-right: none !important;
        }

        .s5_brand-container:nth-of-type(4),
        .s5_brand-container:nth-of-type(5) {
          border-bottom: none !important;
        }

        .s5_brand-container:nth-of-type(6) {
          border-right: none !important;
          border-bottom: none !important;
        }
}

@media only screen and (max-width: 1000px) {

        #section5 {
          padding: 30px 0px;
        }

        .s5_crop_in {
          margin: 0 auto;
          text-align: center;
        }

        .s5_brands {
          width: 100%;
        }

        .s5_brands_p {
          font-size: 22px;
          letter-spacing: -.46px;
          line-height: 34px;
        }

        .s5_brands_logos {
          width: 100%;
        }

        .s5_brand-container {
          width: calc(50% - 1px);
        }

        .s5_brand-container:nth-of-type(2),
        .s5_brand-container:nth-of-type(4) {
          border-right: none !important;
        }

        .s5_brand-container:nth-of-type(5){
          border-bottom: none !important;
        }

        .s5_brand-container:nth-of-type(6) {
          border-right: none !important;
          border-bottom: none !important;
        }
}
