* {
  box-sizing: border-box;
}

@import url("https://fonts.googleapis.com/css2?family=Abril+Fatface&family=Aclonica&family=Archivo:ital,wght@1,500&family=Cherry+Cream+Soda&family=Dancing+Script&family=Delius&family=Inspiration&family=Kranky&family=Lemonada:wght@300;400&family=Love+Ya+Like+A+Sister&family=Patrick+Hand&family=Sansita+Swashed:wght@300&family=Shadows+Into+Light&family=Special+Elite&display=swap");
:root {
  --white: rgb(255, 250, 238);
  --orange: rgb(155, 100, 59);
  --lightorange: #ccb7aa;
  --lightbrown: rgba(118, 96, 85, 0.856);
  --brown: rgb(118, 96, 85);
}

body {
  background-image: url(images/bg.jpg);
}

html,
body {
  padding: 0;
  margin: 0;
  font-family: Verdana, sans-serif;
}

.page h1 {
  tab-size: 10px;
  text-align: center;
  color: var(--white);
  text-shadow: 2px 2px var(--orange);
}

footer p {
  font-size: 20px;
  margin: 10px 0;
  color: var(--white);
}

footer h1 {
  font-size: 30px;
  font-weight: 600;
  margin: 10px 0;
  line-height: 1.2;
  text-align: none;
  color: var(--white);
}

.page p {
  padding: 15px;
  color: var(--white);
}

ul.menu {
  list-style: none;
  padding: 0;
}

.menu li {
  margin: 5px;
  float: left;
  border-radius: 40px 10px;
  box-shadow: 4px 0px 1px rgb(49, 24, 0);
  padding: 0px 10px;
}

.menu li a {
  text-decoration: none;
  color: var(--white);
  display: block;
  padding: 10px;
  font-weight: 500;
  font-family: "Cherry Cream Soda", cursive;
  font-size: 18px;
}

.menu li:hover {
  background: linear-gradient(to top, rgb(55, 46, 39), rgb(56, 47, 40));
  box-shadow: 4px 0px 1px var(--orange);
}

#wrap {
  width: 960px;
  background: linear-gradient(
    rgb(88, 72, 59),
    rgb(90, 72, 59),
    rgb(88, 72, 59),
    rgb(90, 72, 59),
    rgb(88, 72, 59)
  );
  margin: 0 auto;
}

.wrapper {
  width: 100%;
  padding: 80px 15%;
  box-shadow: 0 0px 10px 5px rgba(0, 0, 0, 0.2);
  /* z-index: 9999; */
  position: relative;
}

#park1 .wrapper {
  padding: 0;
}

header .wrapper {
  /* position: fixed; */
  height: 100px;
  width: 100%;
  background: linear-gradient(to top, rgb(54, 45, 40), rgb(118, 96, 85));
  /* z-index: 9999; */
  padding: 1% 7%;
}

header:after,
#park1:after,
#park2:after,
#park3:after,
#park9:after,
#park4:after,
#park5:after,
#park6:after,
#park7:after,
#park8:after {
  display: block;
  width: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: rgb(88, 72, 59);
  padding-top: 200px;
  text-align: center;
  font-weight: 100;
}

header:after {
  font-size: 100px;
  height: 400px;
}

#park1:after,
#park2:after,
#park3:after,
#park9:after,
#park4:after,
#park5:after,
#park6:after,
#park7:after,
#park8:after {
  content: "";
  background-image: url(images/bg.jpg);
  height: 10px;
  font-size: 10px;
  padding-top: 40px;
}

.box_wrapper {
  background-image: url(images/bg.jpg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.box {
  width: 600px;
  font-size: 20px;
  font-weight: 900;
  color: var(--white);
  text-transform: uppercase;
  text-align: center;
  background-color: #4cb2c2;
  position: relative;
  top: -250px;
  padding: 20px;
  margin: 0 auto;
}

.box2 {
  display: block;
  width: 250px;
  color: var(--white);
  text-decoration: none;
  font-size: 20px;
  font-weight: 100;
  text-align: center;
  background-color: #3a5f44;
  border-radius: 10px;
  position: relative;
  top: -250px;
  padding: 20px;
  margin: 0 auto;
}

.container {
  margin: 0 auto;
  max-width: 1200px;
}

.grid-3 {
  display: grid;
  grid-template-columns: auto auto auto;
  gap: 40px;
}

.grid-2 {
  display: grid;
  grid-template-columns: auto auto;
  gap: 40px;
}

footer {
  background: linear-gradient(to top, rgb(54, 45, 40), rgb(118, 96, 85));
  padding: 20px 10px;
}

footer .wrapper {
  /* z-index: 9999; */
  color: var(--white);
  text-align: center;
}

footer a {
  color: var(--white);
  margin: 0 10px;
  text-decoration: none;
}

footer a:hover {
  color: #c58d67;
  text-decoration: none;
}

video {
  object-fit: cover;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1;
}

.main {
  position: absolute;
  text-align: center;
  float: left;
  top: 130px;
  color: var(--white);
  width: 40%;
  padding: 22px;
  margin: 1%;
}

p.main {
  font-family: "Abril Fatface", "Times New Roman", Times, serif;
  font-size: 110px;
  text-shadow: 2px 2px var(--orange);
}

.image-stack::after {
  content: " ";
  display: table;
  clear: both;
}

.image-stack__item--top {
  float: right;
  width: 95%;
  margin-right: -100%;
  position: relative;
  z-index: 1;
}

.image-stack__item--bottom {
  width: 75%;
}

.grid-container {
  display: grid;
  grid-template-columns: auto auto auto;
  gap: 25px;
  padding: 0;
  color: var(--white);
  text-decoration: none;
  opacity: 1;
}

.grid-cont {
  display: grid;
  grid-template-columns: auto auto auto;
  gap: 25px;
  padding: 0;
  color: var(--white);
  text-decoration: none;
  opacity: 1;
}

.new {
  column-count: 3;
}

.grid-container > div {
  text-align: none;
  font-size: 15px;
}

.grid-cont > div {
  text-align: none;
  font-size: 15px;
}

.yel {
  color: var(--lightorange);
  text-shadow: 2px 0px black;
  font-style: italic;
  padding-bottom: 10px;
  margin: 0;
}

.pag h1 {
  tab-size: 10px;
  text-align: center;
  color: var(--white);
  text-shadow: 2px 2px var(--orange);
}

.demo {
  position: relative;
  padding-top: 45%;
  overflow: hidden;
}

.demo input {
  display: none;
}

.demo img.im {
  position: absolute;
  left: 50%;
  top: 50%;
  max-width: 300px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  box-shadow: 0px 0px 40px var(--lightorange);
}

.demo label {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  transition: 1s;
  transform: translateX(-35%) scale(0.6);
  z-index: 2;
}

.demo #on1:checked ~ [for="on1"],
.demo #on2:checked ~ [for="on2"],
.demo #on3:checked ~ [for="on3"],
.demo #on4:checked ~ [for="on4"],
.demo #on5:checked ~ [for="on5"] {
  transform: translateX(-35%) scale(0.6);
  z-index: 2;
  opacity: 1;
}

.demo #on1:checked ~ [for="on3"],
.demo #on2:checked ~ [for="on4"],
.demo #on3:checked ~ [for="on5"],
.demo #on4:checked ~ [for="on1"],
.demo #on5:checked ~ [for="on2"] {
  transform: translateX(35%) scale(0.6);
  z-index: 2;
  opacity: 1;
}

.demo #on1:checked ~ [for="on4"],
.demo #on2:checked ~ [for="on5"],
.demo #on3:checked ~ [for="on1"],
.demo #on4:checked ~ [for="on2"],
.demo #on5:checked ~ [for="on3"],
.demo #on1:checked ~ [for="on5"],
.demo #on2:checked ~ [for="on1"],
.demo #on3:checked ~ [for="on2"],
.demo #on4:checked ~ [for="on3"],
.demo #on5:checked ~ [for="on4"] {
  z-index: 1;
  opacity: 1;
}

.demo #on1:checked ~ [for="on2"],
.demo #on2:checked ~ [for="on3"],
.demo #on3:checked ~ [for="on4"],
.demo #on4:checked ~ [for="on5"],
.demo #on5:checked ~ [for="on1"] {
  transform: translateX(0);
  z-index: 4;
  visibility: visible;
}

.testimonial {
  color: black;
  padding: 40px;
}

.testimonial img.im {
  height: 90px;
  width: auto;
  clip-path: circle();
  object-fit: cover;
  text-align: center;
}

.testimonial h3 {
  text-align: center;
}

.card {
  padding: 10px;
  background: linear-gradient(to top, rgb(55, 46, 39), var(--lightorange));
  border-radius: 10px;
  box-shadow: -7px -7px 20px rgba(0, 0, 0, 0.2), 7px 7px 20px rgba(0, 0, 0, 0.2);
}

.card h3 {
  text-shadow: 4px 0px 1px var(--orange);
  color: rgb(56, 47, 40);
}

.card p {
  padding: 0px 10% 5% 10%;
}

.circle {
  padding: 10px;
  display: flex;
  justify-content: center;
}

.cof {
  border-radius: 20px;
}

.bean {
  border-radius: 50%;
}

.pressbox {
  width: 0;
  height: 0;
  position: fixed;
  overflow: hidden;
  left: 0;
  top: 0;
  z-index: 9999;
  text-align: center;
  background: var(--lightbrown);
}

.pressbox img {
  opacity: 0;
  padding: 5px;
  background-color: var(--brown);
  border-radius: 38em 0.5em/16em 43.5em;
  margin-top: 5%;
  /* тени */
  box-shadow: 6px 6px 6px 2px var(--orange);
  transition: opacity 0.25s ease-in-out;
  max-height: 90%;
}

.pressbox:target {
  width: auto;
  height: auto;
  bottom: 0;
  right: 0;
}

.pressbox:target img {
  opacity: 1;
}

img.im {
  width: 100%;
  display: block;
}

img.iman {
  width: 150%;
  display: block;
  opacity: 1;
}

img {
  width: 50%;
}

iframe {
  height: 500px;
  width: 100%;
}

img.stak {
  width: 80%;
}

.Myform {
  width: 495px;
  height: 160px;
  background: linear-gradient(to top, rgb(54, 45, 40), rgb(118, 96, 85));
  border-radius: 10px;
  box-shadow: 2px 2px 4px 0px var(--orange);
  margin: 0 auto;
}

.Myform h1 {
  margin: 0;
  border-radius: 10px 10px 0 0;
  color: var(--white);
  font-size: 14px;
  padding: 20px;
  text-align: center;
  text-transform: uppercase;
}

.inp {
  padding: 20px;
}

.date {
  border: 2px solid rgb(118, 96, 85);
  padding: 12px 10px;
  width: 280px;
  background-color: rgb(77, 67, 62);
  color: var(--white);
}

.btn {
  background: rgb(77 67 62);
  border-radius: 15px 15px 15px 15px;
  color: var(--white);
  float: right;
  font-weight: bold;
  margin: 10px;
  padding: 12px 20px;
  margin-right: 35px;
  margin-top: 70px;
}

.cont {
  perspective-origin: 50% 20%;
  height: 150px;
  margin: auto 0;
  transform-style: preserve-3d;
  transition: all 1s;
  display: inline-block;
}

.cont:hover,
.cont1:hover {
  transform: rotateX(-90deg);
}

.side {
  position: absolute;
  height: 150px;
  /*   border: 1px solid black; */
  /*   opacity: 0.6; */
  background: blue;
}

.back {
  transform: translateZ(-75px);
  width: 200px;
  background-color: green;
}

.left {
  transform: translateX(-75px) rotateY(90deg);
  background-color: #f0f;
  width: 150px;
}

.right {
  transform: translateX(125px) rotateY(90deg);
  width: 150px;
  background-color: #ff0;
}

.top {
  transform: translateY(-75px) rotateX(90deg);
  background-color: rgb(26, 29, 28);
  background-image: url(images/lib.jpg);
  width: 200px;
}

.bottom {
  transform: translateY(75px) rotateX(90deg);
  background-color: pink;
  width: 200px;
}

.front {
  transform: translateZ(75px);
  width: 200px;
  background-image: url(images/6p.jpg);
  background-size: cover;
  background-position: 0 -20px;
}

.front2 {
  transform: translateZ(75px);
  width: 200px;
  background-image: url(images/7p.jpg);
  background-size: cover;
  background-position: 0 -20px;
}

.front3 {
  transform: translateZ(75px);
  width: 200px;
  background-image: url(images/3p.jpg);
  background-size: cover;
  background-position: 0 -20px;
}

.top a {
  color: rgb(54, 45, 40);
  text-shadow: 1px 1px 3px rgb(255, 242, 190);
  font-family: "Love Ya Like A Sister", cursive;
  display: block;
  height: 100%;
  text-decoration: none;
  font-size: 30px;
  text-align: center;
  padding: 40px;
  box-sizing: border-box;
}

.top a:hover {
  color: rgb(195, 90, 34);
  text-shadow: 1px 1px 3px rgb(255, 242, 190);
}

.first:first-letter {
  color: var(--lightorange);
  font-size: 25px;
}
/* .first {
            text-align: justify;
        } */

@supports (display: grid) {
  .image-stack {
    display: grid;
    position: relative;
    grid-template-columns: repeat(12, 1fr);
  }
  .image-stack__item--bottom {
    grid-column: 1 / -1;
    grid-row: 1;
    width: 100%;
  }
  .image-stack__item--top {
    grid-row: 1;
    grid-column: 7 / span 9;
    padding-top: 5%;
  }
}

@media screen and (max-width: 700px) {
  p.main {
    font-size: 80px;
  }
  .grid-container {
    grid-template-columns: auto;
  }
  .grid-cont {
    grid-template-columns: auto auto auto;
  }
  p.norm {
    padding: 0;
    margin: 0;
  }
  .grid-2 {
    grid-template-columns: auto;
  }
  .pressbox img {
    margin-top: 50%;
  }
  img.iman {
    width: 25%;
  }
  .demo #on1:checked ~ [for="on1"],
  .demo #on2:checked ~ [for="on2"],
  .demo #on3:checked ~ [for="on3"],
  .demo #on4:checked ~ [for="on4"],
  .demo #on5:checked ~ [for="on5"] {
    transform: translateX(-35%) scale(0.6);
    z-index: 2;
    opacity: 0;
  }
  .demo #on1:checked ~ [for="on3"],
  .demo #on2:checked ~ [for="on4"],
  .demo #on3:checked ~ [for="on5"],
  .demo #on4:checked ~ [for="on1"],
  .demo #on5:checked ~ [for="on2"] {
    transform: translateX(35%) scale(0.6);
    z-index: 2;
    opacity: 0;
  }
  .demo #on1:checked ~ [for="on4"],
  .demo #on2:checked ~ [for="on5"],
  .demo #on3:checked ~ [for="on1"],
  .demo #on4:checked ~ [for="on2"],
  .demo #on5:checked ~ [for="on3"],
  .demo #on1:checked ~ [for="on5"],
  .demo #on2:checked ~ [for="on1"],
  .demo #on3:checked ~ [for="on2"],
  .demo #on4:checked ~ [for="on3"],
  .demo #on5:checked ~ [for="on4"] {
    z-index: 1;
    opacity: 0;
  }
}

#menu_toggle {
  display: none;
}

@media screen and (max-width: 800px) {
  p.main {
    font-size: 85px;
  }
  header {
    height: 0;
    margin-top: 0;
  }
  .menu {
    visibility: hidden;
    left: -9999px;
    position: absolute;
    top: 0;
    width: 300px;
    margin: 0;
    padding: 80px 0;
    background-color: rgb(133, 133, 133);
    box-shadow: 1px 0px 6px rgba(0, 0, 0, 0.2);
    z-index: 5;
  }
  ul.menu li a {
    float: none;
    background: rgb(255, 213, 0);
    color: rgb(255, 250, 238);
  }
  ul.menu li a:hover {
    background: linear-gradient(to top, rgb(55, 46, 39), rgb(56, 47, 40));
  }
  .menu_btn {
    text-align: center;
    position: absolute;
    top: 20px;
    left: 20px;
    width: 26px;
    height: 26px;
    cursor: pointer;
    z-index: 9;
  }
  .menu_btn > span,
  .menu_btn > span::before,
  .menu_btn > span::after {
    display: block;
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #616161;
  }
  .menu_btn > span::before {
    content: "";
    top: -8px;
  }
  .menu_btn > span::after {
    content: "";
    top: 8px;
  }
  #menu_toggle:checked ~ .wrapper .menu {
    display: block;
    visibility: visible;
    left: 0;
  }
  #menu_toggle:checked ~ .menu_btn > span {
    transform: rotate(45deg);
  }
  #menu_toggle:checked ~ .menu_btn > span::before {
    top: 0;
    transform: rotate(0);
  }
  #menu_toggle:checked ~ .menu_btn > span::after {
    top: 0;
    transform: rotate(90deg);
  }
  .menu_btn > span,
  .menu_btn > span::before,
  .menu_btn > span::after {
    transition-duration: 0.25s;
  }
  .menu {
    transition-duration: 0.25s;
  }
  .menu_item {
    transition-duration: 0.25s;
  }
}
