html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

@font-face {
  font-family: 'Billion';
  src: url('/Fonts/Billion Miracles Personal Use Only.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  overflow-x: hidden;
}

body {
  font-family: "Roboto Flex", sans-serif;
}


/* <!-- ContactParallaxOne --> */
.contactParallaxOne {
  background-image: url('/Images/contact/sesja-rodzinna-plener-morze-gdansk.webp');
  min-height: 992px;
  background-attachment: fixed;
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
}


/* <!-- ContactSectionOne --> */
#ContactSectionOne {
  padding: 3rem;
}

.contactSectionOneRow {
  background: white;
  position: relative;
  margin-top: -200px;
  z-index: 10;
}


.contactSectionOne-title-img {
  width: 70%; 
  max-width: 400px; 
  height: auto;  
}

.no-radius {
  border-radius: 0;
}

.form-label, 
.form-control, 
.form-check-label {
    font-size: 1.5rem; 
}

.form-control {
    width: 100%; 
    max-width: 70rem; 
    padding: 1rem;
    font-size: 1.5rem;
}

.form-control:focus,
.form-check-input:focus {
  outline: none !important;
  box-shadow: 0 0 5px rgba(187, 153, 116, 0.7) !important;
  border-color: rgb(187, 153, 116) !important;
}

.form-check-input:hover {
  border-color: rgb(187, 153, 116) !important;
  box-shadow: 0 0 5px rgba(187, 153, 116, 0.7) !important;
}

.form-check-input:checked {
  background-color: rgb(187, 153, 116) !important;
  border-color: rgb(187, 153, 116) !important;
}

.form-check-input:checked::after {
  background-color: white !important;
}

.form-control {
  border-radius: 0 !important; 
}

.form-outline .form-control {
  border-radius: 0 !important;
}

.form-check-input {
  border-radius: 0 !important;
}

.btn-outline-secondary:hover {
  background-color: rgb(187, 153, 116) !important;
  border-color: rgb(187, 153, 116) !important;
  color: white !important;
}

.contactSectionOne-button {
  color: #66684e !important; 
  border: 1px solid #66684e !important; 
  background-color: transparent !important; 
  transition: all 0.3s ease-in-out;
}

.contactSectionOne-button:hover {
  color: white !important; 
  background-color: #66684e !important; 
  border-color: #66684e !important; 
}

@media (max-width: 1199px) {
  .contactSectionOneRow {
    background: white;
    position: relative;
    margin-top: 0px !important;
    z-index: 10;
  }

  .contactSectionOne-left,
  .contactSectionOne-right {
    flex: 0 0 100%;
    max-width: 100%;
    order: -1;
    display: flex;
    justify-content: center !important;
    align-items: center;
    text-align: center;
    padding: 0;
    margin: 0 auto;
  }

  .contactSectionOne-left img {
    width: 100% !important;
    max-width: 500px;
  }

  .contactSectionOne-right {
    flex-direction: column !important;
    padding: 2rem;
  }

  .contactSectionOne-right.row {
    margin: 0 !important; /* zeruj marginesy od .row */
  }

  .contactSectionOne-right.col-md-6 {
    width: 100% !important; /* nadpisz 50% szerokości */
    max-width: 100% !important;
  }

  .contactSectionOne-right form {
    width: 100%;
    max-width: 500px;
  }
}

/* <!-- ContactSectionTwo --> */
#ContactSectionTwo {
  padding-bottom: 6rem;
}

.contactSectionTwo-background {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color:  rgb(102, 104, 78);
  z-index: 0; 
}

.row.position-relative {
  position: relative;
}

.contactSectionTwo-title-img {
  width: 50%; 
  max-width: 50rem;
  height: auto; 
}

@media (max-width: 1199px) {
  #ContactSectionTwo {
    padding-bottom: 3rem;
  }
  .contactSectionTwo-tables {
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center;
    text-align: center;
    padding: 0;
    margin: 0 auto;
  }
}

/* <!-- ContactParallaxTwo --> */
.contactParallaxTwo {
  background-image: url('/Images/contact/naturalna-fotografia-dziecieca-trojmiasto.webp');
  min-height: 700px;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.contactParallaxTwo-inner {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center; 
  align-items: center; 
  text-align: center; 
  font-size: 15rem;
  letter-spacing: 1px;
  font-family: 'Billion';
  color: white;
}

@media (max-width: 768px) {
  .contactParallaxTwo-inner {
    font-size: 10rem; /* lub mniej – dostosuj według potrzeby */
    padding: 1rem;
  }
}

/* <!-- Slide --> */
@keyframes slideInFromLeft {
  from {
      opacity: 0;
      transform: translateX(-100%);
  }
  to {
      opacity: 1;
      transform: translateX(0);
  }
}

@keyframes slideInFromRight {
  from {
      opacity: 0;
      transform: translateX(100%);
  }
  to {
      opacity: 1;
      transform: translateX(0);
  }
}

.animate-left, .animate-right {
  opacity: 0;
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.animate-left.active {
  animation: slideInFromLeft 1s ease-out forwards;
}

.animate-right.active {
  animation: slideInFromRight 1s ease-out forwards;
}


/* <!-- Fade --> */
.animate-fade {
  opacity: 0;
  transform: translateY(20px); 
  transition: opacity 3s ease-out, transform 3s ease-out;
}

.animate-fade.active {
  opacity: 1;
  transform: translateY(0);
}