.adwent-text-bold {
  font-weight: 700;
}
.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: 60px;
  text-transform: uppercase;
  color: #00bfff;
  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;
}

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

.adwent-main-4 {
  font-size: 30px;
  color: #00bfff;
  text-transform: uppercase;
  font-weight: 700;
  padding-bottom: 15px;
  margin: 7.5rem 0 0;
  border-bottom: 3px solid #ffa914;
}

.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: #a9dbf0;
  padding: 70px 0 75px;
}

.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::after {
  content: '';
  position: absolute;
  right: -20rem;
  top: -5rem;
  width: 15rem;
  height: 15rem;
  background-image: url('../../images/competition/adwent2023/adv-img-1.png');
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}
.img-hook-2::after {
  content: '';
  position: absolute;
  left: -20rem;
  top: -5rem;
  width: 15rem;
  height: 15rem;
  background-image: url('../../images/competition/adwent2023/adv-img-2.png');
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}
.img-hook-3::after {
  content: '';
  position: absolute;
  right: -20rem;
  top: 2.5rem;
  width: 15rem;
  height: 15rem;
  background-image: url('../../images/competition/adwent2023/adv-img-3.png');
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.img-hook-4::after {
  content: '';
  position: absolute;
  left: -20rem;
  top: -5rem;
  width: 15rem;
  height: 15rem;
  background-image: url('../../images/competition/adwent2023/adv-img-4.png');
  transform: rotate(-45deg);
  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;
} */

/* 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;
  }
}
@media (max-width: 500px) {
}

.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: rgba(225, 37, 27, 1);
}
.form-container form {
  position: relative;
  width: 100%;
  display: block;
  margin: 0 auto 10rem;
  padding: 2rem 0 5rem;
  background-position: left;
  background-color: #a9dbf0;
}

.form-container form p {
  font-size: 16px !important;
}

.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 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 {
  margin: 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-around;
}

.form-container .flex--form-col {
  box-sizing: border-box;
  height: 100%;
}
.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 .wpcf7-form-control-wrap {
  color: transparent;
}
.form-container .flex--form-col input {
  margin: 1rem 0;
  position: relative;
}
.form-container .flex--form-col input:not(input[type='file']):focus {
  background-color: rgba(80, 140, 175, 0.5);
  outline: none;
  color: #0a67bf;
}
.form-container .flex--form-col input:focus::placeholder {
  color: #0a67bf;
}

.form-container .flex--form-col input::placeholder {
  color: #0a67bf;
  position: absolute;
  bottom: 0.5rem;
  right: 1rem;
}
.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: -2.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: #a9dbf0;
  padding: 20px 0 0;
  margin: 100px 0 0;
}

.form-container::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% 100%;
  background-repeat: no-repeat;
}

.form-container::before {
  content: '';
  position: absolute;
  top: -135px;
  left: 50%;
  transform: translateX(-50%);
  width: 250px;
  height: 250px;
  background-image: url('../../images/competition/fundacja-term-accent-2.png');
  background-position: center;
  background-size: contain;
  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;
}
