@import url('https://fonts.googleapis.com/css2?family=League+Gothic&display=swap');
@font-face {
  font-family: 'Gellix';
  font-weight: 400;
  src: url('https://movement-industries.s3.eu-west-1.amazonaws.com/Gellix-Regular.ttf')
    format('truetype');
}

@font-face {
  font-family: 'Gellix';
  font-weight: 700;
  src: url('https://movement-industries.s3.eu-west-1.amazonaws.com/Gellix-Bold.ttf')
    format('truetype');
}

@font-face {
  font-family: 'Gellix';
  font-weight: 600;
  src: url('https://movement-industries.s3.eu-west-1.amazonaws.com/Gellix-SemiBold.ttf')
    format('truetype');
}

body {
  background-color: #F5F5F5;
  margin: 40px;
}
@media (max-width: 768px) {
  body {
    margin: 20px;
  }
}
@media (max-width: 480px) {
  body {
    margin: 10px;
  }
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ffffff;
  color: #191936c9;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
  padding: 15px;
  border-radius: 4px;
  max-width: 100%;
  font-family: 'Gellix', sans-serif;
}

.url-box {
  width: 100%;
}

.url-box p {
  margin-top: 0;
  font-weight: 600;
  font-size: 15px;
}

.url-box input {
  width: 400px;
  margin-right: 10px;
  padding: 8px;
  border: 2px solid #20204D33;
  border-radius: 4px;
  color: #191936c9;
  font-size: 15px;
  font-family: 'Gellix', sans-serif;
}

.url-box input::placeholder {
  color: #20204d5f;
  font-family: 'Gellix', sans-serif;
}

.url-box input:focus {
  outline: none;
}

.submit-button {
  display: flex;
  align-items: center;
  width: 290px;
  background-color: #00F399;
  border: none;
  border-radius: 4px;
  padding: 8px 25px;
  height: 40px;
  color: #191936;
  font-weight: bold;
  font-size: 15px;
  cursor: pointer;
  font-family: 'Gellix', sans-serif;
}

@media (max-width: 768px) {
  .top-bar {
    flex-direction: column;
    align-items: flex-start;
    margin: 10px auto 20px;
    gap: 10px;
    padding: 10px;
    padding-bottom: 15px;
  }
  .url-box p {
    margin-bottom: 10px;
  }
  .url-box input {
    width: 90%;
  }
  .submit-button {
    width: 220px;
  }
}
@media (max-width: 480px) {
  .top-bar {
    padding: 5px 7.5px;
  }
}

.url-error {
  text-align: center;
  color: #ff0000;
  font-size: 15px;
  font-family: 'Gellix', sans-serif;
  transform: translateY(-20px);
  margin-bottom: 15px;
}
@media (max-width: 768px) {
  .url-error {
    transform: translateY(-15px);
    padding-top: 10px;
  }
}

.toggle-buttons {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.toggle-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: none;
  background-color: #F5F5F5;
  gap: 3px;
  cursor: pointer;
  font-family: 'Gellix', sans-serif;
}

.toggle-button-on {
  color: #191936;
}

.toggle-button-on svg path {
  stroke: #191936;
}

.toggle-button-off {
  color: #20204d5f;
}

.toggle-button-off svg path {
  stroke: #20204d5f;
}

.loading-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: -20px;
  font-weight: 600;
  font-family: 'Gellix', sans-serif;
}

.loading-container img {
  width: 100px;
  height: 100px;
}

.main-container {
  margin: 20px auto 40px;
}
@media (max-width: 768px) {
  .main-container {
    margin: 10px auto 20px;
  }
}

.output-text, .output-html {
  display: flex;
  justify-content: center;
  width: 100%;
}

.copy-button-text, .copy-button-html {
  display: flex;
  align-items: center;
  position: absolute;
  width: fit-content;
  top: 20px;
  right: 20px;
  border-radius: 4px;
  padding: 8px 25px;
  font-weight: bold;
  gap: 6px;
  cursor: pointer;
  font-family: 'Gellix', sans-serif;
}

.copy-button-text {
  border: 2px solid #191936;
  background-color: #ffffff;
  color: #191936;
}

.copy-button-html {
  border: 2px solid #ffffff;
  background-color: #191936;
  color: #ffffff;
}

.content-title {
  text-align: center;
  margin: 10px 0;
  font-weight: 400;
  color: #191936;
  font-family: 'League Gothic', sans-serif;
}

@media (max-width: 768px) {
  .content-title {
    margin-top: 50px;
  }
  .copy-button-text, .copy-button-html {
    top: 10px;
    left: 10px;
  }
}

.text-content-container, .html-content-container {
  display: flex;
  flex-direction: column;
  position: relative;
  justify-content: center;
  width: 100%;
  margin: auto;
  border: 1px solid #20204D33;
  border-radius: 4px;
  font-family: 'Gellix', sans-serif;
  box-sizing: border-box;
}

.text-content-container {
  background-color: #ffffff;
  max-width: 830px;
  align-items: center;
  padding: 15px 30px;
}
@media (max-width: 500px) {
  .text-content-container {
    padding: 15px;
  }
}

.html-content-container {
  background-color: #191936;
  max-width: 800px;
  padding: 15px;
}

.text-content {
  width: 680px;
  max-width: 100%;
  color: #191936;
  font-size: 15px;
}

.html-content {
  width: 680px;
  max-width: 100%;
  margin: 40px auto 10px;
  box-sizing: border-box;
  background-color: #1e1e1e;
  color: #dcdcdc;
  font-size: 15px;
  overflow: auto;
  font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
  padding: 20px;
}

@media (max-width: 768px) {
  .html-content {
    margin-top: 10px;
  }
}

.feedback-box, .feedback-msg {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
  padding: 10px;
  color: #191936;
  font-size: 13px;
  font-family: 'Gellix', sans-serif;
}

.feedback-box svg {
  cursor: pointer;
}

.modal-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  z-index: 10;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-content {
  position: relative;
  box-sizing: border-box;
  background: #191936;
  margin-top: 12vh;
  padding: 20px;
  width: 640px;
  height: 660px;
  max-width: calc(100% - 20px);
  max-height: calc(100vh - 20px);
  display: flex;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
@media (max-height: 760px) {
  .modal-content {
    margin-top: 4vh;
  }
}
@media (max-height: 420px) {
  .modal-content {
    margin-top: 0;
    margin-bottom: 0;
    max-height: 100%;
  }
}
@media (max-width: 500px) {
  .modal-content {
    height: 480px;
  }
}
@media (max-width: 460px) {
  .modal-content {
    height: 520px;
  }
}
@media (max-width: 360px) {
  .modal-content {
    margin-top: 10px;
  }
}

.modal-container.show {
  opacity: 1;
  visibility: visible;
}

.inner-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  height: 100%;
  overflow: auto;
  padding: 60px 0 20px;
}

.logo {
  position: absolute;
  top: 30px;
  left: 30px;
  height: 90px;
}
@media (max-width: 600px) {
  .logo {
    top: 20px;
    left: 20px;
  }
}
@media (max-width: 500px) {
  .logo {
    top: 10px;
    left: 10px;
    height: 80px;
  }
}
@media (max-height: 520px) {
  .logo {
    top: 10px;
    left: 10px;
    height: 80px;
  }
  .inner-content {
    padding-top: 20px;
  }
}

.collage {
  width: 360px;
  max-width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 500px) {
  .collage {
    display: none;
  }
}
@media (max-height: 690px) {
  .collage {
    display: none;
  }
  .modal-content {
    height: 500px;
  }
}

.limit-title {
  text-align: center;
  margin: 40px 0 20px;
  font-weight: 400;
  font-size: 48px;
  color: #ffffff;
  font-family: 'League Gothic', sans-serif;
}
@media (max-width: 500px), (max-height: 390px) {
  .limit-title {
    font-size: 36px;
    padding: 0 40px;
  }
}
@media (max-width: 440px) {
  .logo {
    top: 2.5px;
    left: 2.5px;
    height: 70px;
  }
}
@media (max-height: 480px) {
  .limit-title {
    margin: 20px 0 10px;
  }
}
@media (max-width: 440px), (max-height: 440px) {
  .inner-content {
    padding-top: 0;
  }
  .limit-title {
    margin: 0 0 10px;
  }
}

.limit-text {
  text-align: center;
  margin: 0 auto;
  font-weight: 400;
  font-size: 15px;
  max-width: 420px;
  color: #ffffffcc;
  font-family: 'Gellix', sans-serif;
}

.email-form, .link-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.link-box {
  margin: 30px 0;
}

.register-email-error {
  margin: 0;
  color: #ff6600;
  font-size: 15px;
  line-height: 1.5;
  font-family: 'Gellix', sans-serif;
  transform: translateY(-10px);
}

.email-form input {
  width: 100%;
  max-width: 360px;
  padding: 8px;
  box-sizing: border-box;
  border: 2px solid #20204D33;
  border-radius: 4px;
  color: #191936c9;
  font-size: 14px;
  font-family: 'Gellix', sans-serif;
}

.name-field {
  margin: 20px 0 15px;
}

.email-field {
  margin: 0 0 20px;
}

@media (max-width: 380px), (max-height: 460px) {
  .link-box {
    margin: 20px 0;
  }
}
@media (max-height: 380px) {
  .name-field {
    margin: 10px 0 10px;
  }
  .email-field {
    margin: 0 0 10px;
  }
  .register-email-error {
    transform: translateY(-5px);
  }
}
@media (max-height: 360px) {
  .modal-content {
    padding: 10px;
  }
  .limit-title {
    font-size: 30px;
    margin-bottom: 5px;
  }
}

.submit-button-email {
  max-width: fit-content;
  background-color: #00F399;
  border: none;
  border-radius: 4px;
  margin-bottom: 10px;
  padding: 5px 25px 7px;
  height: 40px;
  color: #191936;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  font-family: 'Gellix', sans-serif;
}

.after-sent {
  display: none;
}

.welcome-message {
  display: flex;
  justify-content: center;
  margin: 0 auto 40px;
  font-weight: 400;
  font-size: 40px;
  color: #191936;
  font-family: 'League Gothic', sans-serif;
  gap: 10px;
}

.welcome-text {
  padding-top: 9px;
}
