* {
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
  font-family: Poppins;
  font-weight: 400;
  background-color: rgb(237, 181, 6);

  overflow: hidden;
}

.container {
  padding: 0px 170px;
}
nav {
  padding: 8px;
}

.logo {
  float: left;

  margin-left: 20px;
  margin-top: 6px;
}

.logo a {
  color: #000;

  font-weight: 400;
  font-size: 30px;
  letter-spacing: 0px;
  text-decoration: none;
  font-family: "Montez", cursive;
}

nav ul {
  float: right;
  margin-top: 15px;
  font-family: Roboto;
}

nav ul li {
  display: inline-block;
  float: left;
  margin-right: 20px;
}

nav ul li:not(:first-child) {
  margin-left: 50px;
}

nav ul li:last-child {
  margin-right: 28px;
}

nav ul li a {
  display: inline-block;
  outline: none;
  color: #000;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 1.2px;
  font-weight: 400;
}

@media screen and (max-width: 1000px) {
  .logo {
    float: left;
    padding: 5px;
    margin-left: 8px;
    margin-top: 0px;
  }
}

@media screen and (max-width: 1340px) {
  .container {
    padding: 0px 80px;
  }
}

@media screen and (max-width: 870px) {
  .container {
    padding: 0px 50px 0px 0px;
  }
  .nav-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: rgb(237, 181, 6);
    opacity: 0;
    transition: all 0.2s ease;
    text-align: center;
  }

  .nav-wrapper ul {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
  }

  .nav-wrapper ul li {
    display: block;
    float: none;
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
  }

  .nav-wrapper ul li:nth-child(1) a {
    transition-delay: 0.2s;
  }

  .nav-wrapper ul li:nth-child(2) a {
    transition-delay: 0.3s;
  }

  .nav-wrapper ul li:nth-child(3) a {
    transition-delay: 0.4s;
  }

  .nav-wrapper ul li:nth-child(4) a {
    transition-delay: 0.5s;
  }

  .nav-wrapper ul li:not(:first-child) {
    margin-left: 0;
  }

  .nav-wrapper ul li a {
    padding: 10px 24px;
    opacity: 0;
    color: #000;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.2px;
    transform: translateX(-20px);
    transition: all 0.2s ease;
  }

  .nav-btn {
    position: fixed;
    right: 10px;
    top: 10px;
    display: block;
    width: 48px;
    height: 48px;
    cursor: pointer;
    z-index: 9999;
    border-radius: 50%;
  }

  .nav-btn i {
    display: block;
    width: 20px;
    height: 2px;
    background: #000;
    border-radius: 2px;
    margin-left: 14px;
  }

  .nav-btn i:nth-child(1) {
    margin-top: 16px;
  }

  .nav-btn i:nth-child(2) {
    margin-top: 4px;
    opacity: 1;
  }

  .nav-btn i:nth-child(3) {
    margin-top: 4px;
  }
}

/* othr------------------------------------------------------------------------------------------------- */
#nav:checked + .nav-btn {
  transform: rotate(45deg);
}

#nav:checked + .nav-btn i {
  background: #000;
  transition: transform 0.2s ease;
}

#nav:checked + .nav-btn i:nth-child(1) {
  transform: translateY(6px) rotate(180deg);
}

#nav:checked + .nav-btn i:nth-child(2) {
  opacity: 0;
}

#nav:checked + .nav-btn i:nth-child(3) {
  transform: translateY(-6px) rotate(90deg);
}

#nav:checked ~ .nav-wrapper {
  z-index: 9990;
  opacity: 1;
}

#nav:checked ~ .nav-wrapper ul li a {
  opacity: 1;
  transform: translateX(0);
}

.hidden {
  display: none;
}

/* start */
.container-two {
  margin: 50px auto;
  width: 100%;
  height: 95vh;
  /* border: 2px solid black; */
  position: relative;
}

.box {
  width: 500px;
  height: 500px;

  position: absolute;
  bottom: 0px;
  right: 0px;
}

.box img {
  width: 100%;
  height: auto;
}

.txt {
  font-family: "Caveat", cursive;
  font-size: 100px;
  position: absolute;
  left: 200px;
  top: 220px;
}
.intro {
  font-family: "Cinzel", serif;
  font-family: 50px;
  position: absolute;
  left: 200px;
  top: 380px;
}
.btn button {
  width: 100px;
  height: 35px;
  margin-right: 20px;
  margin-top: 20px;
  border-radius: 5px;
  border: 2px solid black;
  background-color: black;
}
.btn button p {
  padding: 2px;
  color: aliceblue;
}
@media screen and (max-width: 500px) {
  body {
    overflow: hidden;
  }
  .box {
    width: 300px;
    height: 300px;

    position: absolute;
    bottom: 0px;
    right: 0px;
  }

  .box img {
    width: 100%;
    height: auto;
  }
  .txt {
    font-size: 50px;
    position: absolute;
    left: 20px;
    top: 80px;
  }
  .intro {
    font-size: 12px;
    position: absolute;
    left: 20px;
    top: 160px;
  }
}
@media screen and (max-width: 320px) {
  .txt {
    top: 40px;
  }
  .intro {
    top: 110px;
  }
}
