
#contact_section1 {
  display: flex;
  justify-content: center;
  z-index: 1;
  position: relative;
  background-color: white;
}

.contact_s1_crop_out {
  width: 1400px;
  justify-items: anchor-center;
}

.contact_s1_crop_in {
  align-items: center;
}

.contact_hello {
  font-family: poppins;
  text-align: center;
}

.contact_h1_subheader {
  font-family: meri;
  font-size: 22px;
  text-align: center;
  margin: 0;
  color: #65778c;
}

.contact_spacer-line {
  margin: 50px 0px;
  justify-content: center;
  display: flex;
  width: 100%;
}

.contact_line_80 {
  width: 40%;
  background: linear-gradient(90deg, #333, #d6d6d6, #333);
  height: 1px;
}

.contact_team_1 {
  float: left;
}

.contact_team_2 {
  float: left;
}

.contact_photo_1 {
  height: 200px;
  width: 200px;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  border-radius: 12px;
  border: none;
  background-image: url("/source/media/img/Peter.webp");
}

.contact_photo_2 {
  height: 200px;
  width: 200px;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  border-radius: 12px;
  border: none;
  background-image: url("/source/media/img/Tomas.webp");
}

.contact_name {
  float: left;
  width: 100%;
  padding-top: 10px;
  padding-left: 14px;
  font-family: poppins;
  font-size: 22px;
}

.contact_role {
  width: 100%;
  padding-left: 14px;
  font-family: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 18px;
  font-weight: 600;
}

.contact_skill {
  width: 100%;
  padding-left: 14px;
  font-family: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  padding-top: 10px;
}

.photo_map {
  margin: 100px 0px;
  width: 100%;
  float: left;
}

.photo_left {
  border-radius: 10px;
  float: left;
  height: auto;
  aspect-ratio: 3 / 2;
  background: url('/source/media/img/bojnice.webp') no-repeat center/cover;
}

.map_right {
  text-decoration: none;
  border-radius: 10px;
  float: right;
  aspect-ratio: 3 / 2;
  background: url('/source/media/img/dtm_studio_map.webp') no-repeat center/cover;
}

.find_us_google {
    width: max-content;
    float: right;
    margin: 30px 30px 0 0;
    font-family: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
    background-color: #fff;
    color: #65778c;
    line-height: 48px;
    padding: 0 26px 0 24px;
    border-radius: 8px;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border-radius: 30px 4px 30px 30px;
}

.map_right:hover .find_us_google {
    background-color: #bcd331;;
    color: #fff;
}

.contact_company_adress,
.contact_company_invoice_data {
  font-family: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  color: #65778c;
}

.contact_company_invoice {
  font-family: poppins;
}

a.nicefont_black:link {
  float: left;
  text-decoration: none;
  font-family: poppins;
  position: relative;
  color: black;
}

a.nicefont_black:visited{
  text-decoration: none;
}

a.nicefont_black:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
  text-decoration: none;
}

a.nicefont_black:active {
  text-decoration: none;
}

a.nicefont_black:after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #000000;
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

a.nicefont_privacy:link{
  text-decoration: none;
  position: relative;
  color: #8bba34;
}

a.nicefont_privacy:visited{
  text-decoration: none;
  color: #8bba34;
}

a.nicefont_privacy:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
  text-decoration: none;
}

a.nicefont_privacy:active {
  text-decoration: none;
}

a.nicefont_privacy:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #8bba34;
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

#contact-form-wrapper {
  font-family: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  float: left;
}

.full {
  margin-top: 20px;
  float: left;
}

.full_agree {
  float: left;
  margin-top: 20px;
}

span.checkbox-agree {
  color: #65778c
}

span.checkbox-privacy {
  color: #bcd331;
}

#consent {
  display: none;
}

.checkbox-label {
    font-size: 16px;
    user-select: none;
}

.checkbox-custom {
  min-width: 24px;
  height: 24px;
  border: 1px solid #65778c;
  border-radius: 50%;
  margin-right: 10px;
  box-sizing: border-box;
  float: left;
  cursor: pointer;
}

#consent:checked + .checkbox-custom {
  background-color: #65778c;
  border-color: #65778c;
  position: relative;
}

#consent:checked + .checkbox-custom::after {
  content: "";
  position: absolute;
  top: 46%;
  left: 50%;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: translate(-50%, -50%) rotate(45deg);
}

label {
  font-family: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  color: #65778c;
  margin-bottom: 5px;
  display: block;
}

.form-input {
  width: calc(100% - 16px);
}

.form-textarea {
  resize: vertical; /* Allow vertical resizing only */
  font-family: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
}

.form-button {
  font-family: poppins;
  font-weight: 100;
  font-size: 16px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;

  height: 60px;
  background-color: #8bba34;
  color: #fff;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  overflow: hidden;
  transition: all .22s ease-out;
}

.form-button:hover {
  background-color: #65778c;
  color: #fff;
  transition: all .22s ease-out;
}

.form-button:disabled {
  background-color: #A5D6A7;
  cursor: default;
}

.progress-circle {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.send-button {
  float: right;
  margin-top: 20px;
}

.contact-form {
  background-color: #fff;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  width: 500px;
}

.contact-form h2 {
  text-align: center;
  margin-bottom: 20px;
}

.form-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.form-group {
  width: 48%;
}

label {
  font-family: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  color: #65778c;
  margin-bottom: 5px;
  display: block;
}

input, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  outline: none;
  background-color: #f9f9f9;
  transition: border 0.3s ease;
}

input::placeholder, textarea::placeholder {
    color: #aaa;
}

.divider {
  border-top: 1px solid #c8d8df;
  float: left;
  width: 100%;
}

.social_left {
  font-family: poppins;
  float: left;
  text-align: center;
  font-size: 22px;
  margin-left: 5%;
}

#contact_section1 .socials {
  padding-bottom: 0px;
  width: 100%;
  display: flex;
  justify-content: center;
}

#contact_section1 .social-icon {
  fill: #65778c;
  scale: 80%;
  transition: .2s;
}

#contact_section1 .social-icon:hover {
  fill: #7ed208;
  scale: 100%;
}

.spacer-line {
  float: left;
  width: 100%;
  margin: 50px 0px;
  justify-content: center;
  display: flex;
  color: #0099b3;
}

.line_80 {
  width: 80%;
  background: linear-gradient(90deg, #333, #3d3d3d, #333);
  height: 2px;
  /* margin: 0 auto; */
  float: left;
}

#quotes-container {
  width: 100%;
  font-family: poppins;
  color: #ffffff;
  font-size: 25px;
  line-height: 35px;
  padding-top: 50px;
  text-align: center;
}

.quote-text {
  width: 100%;
}

.quote-author a {
  font-family: meri;
  width: 100%;
  text-align: center;
  text-decoration: none;
  color: #8bba34;
}

.copyright {
  font-family: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #686868;
  width: 100%;
  text-align: center;
  float: left;
  padding-bottom: 50px;
}

.quotes_half {
  background: #262626;
  color: white;
  display: flex;
  justify-content: center;
  position: sticky;
  bottom: 0;
  z-index: 0;
}

@media only screen and (min-width: 1000px) {
  .contact_s1_crop_in {
    width: calc(100% - 100px);
    margin: 0 auto;
  }

  .contact_hello {
    font-size: 80px;
    padding-top: 220px;
  }

  .contact_team {
    height: 288px;
    display: flex;
    justify-content: center;
  }

  .contact_team_1 {
    width: 200px;
  }

  .contact_team_2 {
    width: 200px;
    padding-left: 40px;
  }

  .contact_photo_1 {
    float: left;
  }

  .photo_left {
    width: calc(50% - 20px);
  }

  .map_right {
    width: calc(50% - 20px);
  }

  .contact_full{
    width: 100%;
    height: 388px;
  }

  .contact_one_third {
    width: 33%;
    float: left;
  }

  .contact_company_name {
    font-family: poppins;
    font-size: 22px;
  }

  .contact_company_adress,
  .contact_company_invoice_data {
    font-size: 16px;
    margin-top: 10px;
  }

  .contact_company_invoice {
    margin-top: 50px;
    font-size: 22px;
  }

  a.nicefont_black:link{
    margin-top: 20px;
    font-size: 18px;
  }

  #contact-form-wrapper {
    font-size: 16px;
    width: 67%;
  }

  .half_left {
    width: calc(50% - 15px);
    float: left;
    margin-right: 10px;
  }

  .half_right {
    width: calc(50% - 15px);
    float: left;
    margin-left: 10px;
  }

  .full {
    width: calc(100% - 18px);
  }

  .full_agree {
    width: calc(100% - 165px);
  }

  .checkbox-custom {
    margin-top: -4px;
    margin-bottom: 44px;
  }

  .privacy_policy{
    margin-top: 20px;
  }

  span.checkbox-agree {
    font-weight: 100;
  }

  .form-textarea {
    width: calc(100% - 10px);
  }

  .form-button {
    width: 120px;
  }

  .divider {
    display: flex;
    align-items: anchor-center;
    margin-top: 100px;
    padding: 100px 0px;
  }

  .social_left {
    width: 45%;
  }

  .social_right {
    width: 40%;
    font-family: poppins;
    float: right;
  }

  button#dtm_button {
    font-size: 22px;
  }

  .quote-author a {
    font-size: 20px;
  }

  .copyright {
    font-size: 14px;
    line-height: 21px;
  }
}

@media only screen and (max-width: 1000px) {
  .contact_s1_crop_in {
    width: 85%;
  }

  .contact_hello {
    font-size: 60px;
    padding-top: 220px;
  }

  .contact_team {
    display: grid;
    justify-content: center;
    height: 626px;
  }

  .contact_team_1 {
    width: 100%;
  }

  .contact_team_2 {
    width: 200px;
    margin-top: 50px;
  }

  .photo_left {
    width: 100%;
  }

  .map_right {
    width: 100%;
    margin-top: 50px;
  }

  .find_us_google {
    background-color: #bcd331;
    color: #fff;
}

  .contact_full{
    width: 100%;
    height: 388px;
  }

  .contact_one_third {
    display: grid;
    justify-content: center;
  }

  .contact_company_name {
    font-family: poppins;
    font-size: 8svw;
  }

  .contact_company_adress,
  .contact_company_invoice_data {
    font-size: 4svw;
  }

  .contact_company_invoice {
    margin-top: 40px;
    font-size: 6svw;
  }

  a.nicefont_black:link{
    margin-top: 40px;
    font-size: 7svw;
  }

  #contact-form-wrapper {
    margin-top: 50px;
    font-size: 16px;
    height: 522px;
    width: 100%;
  }

  .half_left {
    width: calc(100% - 10px);
  }

  .half_right {
    width: calc(100% - 10px);
    margin-top: 20px;
  }

  .checkbox-label {
      font-size: 16px;
      user-select: none;
  }

  .checkbox-custom {
    margin-top: 0px;
    margin-bottom: 26px;
  }

  .form-textarea {
    width: calc(100% - 26px);
  }

  .form-button {
    width: 60%;
    margin: auto;
  }

  form#contact-form {
    display: grid;
  }

  .divider {
    margin-top: 50px;
    padding: 50px 0px;
  }

  .social_left {
    width: 100%;
  }

  .social_right {
    float: left;
    width: 100%;
    font-family: poppins;
    float: right;
    margin-top: 20px;
  }
}
