.sub-management-page main {
  margin-top: 9rem;
  max-width: 65vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 8rem;
}

@media only screen and (max-width: 566px) {
  .sub-management-page main {
    margin-top: 10rem;
  }
}

@media only screen and (max-width: 297px) {
  .sub-management-page main {
    margin-top: 12rem;
  }
}

@media only screen and (max-width: 239px) {
  .sub-management-page main {
    margin-top: 14rem;
  }
}

.sub-management-page main > form {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.sub-management-page main > form label {
  width: 100%;
  text-align: center;
  margin-bottom: 2.4rem;
}

.sub-management-page main > form .input-container {
  display: flex;
  width: 100%;
  justify-content: center;
}

.sub-management-page main > form .input-container > * {
  font-size: calc(0.94em + 0.2vw);
}

.sub-management-page main > form .input-container > input {
  margin-right: 1rem;
}

@media only screen and (max-width: 480px) {
  .sub-management-page main > form .input-container {
    flex-wrap: wrap;
  }

  .sub-management-page main > form .input-container > input {
    margin-bottom: 1rem;
    margin-right: initial;
  }
}

.sub-management-page main > hr {
  width: 100%;
  margin-top: 4rem;
  margin-bottom: 4rem;
}

.sub-management-page main > h5 {
  width: 100%;
  text-align: center;
  margin-bottom: 2.4rem;
}

.sub-management-page .success-adding-subreddit-notice {
  display: flex;
  align-items: center;
  margin-top: 3rem;
  justify-content: center;
  width: 100%;
  text-align: center;
}

.sub-management-page .success-adding-subreddit-notice svg {
  margin-left: 0.4rem;
  width: 1.2rem;
}

.sub-management-page .success-removing-subreddit-notice {
  display: flex;
  align-items: center;
  margin-top: 2rem;
  margin-bottom: 2rem;
  justify-content: center;
  width: 100%;
  text-align: center;
}

.sub-management-page .success-removing-subreddit-notice svg {
  margin-left: 0.4rem;
  width: 1.2rem;
}

.sub-management-page main .sub-removal-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1.2rem;
}

.sub-management-page main .sub-removal-container .sub-container {
  display: flex;
  align-items: center;
  padding-left: 1.4rem;
  padding-right: 1.4rem;
  padding-top: 1.2rem;
  padding-bottom: 1.2rem;
  margin-bottom: 1.6rem;
  font-size: 1.2rem;
  font-family: Poppins, sans-serif;
}

@media only screen and (max-width: 700px) {
  .sub-management-page main .sub-removal-container .sub-container {
    font-size: 1rem;
  }
}

.sub-management-page main .sub-removal-container .sub {
  overflow-wrap: anywhere;
  margin-right: 0.7rem;
}
