/*html, body {
  height: 100%;
}

body {
  min-height: 100%;
  font-family: "Rozha One", serif;
}*/

* {
  box-sizing: border-box;
}
/*
img {
  max-width: 100%;
  bottom: -14px;
  position: relative;
}*/

.card {
  position: absolute;
  bottom: 5%;
  right: 5%;
  text-align: center;
  color: #272243;
  width: 100%;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 20px 20px rgba(0, 0, 0, 0.03);
  width: 320px;
  overflow: hidden;
  -webkit-animation: updown 3s ease 6;
          animation: updown 3s ease 6;
}
.card::before {
  content: "";
  border-width: 20px;
  border-color: transparent;
  border-style: solid;
  border-left-color: rgba(255, 255, 255, 0.9);
  border-left-width: 30px;
  display: block;
  position: absolute;
  top: 55%;
  left: 50%;
  z-index: 2;
  transform: translatex(calc(-50% + 15px));
  filter: drop-shadow(5px 5px 4px #000);
  pointer-events: none;
}
.card h1 {
  margin: 0;
  padding: 10px;
  font-size: 16px;
}
@-webkit-keyframes updown {
  0%, 50%, 100% {
    transform: translatey(0);
  }
  20% {
    transform: translatey(5px);
  }
  25% {
    transform: translatey(-20px);
  }
  30% {
    transform: translatey(20px);
  }
  35% {
    transform: translatey(-5px);
  }
}
@keyframes updown {
  0%, 50%, 100% {
    transform: translatey(0);
  }
  20% {
    transform: translatey(5px);
  }
  25% {
    transform: translatey(-20px);
  }
  30% {
    transform: translatey(20px);
  }
  35% {
    transform: translatey(-5px);
  }
}
/*
.banner {
  min-height: 100%;
  width: 100%;
  background: url("https://i.imgur.com/T57flD5.jpg");
  background-size: cover;
  display: flex;
  align-items: center;
  padding: 60px;
  color: #fff;
}*/

.hamburger {
  position: absolute;
  left: 30px;
  top: 30px;
  display: flex;
  height: 18px;
  width: 24px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  z-index: 1;
}
.hamburger__icon {
  display: inline-block;
  height: 2px;
  width: 24px;
  background: #fff;
  border-radius: 2px;
}

.sidebar {
  height: 100vh;
  width: 320px;
  background: #fff;
  position: absolute;
  top: 0;
  left: 0;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  transform: translatex(-100%);
  transition: transform 0.4s ease-in-out;
  background-color: rgba(0, 0, 0, 0.8);
  background-color: rgba(255, 255, 255, 1);
}
.sidebar__close {
  position: absolute;
  top: 50%;
  right: -30px;
  background: #fff;
  height: 60px;
  width: 60px;
  border-radius: 50%;
  box-shadow: 0 0 20px 20px rgba(0, 0, 0, 0.03);
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translatex(-100%);
  cursor: pointer;
  transition: transform 0.4s ease-in-out 0.2s;
}
.sidebar__close::before, .sidebar__close::after {
  content: "";
  height: 2px;
  background: #898989;
  width: 24px;
  display: block;
  position: absolute;
  background: #353375;
}
.sidebar__close::after {
  transform: rotate(90deg);
}
.sidebar__menu {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-around;
  font-size: 15px;
  margin-top: 14px;
  margin-bottom: 10px;
  color: #101010;
  list-style: none;
  font-weight: 400;
}
.sidebar__menu a {
  color: #000;
  text-decoration: none;
  transform: translatex(-80%);
  transition: transform 0.4s ease-in-out;
  font-weight: 400;
  /* border-bottom: 1px solid #d1cccc; */
  padding-bottom: 3px;
  font-size: 15px;
}
.sidebar__menu a::before {
  content: "";
  height: 2px;
  background: #898989;
  width: 240px;
  position: absolute;
  bottom: -2px;
  left: 0;
  transform: translatex(-50%);
  opacity: 0;
  transition: transform 0.4s ease-in-out, opacity 0.4s linear;
  background: #F5821F;
}
.sidebar__menu a:hover::before {
  transform: translatex(0);
  opacity: 1;
}
.sidebar__menu a:nth-child(1) {
  transition-delay: 0.05s;
}
.sidebar__menu a:nth-child(2) {
  transition-delay: 0.1s;
}
.sidebar__menu a:nth-child(3) {
  transition-delay: 0.15s;
}
.sidebar__menu a:nth-child(4) {
  transition-delay: 0.2s;
}
.sidebar__menu a:nth-child(5) {
  transition-delay: 0.25s;
}
.sidebar__social {
  display: flex;
  list-style: none;
  padding: 0;
}
.sidebar__social li {
  margin: 4px;
}
.sidebar__social a, .sidebar__social svg {
  display: inline-block;
  height: 18px;
  width: 18px;
}

.menu-control {
  display: none;
}
.menu-control:checked + .sidebar {
  transform: translatex(0);
}
.menu-control:checked + .sidebar .sidebar__close {
  transform: translatex(0) rotate(45deg);
}
.menu-control:checked + .sidebar .sidebar__menu a {
  transform: translatex(0);
}

