:root {
    --main-text-color: black;
    --main-background-color: rgb(231, 231, 231);

    --input-background-color: rgba(113, 113, 113, 0.5);
    --input-text-color: rgba(75, 75, 75, 0.8);

    --button-disabled-background-color: rgba(208, 208, 208, 0.5);

    --foother-background-color: rgb(125, 125, 125);
}

.darkmode {
    --main-text-color: white;
    --main-background-color: rgb(45, 45, 45);

    --input-background-color: rgba(190, 190, 190, 0.5);
    --input-text-color: rgba(232, 232, 232, 0.5);

    --button-disabled-background-color: rgba(128, 128, 128, 0.5);

    --foother-background-color: rgb(70, 70, 70);
}

body {
    margin: 0px;
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--main-background-color);
}

.content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.content input, .content textarea {
    margin-top: 10px;
    width: 100%;
    border-radius: 2px;
    border: none;
    background-color: var(--input-background-color);
    padding: 5px;
}

.content input::placeholder, .content textarea::placeholder {
    color: var(--input-text-color);
}

.content input {
    height: 24px;
}

#btn:disabled {
    background-color: var(--button-disabled-background-color);
}

#btn:disabled:hover {
    background-color: rgba(84, 84, 84, 0.5);
    cursor: not-allowed;
}

.foother {
    background-color: var(--foother-background-color);
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 128px;
    align-items: center;
    padding: 8px;
}

.foother a {
    text-decoration: none;
    color: white;
    padding: 8px;
    margin-right: 16px;
}

.foother a:hover {
    color: rgb(163, 163, 163);
    background-color: rgba(120, 120, 120, 0.5);
}

.foother p {
    color: white;
    margin-left: 16px;
}

.header {
    background-color: rgba(87, 87, 87, 0.949);
    color: white;
    width: 100%;
    padding: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 128px;
    justify-content: space-between;
}

.header button {
    margin-right: 16px;
    background-color: rgb(197, 197, 197);
    border: none;
    border-radius: 5px;
    padding: 8px;
}

.header button:hover {
    background-color: rgba(197, 197, 197, 0.5);
}

.header h1 {
    margin-left: 16px;
}

.wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Poppins'
  }
  
  #btn {
    margin-top: 16px;
    justify-content: center;
    align-items: center;
    display: flex;
    background-color: green;
    border: none;
    font-size: 20px;
    padding: 8px 20px;
    color: white;
    border-radius: 0.15rem;
    transition: 0.3s;
    cursor: pointer;
    position: relative;
  }
  
  #btn:hover {
    background-color: darkgreen;
  }
  
  #btn::after {
    content: '';
    display: block;
    width: 1.2rem;
    height: 1.2rem;
    position: fixed;
    border: 0.15rem solid transparent;
    border-right-color: white;
    border-radius: 50%;
    animation: animate 0.7s linear infinite;
    opacity: 0;
}
  
  @keyframes animate {
    from {
      transform: rotate(0);
    }
    to {
      transform: rotate(360deg);
    }
  }
  
  #btn.loading {
    color: transparent;
  }
  
  #btn.loading::after {
    opacity: 1;
  }