@import url("https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@200;400;600&display=swap");
* {
  position: relative;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  vertical-align: top;
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s;
}

html {
  overflow-y: scroll;
}

body {
  background: #fafafa;
  font-family: Josefin Sans, serif;
  line-height: 1.45;
  font-size: 18px;
}

input,
select,
textarea {
  font-family: Josefin Sans, serif;
}

img {
  image-rendering: -webkit-optimize-contrast;
  transition: all 0.25s;
}

::-webkit-scrollbar {
  width: 10px;
  position: fixed;
}

::-webkit-scrollbar-track {
  background: none;
}

::-webkit-scrollbar-thumb {
  background: #bdbdbd;
}

::-webkit-scrollbar-thumb:hover {
  background: #ff316c;
}

/* TYPO */
h1 span,
h2 span,
h3 span,
h4 span {
  color: #ff316c;
}

h1 {
  font-size: 60px;
  margin-bottom: 60px;
  margin-top: 30px;
  text-align: center;
  font-weight: 200;
}

h2 {
  font-size: 40px;
  margin-bottom: 40px;
  margin-top: 20px;
  text-align: center;
  font-weight: 200;
}

h3 {
  font-size: 27px;
  margin-bottom: 15px;
  margin-top: 7px;
  font-weight: 600;
}

h4 {
  font-size: 22px;
  margin-bottom: 10px;
  margin-top: 5px;
  font-weight: 600;
}

.quote {
  margin-top: 80px;
  margin-bottom: 40px;
  font-size: 32px;
  font-weight: 600;
  text-align: center;
}
.quote span {
  color: #ff316c;
}

/* MENU */
.menu {
  margin: 30px 30px 50px;
  text-align: right;
}
.menu .logo {
  width: 260px;
  float: left;
}
.menu .menu_item {
  display: inline-block;
  font-size: 23px;
  font-weight: 600;
  vertical-align: middle;
}
.menu .menu_item:not(:last-of-type) {
  margin-right: 45px;
}
.menu .menu_item span {
  display: block;
  font-size: 14px;
  color: #ff316c;
}
.menu .menu_item .menu_down {
  position: absolute;
  top: 55px;
  right: 0;
  z-index: 10;
  background: white;
  border: 2px solid black;
  width: 200px;
  padding: 12px 10px;
  border-radius: 5px;
  display: none;
}
.menu .menu_item .menu_down:after {
  content: "";
  border: solid black;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 5px;
  position: absolute;
  background: white;
  transform: rotate(-135deg);
  top: -8px;
  right: 10px;
}
.menu .menu_item .menu_down .menu_down_item {
  display: block;
}
.menu .menu_item .menu_down .menu_down_item:not(:last-of-type) {
  border-bottom: 2px solid black;
  padding-bottom: 3px;
  margin-bottom: 6px;
}
.menu .menu_item a:hover {
  color: #ff316c;
}
.menu .menu_item:hover .menu_down {
  display: block;
}

/* TEXT */
.cont_text {
  margin: 0 auto;
  padding: 40px;
  max-width: 900px;
}
.cont_text p:not(:last-of-type) {
  margin-bottom: 40px;
}

/* VIDEO */
.cont_video {
  padding: 0 40px 40px;
}
.cont_video video {
  width: 100%;
  height: calc(100vh - 140px);
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: right;
     object-position: right;
}

/* SERVICES */
.cont_services {
  padding: 90px 40px;
  max-width: 1400px;
  margin: 0 auto;
}
.cont_services .service {
  display: inline-block;
  width: calc(50% - 15px);
  margin-bottom: 50px;
  height: 350px;
  overflow: hidden;
}
.cont_services .service:nth-of-type(2n - 1) {
  margin-right: 24px;
  border-left: 4px solid #ff316c;
}
.cont_services .service:nth-of-type(2n) {
  margin-top: 130px;
  top: 90px;
  text-align: right;
  border-right: 4px solid #ff316c;
}
.cont_services .service .service_desc {
  z-index: 10;
  top: calc(50% - 41px + 82px);
  transform: translateY(-50%);
}
.cont_services .service .service_desc p.service_desc_title,
.cont_services .service .service_desc p.service_desc_subtitle {
  margin: 0 30px;
}
.cont_services .service .service_desc p.service_desc_title span,
.cont_services .service .service_desc p.service_desc_subtitle span {
  color: #212121;
  background: white;
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
  padding: 10px;
}
.cont_services .service .service_desc p.service_desc_title {
  font-size: 40px;
  margin-bottom: 30px;
  line-height: 1.2;
  font-weight: 600;
}
.cont_services .service a {
  background: #ff316c;
  border-radius: 50px;
  padding: 13px 25px 9px;
  color: white;
  position: absolute;
  right: 30px;
  top: 30px;
  border: 2px solid black;
}
.cont_services .service a:hover {
  background: white;
  color: #ff316c;
}
.cont_services .service img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  position: absolute;
  left: 0;
  top: 0;
}
.cont_services .service:hover img {
  filter: hue-rotate(135deg);
}

/* SERVICES */
.cont_services_item {
  margin: 70px 0 0;
}
.cont_services_item .cont_services_grids {
  height: 100vh;
  background-size: cover;
  background-attachment: fixed;
  box-shadow: inset -1px 0 0 white;
}
.cont_services_item .cont_services_grids .services_item_grid {
  background: #fafafa;
  width: 25%;
  height: 50%;
  word-break: break-word;
  display: inline-flex;
  margin-right: -6px;
  -webkit-animation: grid 1s forwards;
          animation: grid 1s forwards;
  padding: 30px;
}
.cont_services_item .cont_services_grids .services_item_grid p {
  font-weight: 600;
  opacity: 0;
  padding: 10px 15px;
  font-size: 22px;
  display: inline;
  -webkit-animation: grid-p 1s forwards;
          animation: grid-p 1s forwards;
  color: #212121;
  background: white;
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
}
.cont_services_item .cont_services_grids .services_item_grid:nth-of-type(1) {
  -webkit-animation-delay: 0s;
          animation-delay: 0s;
}
.cont_services_item .cont_services_grids .services_item_grid:nth-of-type(1) p {
  -webkit-animation-delay: 0.5s;
          animation-delay: 0.5s;
  align-self: flex-start;
}
.cont_services_item .cont_services_grids .services_item_grid:nth-of-type(8) {
  -webkit-animation-delay: 1s;
          animation-delay: 1s;
}
.cont_services_item .cont_services_grids .services_item_grid:nth-of-type(8) p {
  -webkit-animation-delay: 1.5s;
          animation-delay: 1.5s;
  align-self: flex-start;
}
.cont_services_item .cont_services_grids .services_item_grid:nth-of-type(6) {
  -webkit-animation-delay: 2s;
          animation-delay: 2s;
}
.cont_services_item .cont_services_grids .services_item_grid:nth-of-type(6) p {
  -webkit-animation-delay: 2.5s;
          animation-delay: 2.5s;
  align-self: center;
}
.cont_services_item .cont_services_grids .services_item_grid:nth-of-type(3) {
  -webkit-animation-delay: 3s;
          animation-delay: 3s;
}
.cont_services_item .cont_services_grids .services_item_grid:nth-of-type(3) p {
  -webkit-animation-delay: 3.5s;
          animation-delay: 3.5s;
  align-self: center;
}
.cont_services_item .cont_services_grids .services_item_grid:nth-of-type(5) {
  -webkit-animation-delay: 4s;
          animation-delay: 4s;
}
.cont_services_item .cont_services_grids .services_item_grid:nth-of-type(5) p {
  -webkit-animation-delay: 4.5s;
          animation-delay: 4.5s;
  align-self: flex-end;
}
.cont_services_item .cont_services_grids .services_item_grid:nth-of-type(2) {
  -webkit-animation-delay: 5s;
          animation-delay: 5s;
}
.cont_services_item .cont_services_grids .services_item_grid:nth-of-type(2) p {
  -webkit-animation-delay: 5.5s;
          animation-delay: 5.5s;
  align-self: flex-end;
}
.cont_services_item .cont_services_grids .services_item_grid:nth-of-type(7) {
  -webkit-animation-delay: 6s;
          animation-delay: 6s;
}
.cont_services_item .cont_services_grids .services_item_grid:nth-of-type(7) p {
  -webkit-animation-delay: 6.5s;
          animation-delay: 6.5s;
  align-self: flex-end;
}
.cont_services_item .cont_services_grids .services_item_grid:nth-of-type(4) {
  -webkit-animation-delay: 7s;
          animation-delay: 7s;
}
.cont_services_item .cont_services_grids .services_item_grid:nth-of-type(4) p {
  -webkit-animation-delay: 7.5s;
          animation-delay: 7.5s;
  align-self: flex-start;
}

@-webkit-keyframes grid {
  100% {
    background: rgba(250, 250, 250, 0);
  }
}

@keyframes grid {
  100% {
    background: rgba(250, 250, 250, 0);
  }
}
@-webkit-keyframes grid-p {
  100% {
    opacity: 1;
  }
}
@keyframes grid-p {
  100% {
    opacity: 1;
  }
}
/* TEAM */
.cont_team {
  max-width: 600px;
  height: 600px;
  padding: 0 40px;
  margin: 20px auto 0;
}
.cont_team .team_member {
  position: absolute;
}
.cont_team .team_member:nth-of-type(1) {
  left: 50%;
  top: 0;
  transform: translateX(-50%) translateY(0%);
}
.cont_team .team_member:nth-of-type(2) {
  left: 80%;
  top: 20%;
  transform: translateX(-50%) translateY(-50%);
}
.cont_team .team_member:nth-of-type(3) {
  left: 100%;
  top: 50%;
  transform: translateX(-100%) translateY(-50%);
}
.cont_team .team_member:nth-of-type(4) {
  left: 80%;
  top: 80%;
  transform: translateX(-50%) translateY(-50%);
}
.cont_team .team_member:nth-of-type(5) {
  left: 50%;
  top: 100%;
  transform: translateX(-50%) translateY(-100%);
}
.cont_team .team_member:nth-of-type(6) {
  left: 20%;
  top: 80%;
  transform: translateX(-50%) translateY(-50%);
}
.cont_team .team_member:nth-of-type(7) {
  left: 0%;
  top: 50%;
  transform: translateX(0%) translateY(-50%);
}
.cont_team .team_member:nth-of-type(8) {
  left: 20%;
  top: 20%;
  transform: translateX(-50%) translateY(-50%);
}
.cont_team .team_member img {
  border-radius: 100%;
  width: 120px;
}
.cont_team .team_member p {
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 5px;
  background: white;
  font-size: 13px;
  padding: 5px 8px;
}
.cont_team .team_member p span {
  color: #ff316c;
}

/* CONTACT */
iframe {
  width: 700px;
  max-width: 100%;
  margin: 10px auto 40px;
  display: block;
}

form {
  width: 500px;
  background: white;
  border-radius: 10px;
  margin: 10px auto 40px;
  padding: 30px;
}
form input,
form textarea {
  padding: 15px;
  display: block;
  margin-bottom: 15px;
  width: 100%;
  border: 2px solid #212121;
  border-radius: 5px;
}
form input[type=submit] {
  background: #ff316c;
  color: white;
  border: 0;
}

/* FOOTER */
.footer {
  background: black;
  color: white;
}
.footer a:not(.footer_icon):hover {
  box-shadow: 0 2px 0 0 #ff316c;
}
.footer .footer_top {
  padding: 40px 30px 30px;
  font-size: 20px;
}
.footer .footer_top .footer_top_item {
  display: inline-block;
  width: 25%;
  margin-right: -10px;
}
.footer .footer_top .footer_top_item a {
  display: block;
}
.footer .footer_top .footer_top_item a:not(:first-of-type) {
  font-size: 16px;
  margin-top: 14px;
}
.footer .footer_top .footer_top_item a.footer_icon {
  display: inline-block;
  width: 33px;
}
.footer .footer_top .footer_top_item a.footer_icon svg {
  width: 33px;
  height: 33px;
}
.footer .footer_bottom {
  font-size: 13px;
  padding: 20px;
  font-style: italic;
}

@media screen and (max-width: 700px) {
  body {
    font-size: 17px;
  }

  /* TYPO */
  h1 {
    font-size: 40px;
    margin-bottom: 30px;
    margin-top: 15px;
  }

  h2 {
    font-size: 30px;
    margin-bottom: 20px;
    margin-top: 10px;
  }

  h3 {
    font-size: 20px;
    margin-bottom: 10px;
    margin-top: 5px;
  }

  h4 {
    font-size: 18px;
    font-weight: 600;
  }

  .quote {
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 25px;
  }

  /* MENU */
  .menu {
    margin: 0 0 0;
    text-align: center;
    background: black;
  }
  .menu .logo {
    float: none;
    width: 100%;
    height: 90px;
    padding: 15px 10px 10px;
    -o-object-fit: contain;
       object-fit: contain;
    background: white;
  }
  .menu .menu_item {
    font-size: 16px;
    padding: 11px 10px 8px;
  }
  .menu .menu_item:not(:last-of-type) {
    margin-right: 10px;
  }
  .menu .menu_item span {
    display: none;
  }
  .menu .menu_item > a {
    color: white;
  }
  .menu .menu_item .menu_down {
    top: 45px;
    right: -100px;
  }
  .menu .menu_item .menu_down:after {
    right: 120px;
  }

  /* TEXT */
  .cont_text p:not(:last-of-type) {
    margin-bottom: 25px;
  }

  /* VIDEO */
  .cont_video {
    padding: 0;
  }
  .cont_video video {
    width: 100%;
    height: auto;
  }

  /* SERVICES */
  .cont_services {
    padding: 60px 40px;
  }
  .cont_services .service {
    width: 100%;
    margin-bottom: 25px;
    padding: 90px 0 30px;
    height: auto;
  }
  .cont_services .service:nth-of-type(2n - 1) {
    margin-right: 0;
  }
  .cont_services .service:nth-of-type(2n) {
    margin-top: 0;
    top: 0;
  }
  .cont_services .service .service_desc {
    top: 0;
    transform: none;
  }
  .cont_services .service .service_desc p.service_desc_title,
.cont_services .service .service_desc p.service_desc_subtitle {
    margin: 0 20px;
  }
  .cont_services .service .service_desc p.service_desc_title span,
.cont_services .service .service_desc p.service_desc_subtitle span {
    padding: 7px;
  }
  .cont_services .service .service_desc p.service_desc_title {
    font-size: 22px;
    margin-bottom: 15px;
  }
  .cont_services .service .service_desc p.service_desc_subtitle {
    font-size: 16px;
  }
  .cont_services .service a {
    padding: 10px 22px 6px;
    right: 20px;
    top: 20px;
  }

  /* SERVICES */
  .cont_services_item {
    margin: 50px 0 0;
  }
  .cont_services_item .cont_services_grids {
    height: auto;
    display: flex;
    flex-wrap: wrap;
  }
  .cont_services_item .cont_services_grids .services_item_grid {
    width: 50%;
    height: auto;
    margin-right: 0;
    -webkit-animation: grid 1s forwards;
            animation: grid 1s forwards;
    padding: 25px 15px;
  }
  .cont_services_item .cont_services_grids .services_item_grid p {
    padding: 5px 10px;
    font-size: 18px;
  }

  /* TEAM */
  .cont_team {
    height: auto;
    padding: 0 25px;
    margin: 0 auto;
    text-align: center;
  }
  .cont_team .team_member {
    position: relative;
    width: 120px;
    display: inline-block;
    margin: 15px;
  }
  .cont_team .team_member:nth-of-type(n) {
    left: 0;
    top: 0;
    transform: none;
  }
  .cont_team .team_member img {
    border-radius: 100%;
    width: 120px;
  }
  .cont_team .team_member p {
    width: auto;
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    background: none;
    padding: 11px 8px 5px;
  }

  /* FOOTER */
  .footer .footer_top .footer_top_item {
    display: block;
    width: 100%;
    margin-right: 0px;
  }
  .footer .footer_top .footer_top_item:not(:last-of-type) {
    margin-bottom: 40px;
  }
}