@media (max-width: 1199.98px) {
  .photo-titel-p {
    margin: 55px 90px;
    font-size: 13px;
  }

  .bt-number2 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-right: 50px;
  }

  .main_all_photo_card .photo_card {
    padding: 150px 10px;
  }

  .main_all_photo_card .photo_card .photo {
    padding: 150px 100px;
  }
}
@media (max-width: 991.98px) {
  nav img {
    width: 90px;
    position: absolute;
    top: 20px;
    left: 6%;
  }
  nav {
    height: 100px;
    width: 100%;
    position: fixed;
    top: -10px;

    background-color: rgb(255, 255, 255);
    z-index: 5;
  }
  label #btn {
    display: block;
  }
  ul {
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 80px;
    left: -100%;
    text-align: center;
    transition: all 0.5s;
    background-color: white;
  }
  nav ul li {
    display: block;
    margin: 20px 0;
    line-height: 30px;
  }
  nav ul li a {
    font-size: 20px;
  }
  #check:checked ~ ul {
    left: 0;
  }
  #check:checked ~ label #btn {
    display: none;
    cursor: pointer;
  }
  #check:checked ~ label #cancel {
    display: block;
    cursor: pointer;
  }

  .main_text {
    position: fixed;
  }
  .main_text {
    z-index: 1;
  }

  .main_text .Photos {
    padding: 80px 50px;
    margin-top: 60px;
    letter-spacing: 10px;
    font-size: 10px;
    color: #fda228;
  }
  .photo-titel {
    margin: -60px 50px;
    font-size: 32px;
    letter-spacing: 2px;
    font-weight: bold;
  }

  .photo-titel-p {
    margin: 80px 20px;
    text-align: left;
  }
  .bt-number2 {
    justify-content: start;
    z-index: 1;
  }
  .bt-number2 .bt1 {
    display: none;
  }

  .bt-number2 .bt2 {
    margin: 5px 45px;
  }
  .main_all_photo_card {
    display: flex;

    justify-content: none;
  }

  .main_all_photo_card .photo_card {
    padding: 100px 55px;
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .adPhoto img {
    max-width: 5%;
  }
  .main_all_photo_card .photo_card .photo {
    padding: 160px 140px;
  }
}

@media (max-width: 575.98px) {
  .main_text {
    position: sticky;
  }
  .main_text .Photos {
    margin-top: 130px;
    text-align: center;
  }
  .photo-titel {
    text-align: center;
  }
  .photo-titel-p {
    margin: 70px 10px;
    text-align: center;
    font-size: 16px;

    text-align: center;
  }
  .bt-number2 .bt2 {
    display: none;
  }

  .bt-number2 .bt2 {
    margin: -10px 50px;
    display: block;
  }
  .adPhoto img {
    display: flex;
    position: relative;
    top: 2em;
    max-width: 8%;
    display: inline-block;
    left: 90px;
    margin: 8px;
    opacity: 0.5;
  }
  .main_all_photo_card .photo_card {
    padding: 70px 32px;

    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .main_all_photo_card .photo_card .photo {
    padding: 200px 180px;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
  }
}

@media (max-width: 390px) {
  .main_text .Photos {
    padding: 50px 130px;
    margin-top: 150px;
    letter-spacing: 10px;
    color: #fda228;
    text-align: center;
  }

  .photo-titel {
    margin: -30px 55px;
    font-size: 28px;
    letter-spacing: 2px;
    font-weight: bold;
    text-align: center;
  }
  .photo-titel-p {
    text-align: center;
    margin: 50px 0px;
    font-size: 19px;
  }
  .bt-number2 .bt2 {
    margin: -10px 50px;
    display: block;
  }

  .main_all_photo_card .photo_card {
    padding: 70px 27px;

    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .main_all_photo_card .photo_card .photo {
    padding: 200px 180px;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
  }
}

@media (max-width: 393px) {
  .main_text .Photos {
    padding: 50px 130px;
    margin-top: 150px;
    letter-spacing: 10px;
    color: #fda228;
    text-align: center;
  }

  .photo-titel {
    margin: -30px 55px;
    font-size: 28px;
    letter-spacing: 2px;
    font-weight: bold;
    text-align: center;
  }
  .photo-titel-p {
    text-align: center;
    margin: 50px 0px;
    font-size: 19px;
  }
  .bt-number2 .bt2 {
    margin: 12px 50px;
    display: block;
  }
  .adPhoto img {
    display: flex;
    position: relative;
    top: 2em;
    max-width: 8%;
    display: inline-block;
    left: 80px;
    margin: 8px;
    opacity: 0.5;
  }

  .main_all_photo_card .photo_card {
    padding: 70px 27px;

    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .main_all_photo_card .photo_card .photo {
    padding: 200px 180px;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
  }
}
