@font-face {
  font-family: FiraCode;
  src: url(fontcode/FiraCode-VariableFont_wght.ttf);
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
  margin: 0;
}
body {
  text-align: center;
  background-image: url("img/julioE.webp");
  background-size: cover;
  font-family: FiraCode;
}
.box {
  display: flex;
  flex-flow: column;
  height: 100%;
}

.box .row.header {
  flex: 0 1 auto;
  background-image: url("img/coliseu.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 115%;
  background-color: #2f2e2e9c;
}

.box .row.content {
  display: flex;
  flex: 1 1 auto;
}
.how-to {
  width: 45%;
  background-color: #eae5dd94;
  margin: 20px;
  padding: 20px;
}
.how-to p {
  padding-left: 20px;
  padding-right: 20px;
}

.box .row.footer {
  flex: 0 1 40px;
  background-color: #090908bd;
  width: 100%;
}
.copyright {
  font-family: "Segoe UI";
}

.texto-branco {
  color: rgb(255, 255, 255);
}
.cipher-panel {
  display: flex;
  flex-direction: column;
  align-content: center;
  width: 48%;
}
.cipher-panel h4 {
  color: #000;
}
#userInput,
#userInputD {
  width: 46%;
  resize: none;
  margin-bottom: 10px;
}

#key,
#keyD {
  width: 46%;
  margin-bottom: 10px;
}
.button-group {
  display: flex;
  justify-content: center;
}
.button-group button {
  width: 23%;
  color: #000;
  margin: 8px;
}
.github-logo {
  width: 63px;
  position: absolute;
  top: 1%;
  right: 7%;
}
.github-logo img {
  width: 63px;
}
@media (max-width: 600px) {
  .box .row.content {
    flex-direction: column;
  }
  .how-to {
    width: 96%;
    margin: 2% 2% 50px 2%;
  }
  .cipher-panel {
    width: 96%;
    margin: 2% 2% 50px 2%;
  }
  #userInput,
  #userInputD {
    width: 100%;
  }
  #key,
  #keyD {
    width: 100%;
    height: 50px;
  }
  .button-group button {
    width: 50%;
    height: 50px;
    margin: 0;
  }
  .form-group {
    margin-bottom: 50px;
  }
  #github-header {
    display: none;
  }
  #github-mobile {
    align-self: center;
    margin-bottom: 5px;
    position: relative;
    top: 0;
    right: 0;
  }

  body:before {
    content: "";
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
    background: url("img/julioE.webp") no-repeat center center;
  }
  header h2 {
    font-size: 1.1rem;
  }
  header p {
    background-color: #0000009c;
  }
}
