.servicesecond {
  max-width: 1100px;
  margin: 0px auto;
  margin-top: 10vh;
}

.servicesecond #photos {
  width: 100%;
  height: 45vh;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.servicesecond p {
  width: 100%;
  font-size: 2vh;
  text-indent: 1.7vh; /* Отступ первой строки */
  text-align: justify; /* Выравнивание по ширине */
  padding: 1vh;
}

.servicesecond a {
  color: #189185;
  margin-left: 30px;
}

.servicesecond a:hover {
  color: #189185;
  text-decoration: none;
}

.servicesecond ul {
  list-style-type: none;
  border-left: 0.5vh solid #189185;
  padding-left: 20px;
  background-color: #2727271c;
  padding: 10px;
}

.servicesecond li {
  font-size: 1.8vh;
  margin: 0.5vh;
}



.servicesecond h4 {
  color: #189185;
  padding-left: 2.7vh;
  font-size: 3vh;
}

.servicesecond h1 {
  padding-left: 1vh;
}

table {
    border-collapse: collapse;
    width: 100%;
    overflow: scroll;
}

td {
    border: 1px solid #272727;
    text-align: left;
    padding: 8px;
    font-size: 1.8vh;
}

tr:nth-child(even) {
    background-color: #2727271c;
}

#tableheader td{
  font-size: 2.1vh;
}

.button {
    background-color: #189185;
    border: none;
    color: #f3f3f3;
    padding: 1vh;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 2vh;
    cursor: pointer;
    opacity: 0.8;
    margin-top: 2vh;
}

.button:hover {
    opacity: 1;
}


@media screen and (max-width: 1024px) and (min-width : 768px) and (orientation: portrait){
  .servicesecond #photos {
    height: 30vh;
  }

}

@media screen and (max-width: 767px) and (orientation: portrait){


  .servicesecond #photos {
    height: 33vh;
  }


  td {
      font-size: 1.5vh;
      border: 1px solid #272727;
      text-align: left;
      padding: 4px;

  }

  #tableheader td{
    font-size: 1.6vh;
  }


}
