@font-face {
  font-family: "font1";
  src: url("/fonts/PFDinTextCondPro-Medium.woff");
}
@font-face {
  font-family: "font2";

}

.oswald-500 {
  font-family: "Oswald", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "bold";
  src: url("/fonts/PFDinTextCondPro-Bold.ttf");
}
@font-face {
  font-family: "dinB";
  src: url("/fonts/FontsFree-Net-D-DINCondensed-Bold.ttf");
}
@font-face {
  font-family: "dinlight";
  src: url("/fonts/din-condensed-light.ttf");
}
@font-face {
  font-family: "one";
  src: url("/fonts/new_fonts/Interstate-Regular-Comp.ttf");
}

:root {
  --color-1: #005e38;
  --text-color: #f0f0f0;
  --accent-color: #8e1a20;
  --primary-font: "font1", sans-serif;
  --secondary-font: "font2", sans-serif;
  --third-font: "bold", sans-serif;
  --fourth-font: "dinB", sans-serif;
  --fifth-font: "dinlight", sans-serif;
}
* {
  margin: 0;
  padding: 0;
}
html {
  font-size: 12pt;
  font-family: var(--primary-font);
}

img {
  max-width: 100%;
  display: block;
}
nav {
  height: 60px;
  background-color: var(--color-1);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.links-container {
  height: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

nav a {
  height: 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text-color);
}

nav a:hover {
  background-color: var(--accent-color);
  transition: background-color 0.25s ease-in-out;
}

nav .home-link {
  margin-right: 0;
}

nav svg {
  fill: var(--text-color);
}
body {
  /* background-image: url("/assets/body.png"); */
  overflow-y: auto;
  background: linear-gradient(to bottom, #fefffa 17%, #eadf7d 60%);
}
#sidebar-active {
  display: none;
}

.open-sidebar-button,
.close-sidebar-button {
  display: none;
}

.first--section {
  /* height: auto;
  background-image: url("./assets/bkg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; */
}
.logo {
  width: 80%;
  display: block;
  margin: 0 auto;
}
.bkg {
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
}
.first--section {
  padding: 2em 0 2em 0;
  position: relative;
}
.text--promo {
  text-align: center;
  color: var(--color-1);
  font-size: 1.5rem;
  font-family: 'Oswald';
  font-weight: 700;
}
.first--section {
  display: flex;
  flex-direction: column;
  gap: 3.75rem;
}
.buton--inscriere {
  background-color: #005e38;
  color: white;
  border: none;
  border-radius: 15px;
  padding: 0.25em 0.5em;
  font-size: 1.35rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 35%;
  max-width: 150px;
  min-width: 125px;
  white-space: nowrap;
  margin: 0 auto;
  font-family: var(--third-font);
}
.inscriere-button:hover {
  background-color: #004b30;
}
.second--section {
  width: 100%;
}
.modify-span {
  font-family: var(--third-font);
}
.text-premii {
  font-family: var(--fifth-font);
  color: var(--color-1);
  font-size: 1.5rem;
  white-space: wrap;
  width: 100%;
}
.second--section {
  padding: 2em 0 0em 0;
  width: 100%;
}
.arrow {
  width: 12.5%;
}
.wrapper-1 {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
}
.wrap-all {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding: 15px;
}
.span-modify {
  font-family: 'Oswald';
}

.premii-title {
  font-size: 3rem;
  text-align: center;
  color: var(--color-1);
  font-family: var(--third-font);
  padding: 1em 0 1em 0;
}

.macbook,
.voucher {
  width: 80%;
  max-width: 400px;
  margin: 0 auto;
}
.prize-wrapper {
  width: 100%;
}
.prize {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 0 3rem 0;
}
.text-prize {
  text-align: center;
  color: var(--color-1);
  font-family: var(--fifth-font);
  font-size: 2.25rem;
}
.swiper {
  height: auto;
  .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 25px;
  }
}
.swiper-button-prev,
.swiper-button-next {
  background: none !important;
  color: transparent !important;
  border: none !important;
}
.bruschete {
  width: 70%;
}
.arrow-produse {
  display: block !important;
  height: auto !important;
  max-width: 80px !important;
  min-width: 40px !important;
}
.swiper-button-prev,
.swiper-rtl .swiper-button-next {
  left: var(--swiper-navigation-sides-offset, 40px) !important;
  right: auto;
}

.div-datepicker {
  position: relative;
}

.datepicker {
  position: relative;
}

.datepicker-input {
  display: flex;
  flex-direction: column !important;
  justify-content: center;
  align-items: center;
}

.datepicker-input input {
  width: 90%;
}

.bootstrap-datetimepicker-widget {
  position: absolute;
  background-color: #313030;
  color: white;
  border-radius: 10px;
  z-index: 10;
}

.bootstrap-datetimepicker-widget table td.day:hover,
.bootstrap-datetimepicker-widget table td.hour:hover,
.bootstrap-datetimepicker-widget table td.minute:hover,
.bootstrap-datetimepicker-widget table td.second:hover {
  background-color: darkgrey;
}

.checkbox-container label {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
}

.checkbox-container label p {
  margin-left: 5px;
  margin-bottom: 5px;
  margin-top: 5px;
}

.checkbox-container .container-cfheck {
  text-align: left;
  font-family: var(--fifth-font);
  color: white;
  font-size: 0.75em;
}

/* The container */
.container-cfheck {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 1.25em;
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox */
.container-cfheck input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 5px;
  left: 5px;
  height: 18px;
  width: 18px;
  background-color: white;
  border-radius: 15px;
  border: 1px solid var(--color-1);
}

/* On mouse-over, add a grey background color */
.container-cfheck:hover input ~ .checkmark {
  background-color: #007236;
}

/* When the checkbox is checked, add a blue background */
.container-cfheck input:checked ~ .checkmark {
  background-color: #007236;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.container-cfheck input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.container-cfheck .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.regulament-1,
.checkbox-container label p {
  color: #005e38;
  font-family: var(--fifth-font);
  font-size: 14px;
  font-weight: 700;
}
.container-cfheck .checkmark::after {
  left: 7px;
  top: 4px;
  width: 3px;
  height: 9px;
  border: solid white;
  border-top-width: medium;
  border-right-width: medium;
  border-bottom-width: medium;
  border-left-width: medium;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.container-cfheck input:checked ~ .checkmark {
  background-color: #064033;
}

.field input {
  background: #005e38;
  border-radius: 5px;
  color: black;
  font-family: var(--fifth-font);
  border: none;
  color: white;
  font-size: 16px;
  padding: 0.75em 0.75em;
}

.info_text {
  font-family: font2;
  font-weight: 700;
}

.info_text {
  text-align: left;
  width: 100%;
  display: block;
  font-family: var(--fifth-font);
  color: white;
  font-size: 18px;
  white-space: nowrap;
}
.grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}

.grid-container .field:nth-child(1),
.grid-container .field:nth-child(2) {
  grid-column: span 3;
}

.grid-container .field:nth-child(3),
.grid-container .field:nth-child(4) .grid-container .field:nth-child(5) {
  grid-column: span 1;
}

.background_input {
  display: flex;
  align-items: center;
}

.form_placeholder {
  width: 100%;
}

#valoare_bon {
  width: 100%;
}

.submit-part {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.checkbox-container {
  margin-top: 20px;
}
.formular {
  width: 90%;
  margin: 0 auto;
  max-width: 800px;
}
.submit-part {
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn {
  width: 200px;
  padding: 15px;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  border: none;
  cursor: pointer;
  text-align: center;
  border-radius: 8px;
  font-family: var(--primary-font);
  font-weight: 900;
  font-size: 20px;
}
.btn-regulament {
  background-color: #f7781e;
  text-decoration: none;
}
.btn-trimite {
  background-color: #c9201f;
}

.text-bottom {
  color: white;
  font-family: var(--fifth-font);
  font-size: 1rem;
  text-align: center;
  padding: 2em 1em 2em 1em;
}
.footerWrap {
  background-image: url("/assets/footerPhoto.png");
  background-position: center;
  background-size: cover;
  height: 250px;
  width: 100%;
}

.footer-links {
  list-style: none;
  margin: 0;
  text-align: center;
  padding-top: 1em;
  display: flex;
  flex-direction: row;
  justify-content: center;
  white-space: nowrap;
}

.footer-links li {
  display: inline-block;
  margin-right: 5px;
  position: relative;
}

.footer-links a {
  color: var(--color-1);
  text-decoration: none;
  font-size: 14px;
  cursor: pointer;
  font-family: var(--fifth-font);
  font-weight: 700;
}
.goback {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 350px;
  margin-top: 5%;
  cursor: pointer;
}
.text--promo {
  font-family: "Oswald";
  font-weight: 500;
}
@media (min-width: 475px) {
  .buton--inscriere {
    font-size: 1.75rem;
    max-width: 170px;
  }
}

@media (min-width: 640px) {
  .submit-part {
    justify-content: space-between;
  }
  .regulament-1,
  .checkbox-container label p {
    font-size: 16px;
  }
  .footer-links {
    gap: 2rem;
  }
  .formular {
    width: 75%;
  }
  .bruschete {
    width: 60%;
    max-width: 600px;
  }
  .text--promo {
    font-size: 2.5rem;
  }
}

@media (max-width: 1000px) {
  .logo {
    max-width: 500px;
  }
  nav {
    justify-content: flex-end;
  }
  .links-container {
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    top: 0;
    right: -100%;
    z-index: 10;
    width: 300px;
    background-color: var(--color-1);
    box-shadow: -5px 0 5px rgba(0, 0, 0, 0.25);
    transition: 0.75s ease-out;
  }
  .links-container a {
    font-size: 26px;
  }

  nav a {
    box-sizing: border-box;
    height: auto;
    width: 100%;
    padding: 20px 30px;
    justify-content: flex-start;
  }
  .open-sidebar-button,
  .close-sidebar-button {
    padding: 10px;
    display: block;
    position: absolute;
    top: 0;
    right: 0;
  }
  #sidebar-active:checked ~ .links-container {
    right: 0;
  }
  #sidebar-active:checked ~ #overlay {
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9;
  }
}

@media (min-width: 768px) {
  .submit-part {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  .second--section {
    margin-top: 10%;
  }
  .grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .grid-container .field:nth-child(1),
  .grid-container .field:nth-child(2) {
    grid-column: span 3;
  }

  .grid-container .field:nth-child(3),
  .grid-container .field:nth-child(4),
  .grid-container .field:nth-child(5) {
    grid-column: span 1;
  }

  .background_input {
    display: flex;
    align-items: center;
  }

  .form_placeholder {
    width: 100%;
  }

  .first--section {
    gap: 4rem;
  }
  .links-container a {
    font-size: 20px;
  }
  .logo {
    max-width: 600px;
  }
  .text--promo {
    font-size: 2rem;
  }
  .buton--inscriere {
    font-size: 2rem;
    max-width: 200px;
  }
  .arrow {
    width: 50px;
    height: 50px;
  }
  .wrap-all {
    flex-direction: row;
    justify-content: center;
  }
  .text-premii {
    width: 100%;
    white-space: nowrap;
  }
  .prize {
    display: flex;
    flex-direction: row;
    padding: 0;
    justify-content: center;
    align-items: center;
  }
  .text-prize {
    font-size: 4.25rem;
  }
  .macbook,
  .voucher {
    margin: 0;
  }
  .reverse {
    flex-direction: row-reverse;
    margin-top: -80px;
  }
  .bruschete {
    max-width: 500px;
  }
  .swiper-button-prev {
    margin-left: 80px;
  }
  .swiper-button-next {
    margin-right: 80px;
  }
  .formular {
    width: 60%;
  }
  .field input {
    font-size: 20px;
  }
  .footer-links a {
    font-size: 20px;
  }
  .footerWrap {
    height: 300px;
  }
  .text--promo {
    font-size: 3rem;
  }
}

@media (min-width: 1280px) {
  .text--promo {
    font-size: 3.5rem;
  }
  .text-premii {
    font-size: 2rem;
  }
  .arrow {
    width: 75px;
    height: 75px;
  }
  .premii-title {
    font-size: 5rem;
  }
  .macbook,
  .voucher {
    max-width: 600px;
  }
  .bruschete {
    max-width: 600px;
  }
  .premii-title {
    font-size: 4rem;
  }
  .arrow-produse {
    max-width: 120px !important;
    min-width: 70px !important;
  }
  .field input {
    font-size: 25px;
    border-radius: 15px;
  }
  .info_text {
    font-size: 22px;
  }
  .regulament-1,
  .checkbox-container label p {
    font-size: 18px;
  }
  .goback {
    margin-top: 4%;
    max-width: 400px;
  }
  .btn {
    font-size: 24px;
  }
  .text-bottom {
    font-size: 1.25rem;
  }
  .footer-links a {
    font-size: 22px;
  }
}

@media (min-width: 1500px) {
  .buton--inscriere {
    padding: 0.5em 0.5em;
  }
  .premii-title {
    font-size: 5rem;
  }
  .formular {
    max-width: 900px;
  }
  .field input {
    font-size: 26px;
  }
  .info_text {
    font-size: 24px;
  }
  .regulament-1,
  .checkbox-container label p {
    font-size: 20px;
  }
  .footerWrap {
    height: 400px;
  }
  .goback {
    max-width: 500px;
  }
  .footer-links {
    gap: 5rem;
  }
  .footer-links a {
    font-size: 26px;
  }
  .btn {
    padding: 20px;
    font-size: 26px;
  }
}

@media (min-width: 1900px) {
  .logo {
    max-width: 1000px;
  }
  .links-container a {
    font-size: 28px;
  }
  nav {
    height: 90px;
  }
  .text--promo {
    font-size: 5rem;
  }
  .buton--inscriere {
    max-width: 300px;
    font-size: 3rem;
  }
  .text-premii {
    font-size: 3rem;
  }
  .arrow {
    width: 100px;
    height: 100px;
  }
  .macbook,
  .voucher {
    max-width: 800px;
  }
  .text-prize {
    font-size: 6.25rem;
  }
  .bruschete {
    max-width: 900px;
  }
  .swiper-button-prev {
    margin-left: 150px;
  }
  .swiper-button-next {
    margin-right: 150px;
  }
  .formular {
    max-width: 1000px;
  }
  .field input {
    font-size: 30px;
  }
  .regulament-1,
  .checkbox-container label p {
    font-size: 24px;
  }
  .info_text {
    font-size: 26px;
  }
  .btn {
    width: 250px;
    font-size: 30px;
  }
  .footer-links a {
    font-size: 30px;
  }
  .goback {
    max-width: 700px;
  }
  .footerWrap {
    height: 550px;
  }
  .premii-title {
    font-size: 6rem;
  }
}
