
* {
    padding: 0;
    margin: 0;
    font-size: 17px;
    font-weight: 400;
    font-family: "Rubik", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

/* h1, h2 {
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
} */

html {
    height: 100dvh;
}

body {
    background-color: #1F1F1F;
    height: 100dvh; 
    width: 100%;
    z-index: 0;
    overflow: hidden;
    
}

body:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url("../images/main/background_main-rAlmuO4.png");
    background-size: 90%;
    background-repeat: repeat-x;
    background-position: center;
    opacity: 0.1;
    z-index: 0; 
  }

html {
    background-color: #1F1F1F;
    overflow: hidden;
    /* margin-top: 5em; */
}

div {
    padding: 0;
    margin: 0;
}

img {
    padding: 0;
    margin: 0;
    pointer-events: none;
}

a {
    color: #F99963;
    text-decoration-color: #F99963;
    text-decoration: none;
    position: relative;
}

.container {
    display: block;
    padding: 3.5em 1em 1em 1em;
    background: transparent;
    z-index: 1;
    position: relative;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
}


.container:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: url("../images/main/background_main-rAlmuO4.png");
  background-size: 90%;
  background-repeat: repeat-x;
  background-position: center;
  opacity: 0.1;
  z-index: -1; 
}

.container_grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    padding: 1.5em 1em 10em 1em;
    grid-template-columns: 1fr;
    background: transparent;
    z-index: 1;
    position: relative;
    box-sizing: border-box;
    width: 100%;
    height: 100vh;
    transition: 0.2s ease-in-out;
    opacity: 1;
    overflow-y: scroll;
    display: none;
}

.container_grid:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: url("../images/main/background_main-rAlmuO4.png");
  background-size: 90%;
  background-repeat: repeat-x;
  background-position: center;
  opacity: 0.1;
  z-index: -1; 
}

.container_grid.hidee {
    opacity: 0;
    transition: 0.2s ease-in-out;
}

.container_grid.main {
  padding: 1em 1em 10em 1em;
  overflow: scroll;
  display: flex;
}

.container_grid.reg {
  padding: 1.5em 1em 1em 1em;
  position: absolute;
  z-index: 100;
  background-color: #1F1F1F;
}


h1 {
    color: #F99963;
    font-size: 1.25em;
    font-weight: 600;
    text-align: center;
    margin-top: 2em;
    margin-bottom: 0.5em;
}

h2 {
  color: #F99963;
  font-size: 1em;
  font-weight: 600;
  text-align: center;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

span {
    color: #ffffff;
    font-size: 1em;
    font-weight: 400;
    text-align: center;
}




.head_back {
    background-color: #1F1F1F;
    position: absolute;
    width: 100%;
    height: 10vh;
    z-index: 0;
}

.head_back:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url("../images/main/background_header-8QWyfe0.png");
    background-size: contain;
    background-repeat: repeat-x;
    background-position: center;
    /* opacity: 0.1; */
    z-index: 0; 
  }

  button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0.8em 0;
    font-size: 1em;
    font-weight: 600;
    border-radius: 10px;
    border: solid #222222 0.05em;
    background: linear-gradient(90deg, #FFC9AA 50%, #DFA381 100%);
    gap: 0.25em;
  }

  button:active {
    background: linear-gradient(90deg, #DFA381 50%, #DFA381 100%);
  }

  button:disabled  {
    filter: grayscale(100%);
  }

  button.button_second {
    border: solid #DFA381 0.05em;
    background: linear-gradient(90deg, #363434 50%, #363434 100%);
    color: #DFA381;
  }
  

  input {
    background-color: #181818;
    border-radius: 10px;
    border: solid #363434 0.05em;
    width: 100%;
    padding: 0.85em;
    box-sizing: border-box;
    color: #F99963;
    display: flex;
    justify-content: space-between;
    align-items: center;

  }
  input::placeholder {
    color: #363434;
    font-size: 0.8em;
  }

  .flatpickr-input[readonly] {
    background-image: none;
  }

  .choose_form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    overflow-y: scroll;
    height: 40%;
    box-sizing: border-box;
}
  
.choose_form_block {
    display: flex;
    justify-content: start;
    align-items: center;
    background-color: #181818;
    border: 0.05em solid #363434;
    border-radius: 10px;
    padding: 0.75em;
    margin-bottom: 0.5em;
    cursor: pointer;
    user-select: none;
    width: 100%;
    box-sizing: border-box;
    color: #F99963;
    position: relative;
    gap: 0.9em
  }

  .choose_form_block span {
    color: #F99963;
    font-size: 0.85em;
  }

  .choose_form_block svg {
    border-radius: 4px;
    background-color: #363434;
    height: 1.25em;
    width: 1.25em;
    padding: 0.25em;
    box-sizing: border-box;
  }

  .choose_form_block.choosen_family svg {
    background-color: #F99963;
  }

  .choose_form_block.choosen_target svg {
    background-color: #F99963;
  }
  
  .choose_form_block.choosen_sx svg {
    background-color: #F99963;
  }

  .choose_form_block.choosen_job svg {
    background-color: #F99963;
  }
  

  
  /* Кружок */
  .circle {
    content: "";
    position: relative;
    width: 20px;
    height: 20px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #fff;
    transition: border-color 0.2s, background-color 0.2s;
  }
  
  /* Кружок при выборе */
  .choosen_sx .circle{
    background-color: #F99963;
    border-color: #363434;
  }

  .choosen_job .circle{
    background-color: #F99963;
    border-color: #363434;
  }

  

  .main_top_block {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 1em;
    transition: 0.2s ease-in-out;
    opacity: 1;
  }

  .main_top_block.closed {
    opacity: 0;
    transition: 0.2s ease-in-out;
  }

  #main_opened {
    display: none;
  }


  .main_top_block img {
    width: 6em;
  }

  .main_top_block_text {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: start;
  }

  .main_top_block_text h1 {
    font-size: 1.25em;
    text-align: left;
    margin-top: 0;
  }

  .main_top_block_text span {
    font-size: 0.6em;
    text-align: left;
  }

  .main_top_block_text button{
    width: 50%;
    border: 50px;
    font-size: 0.6em;
    margin-top: 1em;
    font-weight: 600;
  }


  #reversed_img {
    transform: rotate(180deg);
  }

