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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 50px;
  color-scheme: only light;
  font-family: 'Roboto Mono', monospace;
}

main {
  line-height: 1.6;
  margin: 0 auto;
  max-width: 900px;
  padding: 0 50px 0;
  color: #000;
  background-color: #fff;
}

section {
  border-bottom: 2px solid #ddd;
  padding: 25px 0;
}

p {
  font-size: 11px;
}

h2 {
  font-size: 13px;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  position: sticky;
  top: 0;
  background-color: #fff;
  z-index: 1;
}

.menu {
  display: flex;
  list-style: none;
  background-color: #fff;
  font-size: 11px;
}

.menu li {
  margin: 0 15px;
}

.menu a {
  text-decoration: none;
  font-size: 15px;
  color: #000;
}

.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  width: 35px;
  height: 18px;
  justify-content: center;
  align-items: center;
  position: relative;
}

.burger div {
  width: 25px;
  height: 3px;
  margin: 5px 0;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
  position: absolute;
  background-color: #000;
}

.burger div:nth-child(1) {
  top: 0;
}

.burger div:nth-child(2) {
  top: 8px;
}

.menu {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 10px 0;
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
}

.menu.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #000;
  font-size: 24px;
  font-weight: 500;
  transition: transform 0.4s;
}

.menu li {
  text-align: center;
  margin: 10px 0;
  opacity: 0;
  transform: translateY(-20px);
}

.menu.active li {
  opacity: 1;
  transform: translateY(0);
}

.burger {
  display: flex;
}

.burger.active div:nth-child(1) {
  transform: translate(0, 4px) rotate(45deg);
}

.burger.active div:nth-child(2) {
  transform: translate(0, -4px) rotate(-45deg);
}

.priceContainer {
  display: flex;
  justify-content: space-between;
}

.priceContainer div {
  text-align: center;
}

.shootingTitle {
  font-size: 13px;
}

.shootingItem {
  margin-top: 10px;
}

.shootingDiscount {
  text-align: center;
  margin-top: 23px;
}

.costConditionsListName {
  margin-top: 23px;
}

.conditionsList {
  list-style: none;
  list-style-type: none;
  position: relative;
  margin-top: 10px;
}

.conditionsList li {
  font-size: 11px;
  margin-left: 14px;
  line-height: 12px;
}

.conditionsList li:before {
  content: '-';
  left: 0;
  position: absolute;
}

.rulesContainer {
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  row-gap: 10px;
}

.sertificatesTitle {
  font-size: 13px;
  font-weight: normal;
}

.sertificatesContent {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  row-gap: 10px;
}

footer {
  padding: 25px 50px;
  margin: 0 auto;
  max-width: 900px;
}

.instaLink {
  color: #ff43c7;
}

@media screen and (min-width: 768px) {
  p {
    font-size: 14px;
  }
  
  h2 {
    font-size: 17px;
  }

  .shootingTitle {
    font-size: 16px;
  }

  .conditionsList li {
    font-size: 14px;
    line-height: 17px;
  }
  .sertificatesTitle {
    font-size: 16px;
  }
  
  .header {
    display: none;
  }

  .priceContainer {
    justify-content: space-around;
  }

  .menu {
    display: none;
  }

  .burger {
    display: none;
  }
}
