.dd-main-img {
  max-width: 1920px;
  margin: 100px auto 0;
}
.uro {
  color: #143075;
}
.mt-5 {
  margin-top: 5rem;
}
.leading-2 {
  line-height: 2em !important;
}
.adwent-text-bold {
  font-weight: 700;
}
.adwent-text-black {
  font-weight: 900;
}
.adwent-main-img-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 5rem;
  box-sizing: border-box;
}
.adwent__headline-container {
  flex-basis: 50%;
  text-align: center;
}
.adwent-main-2 {
  font-size: 44px;
  text-transform: uppercase;
  color: #143075;
  font-weight: 700;
  margin: 0;
}
.adwent-main-2--mod {
  margin: 7.5rem 0 5rem;
  border-bottom: 3px solid #ffa914;
}

.adwent-main-2--mod2 {
  margin: 7.5rem 0 5rem;
}
.uro-text-2 {
  font-size: 60px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 0;
}

.adwent-main-3 {
  font-size: 44px;
  color: #143075;
  text-transform: uppercase;
  font-weight: 900;
  padding-bottom: 15px;
  border-bottom: 3px solid #ffa914;
}

.adwent-main-4 {
  font-size: 30px;
  color: #143075;
  text-transform: uppercase;
  font-weight: 700;
  padding-bottom: 15px;
  margin: 7.5rem 0 0;
}

.adwent-competition__text-wrapper {
  max-width: 1058px;
  display: block;
  margin: 0 auto;
  text-align: center;
}

.adwent-competition__text-wrapper p {
  font-size: 24px;
  line-height: 32px;
  letter-spacing: 1px;
}
.adwent-competition__text-wrapper ol {
  font-size: 24px;
  line-height: 48px;
  letter-spacing: 1px;
}
.adwent-list {
  counter-reset: fundacja-list;
  display: flex;
  flex-direction: column;
  padding: 0;
}
.prize-list {
  position: relative;
}
.prize-list::after {
  content: '';
  position: absolute;
  right: -20rem;
  top: 50%;
  width: 15rem;
  height: 15rem;
  background-image: url('../../images/competition/adwent2023/adv-img-1.png');
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  transform: rotate(65deg);
}

.prize-list::before {
  content: '';
  position: absolute;
  left: -20rem;
  top: 50%;
  width: 15rem;
  height: 15rem;
  background-image: url('../../images/competition/adwent2023/adv-img-2.png');
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  transform: rotate(65deg);
}
.adwent-list li {
  position: relative;
  display: inline-block;
}
.adwent-list li::before {
  counter-increment: fundacja-list;
  font-weight: 700;
  content: counter(fundacja-list) '. ';
}
/* TERMS  */

.fundacja-term-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.fundacja-term {
  flex-basis: 50%;
  padding: 25px;
  box-sizing: border-box;
  text-transform: uppercase;
}
.fundacja-term-inner {
  position: relative;
  background-color: #6cb446;
  padding: 70px 0;
  color: #fff;
}
.fundacja-term-inner .date {
  color: #143075;
}
.fundacja-term-inner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  /* background-image: url('../../images/competition/fundacja-term-accent.png'); */
  background-position: bottom;
  background-size: 100% 50%;
  background-repeat: no-repeat;
}

.fundacja-term-inner::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 150px;
  background-image: url('../../images/competition/fundacja-term-accent-2.png');
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}
.fundacja-term-inner p:first-of-type {
  background-color: #fff;
  font-size: 35px;
  font-weight: 700;
  text-align: center;
  padding: 15px 0;
}

/* -----  */

.img-hook-1,
.img-hook-2,
.img-hook-3,
.img-hook-4,
.img-hook-5 {
  position: relative;
}
.img-hook-1 {
  border-top: 3px solid #ffa914;
  margin-top: 5rem;
  padding-top: 2.5rem;
}
.img-hook-5 {
  margin-top: 20rem;
}
.img-hook-1::after {
  content: '';
  position: absolute;
  left: -25rem;
  top: -15rem;
  width: 25rem;
  height: 35rem;
  background-image: url('../../images/competition/dziendziecka2025/duch.png');
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}
.img-hook-2::after {
  content: '';
  position: absolute;
  left: -25rem;
  top: -15rem;
  width: 25rem;
  height: 35rem;
  background-image: url('../../images/competition/dziendziecka2025/marinella_02_cien.png');
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}
.img-hook-5::after {
  content: '';
  position: absolute;
  right: -30rem;
  top: -5rem;
  width: 30rem;
  height: 45rem;
  background-image: url('../../images/competition/dziendziecka2025/majtekPaski_01_cien.png');
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}
.img-hook-5::before {
  content: '';
  position: absolute;
  left: -30rem;
  top: -25rem;
  width: 35rem;
  height: 45rem;
  background-image: url('../../images/competition/dziendziecka2025/majtekbialY_01_plecy_cien.png');
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}
.img-hook-4::after {
  content: '';
  position: absolute;
  right: -25rem;
  top: -20rem;
  width: 35rem;
  height: 35rem;
  background-image: url('../../images/competition/dziendziecka2025/smok.png');
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

/* .img-hook-5::after {
    content: '';
    position: absolute;
    right: -20rem;
    top: -10rem;
    width: 15rem;
    height: 15rem;
    background-image: url('../../images/competition/adwent-img-2.png');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    transform: rotate(65deg);
  } */

/* .fundacja-term-wrapper::after {
    content: '';
    position: absolute;
    left: -20rem;
    top: 50%;
    transform: translateY(-50%) rotate(-30deg);
    width: 15rem;
    height: 15rem;
    background-image: url('../../images/competition/adwent-img-3.png');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
  } */

.no-border {
  border: none !important;
}

/** form **/
.form-container .custom-form-title {
  text-align: center;
  color: #0a67bf;
  text-decoration: none;
  letter-spacing: 2px;
  background-color: #fff;
  padding: 15px 0;
  margin-top: 55px;
  text-transform: uppercase;
  color: #b50000;
}
.form-container form {
  position: relative;
  width: 100%;
  display: block;
  margin: 0 auto 10rem;
  padding: 2rem 2.5rem 5rem;
  background-position: left;
  background-color: #ffd852;
  box-sizing: border-box;
}

.form-container form p {
  font-size: 16px !important;
  margin: 5rem 0;
}

.form-container form .wpcf7-response-output {
  color: #0a67bf;
  font-size: 3rem;
}
.form-container form input[type='text'],
.form-container form input[type='email'] {
  background: #ffffff;
  box-shadow: 0px 8px 10px rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  border: none;
  height: 60px;
}

.form-container textarea {
  background: #ffffff;
  box-shadow: 0px 8px 10px rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  border: none;
  height: 200px;
  resize: none;
}

.form-container form input[type='submit'] {
  background: #0a67bf;
  color: white;
  font-size: 2rem;
  height: 38px;
  width: 125px;
  font-weight: 900;
  box-shadow: 0px 8px 10px rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  display: block;
  margin: 5rem auto 0;
  border: none;
  transition: all 0.25s ease-in-out;
}
.form-container form input[type='submit']:hover {
  cursor: pointer;
  background-color: #074885;
}
.form-container .form-text {
  font-size: 3rem;
  font-weight: 900;
  text-decoration: underline;
  margin-bottom: 4%;
}

.form-container .flex--form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
}

.form-container .flex--form-col:first-of-type {
  box-sizing: border-box;
  height: 100%;
  flex-basis: 60%;
}
.form-container .flex--form-col:first-of-type input {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  margin: 5rem auto 0;
}

.form-container .flex--form-col textarea {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  padding: 2rem;
}

.form-container .flex--form-col .wpcf7-form-control-wrap {
  color: transparent;
}
.form-container .flex--form-col input,
.form-container .flex--form-col textarea {
  margin: 1rem 0;
  position: relative;
  width: 100%;
  box-sizing: border-box;
  padding: 2rem;
}
.form-container .flex--form-col input:not(input[type='file']):focus,
.form-container .flex--form-col textarea:focus {
  background-color: rgba(255, 255, 255, 0.5);
  outline: none;
  color: #0a67bf;
}

.form-container .flex--form-col input:focus::placeholder {
  color: #0a67bf;
}
.form-container .flex--form-col textarea::placeholder {
  color: #0a67bf;
  position: absolute;
  top: 1.5rem;
  right: 2rem;
}
.form-container .flex--form-col input::placeholder {
  color: #0a67bf;
  position: absolute;
  bottom: 0.5rem;
  right: 2rem;
}
.form-container .cert-text {
  font-size: 3rem;
  margin: 2% 0;
}

.form-container .wishes {
  text-align: right;
  color: #e1251b;
  font-size: 5rem;
  margin: 3%;
  font-weight: 800;
}

.form-container .file::-webkit-file-upload-button {
  position: relative;
  visibility: hidden;
  height: 25rem;
  box-sizing: border-box;
}
.form-container .file::before {
  content: 'Dodaj zdjęcie pracy';
  display: inline-block;
  outline: none;
  white-space: nowrap;
  cursor: pointer;
  text-shadow: 1px 1px #0a67bf;
  font-weight: 700;
  font-size: 1.6rem;
  position: absolute;
  bottom: 0;
  z-index: 10;
  left: 50%;
  transform: translateX(-50%);
  transition: all 0.25s ease-in-out;
}
.form-container .file::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20rem;
  height: 20rem;
  background-image: url('../../images/competition/add-file-ico.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: all 0.25s ease-in-out;
}
.form-container .file:hover::before {
  color: rgba(225, 37, 27, 1);
}
.form-container .file:hover::after {
  opacity: 0.5;
}

.form-container .file-upload {
  position: relative;
}

.form-container .file-upload::after {
  content: 'Pliki: jpg, png, pdf. Max rozmiar: 5MB';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  text-align: center;
  color: #0a67bf;
  font-style: italic;
  width: 100%;
}
.form-container .wpcf7-form-control-wrap {
  display: block;
}
.form-container .file-upload #uploadtextfield {
  position: absolute;
  top: 0;
  left: 0;
  background-color: transparent;
  box-shadow: none;
  text-align: center;
  color: green;
  font-weight: 700;
  margin: 3rem 0;
  pointer-events: none;
}

.form-container {
  position: relative;
  background-color: #ffd852;
  padding: 20px 0 0;
  margin: 100px 0 0;
  box-sizing: border-box;
}

.form-container::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background-image: url('../../images/competition/uro2025/uro-form.png');
  background-position: bottom;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

/* Winners list  */

.adwent-winners-list {
  position: relative;
  font-size: 24px;
  line-height: 40px;
  list-style: none;
  padding: 45px 0;
  background-color: #a9dbf0;
  font-weight: bold;
}

.adwent-winners-list::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background-image: url('../../images/competition/fundacja-term-accent.png');
  background-position: bottom;
  background-size: 100% 50%;
  background-repeat: no-repeat;
}

.adwent-winners-list::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 150px;
  background-image: url('../../images/competition/fundacja-term-accent-2.png');
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

/* MOBILE  */

@media (max-width: 1331px) {
  .fundacja-term {
    flex-basis: 50%;
  }
  .pdf-link::after {
    display: none;
  }
}
@media (max-width: 992px) {
  .fundacja-term {
    flex-basis: 50%;
  }
}
@media (max-width: 768px) {
  .fundacja-term {
    flex-basis: 100%;
  }
  .adwent-main-2 {
    font-size: 40px;
  }
  .adwent-main-3 {
    font-size: 30px;
  }
  .form-container .flex--form-col:first-of-type {
    flex-basis: 100%;
  }
  .form-container .flex--form-col textarea::placeholder {
    top: 1.5rem;
    right: 0;
    left: 2rem;
  }
}
@media (max-width: 500px) {
  .img-hook-4::after,
  .img-hook-5::before {
    display: none;
  }
}
