.std_header_w_h {
  top: 0px;
  left: 0;
  height: 3.5rem;
  width: 100%;
}

.std_100_w_h {
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

.fixed_container {
  position: absolute;
  top: 0rem;
  width: 100%;
  z-index: 3000;
  display: none;
}

.for_slide_down {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3.5rem;
  transition: 700ms;
  z-index: 2000;
  animation-delay: 0s;
  opacity: 1;
  animation-timing-function: ease-in-out;
  animation-direction: alternate;
  animation-fill-mode: forwards;
  animation-iteration-count: 1;
}

.for_backdrop {
  backdrop-filter: blur(10px);
  background-color: #ffffff65;
  position: absolute;
  top: -3rem;
  left: 0;
  width: 100%;
  height: 6.5rem;
}

.for_mobile_list {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 601;
}

.logo_for_home_container {
  position: absolute;
  height: 3rem;
  top: 0.25rem;
  left: 3rem;
}
.logo_for_home {
  position: relative;
  height: 100%;
  left: 0;
}
.logo_for_home_link {
  cursor: pointer;
}

a {
  text-decoration: none;
  color: #202020;
}

.main-header {
  position: fixed;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background-color: #ffffff65;
}

.main-header__nav {
  position: absolute;
}

.tdm-logo {
  position: absolute;
  height: 3rem;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.menu-item {
  height: 5.5rem;
  width: 100%;
  text-align: center;
  align-items: center;
  opacity: 0;
  cursor: pointer;
}

.menu-list {
  position: absolute;
  font-family: "Karla", sans-serif;
  font-weight: 400;
  font-size: 1.6rem;
  letter-spacing: 1px;
  width: 100%;
  top: 50%;
  transform: translate(0, -50%);
  display: none;
  z-index: 610;
}

.nav-background {
  position: fixed;
  display: none;
  background-color: #b10707;
  opacity: 0;
  z-index: 600;
}

.box {
  width: 2.4rem;
  height: 2.4rem;
  cursor: pointer;
  text-align: center;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 0.3rem;
  right: 1rem;
}

.btn {
  position: absolute;
  width: 29px;
  height: 33px;
  cursor: pointer;
  display: block;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.span_for_navigation {
  margin-top: 7px;
  margin-bottom: 7px;
  display: block;
  width: 37px;
  border-radius: 2px;
  height: 4px;
  background-color: #b10707;
  transition: all 0.3s;
  position: relative;
}

.nav_background_out {
  animation-name: opacity-to-0;
  animation-duration: 0.45s;
  animation-delay: 0s;
  animation-iteration-count: 1;
  animation-timing-function: linear;
  animation-direction: normal;
  animation-fill-mode: forwards;
}

.nav_background_in {
  animation-name: opacity-to-1;
  animation-duration: 0.45s;
  animation-delay: 0s;
  animation-iteration-count: 1;
  animation-timing-function: linear;
  animation-direction: normal;
  animation-fill-mode: forwards;
}

.nav-background {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  opacity: 0;
}

@keyframes opacity-to-0 {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes opacity-to-1 {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.display_block {
  display: block;
}

.display_none {
  display: none;
}

@keyframes navLinkFade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0px);
  }
}

.active .span_for_navigation:nth-child(1) {
  animation: ease 0.7s top forwards;
}

.not-active .span_for_navigation:nth-child(1) {
  animation: ease 0.7s top-2 forwards;
}

.active .span_for_navigation:nth-child(2) {
  animation: ease 0.7s scaled forwards;
}

.not-active .span_for_navigation:nth-child(2) {
  animation: ease 0.7s scaled-2 forwards;
}

.active .span_for_navigation:nth-child(3) {
  animation: ease 0.7s bottom forwards;
}

.not-active .span_for_navigation:nth-child(3) {
  animation: ease 0.7s bottom-2 forwards;
}

@keyframes top {
  0% {
    top: 0;
    transform: rotate(0);
  }
  50% {
    top: 11px;
    transform: rotate(0);
  }
  100% {
    top: 11px;
    transform: rotate(45deg);
  }
}

@keyframes top-2 {
  0% {
    top: 11px;
    transform: rotate(45deg);
  }
  50% {
    top: 11px;
    transform: rotate(0deg);
  }
  100% {
    top: 0;
    transform: rotate(0deg);
  }
}

@keyframes bottom {
  0% {
    bottom: 0;
    transform: rotate(0);
  }
  50% {
    bottom: 11px;
    transform: rotate(0);
  }
  100% {
    bottom: 11px;
    transform: rotate(135deg);
  }
}

@keyframes bottom-2 {
  0% {
    bottom: 11px;
    transform: rotate(135deg);
  }
  50% {
    bottom: 11px;
    transform: rotate(0);
  }
  100% {
    bottom: 0;
    transform: rotate(0);
  }
}

@keyframes scaled {
  50% {
    transform: scale(0);
  }
  100% {
    transform: scale(0);
  }
}

@keyframes scaled-2 {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}

@media screen and (max-width: 929px) {
  .tdm-a {
    display: none;
  }

  .main-header {
    position: fixed;
    z-index: 1000;
    backdrop-filter: unset;
    background-color: #ffffff00;
  }
  .nav-link {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

@media screen and (min-width: 930px) {
  .for_mobile_list {
    display: none;
  }
  .box {
    display: none;
  }
  .main-header {
    position: absolute;
    z-index: 1000;
    top: 0;
    background-color: unset;
  }
  .menu-list {
    font-size: 1rem;
    font-weight: 600;
    position: absolute;
    right: 0;
    top: 0;
    display: flex;
    flex-direction: row;
    height: 3.5rem;
    align-items: center;
    opacity: 1;
    transform: none;
    width: auto;
    z-index: 1100;
  }

  .menu-item {
    position: relative;
    text-transform: uppercase;
    top: -0.1rem;
    height: 1rem;
    opacity: 1;
    white-space: nowrap;
    margin-right: 3rem;
    color: "#000000";
  }
  .nav-link {
    padding-bottom: 1.15rem;
    display: inline-block;
    position: relative;
  }
  .nav-link::before {
    transition: 500ms;
    height: 2px;
    content: "";
    position: absolute;
    background-color: #b10707;
  }
  .nav-link-ltr::before {
    width: 0%;
    bottom: 10px;
    left: 50%;
    transform: translate(-50%, 0);
  }
  .nav-link-ltr:hover::before {
    width: 100%;
  }
  .tdm-logo {
    display: none;
  }
  a {
    text-decoration: none;
    color: #b10707;
  }
  .fixed_container {
    display: block;
  }
}

@media screen and (min-width: 1035px) and (max-width: 1250px) {
  .menu-list {
    font-size: 0.9rem;
  }
  .menu-item {
    margin-right: 1.8rem;
  }
}
@media screen and (min-width: 980px) and (max-width: 1049px) {
  .logo_for_home_container{
    left: 2rem;
  }
  .menu-list {
    font-size: 0.9rem;
  }
  .menu-item {
    margin-right: 1.2rem;
  }
}

@media screen and (min-width: 930px) and (max-width: 979px) {
  .logo_for_home_container{
    left: 1rem;
  }
  .menu-list {
    font-size: 0.9rem;
  }
  .menu-item {
    margin-right: 1rem;
  }
}

@media screen and (max-width: 929px) and (max-height: 800px) {
  .menu-item {
    height: 5rem;
  }
}

@media screen and (max-width: 929px) and (max-height: 710px) {
  .menu-item {
    height: 4.2rem;
  }
  .menu-list {
    font-size: 1.4rem;
  }
}

@media screen and (max-width: 929px) and (max-height: 600px) {
  .menu-item {
    height: 3.6rem;
  }
  .menu-list {
    font-size: 1.2rem;
  }
}
@media screen and (max-width: 929px) and (max-height: 540px) {
  .menu-item {
    height: 3.2rem;
  }
}


.sub-menu {
  font-size: 0.85rem;
  position: absolute;
  top: 2.15rem;
  left: 50%;
  transform: translate(-50%, 0);
  overflow: hidden;
  height: 1.5rem;
  text-transform: none;
}

.revisioni_blog_link {
  opacity: 0;
  transform: translate(0, -100%);
}
.tooling_blog_link {
  opacity: 0;
  transform: translate(0, -100%);
}

.hover_blog_link_down {
  animation-name: hover_blog_link_down_key;
  animation-duration: 0.5s;
  animation-delay: 0.3s;
  animation-iteration-count: 1;
  animation-timing-function: ease-in-out;
}

@keyframes hover_blog_link_down_key {
  0% {
    opacity: 0;
    transform: translate(0, -100%);
  }
  100% {
    opacity: 1;
    transform: translate(0, 0);
  }
}

.hover_slide_down {
  animation-name: hover_slide_down_key;
  animation-duration: 0.5s;
  animation-delay: 0.3s;
  animation-iteration-count: 1;
  animation-timing-function: ease-in-out;
}

@keyframes hover_slide_down_key {
  0% {
    top: -3rem;
  }
  100% {
    top: -1.2rem;
  }
}


.hover_blog_link_down_out {
  animation-name: hover_blog_link_down_key_out;
  animation-duration: 0.5s;
  animation-delay: 0;
  animation-iteration-count: 1;
  animation-timing-function: ease-in-out;
}

@keyframes hover_blog_link_down_key_out {
  0% {
    opacity: 1;
    transform: translate(0, 0);

  }
  100% {
    opacity: 0;
    transform: translate(0, -100%);
  }
}

.hover_slide_down_out {
  animation-name: hover_slide_down_key_out;
  animation-duration: 0.5s;
  animation-delay: 0;
  animation-iteration-count: 1;
  animation-timing-function: ease-in-out;
}

@keyframes hover_slide_down_key_out {
  0% {
    top: -1.2rem;
  }
  100% {
    top: -3rem;
  }
}
.revisioni_blog_link{
  display: none;
}
.tooling_blog_link{
  display: none;
}
