* {
  box-sizing: border-box;
}

.text-center {
  text-align: center;
}

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

body {
  min-width: 100vw;
  min-height: 80vh;
  font-family: 'Montserrat', sans-serif;
  background-color: #343a40;
  -webkit-font-smoothing: antialiased;
  display: grid;
  margin: 0;
}

header {
  align-items: center;
  justify-content: center;
  text-align: center;
}

main {
  display: flex;
  text-align: center;
  justify-content: flex-start;
  align-items: flex-start;
}

h1 {
  margin-bottom: 4px;
}

textarea {
  border-radius: 6px;
  border: none;
  padding: 20px;
  font-size: 20px;
  transition: 50ms ease-in-out;
  width: 100%;
  height: 270px;
}

textarea:focus {
  outline: none !important;
}

button:hover {
  background-color: rgba(71, 209, 127, 0.7);
}

button {
  cursor: pointer;
  margin-top: 32px;
  min-width: 210px;
  color: white;
  box-shadow: 0 2px 6px 0 rgba(5, 15, 44, 0.5);
  padding: 0 20px;
  display: inline-block;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 500;
  height: 40px;
  line-height: 40px;
  border: none;
  box-sizing: border-box;
  position: relative;
  transition: 200ms ease-in-out;
}

.button__text {
  transition: all 0.2s;
}

.button--loading .button__text {
  visibility: hidden;
  opacity: 0;
}

.button--loading::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  border: 4px solid transparent;
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: button-loading-spinner 1s ease infinite;
}

@keyframes button-loading-spinner {
  from {
    transform: rotate(0turn);
  }

  to {
    transform: rotate(1turn);
  }
}

.container {
  position: relative;
  margin: 0 auto;
  max-width: 800px;
  width: 100vw;
}

.encrypt {
  background-color: #47d17f;
}

.clipboard {
  background-color: #47d17f;
}

.success-encrypted {
  position: absolute;
  top: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  width: 100%;
}

.subtitle {
  margin-top: 4px;
  margin-bottom: 32px;
  opacity: .9;
  font-weight: 400;
}

.send {
  text-align: center;
  color: white;
}

.logo {
  margin-top: 32px;
  width: 100px;
  height: auto;
}