/*
Theme Name: HGS
Version: 1.0
*/

@font-face {
    font-family: 'Hops And Barley c4';
    src: url('HopsAndBarleyc4-Regular.woff2') format('woff2'),
        url('HopsAndBarleyc4-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
    ascent-override: 100%;
}
body {
  margin: 0px;
  color: white;
  background-image: url('img/bg.png');
  background-color: black;
  line-height: 1.5;
  font-size: 16px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
}
body, button, h1, h2, input[type="submit"] {
  font-family: 'Hops And Barley c4';
    font-weight: normal;
}
input {
  font-family: 'Arial', sans-serif;
  font-weight: bold;
}
* {box-sizing: border-box;}
img {height: auto;}
a, a:link, a:visited{
	text-decoration:none;
    color: inherit;
}
p {
    margin: 15px 0px;
}
p:first-child {margin-top: 0px;}
p:last-child {margin-bottom: 0px;}
.container {
    width: 1140px;
    margin: 0 auto;
}


/* ====== GŁÓWNY STYL BLOKU ====== */
.cf7-yellow-flex {
  max-width: 685px;
  margin: 0 auto;
}

.cf7-yellow-flex br {display: none;}

.cf7-yellow-flex .form-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ====== WIERSZE ====== */
.cf7-yellow-flex .row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 40px;
  margin: 0px;
}
.cf7-yellow-flex span.wpcf7-form-control-wrap {
  width: 100%;
}

/* ====== ETYKIETY ====== */
.cf7-yellow-flex label {
  color: #ffe200;
  font-size: 30px;
  text-transform: none;
  flex: 0 0 193px;
  text-align: right;
}

/* ====== POLA ====== */
.cf7-yellow-flex input[type="text"],
.cf7-yellow-flex input[type="email"],
.cf7-yellow-flex input[type="url"],
.cf7-yellow-flex input[type="date"] {
  background: #ffe200;
  border: 2px solid black;
  border-radius: 999px;
  padding: 13px 15px;
  font-size: 18px;
  color: #000;
  outline: none;
  transition: box-shadow 0.2s ease, transform 0.1s ease;
  width: 100%;
}

.cf7-yellow-flex input::placeholder {
  color: rgba(0, 0, 0, 0.65);
}

.cf7-yellow-flex input:focus {
  box-shadow: 0 0 0 4px rgba(255, 226, 0, 0.4);
  transform: translateY(-1px);
}

/* ====== CHECKBOX ====== */
.cf7-yellow-flex input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #ffe200;
  margin: 0;
}
.cf7-yellow-flex .wpcf7-acceptance label {
  color: #ffe200;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}
.cf7-yellow-flex .wpcf7-acceptance label, .cf7-yellow-flex .wpcf7-acceptance input {
  cursor: pointer;
}
.cf7-yellow-flex .wpcf7-acceptance .wpcf7-list-item {
  margin: 0px;
}
.cf7-yellow-flex .turnstile {
  margin: 0 auto;
}
/* ====== PRZYCISK ====== */
.cf7-yellow-flex .row-submit {
  justify-content: center;
  position: relative;
}
.cf7-yellow-flex input[type="submit"] {
  background: #fff;
  color: #000;
  border: none;
  border-radius: 999px;
  padding: 9px 46px;
  font-size: 35px;
  text-transform: uppercase;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.1s ease;
  letter-spacing: 0.5px;
  transition: 0.2s background-color;
}
.cf7-yellow-flex input[type="submit"]:hover {
  background: #ffe200;
}
.cf7-yellow-flex input[type="submit"]:active {
  transform: translateY(1px);
}

/* ====== KOMUNIKATY CF7 ====== */
.wpcf7-form .wpcf7-response-output {
  max-width: 685px;
  padding: 20px !important;
  background: rgba(0, 0, 0, 0.8);
  margin: 40px auto auto auto !important;
}
.wpcf7-form .wpcf7-spinner {
  position: absolute;
  margin: 0px;
}
.wpcf7-form.submitting .cf7-yellow-flex input[type="submit"] {
  pointer-events: none;
  opacity: 0.5;
}

@media (max-width: 600px) {
  .cf7-yellow-flex label {
    flex: unset;
  }
  .cf7-yellow-flex .row {
    flex-direction: column;
  }
  .cf7-yellow-flex .row {
    gap: 5px;
  }
  .cf7-yellow-flex label {
    font-size: 25px;
  }
  .cf7-yellow-flex input[type="submit"] {
    font-size: 30px;
  }
}