@font-face {
  font-family: 'SF Pro Display';
  font-weight: 400;
  font-display: optional;
  src: url('https://fonts.cdnfonts.com/s/59278/SFPRODISPLAYREGULAR.woff') format('woff');
}

body {
  font-family: "SF Pro Display", sans-serif;
}

@media (min-width: 768px) {
  .hero {
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
      url("images/back-img.jpg") !important;
    background-repeat: no-repeat;
    background-size: cover;
    /* background-position: center;*/
    min-height: 100vh;
    padding-top: 80px;
  }
}

.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active,
a.ui-button:active,
.ui-button:active,
.ui-button.ui-state-active:hover {
  border: 1px solid #003eff !important;
  background: #007fff !important;
  font-weight: normal;
  color: #ffffff !important;
}

label {
  font-size: 12px;
}

input[type="text"],
input[type="email"] {
  background-color: #d9d9d9 !important;
  border-radius: 20px !important;
}

input[type="tel"] {
  background-color: #d9d9d9 !important;
  border-radius: 20px 20px 20px 20px !important;
  margin: 0px;
  border: transparent;
}
.flag {
  background-color: #d9d9d9 !important;
  padding: 6px 0px;
  border-radius: 20px 0px 0px 20px !important;
  margin: 0px;
}
.btn-enviar {
  background-color: #fcb819 !important;
  border-radius: 20px !important;
  border: 0 !important;
}

.btn-enviar:hover {
  transition: all 0.3s cubic-bezier(0, 0, 0.5, 1);
  scale: 1.05;
}
.accordion-button {
  background-color: rgba(245, 245, 245, 0.863) !important;
}

.accordion-collapse {
  background-color: rgba(245, 245, 245, 0.863) !important;
}

.accordion-button:not(.collapsed) {
  color: black !important;
  background-color: var(--bs-accordion-active-bg);
  box-shadow: none !important;
}

footer {
  background-color: #9b9b9b;
  width: 100%;
}

h1 {
  font-size: 42px !important;
}

hr {
  flex: 1;
  border: none;
  height: 1px;
  background-color: #ffffffd5 !important;
}

.oficial {
  background-color: #fcb819;
  padding: 8px 25px 8px 25px;
  border-radius: 20px;
  width: fit-content;
  padding: 5px 20px 5px 20px;
}

.logo {
  width: 150px;
}

@media (max-width: 768px) {
  .hero {
    background-image: url("images/mailhot_background.webp") !important;
    background-repeat: no-repeat;
    background-size: cover;

    min-height: 100vh;
  }

  .list img {
    width: 20px;
  }

  .logo {
    width: 90px;
  }

  .logo-igualada {
    width: 40px;
  }
  h1 {
    font-size: 26px !important;
  }

  .oficial {
    padding: 5px 20px 5px 20px;
  }
}

.check:before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url("images/checkicon.webp");
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
  margin-right: 5px;
}

article {
  background-color: rgba(245, 245, 245, 0.863);
  border-radius: 20px;
}

.check {
  margin-bottom: 20px;
}

.online {
  background-color: #469075;
  padding: 8px 25px 8px 25px;
  border-radius: 20px;
  width: fit-content;
  color: #4ce6a6;
  padding: 5px 20px 5px 20px;
}

.video-container {
  position: relative;
  max-width: 560px;

  margin: auto;
  width: 100%;
  padding-bottom: 315px;
  height: 0;
}

.youtube-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    rgba(0, 0, 0, 0.16) 0px 3px 6px,
    rgba(0, 0, 0, 0.23) 0px 3px 6px;
}

@media (max-width: 640px) {
  .video-container {
    padding-bottom: 56.25%; /* Mantener aspecto 16:9 */
  }
}

.div-form {
  background-color: #ffffff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 350px;
}

label {
  display: block;
  font-weight: 500;
  margin-bottom: 5px;
  color: #333;
}

input[type="text"],
input[type="date"],
input[type="time"] {
  width: 100%;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  color: #333;
}

input:focus {
  outline: none;
  border-color: #2459a8;
  box-shadow: 0 0 0 2px rgba(0, 122, 255, 0.2);
}

/* Estilo del botón enviar */
button {
  padding: 10px 0;
  background-color: #2459a8;

  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

button:hover {
  transition: all 0.3s;
  scale: 105%;
}

body .ui-datepicker-header {
  background-color: #ffffff;

  border: 0px;
}

.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default,
.ui-button,
html .ui-button.ui-state-disabled:hover,
html .ui-button.ui-state-disabled {
  border: 1px solid #c5c5c5;

  font-weight: normal;
  color: #454545;
}

.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default,
.ui-button,
html .ui-button.ui-state-disabled:hover,
html .ui-button.ui-state-disabled {
  border: 0px !important;
  font-weight: normal;
  color: #454545;
}

.ui-widget.ui-widget-content {
  border: 0px !important;
}

hr {
  color: #b3b3b3;
}

select {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border-radius: 5px;
  border: 1px solid #ccc;
  background-color: #fff;
  color: #333;
  outline: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: border-color 0.3s ease;
}

select:focus {
  border-color: #007bff;
}
