html,
body {
  height: 100%;
  margin: 0;
}
body {
  color: rgb(253, 197, 122);
}
html { 
  scroll-behavior: smooth; 
} 
#wrap {
  width: 960px;
  margin: 0 auto;
  /* background-color: #fff; */
  background-color: rgb(250, 225, 187);
}
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300&family=Inter:wght@100&family=Pacifico&family=Raleway:wght@100&display=swap');
@font-face {
    font-family: "Fresh Lychee" ;
    src: url(fonts/Fresh-Lychee.ttf); }
  
#header {
  height: 120px;
  background-color: rgb(220, 166, 96);
  

}

#header h1 {
  text-align: center;
  color: rgb(70, 40, 0);
  font-family: "Fresh Lychee";
   padding-top: 30px;
  margin: 0;
  text-transform: uppercase;
  font-size: 46px;
}

h2,
h3,
h4 {
  text-align: center;
}

h2 {
  color: rgb(70, 40, 0);
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  padding: 0;
  
}

p {
  text-align: justify;
}
nav{
  width: 100%;
  float: none;
  height: 60px;
  margin-top: -20px;
  position: sticky;
  top: 0;
  z-index: 999;
}
a {
  color: rgb(70, 40, 0);
  text-decoration: none;
}

ul.menu {
  list-style-type: none;
}

ul.menu li a {
  background:  rgb(220, 166, 96);
  padding: 5px;
  display: block;
  margin: 10px;
  text-align: center;
  float: left;
  width: 200px;
}

ul.menu li a:hover {
  background-color:  rgb(184, 124, 46);
}

a:hover {
  color: rgb(253, 213, 238);
}

.main_img {
  width: 200px;
  float: left;
  padding: 0 20px 5px 0;
}

.clear {
  clear: both;
}

#nav {
  width: 250px;
  float: left;
}

#main {
  margin-left: 250px;
  padding: 30px;
}

#footer {
  height: 90px;
  background-color: rgb(184, 124, 46);
}

#footer h3 {
  text-align: center;
  color: rgb(70, 40, 0);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  padding-top: 40px;
  margin: 0;
  text-transform: uppercase;
}

@media screen and (max-width: 1024px) {
  #wrap {
    width: 100%;
  }

  #nav {
    width: 100%;
    float: none;
    background-color: rgb(220, 174, 104);
    height: 60px;
    margin-top: -20px;
  }

  ul.menu li {
    margin-top: 0;
  }

  ul.menu li a {
    float: left;
    font-size: 22px;
  }

  #main {
    margin-left: 0;
  }

  h2 {
    clear: both;
  }

  p {
    font-size: 22px;
  }
}

#menu_toggle {
  display: none;
}

@media screen and (max-width: 768px) {

  img.main_img {
    float: none;
    width: 100%;
  }

  #nav {
    height: 0;
    margin-top: 0;
  }
  .one{
    display: block;
    width: 200px;
    text-align: center;
  }
  .menu {
    visibility: hidden;
    left: -9999px;
    position: absolute;  
    top: 0;
    width: 300px;
    margin: 0;
    padding: 80px 0;
    background-color: #fff;
    box-shadow: 1px 0px 6px rgba(0, 0, 0, 0.2);
  }

  ul.menu li a {
    float: none;
    background: #fff;
    color: rgb(0, 0, 0);
  }

  ul.menu li a:hover {
    background: rgb(255, 213, 135);
  }

  .menu_btn {
    text-align: center;
    position: absolute;
    top: 20px;
    left: 20px;
    width: 26px;
    height: 26px;
    cursor: pointer;
    z-index: 1;
  }

  .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 ~ .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;
  }
}
#container {
  position: relative;
  margin: 80px auto;
  width: 300px;
  height: 112px;
  z-index: 1;
  perspective: 1000px;
 
}

.main {
  width: 100%;
  height: 100%;
  
  transform-style: preserve-3d;
  transition: all 1.0s linear;
}

#container:hover .main {
  
  transform: rotateX(180deg);
}

.front {
  position: absolute;
  backface-visibility: hidden;
}

.back {
  backface-visibility: hidden;
  transform: rotateY(180deg) rotateZ(180deg);
/*   background-color: cyan; */
  height: 100px;
}

.back p {
  display: block;
  color: #000;
  text-align: justify;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 300px;
  background-color: #fff;
  padding: 20px;
  font-size: 20px;
}

img {
  width: 300px;
}
.one{
  text-align: center;
}
