* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  font-family: "Gotham-Book";
}

body {
  background-color: #f5f5f7 !important;
}

:root {
  --primary-color: #ffcb17;
  --secondary-color: #1b3561;
  --general-background: #fefcf5;
  --footer-background: #122340;
  --text-gray: #777777;
  --border: #424242;
  --white: #ffffff;
  --bs-font-sans-serif: "Gotham-Book";
}

/* legadoBanner */

.legadoBanner {
  width: 100%;
}

.legadoBanner img {
  width: 100%;
}

/* legadoMain */
.legadoMain .legadoMain--content {
  margin: 12px 30px;
  padding: 81px 5%;
  display: flex;
  flex-direction: column;
  background-color: var(--white);
  border-radius: 3px;
}

.legadoMain .legadoMain--content h2 {
  margin-bottom: 24px;
  padding-bottom: 12px;
  font-size: 6rem;
  font-family: cursive;
  font-weight: 600;
  font-optical-sizing: auto;
  font-style: normal;
  text-align: center;
  background-image: linear-gradient(
    to bottom,
    #efb810,
    #ebb616,
    #e6b41a,
    #e2b21e,
    #deb022,
    #daad21,
    #d6a921,
    #d2a620,
    #cda11c,
    #c89c17,
    #c49812,
    #bf930d
  );
  background-clip: text;
  color: transparent;
  /* color: var(--secondary-color); */
}

.legadoMain .legadoMain--content p {
  font-size: 1.8rem;
  font-family: "Gotham-Book";
  text-align: center;
  color: var(--secondary-color);
}

.legadoMain .legadoMain--content b {
  font-family: "Gotham-Bold2";
}

.legadoMain .legadoMain--content img {
  margin: 24px 0 -24px 0;
  width: 100%;
  max-width: 60px;
}

/* legadoDescription */

.legadoDescription {
  width: 100%;
  background: var(--secondary-color);
}

.legadoDescription .legadoDescription--content {
  margin: 12px 30px;
  padding: 81px 5%;
  display: flex;
  flex-direction: column;
  background-color: var(--secondary-color);
  border-radius: 3px;
}

.legadoDescription .legadoDescription--content img {
  max-width: 210px;
  margin: 0 auto;
}

.legadoDescription .legadoDescription--content h5 {
  font-size: 2.6rem;
  font-family: "Gotham-Black";
  text-align: center;
  background-image: linear-gradient(
    to bottom,
    #efb810,
    #ebb616,
    #e6b41a,
    #e2b21e,
    #deb022,
    #daad21,
    #d6a921,
    #d2a620,
    #cda11c,
    #c89c17,
    #c49812,
    #bf930d
  );
  background-clip: text;
  color: transparent;
}

.legadoDescription .card-body p {
  margin-top: 12px;
  font-size: 1.8rem;
  font-family: "Gotham-Book";
  /* text-align: justify; */
  color: var(--secondary-color);
}

.legadoDescription .card-body .card-div {
  display: flex;
  justify-content: center;
}

.legadoDescription .card-body a {
  margin: 12px 0 12px 0;
  padding: 9px 21px;
  font-size: 1.6rem;
  font-weight: bold;
  border-radius: 5px;
  border: none;
  text-decoration: none;
  text-align: center;
  color: white;
  background-color: var(--secondary-color);
  box-shadow: 2px 2px 2px #2e3142;
}

.legadoDescription .card-body a:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
  transition: all 0.6s linear 0.1s;
}
/* formulario inmobiliaria y contacto */
.inForm h2 {
  font-size: 2.0rem;
  font-family: "Gotham-Black";
  color: var(--secondary-color);
}

.inForm .modal-body, .inForm #tema {
  font-size: 1.2rem;
  color: var(--secondary-color);
}

/* legadoEncourage  */

.legadoEncourage {
  width: 100%;
}

.legadoEncourage .legadoEncourage--content {
  margin: 12px 30px;
  padding: 81px 5%;
  display: flex;
  flex-direction: column;
  background-color: var(--white);
  border-radius: 3px;
}

.legadoEncourage .legadoEncourage--content p {
  margin: 48px 0 -48px 0;
  font-size: 2rem;
  font-family: "Gotham-Bold";
  text-align: center;
  color: var(--secondary-color);
}

.legadoEncourage .legadoEncourage--content img {
  width: 100%;
  border-radius: 9px;
  box-shadow: 2px 2px 3px var(--secondary-color);
}

.legadoEncourage #colorChange {
  transition: box-shadow 1s ease-in-out;
}

/* .shadow {
  position: relative;
  margin: 200px auto 0;
  width: 400px;
  height: 250px;
  background: linear-gradient(0deg,#000,#262626);
}

.shadow::before,
.shadow::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  background: linear-gradient(45deg,#fb0094,#0000ff,#00ff00,#ffff00,#ff0000,#fb0094,#0000ff,#00ff00,#ffff00,#ff0000);
  background-size: 400%;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  z-index: -1;
  animation: animate 20s linear infinite;
}

.shadow::after {
  filter: blur(20px);
}

@keyframes animate {
  0%{
    background-position: 0 0;
  }
  50%{
    background-position: 300% 0;
  }
  100%{
    background-position: 0 0;
  }
} */


@media screen and (min-width: 1024px) {
  .legadoEncourage .legadoEncourage--content {
    flex-direction: row;
  }

  .legadoEncourage .legadoEncourage--content picture {
    width: 50%;
  }

  .legadoEncourage .legadoEncourage--content div {
    padding: 0 3%;
    margin: -48px 0 0 0;
    display: flex;
    align-items: center;
  }

  .legadoEncourage .legadoEncourage--content p {
    font-size: 2.4rem;
  }

}
