* {
  box-sizing: border-box;
}

/*keyframes*/
@keyframes virus {
  from {
    transform: translateY(0) rotate(0);
  }
  to {
    transform: translateY(70px) rotate(45deg);
  }
}
@keyframes virus2 {
  from {
    transform: translateY(0) rotate(0);
  }
  to {
    transform: translateY(-10px) rotate(-35deg);
  }
}
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0px);
  }
}
@keyframes fade-right {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0px);
  }
}
/*styles*/
body {
  margin: 0;
  font-family: "Poppins", sans-serif;
}
body .area {
  height: 100vh;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: 0.5s;
}
body .area > *:not(.area__virus) {
  z-index: 2;
  position: relative;
}
body .area.-danger {
  background-color: #e74c3c;
}
body .area.-danger .shape,
body .area.-danger .code header .dots span {
  background-color: #c0392b;
}
body .area.-risky {
  background-color: #f1c40f;
}
body .area.-risky .shape,
body .area.-risky .code header .dots span {
  background-color: #f39c12;
}
body .area.-safe {
  background-color: #2ecc71;
}
body .area.-safe .shape,
body .area.-safe .code header .dots span {
  background-color: #27ae60;
}
body .area__virus {
  position: absolute;
  opacity: 0.2;
  transition: 0.3s;
}
body .area__virus.-clear {
  transform: translateY(100px);
  opacity: 0;
}
body .area__virus img {
  animation: virus2 infinite alternate 8s ease;
  width: 100%;
}
body .area__virus:nth-child(1) {
  width: 180px;
  right: 50px;
  bottom: 50px;
}
body .area__virus:nth-child(2) {
  width: 200px;
  right: 150px;
  bottom: 280px;
}
body .area__virus:nth-child(3) {
  width: 120px;
  right: 300px;
  bottom: 50px;
}
body .area__virus:nth-child(4) {
  width: 380px;
  left: 50px;
  bottom: 50px;
}
body .area__virus:nth-child(5) {
  width: 150px;
  left: 50px;
  top: 20px;
}
body .area__virus:nth-child(5) img {
  animation: virus 8s ease infinite alternate;
}
body .area > header {
  text-align: center;
}
body .area > header h1 {
  color: white;
  margin-bottom: 0;
}
body .area > header p {
  color: white;
  margin: 0 0 50px 0;
  opacity: 0.8;
}
body .area .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
body .area .container .shape {
  width: 100px;
  height: 100px;
  border-radius: 5px;
  margin: 0 5px;
  transition: 0.5s;
  border: 4px dashed #ffffff90;
  position: relative;
}
body .area .container .shape:first-child .shape__text {
  animation: fade-up forwards 0.3s 1s ease;
}
body .area .container .shape:last-child .shape__text {
  animation: fade-right forwards 0.3s 2s ease;
}
body .area .container .shape__text {
  position: absolute;
  left: 100%;
  top: 40%;
  background-color: white;
  border-radius: 5px;
  z-index: 5;
  height: 25px;
  padding: 0 5px;
  font-size: 12px;
  white-space: pre;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
}
body .area .container .shape__text::after {
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: transparent 5px solid;
  border-right-color: white;
  content: "";
}
body .area .container .shape:first-child .shape__text {
  right: 60%;
  top: unset;
  left: unset;
  bottom: calc(100% + 10px);
}
body .area .container .shape:first-child .shape__text::after {
  left: 70%;
  top: calc(100% + 5px);
  border-right-color: transparent;
  border-top-color: white;
}
body .area .status {
  margin-top: 50px;
  margin-bottom: 30px;
  color: white;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}
body .area .status__line {
  display: flex;
  align-items: center;
  justify-content: center;
}
body .area .status__line svg:first-child {
  transform: scaleX(-1);
}
body .area .status__line span {
  width: 10px;
  height: 2px;
  margin: 9px 5px 0;
  transition: 0.5s;
  margin-bottom: 10px;
  border-bottom: 1px dashed white;
}
body .area .code {
  margin-top: 10px;
  width: 500px;
  background: #ecf0f1;
  border-radius: 5px;
  box-shadow: 0 0 50px 0px rgba(0, 0, 0, 0.2);
}
body .area .code header {
  width: 100%;
  height: 35px;
  display: flex;
  align-items: center;
  padding: 0 15px;
  justify-content: space-between;
}
body .area .code header .dots {
  display: flex;
}
body .area .code header .dots span {
  margin: 0 2px;
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 20px;
  background: #cfcfcf;
}
body .area .code > div {
  width: 100%;
  padding: 0 15px;
  margin: 15px 0;
}
body .area .code > div code {
  display: block;
  margin: 3px 0;
  color: #2980b9;
}
body .area .code > div code:nth-child(2) {
  color: #34495e;
}
body .area .code > div code.-nested {
  margin-left: 20px;
}
body .area .code > div code input {
  width: 25px;
  border: 0;
  border-radius: 5px;
  font-family: inherit;
  font-size: inherit;
  padding-left: 4px;
  outline: none;
}

@media screen and (max-height: 500px) {
  .area__virus:nth-child(4) {
    width: 180px !important;
  }
}
@media screen and (max-height: 400px) {
  .area__virus:nth-child(4) {
    left: 300px !important;
  }
}