* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Open Sans", sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}


/* Block_1 Breadcrumb */
.breadcrumb-container {
  font-family: "Roboto Condensed", sans-serif;
  width: 100%;
  height: 45vh;
  max-height: 350px;
  overflow: hidden;
  margin: auto;
  margin-top: 0;
  position: relative;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-image: url("images/services/artelektryka-servis.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.breadcrumb-content {
  display: flex;
  width: 100%;
  height: 100%;
  position: relative;
}

.breadcrumb-text {
  min-width: 100%;
  height: 100%;
}

.breadcrumb-image {
  display: none;
}

.breadcrumb-title {
  color: white;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 36px;
  font-weight: 7000;
  line-height: 30px;
  position: absolute;
  margin-top: 5px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  overflow-wrap: normal;
  word-wrap: break-word;
  width: 80%;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8),
  2px 2px 3px rgba(0, 0, 0, 0.6),
  3px 3px 4px rgba(0, 0, 0, 0.4);
}

.breadcrumb-overlay {
  min-width: 10%;
  max-width: 90%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.3);
  text-align: center;
  margin-top: 95px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 50px;
  padding: 20px;
  overflow-wrap: normal;
  word-break: break-word;
}

.breadcrumb-overlay ul {
  color: white;
  align-items: center;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-block;
}

.breadcrumb-overlay ul li {
  font-family: Roboto, sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 16px;
  margin: 0 5px;
  white-space: normal;
  display: inline-block;
}

.breadcrumb-overlay ul li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
  word-wrap: break-word;
}

.breadcrumb-overlay ul li a:hover {
  color: rgb(161, 170, 177);
}

.breadcrumb-overlay ul li span {
  color: #fff;
  font-weight: 700;
  margin: 0 5px;
}



/* Block_title_h2 */
.block_title_h2 {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 700;
  font-style: normal;
  text-align: center;
  font-size: 30px;
  color: #333;
  margin-top: 45px;
  margin-bottom: 30px;
  margin-right: 970px;
  line-height: 54px;
  white-space: nowrap;
  }

  .underline {
    display: inline-block;
    border-bottom: 3px solid #333;
    padding-bottom: 4px;
  }



@media (max-width: 767px) {
  /* Block_1 Breadcrumb */
  .breadcrumb-content {
    height: 75%;
  }

  .breadcrumb-container {
    background-image: url("images/services/artelektryka-servis-m.jpg");
  }

  .breadcrumb-title {
    font-size: 28px;
    margin-top: 20px;
    padding: 17px;
    width: 80%;
    line-height: 35px;
  }

  .breadcrumb-overlay {
    padding: 10px 20px;
    margin-top: 100px;
    max-width: 70%;
  }

  .breadcrumb-overlay ul {
    display: block;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: center;
  }

  .breadcrumb-overlay ul li {
    font-size: 11px;
    margin: 5px 0;
    display: inline;
    white-space: normal;
  }

  .breadcrumb-overlay ul li span {
    font-size: 10px;
  }

  /* Block_title_h2 */
  .block_title_h2 {
    font-size: 24px;
    margin-top: 10px;
    margin-left: 35px;
  }
}



@media (min-width: 768px) and (max-width: 1200px) {
    /* Block_1 Breadcrumb */
  .page_2-container {
    height: 28vh;
    max-height: 250px;
  }

  .breadcrumb-container {
    background-image: url("images/services/artelektryka-servis-p.jpg");
  }

  .breadcrumb-title {
    width: 80%;
    font-size: 30px;
    margin-top: -25px;
    padding: 18px;
  }

  .breadcrumb-overlay {
    padding: 12px 25px;
    margin-top: 70px;
    max-width: 80%;
  }
  .breadcrumb-overlay ul {
    display: block;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: center;
  }

  .breadcrumb-overlay ul li {
    font-size: 12px;
    margin: 0 4px;
  }

  .breadcrumb-overlay ul li span {
    font-size: 12px;
    word-wrap: break-word;
  }

/* Block_title_h2 */
.block_title_h2 {
  font-size: 24px;
  margin-top: 10px;
  margin-left: 85px;
}
}
