@font-face {
  font-family: nowvar;
  src: url(/fonts/FuturaNowVar-Roman.ttf);
}

@font-face {
  font-family: poppins;
  src: url(/fonts/Poppins-Regular.ttf);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
  font: inherit;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin-block-end: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role="list"],
ol[role="list"] {
  list-style: none;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

#menu__toggle {
  opacity: 0;
}

#menu__toggle:checked+.menu__btn>span {
  transform: rotate(45deg);
}

#menu__toggle:checked+.menu__btn>span::before {
  top: 0;
  transform: rotate(0deg);
}

#menu__toggle:checked+.menu__btn>span::after {
  top: 0;
  transform: rotate(90deg);
}

#menu__toggle:checked~.menu__box {
  left: 0 !important;
}

.menu__btn {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 26px;
  height: 26px;
  cursor: pointer;
  z-index: 1;
  z-index: 100;
}

.menu__btn>span,
.menu__btn>span::before,
.menu__btn>span::after {
  display: block;
  position: absolute;
  width: 100%;
  height: 5px;
  background-color: white;
}

.container {
  display: none;
  transition-duration: 0.25s;
}

.menu__btn>span::before {
  content: "";
  top: -8px;
}

.menu__btn>span::after {
  content: "";
  top: 8px;
}

.menu__box {
  display: block;
  position: fixed;
  top: 0;
  left: -100%;
  width: 300px;
  height: 100%;
  margin: 0;
  padding: 80px 0;
  list-style: none;
  background-color: #2e2a2b;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
  transition-duration: 0.25s;
  z-index: 99;
}

.menu__item {
  display: block;
  color: white;
  font-family: "Roboto", sans-serif;
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
  transition-duration: 0.25s;
}

.menu__item:hover {
  background-color: #cfd8dc;
}

.container {
  display: none;
}

/* /////// MENIU */
@media (min-width: 1000px) {
  .bg_desktop {
    display: block;
  }

  .mobile_elements,
  .hamburger-menu {
    display: none;
  }

  .container {
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  .menu {
    width: 100%;
    padding: 20px;
  }

  #homepage .menu {
    position: fixed;
  }

  .menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-end;
  }

  .menu li {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    text-align: center;
    cursor: pointer;
  }

  .menu li a {
    color: white;
    text-decoration: none;
    font-family: nowvar, sans-serif;
  }

  .menu li a:hover {
    color: #064033;
  }

  .container_assets {
    display: none;
  }

  #main {
    position: relative;
  }

  .menu {
    z-index: 100;
  }

  body {
    width: 100vw;
    height: 100vh;
  }
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
}

.moment {
  display: block;
  position: fixed;
  top: 35px;
  left: 15px;
  max-width: 120px;
}

body {
  background-color: #0e0f0d;
}

/* .castiga{
    width:100%;
    position: relative;
    position: fixed;
    top:30%;
} */

.test {
  width: 100%;
  position: fixed;
  top: 15%;
  display: none;
}

/* .premii_mobile{
    width:90%;
    position: fixed;
    top:40%;
    margin:0 auto;
} */

#main {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding-top: 22.5%;
}

.section__1 {
  height: 100vh;
  width: 100%;
  position: relative;
}

.section__2 {
  height: auto;
  width: 100%;
  position: relative;
  background-color: #2c2a2a;
}

.yellow__bar {
  position: absolute;
  top: 0;
  background-color: #fad317;
  left: 0;
  height: 30px;
  width: 100%;
  z-index: 50;
}

.premii {
  width: 100%;
  margin: 0 auto;
}

.img__container {
  margin-top: 15%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 3rem;
}

.cumpara {
  width: 70%;
}

.prod {
  width: 40%;
}

.regulament {
  width: 50%;
}

.regulament__container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 3rem;
  padding-top: 100px;
}

.prod_participante,
.reg_photo,
.inscrie_buton {
  width: 60%;
  cursor: pointer;
}

footer {
  color: #fff;
  padding: 20px;
  text-align: center;
}

.container_footer {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
}

.text__footer {
  color: white;
  text-decoration: none;
  font-size: 10px;
  font-family: nowvar;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: nowvar;
}

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

.footer-links li::after {
  display: block;
  width: 100%;
  height: 1px;
  background-color: white;
  position: absolute;
  bottom: 0;
  left: 0;
  text-decoration: none;
}

.footer-links a {
  color: white;
  text-decoration: none;
  font-size: 11px;
  cursor: pointer;
  font-family: nowvar;
}

.disclaimer__text {
  font-family: nowvar;
  font-size: 10px;
}

.mobile__container {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  margin-top: 50%;
  background-color: #2c2a2a;
  gap: 3rem;
}

.premiile_momentului {
  font-size: 2rem;
  font-family: nowvar;
  color: white;
  text-align: center;
  font-weight: 900;
}

.section__1 {
  height: auto;
}

.hamburger-menu {
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  justify-content: flex-start;
  background-color: #fdd400;
  height: 50px;
  position: fixed;
  width: 100%;
}

.menu__box {
  background-color: #fdd400;
  padding-left: 10px;
}

.menu__box li {
  margin-bottom: 10px;
}

.menu__box a {
  color: black;
  font-weight: normal;
}

.logo {
  width: 50%;
  position: absolute;
  top: 0;
  left: 1%;
}

.logos {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-right: 12.5%;
}

.logos a {
  width: 15px;
}

.home-title {
  color: white;
  font-family: nowvar;
  font-weight: bold;
  text-align: center;
  font-size: 2.5rem;
  padding: 0 10px;
}

.home-title span {
  color: #ea1f27;
}

.section1 {
  margin: 1rem 0;
  padding: 1rem;
  background-image: url("../assets/section1-bg.png");
  background-position: left center;
  background-size: cover;
}

.section1 img {
  width: 100%;
}

.section2 {
  width: 100%;
  padding: 2rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 25px;
}

.home-btns {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}

.home-btns a {
  text-decoration: none;
  color: black;
  background-color: #fad10b;
  border-radius: 5px;
  font-family: nowvar;
  font-weight: 800;
  padding: 2px 10px;
  width: fit-content;
  font-size: 1.75rem;
}
.home-btns a.green{
  background-color: #4bc13e;
}
.btn-green {
  text-decoration: none;
  color: black;
  background-color: #4bc13e;
  border-radius: 5px;
  font-family: nowvar;
  font-weight: 800;
  padding: 2px 10px;
  width: fit-content;
  font-size: 2.2rem;
}
.btn-green:hover {
  background-color: #3e9d34;cursor: pointer;

}
.home-btns a:hover,
.home-btns a:visited {
  color: black;
}

@media screen and (min-width: 768px) {
  .section1 {
    padding: 2rem;
  }

  .logo {
    width: 200px;
  }

  #main {
    padding-top: 10%;
  }

  .home-title {
    font-size: 3.5rem;
    padding: 0 1.5rem;
  }

  .home-btns a {
    font-size: 2.5rem;
  }

  .pasi {
    width: 85%;
  }
}

@media screen and (min-width: 1024px) {
  .hamburger-menu {
    display: none;
  }

  .header {
    height: 80px;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: flex-end;
    background-color: #fdd400;
    position: fixed;
    width: 100%;
    padding-right: 100px;
    gap: 10%;
    z-index: 999;
  }

  .header-texts {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 50px;
    justify-content: center;
  }

  .header-texts a {
    color: black;
    font-weight: normal;
    font-size: 1rem;
    font-family: poppins;
  }

  .header-texts a:hover {
    text-decoration: underline;
    background-color: transparent;
  }

  .header-texts a:nth-child(1) {
    text-decoration: underline;
  }

  .logos {
    margin-right: 0;
  }

  .logos a {
    width: 25px;
  }

  .logo {
    width: 325px;
  }

  #main {
    padding-top: 12.5%;
  }

  .home-title {
    font-weight: 900;
    font-size: 4rem;
  }

  .section1 {
    width: 100%;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    margin: 2rem 0 0.5rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
  }

  .section1 img {
    width: 45%;
    margin-left: 5%;
  }

  .section2 {
    flex-direction: row;
    width: 55%;
    padding: 1rem 0;
  }

  .pasi {
    width: 100%;
  }

  .home-btns {
    align-items: flex-start;
  }

  .home-btns a {
    border-radius: 10px;
    line-height: 1.25;
    font-size: 2rem;
    text-wrap: nowrap;
  }
}

footer {
  font-family: nowvar;
}

@media screen and (min-width: 1200px) {
  .home-title {
    font-size: 4.5rem;
    width: 90%;
  }

  .logo {
    left: 6%;
  }

  #main {
    padding-top: 10%;
  }

  .header {
    padding-right: 6%;
  }

  .section1 {
    padding: 3rem;
  }
}

@media screen and (min-width: 1360px) {
  .home-title {
    font-size: 5rem;
    width: 90%;
  }

  .section1 img {
    width: 40%;
  }
}

@media screen and (min-width: 1500px) {
  .home-btns {
    gap: 15px;
  }

  .home-btns a {
    font-size: 3rem;
  }
}

@media screen and (min-width: 1360px) {
  .home-title {
    font-size: 7rem;
    width: 90%;
  }

  .section1 img {
    width: 40%;
  }
}

.upload-file #file-info {
  margin-top: 10px;
  padding: 5px 12px;
  background-color: #fdfdfd;
  border: 1px solid #ddd;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color:#000;
}

.upload-file button {
  background-color: #e53935;
  color: white;
  border: none;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  transition: background-color 0.2s ease;
}

.upload-file button:hover {
  background-color: #c62828;
}

.swal2-popup {
  font-size: 1.4rem!important;
}