body {
  background-color: var(--gray5);
}

.cosa-facciamo-intro {
  /* background-image: url('/img/cosa-facciamo-intro.jpg'); */
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  max-width: 1024px;
  margin: 0 auto;

  h2{
    width: 100%;
    margin: 3rem 0;
  }
}

#cosa-facciamo-circle-back {
  height: 27rem;
  width: 27rem;
  border-radius: 9999px;
  background-color: var(--gray1);
  position: absolute;
  top: 6%;
  left: 5%;
  z-index: -1;
}

.what-section-header {
  padding: 13rem 1rem 2rem 1rem;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
  position: relative;
  background-color: var(--gray1);
}

.what-section-header h1 {
  color: var(--gray4);
  font-weight: 800;
  text-align: start;
  font-family: "Barlow", sans-serif;
  font-size: 6rem;
}

#cta-row {
  margin-top: 1rem;
  padding-bottom: 5%;
  align-items: flex-start;
  background-color: var(--gray1);
  border-bottom: 1px solid var(--gray4);

  #cta-row-body {
    display: flex;
    position: relative;
    flex-direction: column;

    align-items: flex-start;
  }
  #subtitle {
    font-family: "Inter", sans-serif;
    color: var(--gray4);
    display: flex;
    flex-direction: row;
    width: 60%;
    font-size: 1.8rem;
  }

  #title {
    font-family: "Barlow", sans-serif;
    color: var(--gray1);
    display: flex;
    flex-direction: row;
    font-size: 6.5em;
    font-weight: bold;
    line-height: 7rem;
    margin-top: 5%;
    width: 80%;
    align-items: flex-start;
    text-transform: uppercase;
    background: url("/img/ui/texture_white_crop.svg") no-repeat;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: cover;
  }
}

.intro-claim {
  color: var(--gray1);
  margin-left: 0;
  max-width: 100%;
  /* margin: auto; */
}

.intro-claim h2 {
  font-size: 2rem;
  font-weight: bold;
}

.circle-container {
  position: relative;
  width: 480px;
  margin-left: auto;
  margin-right: auto;
  /* margin-top: -45rem; */
}

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

#arrow-down-cosa-facciamo {
  display: none;
  position: absolute;
  width: 25px;
  top: 180px;
  left: 240px;
  transform: translate(-50%, 0);
  cursor: pointer;
  transition: all 0.5s;
}

#arrow-down-cosa-facciamo:hover {
  top: 170px;
}

.circle-container .top-title {
  display: none;
  position: absolute;
  top: 80px;
  color: var(--gray4);
  font-weight: 100;
  font-size: 1.2rem;
  width: 200px;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  text-transform: uppercase;
}

.circle-container .bottom-title {
  position: absolute;
  font-family: "Barlow", sans-serif;
  color: var(--gray5);
  font-weight: bold;
  font-size: 3rem;
  width: 64%;
  left: 0;
  right: 0%;
  top: 35%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  text-transform: uppercase;
}

.wheel-container {
  transition: all 0.5s ease-in-out;
}

.cf-slide {
  min-height: 420px;
}

.cf-slide-text {
  display: flex;
}

.cf-slide-number h1 {
  font-size: 5rem;
  line-height: 5rem;
  color: #cbc6be;
  padding-right: 1rem;
  margin: 0;
  font-weight: 900;
}

.cf-slide-desc {
  margin-top: 2rem;
}

.cf-slide-desc .text-block {
  max-width: 600px;
}

.cf-slide-desc .text-block h4 {
  font-weight: 700;
}

.cf-slide-desc .text-block h6 b {
  font-weight: 900;
}

.slide-step {
  display: flex;
  justify-content: center;
  margin-top: 4rem;
}

.slide-step h3 {
  margin: 0 0.5rem;
  font-weight: 100;
}

.slide-step h3 span {
  font-size: 3rem;
}

.slide-step .step-arrow {
  width: 50px;
  margin-left: 1rem;
  margin-top: 1rem;
  transition: all 0.5s;
  cursor: pointer;
}

.slide-step .step-arrow.to-right {
  margin-left: 1rem;
}

.slide-step .step-arrow.to-right:hover {
  margin-left: 2rem;
  opacity: 0.6;
}

.slide-step .step-arrow.to-left {
  margin-right: 1rem;
}

.slide-step .step-arrow.to-left:hover {
  margin-right: 2rem;
  opacity: 0.6;
}

.slide-step .step-arrow.to-down {
  width: 20px;
  margin-left: 2rem;
  margin-top: 0;
}

.slide-step .step-arrow.to-down:hover {
  width: 20px;
  margin-left: 2rem;
  margin-top: 1rem;
}

.cf-slide-image {
  text-align: right;
}

#contact-form-row {
  background-image: url("/img/texture_white_crop.svg");
  min-height: 600px;
}

#contact-form-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bottom-cta {
  margin: 4rem 4rem 0;
}

/* SMALL SCREENS AND iPad PRO */
@media screen and (max-width: 1199px) {
}

/* VERY SMALL SCREENS AND LARGE TABLETS */
@media screen and (max-width: 991px) {
  .cosa-facciamo-intro {
    justify-content: center;
    padding-left: 0.5rem;
  }

  .circle-container {
    display: none;
  }

  .what-section-header{
    padding: 10rem 1rem 0 1rem;
  }

  .what-section-header h1{
    font-size: 6rem;
    line-height: 6rem;
  }

  #cta-row #title{
    width: 100%;
    line-height: 6rem;
  }
}

/* TABLETS */
@media screen and (max-width: 768px) {
  .circle-container {
    display: none;
  }

  #arrow-down-cosa-facciamo {
    top: 130px;
    left: 50%;
  }

  .circle-menu-text,
  .circle-menu-dot {
    display: none;
  }

  .cf-slide {
    display: block !important;
    padding-bottom: 3rem;
    margin: 0 1rem 3rem;
  }

  .cf-slideshow-col .cf-slide:not(:last-child) {
    border-bottom: 1px solid var(--gray4);
  }

  .slide-step {
    display: none;
  }

  .cf-slide-image {
    text-align: center;
  }

  .cf-slide-image img {
    width: 80%;
  }
}

/* from demo css */
.video-showcase {
  position: relative;
  background-color: var(--gray1);
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.video-showcase h4 {
  padding-bottom: 1rem;
  color: var(--gray4);
  font-weight: 100;
  font-size: 1.2rem;
  text-transform: uppercase;
}

#headphones {
  color: var(--gray4);
  letter-spacing: 2px;
  font-weight: 100;
  font-style: italic;
  z-index: 100;
}

#headphones i {
  margin-left: 1rem;
}

.video-flex {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
}

.video-container {
  flex: 1 1 300px;
  position: relative;
  margin: 0 1rem 0;
}

video {
  height: 100%;
}

.vid-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  /* background-color: rgba(59, 12, 25, .8); */
  background-color: rgba(10, 10, 10, 0.6);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s;
}

.vid-overlay:hover {
  background-color: transparent;
}

.main-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

#video-overlay-end {
  display: none;
}

#video-overlay-end h4 {
  color: var(--gray4);
  margin: 2rem 0;
  letter-spacing: 4px;
  text-transform: uppercase;
  cursor: pointer;
}

#video-overlay-end h4 a {
  color: var(--gray4);
  text-decoration: none;
}

.vid-overlay .logo-spinner-container {
  position: relative;
  width: 180px;
  height: 180px;
  transition: all 0.5s ease-in-out;
}

.vid-overlay .logo-spinner-container img {
  position: absolute;
  width: 100px;
  height: 100px;
  top: 40px;
  left: 40px;
  z-index: 1;
  border-radius: 50%;
  transition: all 0.5s ease-in-out;
}

.vid-overlay .logo-spinner-container img.loaded {
  border: 3px solid var(--gray1);
  padding: 0.5rem;
  cursor: pointer;
}

.vid-overlay .logo-spinner-container img.loaded:hover {
  transform: scale(1.1);
  opacity: 0.9;
  border-color: var(--gray3);
}

.vid-overlay .video-spinner {
  color: var(--gray1);
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  position: absolute;
}

.vid-overlay h3 {
  color: var(--gray4);
  letter-spacing: 2px;
  font-weight: 100;
  font-style: italic;
}

.vid-overlay h3 i {
  margin-left: 1rem;
}

#loading {
  color: var(--gray4);
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}

#watch {
  display: none;
  color: var(--gray4);
  /* font-weight: 100; */
  letter-spacing: 4px;
  text-transform: uppercase;
}

.demo-title {
  color: var(--gray4);
  letter-spacing: 4px;
  text-transform: uppercase;
  transition: all 0.4s;
}

.vid-overlay:hover .demo-title {
  color: var(--gray1);
  transform: scale(1.1);
}

.demo-thumb {
  width: 100%;
  height: auto;
}


/* SMARTPHONES (portait) */
@media screen and (max-width: 576px) {  
  #cosa-facciamo-circle-back{
    height: 20rem;
    width: 20rem;
  }
  
  .circle-container .bottom-title {
    width: 90%;
    top: 37%;
  }

  #cta-row{
    padding-bottom: 10%;
    padding-left: 0.5rem;

     

    #subtitle{
      color: var(--gray3);
      font-weight: bold;
    }
  }

  
  #cta-row #title{
    width: 100%;
    line-height: 6rem;
  }

  #arrow-down-cosa-facciamo {
    display: none;
  }

  .contact-block {
    margin: 0;
  }

  .bottom-cta {
    margin: 0;
  }
}


/* TABLETS */
@media screen and (max-width: 768px) {
  video {
    width: 100%;
    height: auto;
  }
}

