@import url('<link href="https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap" rel="stylesheet">');

/*Header*/
.navbar {
  padding: 15px 30px;
  background-color: #BF372A !important;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.navbar-brand img {
  height: 60px;
  width: auto;
  max-height: 100px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.navbar-brand img:hover {
  transform: scale(1.1);
}

.navbar-nav .nav-link {
  font-size: 18px;
  font-family: 'Verdana', sans-serif;
  padding: 10px 20px;
  color: #ffffff !important;
  transition: transform 0.3s ease-in-out, color 0.3s ease-in-out,
    text-shadow 0.3s ease-in-out;
}

.navbar-nav .nav-link:hover {
  color: #f0f0f2 !important;
  transform: scale(1.05);
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.2);
}

.dropdown-menu {
  background-color: #f9f9f9;
  border-radius: 5px;
  padding: 10px 0;
}

@media (max-width: 991.98px) {
  #dropBloques {
    overflow-y: scroll;
    height: 165px;
  }
}

.dropdown-menu .dropdown-item {
  padding: 10px 20px;
  font-size: 15px;
  color: #333;
  font-family: "Roboto";
}

.dropdown-menu .dropdown-item:hover {
  background-color: #730c02;
  color: #f0f0f2;
}

/*Responsive header*/
@media (max-width: 1228px) {
  .navbar {
    padding: 10px 20px;
  }

  .navbar-brand img {
    height: 50px;
  }

  .navbar-nav .nav-link {
    font-size: 14px;
    padding: 8px 15px;
  }

  .dropdown-menu {
    padding: 5px 0;
  }

  .dropdown-menu .dropdown-item {
    padding: 8px 15px;
  }
}

@media (max-width: 767.98px) {
  .navbar {
    padding: 8px 15px;
  }

  .navbar-brand img {
    height: 45px;
  }

  .navbar-toggler {
    border: none;
    outline: none;
  }

  .navbar-toggler-icon {
    background-image: url("https://image.flaticon.com/icons/png/512/1828/1828551.png");
    background-size: contain;
    width: 30px;
    height: 30px;
  }

  .navbar-nav .nav-link {
    font-size: 14px;
  }
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  background-color: #f0f0f2 !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.container {
  padding-top: 100px;
  flex: 1;
}

/*Estilo de texto*/
h1 {
  color: #a62f14;
  font-family: "Playfair", Display;
  font-weight: bold;
}
p {
  font-size: 1.25rem;
  font-weight: bold;
  line-height: 1.6;
  margin-bottom: 1.5em;
  color: #bf8173;
  text-align: center;
  font-family: "Roboto";
}

/*Sección de Misión, Visión y Historia*/
h2 {
  color: #a62f14;
  font-weight: bold;
  font-family: "Playfair", Display;
  margin-bottom: 40px;
}

h4 {
  color: #a62f14;
  font-weight: bold;
  font-family: "Playfair", Display;
  margin-bottom: 40px;
}

.card {
  border: none;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
}

.card-title {
  color: #a62f14;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.card-text {
  display: flex;
}

.carousel-inner {
  border-radius: 5px;
}

.carousel-item img {
  object-fit: cover;
}

.d-block {
  border: none;
  animation: scaleInOut 5s ease-in-out infinite;
}

@keyframes scaleInOut {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

@media (max-width: 767.98px) {
  #carouselCol {
    height: 150px;
    margin-top: 20px;
    border-radius: 5px;
  }
}

.btn {
  background-color: #730c02;
  font-family: "Roboto";
}

.btn:hover {
  background-color: #a62f14;
  font-family: "Roboto";
}

.modal-title {
  color: #a62f14;
  font-family: "Playfair", Display;
  font-weight: bold;
}

/*Modales cuerpo*/
.modal-body {
  font-size: 1.20rem;
  font-weight: bold;
  color: #bf8173;
  font-family: "Roboto";
  line-height: 1.6;
  margin-bottom: 1.5em;
  text-align: left;
}

/*Footer*/
#footer {
  padding: 5px 0;
  text-align: center;
  background-color: #BF372A !important;
  height: 100px;
}

#footer a {
  font-size: x-large;
  color: #ffffff;
  font-family: "Roboto";
}

.list-inline-item:hover {
  font-size: x-large;
  color: #ffffff;
  font-family: "Roboto";
  transition: transform 0.3s ease-in-out, color 0.3s ease-in-out,
    text-shadow 0.3s ease-in-out;
}

.list-inline-item:hover {
  color: #f0f0f2 !important;
  transform: scale(1.05);
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.2);
}

#footer small {
  color: #ffffff;
  font-family: 'Verdana', sans-serif;
}

#footer a:hover {
  color: #ffffff;
}

#footer .list-inline .list-inline-item {
  padding: 10px 15px;
}
