:root {
  --main-bg-color: #0b0b0c;
  --main-text-color: #fff;
  --button-bg-color: #d9d9d9;
  --menu-text-color: #fdf8f8;
  --button-primary-text-default: #0B0B0C;
  --button-primary-bg-hover: linear-gradient(123deg, #AA62DA 0%, #CF686E 56.25%, #FA5560 100%);
  --button-primary-bg-default: #d9d9d9;
  --menu-bg-color-grey: #1A1A1A;
  user-select: none;
}

.maincontent {
  margin-bottom: 10rem;
}

.generator_header {
  color: var(--main-text-color);
  font-family: Ubuntu;
  font-size: 2.5rem;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-align: left;
}

.generator {
  height: 26rem;
  display: flex;
  flex-direction: row;
  justify-content: center;
  border-radius: 0.75rem;
  margin-left: 0.5rem;
}

.h3 {
  padding: 1.88rem;
  color: var(--main-text-color);
  font-family: Ubuntu;
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 500;
  line-height: 140%;
}

.generator_style {
  background-color: #1A1A1A;
  height: 42.125rem;
  width: 26.1875rem;
  flex-shrink: 0;
  border-radius: 0.75rem;
}

.style_preset {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  border-radius: 0.5rem;
  background-color: #1A1A1A;
  padding: 5px 0px 5px 0px;
  justify-content: center;
}

.filter {
  background-color: #1A1A1A;
  color: var(--main-text-color);
    flex-basis: 33%;
    width: 5.5rem;
    height: 2.0625rem;
    gap: 0.625rem;
    border-radius: 0.3125rem;
    border: 1px solid #1A1A1A;
    cursor: auto;
    font-family: Open Sans;
    font-size: 1rem;
    font-weight: 400;
    line-height: 140%;
    text-align: center;
}

.style_option {
  margin: 0.8rem;
  display: flex;
  flex-wrap: wrap;
}

.option {
  padding: 0.3rem 5px 0 5px;
  width: fit-content;
  height: 1.9125rem;
  border-radius: 0.3125rem;
  background: #636363;
  margin: 0.31rem;
  text-align: center;
  text-wrap: nowrap;
  color: #FFF;
  font-family: Open Sans;
  font-size: 1rem;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  user-select: none;
}

.generated-text {
  position: relative;
  padding: 0.3rem 30px 0 5px;
  width: fit-content;
  height: 1.9125rem;
  border-radius: 0.3125rem;
  background: #636363;
  margin: 0.31rem;
  text-align: center;
  text-wrap: nowrap;
  color: #FFF;
  font-family: Open Sans;
  font-size: 1rem;
  font-style: normal;
  font-weight: 600;
  line-height: 140%;
  user-select: none;
}

.generated-text:hover::before {
  content: "\00d7";
  position: absolute;
  top: 5px;
  right: 6px;
  font-size: 24px;
  color: rgba(1, 1, 1, 1);
  cursor: pointer;
}

/* где-то здесь классы для опций под каждый фильтр */


.disabled {
  display: hide;
}

*/ .generator_right {
  width: 51.625rem;
  display: flex;
  flex-direction: column;
}

.generator_manual {
  height: 7.4375rem;
  width: 51.625rem;
  margin: 0 0 0 0.94rem;
  display: flex;
  flex-direction: row;
  background-color: #1A1A1A;
  border-radius: 0.75rem;
  align-items: center;
  justify-content: space-evenly;
}

input {
  width: 39.4375rem;
  height: 2.6875rem;
  flex-shrink: 0;
  border-radius: 0.5rem;
  color: rgba(255, 255, 255, 0.20);
  font-family: Open Sans;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  background: #1A1A1A;
  border: 1px solid #5E5E5E;
}

input:focus-visible {
  color:var(--main-text-color);
  outline-color: var(--button-bg-color);
}

.generator_choicearea {
  display: flex;
  align-content: flex-start;
  flex-direction: row;
  height: 17.8125rem;
  margin: 0.94rem 0 0.94rem 0.94rem;
  width: 51.625rem;
  background-color: #1A1A1A;
  border-radius: 0.75rem;
  flex-wrap: wrap;
  overflow: auto;
}

.generator_copyarea {
  width: 51.625rem;
  height: 13.75rem;
  margin: 0 0 0 0.94rem;
  padding-top: 1.25rem;
  display: flex;
  flex-direction: row;
  background-color: #1A1A1A;
  border-radius: 0.75rem;
  align-items: flex-start;
  justify-content: space-evenly;

}

textarea {

font-family: Open Sans;
font-size: 1rem;
font-style: normal;
font-weight: 400;
line-height: 140%;
  padding: 0.31rem;
  width: 40.0625rem;
  height: 12rem;
  flex-shrink: 0;
  border-radius: 0.5rem;
  background: #252525;
  border-style: none;
  user-select: none;
  resize: none;
  cursor: default;
  color: var(--main-text-color);
  opacity: 50%;
  
}
.textarea-container {
  position: relative;
}

#charCount {
  font-family: Open Sans;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  opacity: 0.4;
  position: absolute;
  bottom: -33px;
  right: 496px;
  padding-bottom: 0.31rem;
  padding-right: 0.31rem;
}
textarea:focus-visible, textarea:focus {
  outline: none;
}

.areabuttons {
  display: flex;
  flex-direction: column;
  gap: 1.56rem;
}

/*  BUTTONS   */

.inputbutton {
  display: flex;
  width: 7.8125rem;
  height: 2.6875rem;
  padding: 0.625rem 1.875rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
  border-radius: 0.5rem;
  border: 1px solid #DD519A;
  background: #1A1A1A;
  color: #FFF;
  font-family: Open Sans;
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 600;
  line-height: normal;

}

.copybutton {
  display: flex;
  width: 8.4375rem;
  height: 2.8125rem;
  padding: 0.625rem;
  justify-content: center;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
  border-radius: 3.75rem;
  background: var(--button-primary-bg-default, #D9D9D9);
  color: var(--button-primary-text-default, #0B0B0C);
  font-family: Open Sans;
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  cursor: pointer;
}

.clearbutton {
  display: flex;
  width: 8.4375rem;
  height: 2.8125rem;
  padding: 0.625rem;
  justify-content: center;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
  border-radius: 3.75rem;
  border: 1px solid #5E5E5E;
  background: #272727;
  color: #FFF;
  font-family: Open Sans;
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  cursor: pointer;
}

.toLeo {
  display: flex;
  width: 8.4375rem;
  height: 2.8125rem;
  padding: 0.5625rem 0.625rem;
  justify-content: center;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
  border-radius: 3.75rem;
  border: 1px solid #C76498;
  background: #272727;
  color: #FFF;
  font-family: Open Sans;
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  cursor: pointer;

}

/*    BUTTONS HOVER   */

.inputbutton:hover,
.inputbutton:active,
.copybutton:hover,
.copybutton:active,
.clearbutton:hover,
.clearbutton:active,
.toLeo:hover,
.toLeo:active {
  background: var(--button-primary-bg-hover, linear-gradient(123deg, #AA62DA 0%, #CF686E 56.25%, #FA5560 100%));
}
.inputbutton:hover,
.inputbutton:active,
.clearbutton:hover,
.clearbutton:active,
.toLeo:hover,
.toLeo:active {
  color: var(--button-primary-text-default);
}
.filter:hover {
  background-color: #2D2D2D;
}



/* Mobile version */
@media screen and (max-width: 1200px) {
  body {
    display: none;
    /* Hide the body content for mobile view */
  }

  /* Add CSS for the "No mobile version" message */
  .no-mobile-message {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #0b0b0c;
    color: white;
    font-family: Arial, sans-serif;
    font-size: 24px;
    font-weight: bold;
  }
}