/*culori :
text #efe5d0a9;
fundal container #4e1114c3;
fundal animatie input text #4e1114;
                input borders #efe5d02b;
fundal butoane #821619;
                #2A0F10;
fundal container responsive #4e1114f1;
*/


:root {
  --black: #000000;
  --white: #ffffff;
  --rosewood: #5c0a10;
  --seal-brown: #2a0f10;
  --bulgarian-rose-red: #4e1114;
  --falu-red: #821619;
  --fire-brick: #b72025;
  --parchment: #efe5d0;
}

/*-------------------------------------Navbar------------------------*/
nav {
  display: flex;
  width: 100vw;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  background-color: #000000;
  z-index: 10;
  transition: transform 0.4s ease-in-out;
  top: 0;
  left: 0;
  text-transform: uppercase;
  font-family: "Poppins", sans-serif;
}

.nav-content {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.nav-dropdown {
  width: max-content;
  padding-right: 2rem;
}

.nav-buton {
  background-color: transparent;
  color: #ffffff;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 1;
  text-transform: uppercase;
  font-family: "Poppins", sans-serif;
}

.nav-dropdown:hover .nav-dropdowncontent {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nav-sigla img {
  height: 10vh;
}

.nav-content a {
  font-size: 1.2rem;
  text-decoration: none;
  color: #ffffff;
  cursor: pointer;
}

.nav-dropdowncontent {
  position: absolute;
  display: none;
  z-index: 1;
  background-color: #000000;
  width: 12vw;
  padding-left: 0.5rem;
  padding-top: 1rem;
}

/* #nav-curent {
  color: #b72025;
} */

.nav-content a:hover:not(#nav-curent) {
  text-shadow: #430d0d 1px 0 8px;
}

.nav-buton i {
  font-size: 0.7rem;
}

.menu-phone {
  display: none;
  height: 0;
}

.navbar-phone-top {
  display: none;
}

.btn-open:checked {
  display: none;
}


@media only screen and (max-width: 850px) {
  nav {
    display: none;
  }

  .nav-sigla img {
    height: 10vh;
  }

  .nav-dropdown {
    padding-right: 0;
    margin-left: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .nav-dropdowncontent {
    position: relative;
    width: auto;
    text-align: center;
    margin-right: 0.5rem;
    padding-left: 0;
  }

  .hamburger-content {
    background-color: #000000;
    display: flex;
    gap: 0.3rem;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding-top: 8rem;
    display: none;
    text-transform: uppercase;
    font-family: "Poppins", sans-serif;
  }

  .hamburger-content a {
    color: white;
    text-decoration: none;
    font-family: "Poppins", sans-serif;
    font-size: 1.2rem;
  }

  .nav-container {
    display: flex;
    flex-direction: column;
    align-content: flex-end;
  }

  .buton-hamburger {
    position: fixed;
    font-size: 2rem;
    right: 5%;
    top: 0;
    padding-top: 1.3rem;
    background-color: #000000;
    color: #ffffff;
    width: 10vw;
    list-style: none;
    border: none;
    outline: inherit;
  }

  .menu-phone {
    display: flex;
    justify-content: center;
    width: 100%;
    position: fixed;
    background-color: #000000;
    margin-top: 5rem;
    height: 0;
    transition: all 0.4s ease-in-out;
  }

  .navbar-phone-top {
    display: flex;
    align-items: center;
    justify-content: left;
    position: fixed;
    background-color: black;
    width: 100%;
    top: 0;
  }

  .navbar-phone-top h3 {
    color: #ffffff;
    position: fixed;
    right: 4rem;
  }

  .btn-open:checked {
    display: none;
  }
}

/* -----------------------------FORMULAR------------------------- */

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  color: white;
}

h3,
h1 {
  font-family: "Poppins", sans-serif;
}

section {
  min-height: 100vh;
  height: auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-image: url(../assets/Formular/Fundal\ Formular\ Înscriere.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

.container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 70%;
  height: 60vh;
  /*max-width: 60rem;*/
  margin: 0 auto;
  background-color: rgb(42, 15, 16, 0.6);
  box-shadow: 0px 0px 20px #00000030;
  padding: 3rem;
  border-radius: 8px;
  position: relative;
}

#container-sigla-editie {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#sigla {
  width: 7rem;
  border-radius: 8px;
  position: relative;
}

#editie {
  float: right;
}

.acte {
  text-align: center;
}

.subtitlu {
  text-align: center;
  margin-top: 0.5rem;
}

.additional-info {
  font-size: 0.7rem;
  font-family: "Jost", sans-serif;
}

.titlu-form {
  text-align: center;
  margin-bottom: 2rem;
}

.step {
  display: none;
}

.step.active {
  display: block;
}

.form-group {
  width: 100%;
  padding: 5px;
}

.textbox input:valid~label,
.textbox input:focus~label {
  transform: translateX(10px) translateY(-2px);
  font-size: 0.8rem;
  padding: 0 10px;
  background: #4e1114;
  border-left: 1px solid #efe5d02b;
  border-right: 1px solid #efe5d02b;
  letter-spacing: 0.1rem;
}

.textbox textarea:valid~label,
.textbox textarea:focus~label {
  transform: translateX(10px) translateY(-2px);
  font-size: 0.8rem;
  padding: 0 10px;
  background: #4e1114;
  border-left: 1px solid #efe5d02b;
  border-right: 1px solid #efe5d02b;
  letter-spacing: 0.1rem;
}

.textbox {
  position: relative;
}

.textbox input {
  outline: none;
}

.textbox label {
  position: absolute;
  transition: 0.4s;
}

.form-group label,
.question,
.subtitle {
  left: 0;
  padding: 1rem;
  text-transform: uppercase;
  pointer-events: none;
  font-size: 0.8rem;
  font-family: "Jost", sans-serif;
}

.form-group label.scrisMic {
  pointer-events: all;
  font-family: "Jost", sans-serif;
  padding-left: 0.2rem;
  font-size: 0.7rem;
}

.form-group input,
textarea,
select {
  width: 100%;
  border: 1.5px solid #efe5d02b;
  padding: 0.5rem;
  font-size: 0.9rem;
  margin-top: 5px;
  border-radius: 4px;
  background-color: transparent;
  color: white;
  font-family: "Jost", sans-serif;
  resize: none;
}

.form-group textarea {
  height: 10vh;
}

.form-group option {
  color: black;
  font-family: "Jost", sans-serif;
}

.flex-formular {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
}

.column-formular {
  width: 20rem;
  margin: 0 0.5rem;
}

.box-formular {
  width: 20rem;
  margin: 1rem 0.5rem 0 0.5rem;
}

#da,
#nu {
  width: auto;
  margin: 0 0 0 15px;
  padding: 0;
}

#termCond,
#termCond2,
#newsletter {
  width: auto;
  padding: 0;
}

.form-group .checkbox-field {
  padding: 0;
  font-family: "Jost", sans-serif;
}

.form-inputuri {
  display: flex;
  align-items: center;
  width: 20vw;
  padding-left: 2rem;
}

.form-checkbox {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: flex-start;
  margin-left: 1rem;
}

#raspunsMancare,
#raspunsCazare {
  width: fit-content !important;
}

.form-sunt-de-acord {
  padding-top: 1rem;
}

label.scrisMic {
  font-size: 0.65rem;
}

a:link {
  text-decoration: none;
  color: rgb(184, 68, 68);
}

a:visited {
  color: rgb(184, 68, 68);
}

a:hover {
  color: rgb(240, 127, 47);
}

a:active {
  color: darkred;
}

option {
  font-family: "Jost", sans-serif;
}

.subtitle {
  margin-top: 30px;
  margin-bottom: -20px;
  font-weight: bold;
}

button.next-btn,
button.previous-btn,
button.trimite-btn,
button.backtohome-btn {
  float: right;
  margin-top: 25px;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 5px;
  outline: none;
  color: #efe5d0;
  background-color: #821619;
  font-family: "Poppins", sans-serif;
  font-size: 1 rem;
  cursor: pointer;
}

button.previous-btn {
  float: left;
}

button.plateste-btn {
  align-self: center;
  min-width: auto;
  margin-top: 25px;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 5px;
  outline: none;
  color: #efe5d0;
  background-color: #821619;
  font-family: "Poppins", sans-serif;
  font-size: 1 rem;
  cursor: pointer;
}

button.backtohome-btn {
  text-align: center;
  width: 11rem;
  float: none;
}

button:hover {
  background-color: #5c0a10;
}

button:active {
  background-color: #5c0a10;
  box-shadow: 0 3px #2a0f10;
  transform: translateY(2px);
}

.popup {
  width: 30rem;
  background-color: #2a0f10;
  border-radius: 20px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.1);
  text-align: center;
  padding: 10rem 0rem 10rem;
  visibility: hidden;
  transition: trasnform 0.4s, top 0.4s;
  box-shadow: 0 5px 30px #efe5d02f;
}

.open-popup {
  visibility: visible;
  top: 50%;
  transform: translate(-50%, -50%) scale(1);
  position: fixed;
  padding: 5rem;
}

.open-popup-blur {
  filter: blur(10px);
  pointer-events: none;
  user-select: none;
}

#multumim {
  padding-bottom: 2rem;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}


/* -----------------------------RESPONSIVENESS---------------------------- */

@media only screen and (max-width: 60rem) {
  .flex-formular {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  section {
    min-height: 120vh;
    min-width: 110vw;
    background-size: cover;
    background-position: center;
    padding: 2rem;
    overflow: hidden;
  }

  .container {
    width: 95%;
    height: auto;
    min-height: 70vh;
    /* margin: 6rem auto 2rem; */
    padding: 1.5rem;
    display: block;
  }

  .form-group input,
  textarea,
  select {
    width: 80%;
  }

  button.next-btn,
  button.previous-btn,
  button.trimite-btn {
    width: 45%;
  }

  button.backtohome-btn {
    width: auto;
  }

  #info {
    width: 90%;
  }

  #multumim {
    padding-bottom: 1rem;
  }

  .popup {
    width: 95%;
    height: 40%;
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
  }

  #sigla {
    width: 7rem;
  }

  #reprezentant {
    margin-top: 2rem;
  }

  .form-inputuri {
    width: auto;
  }

  a:link {
    color: rgb(240, 127, 47);
  }

  a:visited {
    color: rgb(240, 127, 47);
  }
}