@charset "UTF-8";
.angle {
  /* flex: 1 0 0;*/
  margin-right: -20px;
  position: relative;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%);
  z-index: 1;
}

.angle-transparent {
  position: relative;
  display: inline-block;
  padding: 13px 40px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 3px;
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  background: transparent;
  overflow: hidden; /* чтобы угол не вылезал */
}

/* дорисовываем угол справа */
.angle-transparent::after {
  content: "";
  position: absolute;
  top: 0;
  right: -20px; /* ширина выступа */
  width: 20px;
  height: 100%;
  background: transparent; /* фон кнопки */
  border-top: 2px solid rgba(255, 255, 255, 0.7);
  border-right: 2px solid rgba(255, 255, 255, 0.7);
  border-bottom: 2px solid rgba(255, 255, 255, 0.7);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

/* segments */
.transport-wrapper {
  display: flex;
  align-items: stretch;
  height: 300px;
  overflow: hidden;
  /* background: #f0f2f5;*/
}

.transport-segment {
  flex: 1 0 0;
  margin-right: -40px;
  position: relative;
  clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 50%, calc(100% - 40px) 100%, 0 100%);
  z-index: 1;
}

.transport-segment:last-child {
  margin-right: 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.segment-inner {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  transition: transform 0.3s ease;
}

.transport-segment:hover .segment-inner {
  transform: scale(1.1);
}

.segment-railway {
  background-image: url("../img/segments/train.jpg");
}

.segment-plane {
  background-image: url("../img/segments/airplane.jpg");
}

.segment-ship {
  background-image: url("../img/segments/ship.jpg");
}

.segment-truck {
  background-image: url("../img/segments/truck.jpg");
}

/* About Section */
.about-bg-img {
  position: relative;
  height: 800px;
  background-image: url(../img/container.jpg);
  background-size: cover;
  background-position: center;
}

@media (max-width: 576px) {
  .transport-wrapper {
    display: flex;
    align-items: stretch;
    height: 100px;
    overflow: hidden;
    /* background: #f0f2f5;*/
  }
}