@import url(/style/general-styles/_heder.css);
@import url(/style/general-styles/_footer.css);
@import url(/style/general-styles/_popup.css);
@import url(/style/general-styles/_all-page.css);
@import url(/style/general-styles/_rectangle.css);

/*Main block start*/

.main-block {
    padding: 120px 0 0;
    margin-bottom: 200px;
}

.main-content {
    margin: 0 20px;
}

.tab {
  overflow: hidden;
  display: flex;
  padding: auto;
  justify-content: center;
  gap: 16px;
}

.tab a {
  background-color: inherit;
  float: left;
  outline: none;
  cursor: pointer;
  text-align: center;
  transition: all 0.5s;
  font-size: 20px;
  padding: 8px;
  box-sizing: border-box;
}

.bt-1 {
  width: 97px;
  height: 44px;
}

.bt-2 {
  width: 167px;
  height: 44px;
}

.bt-3 {
  width: 274px;
  height: 44px;
}

.bt-4 {
  width: 102px;
  height: 44px;
}

.tab a:hover {
  border-bottom: 2px solid #0635db;
  color: #0635db;
}

.tab a.active {
  border-bottom: 2px solid #0635db ;
  color: #0635db;
}

.tabcontent {
  display: none;
  margin-top: 60px;
}

.top {
  margin-top: 24px;
}

.all-card {
    display: flex;
    flex-flow: column;
    gap: 24px;
}

.card {
    display: flex;
    gap: 40px;
    width: 100%;
    border: 2px solid #0635db;
    border-radius: 16px;
    padding: 24px;
    box-sizing: border-box;
    height: 285px;
    transition: all 0.5s;
}

.card img {
    width: 336px;
}

.card-content {
    width: 100%;
}

.card-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.card-title-comp {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.card-title-pechati {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.card-title-pechati p {
  font-size: 24px;
  font-weight: bold;
}

.card-title-ip {
  display: flex;
    align-items: top;
    justify-content: space-between;
    margin-bottom: 84px;
    height: 100px;
}

.card-title-comp p {
  font-size: 24px;
    font-weight: bold;
}

.card-title-ip p {
  font-size: 24px;
    font-weight: bold;
}

.card-title p {
    font-size: 24px;
    font-weight: bold;
}

.card-info {
    margin-bottom: 16px;
}

.card-info-services {
  width: 600px;
  height: 107px;
  margin-bottom: 24px;
}

.card-info-accessories p {
  font-size: 18px;
  width: 600px;
  height: 107px;
  margin-bottom: 32px;
}

.card-info p {
    font-size: 18px;
}

.card-info span {
    font-weight: bold;
}

.card-buttons {
    display: flex;
    justify-content: end;
    gap: 24px;
    align-items: center;
}

.card-button-1 button {
    font-size: 20px;
    width: 208px;
    height: 46px;
    background-color: #0635db;
    border: none;
    color: #fff;
    border-radius: 8px;
    transition: all 0.5s;
    cursor: pointer;
}

.card-button-2 a {
    font-size: 20px;
    width: 153px;
    height: 46px;
    padding: 10px 24px;
    color: #000;
    text-decoration: none;
    background-color: #fff;
    border: 2px solid #0635db;
    border-radius: 8px;
    transition: all 0.5s;
    cursor: pointer;
}

.card-button-2-services button {
  font-size: 20px;
  width: 147px;
  height: 46px;
  background-color: #fff;
  border: 2px solid #0635db;
  color: #000;
  border-radius: 8px;
  transition: all 0.5s;
  cursor: pointer;
}

.card:hover {
    background-color: #0635db;
    color: #fff;
}

.card:hover .card-button-1 button {
    background-color: #fff;
    color: #000;
}

.card:hover .card-button-2 a {
    background-color: #0635db;
    color: #fff;
    border: 2px solid #fff;
}

.card:hover .card-button-2-services button {
  background-color: #0635db;
  color: #fff;
  border: 2px solid #fff;
}


/*Main block end*/


@media (max-width: 768px) {

/*Main block start*/

.main-block {
  padding: 112px 0 0;
  margin-bottom: 80px;
}

.main-content {
  margin: 0 20px;
}

.tab {
  overflow-x: auto;
  display: flex;
  flex-wrap: nowrap;
  padding: auto;
  justify-content: start;
  gap: 8px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.tab::-webkit-scrollbar {
  display: none; /* Убирает скроллбар в Chrome, Safari и Opera */
}

.tab a {
  background-color: inherit;
  float: left;
  outline: none;
  cursor: pointer;
  text-align: center;
  transition: all 0.5s;
  font-size: 16px;
  padding: 8px;
  box-sizing: border-box;
}

.bt-1 {
  width: 72px;
  height: 36px;
}

.bt-2 {
  width: 124px;
  height: 36px;
}

.bt-3 {
  width: 210px;
  height: 36px;
}

.bt-4 {
  display: none;
  width: 68px;
  height: 36px;
}

.tab a:hover {
  border-bottom: 2px solid #0635db;
  color: #0635db;
}

.tab a.active {
  border-bottom: 2px solid #0635db;
  color: #0635db;
}

.tabcontent {
  display: none;
  margin-top: 32px;
}

.top {
  margin-top: 16px;
}

.all-card {
  display: flex;
  flex-flow: row wrap;
  gap: 8px;
  width: 100%;
}

.card {
  display: flex;
  gap: 8px;
  width: 48%;
  flex-flow: column;
  border: 2px solid #0635db;
  border-radius: 8px;
  padding: 8px;
  box-sizing: border-box;
  height: 100%;
  align-items: center;
  transition: all 0.5s;
}

.card img {
  width: 140px;
  object-fit: scale-down;
  margin-bottom: 16px;
}

.card-content {
  width: 100%;
}

.card-title {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
}

.card-title-comp {
  display: flex;
  flex-flow: column;
  justify-content: start;
  align-items: start;
  margin-bottom: 16px;
}

.card-title-comp p {
  font-size: 14px;
}

.card-title-ip {
  display: flex;
  align-items: top;
  flex-flow: column;
  justify-content: start;
  margin-bottom: 8px;
  height: 100%;
}

.card-title-pechati {
  display: flex;
  align-items: top;
  flex-flow: column;
  justify-content: start;
  margin-bottom: 8px;
  height: 100%;
}

.card-title-pechati p {
  font-size: 14px;
  font-weight: bold;
}

.card-title-pechati span {
  display: none;
}

.card-title-ip span {
  display: none;
}

.no {
  display: none;
}

.card-title-ip p {
  font-size: 13px;
  font-weight: bold;
}

.card-title p {
  font-size: 14px;
  font-weight: bold;
}

.card-title span {
  display: none;
}

.card-info {
  margin-bottom: 16px;
}

.card-info-services {
  display: none;
}

.card-info-accessories {
  display: none;
}

.card-info-accessories p {
  font-size: 12px;
  width: 100%;
  height: 100%;
  margin-bottom: 8px;
}

.card-info-accessories span {
  display: none;
}

.card-info {
  display: none;
}

.card-buttons {
  display: flex;
  flex-flow: column;
  align-items: center;
  gap: 8px;
}

.card-button-1,
.card-button-2-services {
  width: 100%;
}

.card-button-1 button {
  font-size: 14px;
  width: 100%;
  height: 36px;
  background-color: #0635db;
  border: none;
  color: #fff;
  border-radius: 8px;
  transition: all 0.5s;
  cursor: pointer;
}

.card-button-2 a {
  font-size: 14px;
  height: 46px;
  padding: 10px 24px;
  color: #000;
  text-decoration: none;
  background-color: #fff;
  border: 2px solid #0635db;
  border-radius: 8px;
  transition: all 0.5s;
  cursor: pointer;
}

.card-button-2-services button {
  font-size: 14px;
  width: 100%;
  height: 36px;
  background-color: #fff;
  border: 2px solid #0635db;
  color: #000;
  border-radius: 8px;
  transition: all 0.5s;
  cursor: pointer;
}

.card:hover {
  background-color: #0635db;
  color: #fff;
}

.card:hover .card-button-1 button {
  background-color: #fff;
  color: #000;
}

.card:hover .card-button-2 a {
  background-color: #0635db;
  color: #fff;
  border: 2px solid #fff;
}

.card:hover .card-button-2-services button {
  background-color: #0635db;
  color: #fff;
  border: 2px solid #fff;
}

/*Main block end*/

}