body {
  background: #f6e9f8;
}

.intro-header {
  position: relative;
  padding: 0;
  width: 100%;
  min-height: 260px;
  height: 30vh;
  max-height: 380px;
  background-image: url(/static/img/background.jpg) !important;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover !important;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
}
@media (min-width: 1400px) {
  .intro-header {
    background-size: contain !important;

  }
}

.navbar-custom {
  background: rgba(96, 12, 135, 0.8);
  border-radius: 0;
  min-height: 45px;
  box-shadow: none;
  margin-bottom: 30px;
  border: none;
}

/* Centra los items usando flexbox */
.navbar-nav.navbar-center {
  float: none;
  display: flex;
  justify-content: center;
  width: 100%;
}

/* Items horizontales */
.navbar-nav > li {
  float: none !important;
}

/* Enlaces */
.navbar-custom .navbar-nav > li > a {
  color: #fff;
  font-weight: 600;
  letter-spacing: .06em;
  font-size: 15px;
  text-transform: uppercase;
  padding: 12px 25px;
  background: transparent;
  border-radius: 0;
}

.navbar-custom .navbar-nav > li > a:hover,
.navbar-custom .navbar-nav > li.active > a {
  background: rgba(123, 64, 135, 0.8);
  color: #fff;
}

@media (max-width: 767px) {
  .navbar-nav.navbar-center {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .navbar-custom .navbar-nav > li > a {
    padding: 10px 0;
    font-size: 16px;
  }
}


.row-container {
  padding: 25px; 
  margin: auto; 
  max-width: 800px; 
  text-align: center;
  border-radius: 20px;
}

.container {
  margin-top: 25px;
}

.row {
  display: flex;
  justify-content: center;
  align-items: center;
}

.site-heading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 90vw;          /* Permite más flexibilidad que un ancho fijo */
  max-width: 900px;
  padding: 0 15px;
  color: white;
  text-shadow: 2px 0 0 #444, -2px 0 0 #444, 0 2px 0 #444, 0 -2px 0 #444, 1px 1px #444, -1px -1px 0 #444, 1px -1px 0 #444, -1px 1px 0 #444;
  z-index: 2;
}

.site-heading > h1 {
  font-size: 4rem;
  margin: 0;
  line-height: 1.2;
}

.event-dates {
  margin-top: 2rem;
  color: white;
  font-size: 20px !important;
  text-shadow: 2px 0 0 #444, -2px 0 0 #444, 0 2px 0 #444, 0 -2px 0 #444, 1px 1px #444, -1px -1px 0 #444, 1px -1px 0 #444, -1px 1px 0 #444;
}

.subheading {
  color: white;
  text-shadow: 2px 2px 4px #000000;
  font-size: 2em;
  font-family: Arial, sans-serif;
}

.subheading > a {
  color: white;
  font-size: 20px !important;
  text-shadow: 2px 0 0 #444, -2px 0 0 #444, 0 2px 0 #444, 0 -2px 0 #444, 1px 1px #444, -1px -1px 0 #444, 1px -1px 0 #444, -1px 1px 0 #444;
}

.subheading > p {
  font-size: 19px !important;
  text-shadow: 2px 0 0 #444, -2px 0 0 #444, 0 2px 0 #444, 0 -2px 0 #444, 1px 1px #444, -1px -1px 0 #444, 1px -1px 0 #444, -1px 1px 0 #444;
}

.portfolio-item{
  max-height: 360px;
}

.another_part_footer{
  margin-top: 2%;
}

.another_part_footer > div {
  margin: auto; 
  text-align: center;
}

.block-paragraph {
  margin: 45px;
}

.ifisc {
  width: 250px;
  padding-bottom: 30px;
}

.logo {
  width: 80%;
}

footer {
  width: 50%;
  margin: auto;
  min-width: 400px;
}

.margin-left-fixed {
  margin-left: 0;
}

.img-responsive {
  max-height: 100%;
}


.block-paragraph {
  font-size: medium;
}

.contact-form {
  max-width: 600px;
  background: #f6faf2;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 8px 15px rgba(0,0,0,0.1);
  font-family: Arial, sans-serif;
  color: #4b0c87;
}

.contact-form .form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  font-weight: 600;
}

.contact-form label {
  margin-bottom: 8px;
  font-size: 1.5rem;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  padding: 10px 14px;
  font-size: 1.5rem;
  border: 2px solid #c8e6c9;
  border-radius: 6px;
  outline-offset: 2px;
  transition: border-color 0.3s ease;
  resize: vertical;
  font-weight: 400;
  font-family: Arial, sans-serif;
  color: #333;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
  border-color: #500c87;
  box-shadow: 0 0 5px #500c87;
}

.contact-form textarea {
  min-height: 120px;
  font-family: inherit;
}

.btn-submit {
  background-color: #500c87;
  color: white;
  padding: 12px 25px;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 10px;
}

.btn-submit:hover {
  background-color: #500c87;
}



@media (max-width: 768px) {
  .navbar-custom {
    background: rgba(116, 15, 163, 0.8);
    transition: ease-in-out 0.2s;
  }
  .navbar-custom .navbar-nav>li>a:hover, .navbar-custom .navbar-brand:hover {
    border: none;
    text-decoration: underline;
  }
  .navbar-default .navbar-nav>li.selected>a {
    border: none;
    text-decoration: underline;
  }
}