@media screen and (min-width: 1000px) {
  .border_catalog {
    width: 100%;
    height: 1px;
    background: #d9d9d9;
  }
  .catalog {
    margin: 60px 60px 80px 60px;
    display: flex;
    align-items: flex-start;
  }
  .docs_catalog_title {
    color: #000;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 150.523%; /* 36.125px */
  }
  .docs_catalog_items {
    display: flex;
    gap: 40px;
    padding: 45px 0 5px 0;
  }
  .guides_main {
    display: flex;
    flex-direction: column;
    gap: 45px;
  }
  .guides {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-around;
  }
  .tse {
    width: 285px;
    height: 199px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border: 2px solid #ed1c24;
    color: #000;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 150.523%; /* 24.084px */
  }

  .tse_wrapper {
    width: 100%;
    height: 100%;
  }
  .tse-line {
    width: 100%;
    position: relative;
    top: 95px;
    z-index: -2;
    height: 2px;
    background: #ed1c24;
  }

  .tse-item {
    display: flex;
    position: relative;
    position: relative;
    z-index: 1;
    margin-top: 30px;
    align-items: center;
    gap: 15px;
    flex-direction: column;
    justify-content: center;
  }
  .tse:hover .tse-line {
    height: 100%;
    top: 0;
    transition: ease-in-out 0.5s;
    -webkit-transition: ease-in-out 0.5s;
    -moz-transition: ease-in-out 0.5s;
    -ms-transition: ease-in-out 0.5s;
    -o-transition: ease-in-out 0.5s;
  }

  .tse:not(:hover) .tse-line {
    transition: ease-in-out 0.5s;
    -webkit-transition: ease-in-out 0.5s;
    -moz-transition: ease-in-out 0.5s;
    -ms-transition: ease-in-out 0.5s;
    -o-transition: ease-in-out 0.5s;
  }
  .tse:not(:hover) .tse-item {
    transition: ease-in-out 0.5s;
    -webkit-transition: ease-in-out 0.5s;
    -moz-transition: ease-in-out 0.5s;
    -ms-transition: ease-in-out 0.5s;
    -o-transition: ease-in-out 0.5s;
    bottom: 15px;
  }

  .tse:hover .tse-item {
    position: relative;
    opacity: 1;
    height: 100%;
    z-index: 1;
    transform: translateY(-95%);
    transition: transform 0.5s ease-in-out;
    animation: opacity-anim 1.2s;
    margin-top: 0px;
    bottom: -1;
    color: #fff;
    -webkit-animation: opacity-anim 1.2s;
    -webkit-transform: translateY(-95%);
    -moz-transform: translateY(-95%);
    -ms-transform: translateY(-95%);
    -o-transform: translateY(-95%);
  }

  .bsx {
    width: 285px;
    height: 157px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border: 2px solid #000;
    color: #000;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 150.523%; /* 24.084px */
  }
  .bsx_wrapper {
    width: 100%;
    height: 100%;
  }
  .bsx-line {
    width: 100%;
    position: relative;
    top: 75px;
    z-index: -2;
    height: 2px;
    background: #000;
  }
  .bsx:hover {
    border: 2px solid #ed1c24;
  }
  .bsx:hover .bsx-item > img {
    transition: 0.2s;
    border: 2px solid #ed1c24;
    -webkit-transition: 0.2s;
    -moz-transition: 0.2s;
    -ms-transition: 0.2s;
    -o-transition: 0.2s;
  }
  .bsx-item > img {
    background: #fff;
    padding: 5px 15px;
    border: 2px solid #000;
    border-radius: 6px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    -ms-border-radius: 6px;
    -o-border-radius: 6px;
  }

  .bsx-item {
    display: flex;
    position: relative;
    position: relative;
    z-index: 1;
    margin-top: 30px;
    align-items: center;
    gap: 10px;
    flex-direction: column;
    justify-content: center;
  }
  .bsx:hover .bsx-line {
    height: 100%;
    top: 0;
    background-color: #ed1c24;
    transition: ease-in-out 0.5s;
    -webkit-transition: ease-in-out 0.5s;
    -moz-transition: ease-in-out 0.5s;
    -ms-transition: ease-in-out 0.5s;
    -o-transition: ease-in-out 0.5s;
  }

  .bsx:not(:hover) .bsx-line {
    transition: ease-in-out 0.5s;
    -webkit-transition: ease-in-out 0.5s;
    -moz-transition: ease-in-out 0.5s;
    -ms-transition: ease-in-out 0.5s;
    -o-transition: ease-in-out 0.5s;
  }
  .bsx:not(:hover) .bsx-item {
    transition: ease-in-out 0.5s;
    -webkit-transition: ease-in-out 0.5s;
    -moz-transition: ease-in-out 0.5s;
    -ms-transition: ease-in-out 0.5s;
    -o-transition: ease-in-out 0.5s;
  }

  .bsx:hover .bsx-item {
    position: relative;
    opacity: 1;
    height: 100%;
    z-index: 9999;
    transform: translateY(-95%);
    transition: transform 0.5s ease-in-out;
    animation: opacity-anim 1.2s;
    margin-top: 0px;
    bottom: -1;
    color: #fff;
    -webkit-animation: opacity-anim 1.2s;
    -webkit-transform: translateY(-95%);
    -moz-transform: translateY(-95%);
    -ms-transform: translateY(-95%);
    -o-transform: translateY(-95%);
    -webkit-transition: transform 0.5s ease-in-out;
    -moz-transition: transform 0.5s ease-in-out;
    -ms-transition: transform 0.5s ease-in-out;
    -o-transition: transform 0.5s ease-in-out;
  }

  @keyframes opacity-anim {
    0% {
      color: #000;
    }
    100% {
      color: #fff;
    }
  }

  .ce {
    width: 285px;
    height: 199px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border: 2px solid #000;
    color: #000;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 150.523%; /* 24.084px */
  }
  .ce_wrapper {
    width: 100%;
    height: 100%;
  }
  .ce-line {
    width: 100%;
    position: relative;
    top: 95px;
    z-index: -2;
    height: 2px;
    background: #000;
  }

  .ce-item {
    display: flex;
    position: relative;
    position: relative;
    z-index: 1;
    margin-top: 30px;
    align-items: center;
    gap: 15px;
    flex-direction: column;
    justify-content: center;
  }
  .ce:hover .ce-line {
    height: 100%;
    top: 0;
    transition: ease-in-out 0.5s;
    -webkit-transition: ease-in-out 0.5s;
    -moz-transition: ease-in-out 0.5s;
    -ms-transition: ease-in-out 0.5s;
    -o-transition: ease-in-out 0.5s;
  }

  .ce:not(:hover) .ce-line {
    transition: ease-in-out 0.5s;
    -webkit-transition: ease-in-out 0.5s;
    -moz-transition: ease-in-out 0.5s;
    -ms-transition: ease-in-out 0.5s;
    -o-transition: ease-in-out 0.5s;
  }
  .ce:not(:hover) .ce-item {
    transition: ease-in-out 0.5s;
    -webkit-transition: ease-in-out 0.5s;
    -moz-transition: ease-in-out 0.5s;
    -ms-transition: ease-in-out 0.5s;
    -o-transition: ease-in-out 0.5s;
    bottom: 15px;
  }

  .ce:hover .ce-item {
    position: relative;
    opacity: 1;
    height: 100%;
    z-index: 9999;
    transform: translateY(-95%);
    transition: transform 0.5s ease-in-out;
    animation: opacity-anim 1.2s;
    margin-top: 0px;
    bottom: -1;
    color: #fff;
    -webkit-animation: opacity-anim 1.2s;
    -webkit-transform: translateY(-95%);
    -moz-transform: translateY(-95%);
    -ms-transform: translateY(-95%);
    -o-transform: translateY(-95%);
  }
  .certificates {
    margin: 60px 60px 80px 60px;
    display: flex;
    width: 90%;
    flex-direction: column;
    align-items: flex-start;
    gap: 54px;
    color: #000;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 150.523%; /* 36.125px */
  }
  .certificates-container {
    display: flex;
    width: 100%;
    gap: 65px;
    padding: 50px 0;
    overflow-x: scroll;
  }
  .certificates-container::-webkit-scrollbar {
    height: 5px;
  }

  /* Track */
  .certificates-container::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 10px;
  }

  /* Handle */
  .certificates-container::-webkit-scrollbar-thumb {
    background: red;
    width: 10px !important;
    border-radius: 10px;
  }

  /* Handle on hover */
  .certificates-container::-webkit-scrollbar-thumb:hover {
    background: #b30000;
  }
  .certificate {
    color: #000;
    font-family: Inter;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 150.523%; /* 36.125px */
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .certificate img {
    width: 350px;
    height: 500px;
    object-fit: cover;
  }
  .brochuras {
    margin: 60px 60px 80px 60px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 54px;
    color: #000;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 150.523%; /* 36.125px */
  }
  .brochuras_items {
    display: grid;
    color: #000;
    width: 100%;
    place-items: center;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
  }
  .brochuras_items img {
    margin-bottom: 65px;
  }
}
@media screen and (max-width: 1000px) {
  .border_catalog {
    width: 100%;
    height: 1px;
    background: #d9d9d9;
  }
  .catalog {
    margin: 20px;
    display: flex;
    align-items: flex-start;
  }
  .docs_catalog{
    display: flex;
    flex-direction: column;
  }
  .docs_catalog_title {
    color: #000;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 150.523%; /* 24.084px */
  }
  .docs_catalog_items {
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: center;
    padding: 45px 0 5px 0;
  }
  .docs_catalog_items a{
    width: 100%;
    height: 100%;
  }
  .docs_catalog_items a img {
    width: 150px;
    height: 222px;
    flex-shrink: 0;
  }
  .guides_main {
    display: flex;
    flex-direction: column;
    gap: 45px;
  }
  .guides {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 45px;
  }
  .tse {
    width: 285px;
    height: 199px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border: 2px solid #ed1c24;
    color: #000;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 150.523%; /* 24.084px */
  }

  .tse_wrapper {
    width: 100%;
    height: 100%;
  }
  .tse-line {
    width: 100%;
    position: relative;
    top: 95px;
    z-index: -2;
    height: 2px;
    background: #ed1c24;
  }

  .tse-item {
    display: flex;
    position: relative;
    position: relative;
    z-index: 9999;
    margin-top: 30px;
    align-items: center;
    gap: 15px;
    flex-direction: column;
    justify-content: center;
  }


 

  .bsx {
    width: 285px;
    height: 157px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border: 2px solid #000;
    color: #000;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 150.523%; /* 24.084px */
  }
  .bsx_wrapper {
    width: 100%;
    height: 100%;
  }
  .bsx-line {
    width: 100%;
    position: relative;
    top: 75px;
    z-index: -2;
    height: 2px;
    background: #000;
  }
  .bsx-item > img {
    background: #fff;
    padding: 5px 15px;
    border: 2px solid #000;
    border-radius: 6px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    -ms-border-radius: 6px;
    -o-border-radius: 6px;
  }

  .bsx-item {
    display: flex;
    position: relative;
    position: relative;
    z-index: 9999;
    margin-top: 30px;
    align-items: center;
    gap: 10px;
    flex-direction: column;
    justify-content: center;
  }

  .ce {
    width: 285px;
    height: 199px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border: 2px solid #000;
    color: #000;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 150.523%; /* 24.084px */
  }
  .ce_wrapper {
    width: 100%;
    height: 100%;
  }
  .ce-line {
    width: 100%;
    position: relative;
    top: 95px;
    z-index: -2;
    height: 2px;
    background: #000;
  }

  .ce-item {
    display: flex;
    position: relative;
    position: relative;
    z-index: 1;
    margin-top: 30px;
    align-items: center;
    gap: 15px;
    flex-direction: column;
    justify-content: center;
  }
  .certificates {
    margin: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    color: #000;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 150.523%; /* 16.411px */
  }
  .certificates-container {
    display: flex;
    width: 100%;
    gap: 40px;
    padding: 50px 0;
    overflow-x: scroll;
  }
  .certificates-container::-webkit-scrollbar {
    height: 5px;
  }

  /* Track */
  .certificates-container::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 10px;
  }

  /* Handle */
  .certificates-container::-webkit-scrollbar-thumb {
    background: red;
    width: 10px !important;
    border-radius: 10px;
  }

  /* Handle on hover */
  .certificates-container::-webkit-scrollbar-thumb:hover {
    background: #b30000;
  }
  .certificate {
    color: #000;
    font-family: Inter;
    font-size: 10.903px;
    font-style: normal;
    font-weight: 600;
    line-height: 150.523%; /* 16.411px */
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .certificate img {
    width: 181.714px;
    height: 257.858px;
    object-fit: cover;
  }
  .brochuras {
    margin: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 54px;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 150.523%; /* 16.411px */
  }
  .brochuras_items {
    display: grid;
    color: #000;
    width: 100%;
    place-items: center;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
  }
  .brochuras_items img {
    margin-bottom: 25px;
    width: 150px;
  }
}
