@import url('https://fonts.googleapis.com/css2?family=Lobster&display=swap');

.freeDom__main {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
  color: #004077;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 135%;
  /* 21.6px */
  background-color: #ffffff;
}

.freeDom__main * {
  box-sizing: border-box;
}


.freeDom__main .text-white {
  color: #fff;
}

.freeDom__main .text-center {
  text-align: center;
}

.freeDom__main .container {
  max-width: 1000px;
  margin: 0 auto;
}

.freeDom__main .fDay__button {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  background-color: #C40233 !important;
  text-decoration: none;
  display: block;
  margin: 33px auto 0;
  padding: 20px 55px;
  line-height: 1;
  width: fit-content;
  border-radius: 0;
  text-transform: uppercase;
  border: 0;
  height: auto;
}

.freeDom__main .fDay__button:hover {
  background-color: #C40233;
  color: #ffffff;
}

.freeDom__main a:hover {
  cursor: pointer;
}

.freeDom__main .mw-100 {
  max-width: 100%;
}

.freeDom__main h2 {
font-size: clamp(2rem, 1.0156rem + 4.375vw, 3.75rem);
  font-family: "Lobster", sans-serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1.1;
  margin: 0 0 20px;
}

.freeDom__main p {
  font-size: 24px;
  line-height: 1.2;
  margin: 15px 0 0;
}

/* hero */
.freeDom__main .freeDom__hero {
  background-color: #004077;
  padding: 60px 0;
  color: #ffffff;
  text-align: left;
  position:relative;
  height: 600px;
}


.freeDom__main .freeDom__hero .bg-image,
.freeDom__form .bg-image {
    position: absolute;
    z-index: 0;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
}

.freeDom__form .container {
    position: relative;
    z-index: 10;
}

.freeDom__main .freeDom__hero .bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.freeDom__hero--content {
    position: relative;
    z-index: 5;
}

.freeDom__hero--content h2 {
     color: #004077;
     font-size: clamp(2.375rem, 0.1953rem + 9.6875vw, 6.25rem);
}

.freeDom__hero--content p {
     color: #004077;
     font-size: clamp(1rem, 0.6484rem + 1.5625vw, 1.625rem);
}

.freeDom__hero--content img {
     max-width: 38%;
}

.freeDom__hero--content .btn {
    margin-top: 32px;
    font-size: 34px;
    padding: 10px 59px;
    background-color: #C40233 ;
}

/* steps */
.freeDom__main .fDay__steps {
  padding: 60px 0;
}

.freeDom__main .fDay__steps .icon-step {
display: flex;
    background-color: #004077;
    border-radius: 50%;
    width: 200px;
    height: 200px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
        margin: 0 auto 30px;
}
.freeDom__main .fDay__steps .icon-step img {
    width: 90%;
    height: 90%;
}

.freeDom__main .fDay__steps .text-center strong {
    margin-bottom:15px;
    display: inline-block;
}

/* form */
.freeDom__main .freeDom__form {
  padding: 60px 0;
  background-color: #004077;
  overflow: hidden;
  position: relative;
}

.freeDom__main .freeDom__form--form {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.freeDom__main .freeDom__form--row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}

.freeDom__main .freeDom__form--field {
  margin-bottom: 24px;
}

.freeDom__main .freeDom__form--field label {
  font-weight: 600;
}

.freeDom__main .freeDom__form--input {
  width: 100%;
  padding: 30px 16px;
  font-size: 16px;
  margin-top: 20px;
  font-family: "Montserrat", sans-serif;
  box-sizing: border-box;
}

.freeDom__form--input.select {
    background-image: url('/about/images/contest_freedomtomove/chevron-down.svg');
    background-repeat: no-repeat;
    background-size: 21px 21px;
    background-position:  95% 50%;
    padding: 0 16px;
    height: 62px;
}

.freeDom__main .freeDom__form--textarea {
  width: 100%;
  padding: 24px 16px;
  font-size: 16px;
  margin-top: 20px;
  height: 300px;
  font-family: "Montserrat", sans-serif;
}

.freeDom__main .freeDom__form--info {
  font-size: 12px;
  line-height: 1.1;
  font-weight: 600;
  padding-left: 10px;
}

.freeDom__main .freeDom__form--info li {
  margin-bottom: 24px;
}

.freeDom__main .freeDom__form--grill {
  position: absolute;
  top: 30%;
  left: -30%;
}

.freeDom__main .freeDom__form--camo {
  position: absolute;
  top: 26%;
  right: -40%;
}

/* rules */
.freeDom__main .fDay__rules {
  padding: 60px 0;
}

.freeDom__main .fDay__rules--row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 40px;
}

.freeDom__main .fDay__rules--item {
  font-size: 10px;
  line-height: 1.2;
}

.hide,
.email-sent-message {
  display: none;
}

.show {
  display: block;
}
.email-sent-message.show{
  position: relative;
}

.submission-error{
  color:red;
}

/* media queries */
@media (max-width: 1399px) {
  .freeDom__main .freeDom__hero {
        padding: 30px 0;
        height: 400px;
    }
    .freeDom__main .container {
        max-width: 73vw;
    }
    
.freeDom__hero--content h2 {
     font-size: clamp(2.125rem, 1.0703rem + 4.6875vw, 4rem);
}

.freeDom__hero--content p {
     font-size: clamp(1rem, 0.9297rem + 0.3125vw, 1.125rem);
}

.freeDom__hero--content img {
     max-width: 28%;
}

.freeDom__hero--content .btn {
    margin-top: 32px;
        font-size: 24px;
        padding: 5px 44px;
}
}

@media (max-width: 1199px) {

}

@media (max-width: 991px) {

  .freeDom__main .fDay__hero {
    padding: 30px 0 ;
  }

  .freeDom__main .fDay__hero--row,
  .freeDom__main .fDay__steps--row,
  .freeDom__main .fDay__rules--row,
  .freeDom__main .freeDom__form--row {
    display: block;
  }


}

@media (max-width: 901px) {
.freeDom__main .container {
        max-width: 85vw;
    }
    .freeDom__main .freeDom__hero {

        height: 360px;
    }
}

@media (max-width: 767px) {
    .freeDom__main .container {
        max-width: 93vw;
    }
  .freeDom__main .freeDom__hero {

        height: 330px;
    }

    .freeDom__main .fDay__headline.collapse-trigger {
        text-align: start !important;
        padding-right: 23px;
    }
    .freeDom__main .fDay__rules,
    .freeDom__main .freeDom__form {
        padding: 30px 0;
    }
}

@media (max-width: 600px) {
    .freeDom__main .container {
        max-width: 79vw;
    }
    .freeDom__main .freeDom__hero .bg-image img {
        object-position: top;
    }
.freeDom__main .freeDom__hero {
            height: 577px;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
}
  .freeDom__hero--content img {
     display: none;
}
.freeDom__hero--content {
    text-align: center;
}
.freeDom__hero--content .btn {
    margin: 20px auto 0;
}
.freeDom__hero--content p br {
    display: none;
} 
.freeDom__main h2 br {
    display: none;
}
.freeDom__main .fDay__steps {
    padding: 40px 0;

}
.fDay__steps .container {
    max-width: 100vw;
}
}

@media (max-width: 500px) {
.freeDom__main .freeDom__hero {
            height: 530px;
}
}

@media (max-width: 399px) {

.freeDom__main .freeDom__hero {
            height: 470px;
}
}

/* Domyślnie schowane */
.freeDom__main .collapse-content {
  display: none;
  transition: max-height 0.3s ease;
  overflow: hidden;
}
.freeDom__main .fDay__headline.collapse-trigger {
    background-image: url('/about/images/contest_freedomtomove/next.svg');
    background-size: 24px 24px;
    background-repeat: no-repeat;
    background-position: 100% 50%;
}
.freeDom__main .fDay__headline.collapse-trigger.active {
    background-image: url('/about/images/contest_freedomtomove/caret-down.svg');
    background-size: 24px 24px;
    background-repeat: no-repeat;
    background-position: 100% 50%;
}

.slick-prev.slick-arrow {
    position: absolute;
    bottom:-20px;
    left: calc(50% - 20px);
     border: none;
    background: none;
    outline: 0;
    z-index: 100;
}
.slick-next.slick-arrow {
    position: absolute;
    bottom:-20px;
    left: calc(50% + 20px);
    border: none;
    background: none;
    outline: 0;
    z-index: 100;
}

.slick-disabled {
    opacity: 0.5;
}

/* Wyświetlone na ekranach powyżej 768px */
@media (min-width: 769px) {
  .freeDom__main .collapse-content {
    display: flex !important; /* zawsze widoczne na desktopie */
    max-height: none !important;
  }

  .freeDom__main .fDay__headline.collapse-trigger {
    background-image: none;
  }
}
