@import url("https://fonts.googleapis.com/css2?family=Yatra+One&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Emblema+One&display=swap");

* {
  box-sizing: border-box;
}

body {
  font-family: "Yatra One";
  background-color: rgb(176, 208, 203);
  color: #222;
  overflow-x: hidden;
  margin: 0;
}

.container {
  background-color: rgb(255, 198, 185);
  transform-origin: top left;
  transition: transform 0.5s ease;
  width: 100vw;
  min-height: 100vh;
  padding: 50px;
  box-shadow: -6px 6px 20px rgb(146, 185, 187);
}

.container.show-nav {
  transform: rotate(-12deg);
  transition: transform 0.5s ease;
  border-radius: 20px;
}

.circle-container {
  position: fixed;
  top: -100px;
  left: -100px;
}

.circle {
  background-color: #ff7979;
  height: 200px;
  width: 200px;
  border-radius: 50%;
  position: relative;
  transition: transform 0.5s ease-in-out;
}

.container.show-nav .circle {
  transform: rotate(-75deg);
}

.circle button {
  cursor: pointer;
  position: absolute;
  top: 50%;
  left: 50%;
  height: 100px;
  background: transparent;
  border: 0;
  font-size: 26px;
  color: #fff;
}

.circle button:focus {
  outline: none;
}

.circle button#open {
  left: 60%;
}

.circle button#close {
  top: 60%;
  transform: rotate(90deg);
  transition: all 0.2s ease-in-out;
  transform-origin: top left;
}

.container.show-nav + nav li {
  transform: translateX(0);
  transition-delay: 0.1s;
}

nav {
  position: fixed;
  bottom: 40px;
  left: 0;
  z-index: 100;
}

nav ul {
  list-style-type: none;
  padding-left: 30px;
}

nav ul li {
  text-transform: uppercase;
  color: #fff;
  margin: 40px 0;
  transform: translateX(-100%);
  transition: transform 0.4s ease-in-out;
}

nav ul li i {
  font-size: 20px;
  margin-right: 10px;
}

nav ul li + li {
  margin-left: 15px;
  transform: translateX(-150%);
}

nav ul li + li + li {
  margin-left: 30px;
  transform: translateX(-200%);
}

.content img {
  object-fit: cover;
  border-radius: 50%;
  width: 400px;
  height: 400px;
}

.content {
  max-width: 1000px;
  margin: 50px auto;
}

.content h1 {
  margin-top: 20vh;
  text-align: center;
  font-size: 4rem;
  margin-bottom: 30px;
}

.content h3 {
  text-align: center;
  font-size: 1.5rem;
  padding: 2vh 10vw;
}

hr {
  border: 3px solid black;
  max-width: 58vw;
}

@media (min-width: 700px) {
  .container.show-nav {
    transform: rotate(-14deg);
    transition: transform 0.5s ease;
  }
}

@media (min-width: 1000px) {
  .container.show-nav {
    transform: rotate(-16deg);
    transition: transform 0.5s ease;
  }
}
@media (min-width: 1400px) {
  .container.show-nav {
    transform: rotate(-20deg);
    transition: transform 0.5s ease;
  }
}
