p {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.main_sec {
  position: relative;
  width: 100%;
  font-size: 1rem;
  font-family: "Karla", sans-serif;
  font-weight: 400;
  color: black;
}
svg rect {
  fill: white;
  mask: url(#video_mask);
}
.bottom_sec {
  position: relative;
  width: 100%;
  margin: 0;
}
.extra_bottom_space {
  position: relative;
  height: 10rem;
  width: 100%;
}
.from_video_to_in_pratica {
  position: relative;
  left: 0;
  width: 100%;
}
.w_100 {
  position: relative;
  width: 100%;
  margin-top: 18px;
  margin-bottom: 18px;
}

.w_100_bottom {
  position: absolute;
  width: 100%;
  margin-top: 18px;
  margin-bottom: 18px;
  z-index: 1;
  top: calc(1vw - 27px);
}
.w_100_next {
  position: absolute;
  top: -27px;
}

.w_grid {
  display: grid;
  grid-template-columns: 47% 6% 47%;
}

.arrow_w {
  position: relative;
  left: calc(50% - 1px);
  width: 39px;
}

.title_container {
  position: relative;
}

.title {
  position: absolute;
  width: 100%;
  height: 1rem;
  font-size: 1rem;
  top: 50%;
  left: 0;
  transform: translate(0, -50%);
  letter-spacing: 1px;
  color: #b7b7b7;
  white-space: nowrap;
}

h1 {
  position: absolute;
  font-weight: 700;
  text-align: right;
  top: calc(50% - 2px);
  right: 0rem;
  transform: translate(0, -50%);
}

.animation {
  opacity: 0;
}

.central_line {
  position: relative;
  width: 4px;
  left: calc(50% - 2px);
  border-radius: 2px;
}
.line_0_1_w {
  background: linear-gradient(#ffffff, #b10707);
  height: 10rem;
}

.line_1_2_w {
  background: linear-gradient(#b10707, #b10707);
  height: 100%;
}

.line_2_3_w {
  background: linear-gradient(#b10707, #b10707);
  height: 100%;
}

.line_3_4_w {
  background: linear-gradient(#b10707, #b10707);
  height: 100%;
}

.line_4_5_w {
  background: linear-gradient(#b10707, #b10707);
  height: 100%;
}

.line_3_w {
  background: linear-gradient(#b10707, #ffffff);
  height: 100%;
}

.line_5_w {
  background: linear-gradient(#b10707, #ffffff);
  height: 100%;
}
.central_dot {
  position: relative;
  width: 18px;
  height: 18px;
  left: calc(50% - 9px);
  border-radius: 9px;
  cursor: pointer;
}
.clicky_dot {
  position: absolute;
  width: 300%;
  height: 300%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.clicky_or_inactive_dot_color {
  opacity: 0;
}
.clicky_or_inactive_dot_color_mobile {
  opacity: 0;
}
.c_0 {
  animation-name: clicky;
  animation-iteration-count: infinite;
  animation-duration: 2s;
}
.c_color {
  animation-name: clicky_color;
  animation-iteration-count: infinite;
  animation-duration: 3s;
}
.c_0_chiusura {
  animation-name: clicky_inactive;
  animation-duration: 2s;
  animation-iteration-count: 1;
}
.c_color_chiusura {
  animation-name: clicky_color_inactive;
  animation-duration: 2s;
  animation-iteration-count: 1;
  animation-timing-function: linear;
}
.to_click {
  cursor: pointer;
}
@keyframes clicky {
  0% {
    r: 10;
    stroke-width: 2;
    opacity: 0.3;
  }
  70% {
    r: 35;
    stroke-width: 4;
    opacity: 1;
  }
  100% {
    r: 10;
    stroke-width: 2;
    opacity: 0.3;
  }
}

@keyframes clicky_color {
  0% {
    r: 14;
    stroke-width: 8;
    opacity: 0;
  }
  70% {
    r: 30;
    stroke-width: 2;
    opacity: 0.6;
  }
  100% {
    r: 14;
    stroke-width: 8;
    opacity: 0;
  }
}

@keyframes clicky_inactive {
  0% {
    r: 13;
    stroke-width: 2;
    opacity: 0.6;
  }
  100% {
    r: 40;
    stroke-width: 1;
    opacity: 0;
  }
}

@keyframes clicky_color_inactive {
  0% {
    r: 0;
    stroke-width: 0;
    opacity: 0;
  }
  40% {
    r: 15;
    stroke-width: 8;
    opacity: 0.5;
  }
  100% {
    r: 40;
    stroke-width: 3;
    opacity: 0;
  }
}

.title_anim {
  animation-name: title_in;
  animation-iteration-count: 1;
  animation-duration: 1.5s;
}
.title_anim_mobile {
  animation-name: title_in_mobile;
  animation-iteration-count: 1;
  animation-duration: 1.5s;
}

@keyframes title_in {
  0% {
    color: #b7b7b7;
    height: 1rem;
    font-size: 1rem;
  }
  100% {
    color: black;
    height: 1.5rem;
    font-size: 1.5rem;
  }
}
@keyframes title_in_mobile {
  0% {
    color: #b7b7b7;
  }
  100% {
    color: black;
  }
}

.title_anim_out {
  animation-name: title_out;
  animation-iteration-count: 1;
  animation-duration: 1.5s;
}
.title_anim_out_mobile {
  animation-name: title_out_mobile;
  animation-iteration-count: 1;
  animation-duration: 1.5s;
}
@keyframes title_out {
  0% {
    color: black;
    height: 1.5rem;
    font-size: 1.5rem;
  }
  100% {
    color: #b7b7b7;
    height: 1rem;
    font-size: 1rem;
  }
}

@keyframes title_out_mobile {
  0% {
    color: black;
  }
  100% {
    color: #b7b7b7;
  }
}
.txt_inside {
  margin-left: auto;
  margin-right: 0;
  right: 0;
  text-align: right;
  display: none;
  padding-left: calc(3vw - 9px + 3rem);
  padding-bottom: 1rem;
  padding-top: 1rem;
  line-height: 125%;
  max-width: 32rem;
}
.animation {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}
#header-shape-gradient {
  --color-stop: #b10707;
  --color-bot: #681f19;
}

#header-shape-gradient-mobile {
  --color-stop: #b10707;
  --color-bot: #681f19;
}
.bottom_content {
  position: absolute;
  width: 100%;
  z-index: 10;
  top: 0;
  height: 55.25vw;
  font-family: "Karla", sans-serif;
  font-weight: 400;
}
.animation_opacity_out {
  animation-name: opacity_out;
  animation-iteration-count: 1;
  animation-duration: 0.5s;
}
.animation_opacity_in {
  animation-name: opacity_in;
  animation-iteration-count: 1;
  animation-duration: 0.5s;
  animation-delay: 0.5s;
}
.svg_container_bottom {
  height: 56.25vw;
}
.bottom_svg {
  position: relative;
  fill: url(#header-shape-gradient) #fff;
  margin: 0;
  width: 100%;
  height: 100vw;
}
.bottom_svg_mobile {
  position: relative;
  fill: url(#header-shape-gradient-mobile) #fff;
  margin: 0;
  width: 100%;
  display: none;
}
.azienda_form {
  position: relative;
  width: 100%;
  height: 33rem;
}
.main_sec_mobile {
  position: relative;
  width: 100%;
  font-size: 1rem;
  font-family: "Karla", sans-serif;
  font-weight: 400;
  color: black;
  display: none;
}
.w_grid_mobile {
  display: grid;
  grid-template-columns: 6% 6% 88%;
}

@media screen and (min-width: 1101px) and (max-width: 1250px) {
  @keyframes title_in {
    0% {
      color: #b7b7b7;
      height: 1rem;
      font-size: 1rem;
    }
    100% {
      color: black;
      height: 1.3rem;
      font-size: 1.3rem;
    }
  }
  @keyframes title_out {
    0% {
      color: black;
      height: 1.3rem;
      font-size: 1.3rem;
    }
    100% {
      color: #b7b7b7;
      height: 1rem;
      font-size: 1rem;
    }
  }
}
@media screen and (min-width: 930px) and (max-width: 1100px) {
  @keyframes title_in {
    0% {
      color: #b7b7b7;
      height: 1rem;
      font-size: 1rem;
    }
    100% {
      color: black;
      height: 1.1rem;
      font-size: 1.1rem;
    }
  }
  @keyframes title_out {
    0% {
      color: black;
      height: 1.1rem;
      font-size: 1.1rem;
    }
    100% {
      color: #b7b7b7;
      height: 1rem;
      font-size: 1rem;
    }
  }
}
@media screen and (max-width: 929px) {
  .w_100_next {
    display: none;
  }
  .line_0_1_w {
    height: 3.5rem;
  }
  .extra_bottom_space {
    height: 3.5rem;
  }
  .main_sec {
    display: none;
  }
  .main_sec_mobile {
    display: block;
  }
  h1 {
    text-align: left;
    right: unset;
    left: 3.5vw;
    padding-right: 6vw;
  }
  .title_mobile {
    position: absolute;
    width: 100%;
    height: 1rem;
    top: 50%;
    left: 0;
    transform: translate(0, -50%);
    letter-spacing: 1px;
    color: #b7b7b7;
    font-size: 0.8rem;
    white-space: normal;
  }
  .title_container {
    transform: translate(0, 1px);
  }
  .txt_inside {
    text-align: left;
    display: none;
    padding-left: 3.5vw;
    padding-right: 6vw;
    padding-bottom: 1rem;
    padding-top: 1rem;
    margin-left: unset;
    margin-right: unset;
    right: unset;
    max-width: unset;
  }
  .w_100_bottom {
    top: calc(3.1vw - 27px + 5px);
    display: grid;
    grid-template-columns: 6% 6% 88%;
  }
  .bottom_svg {
    display: none;
  }
  .bottom_svg_mobile {
    display: block;
  }
}
@media screen and (max-width: 929px) {
  .azienda_form {
    height: 48rem;
  }
}
@media screen and (max-width: 790px) {
  .azienda_form {
    height: 46rem;
  }
}

@media screen and (max-width: 700px) {
  .azienda_form {
    height: 45rem;
  }
}

@media screen and (max-width: 536px) {
  .azienda_form {
    height: 52rem;
  }
}
@media screen and (max-width: 292px) {
  .azienda_form {
    height: 53rem;
  }
}
@media screen and (max-width: 254px) {
  .azienda_form {
    height: 54rem;
  }
}
