* {
  outline: none;
  outline-offset: 0;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  background: none;
  border: none;
  scroll-behavior: smooth;
}
body {
  font-size: 15px;
  background-color: #f1f1f1;
  padding: 0px;
  color: #353543;
  font-family: 'Raleway', sans-serif;
  font-weight: normal;
}
a:focus {
  outline: none;
  outline-offset: 0;
}
a:focus,
a:hover {
  color: initial;
  text-decoration: none;
}
a,
a:visited,
a:active {
  color: #232323;
}
a.link {
  text-decoration: underline;
  color: #bb137b;
  font-weight: 600;
}
.btn,
.btn:active,
.btn:focus,
.btn:visited {
  outline: none;
}
img {
  max-width: 100%;
  height: auto;
}
button:active > *,
button:focus > * {
  position: relative;
  top: 0;
  left: 0;
}
a {
  text-decoration: none;
  color: #bb137b;
}
a:hover {
  color: #ffffff;
}
ul,
ol {
  list-style: none;
}
h1 {
  font-size: 36px;
  padding-bottom: 30px;
  font-weight: 600;
}
h1.ppal {
  color: #bb137b;
}
h3 {
  font-size: 22px;
  font-weight: 600;
  margin: 5px 0px;
}
@keyframes fadeInOpacity {
  0% {
    transform: translateY(-200px);
  }
  100% {
    transform: translateY(0px);
  }
}
.carousel-control {
  width: 5%;
}
header {
  height: 110px;
  display: grid;
  background-color: white;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.15);
}
header button.menu-btn {
  display: none;
  border: 2px solid lightgray;
  width: 41px;
  height: 40px;
  position: absolute;
  top: 20px;
  right: 15px;
  font-size: 20px;
  color: lightgrey;
  border-radius: 5px;
}
header button.menu-btn::before {
  content: "\f0c9";
  font-family: 'Font Awesome 5 Pro';
  display: block;
  width: 30px;
  height: 30px;
  margin: 3px 4px;
  line-height: 30px;
  font-size: 24px;
}
header .menu-wrapper.open + button.menu-btn::before {
  content: "\f00d";
  margin: 4px;
  font-size: 28px;
}
header > div {
  display: flex;
  padding: 0px 40px;
  align-items: center;
}
header > div .logo {
  width: 500px;
  height: 44px;
  background-image: url("../img/logo_h.svg");
  background-size: cover;
}
header > div menu {
  margin-left: auto;
}
header > div menu ul li {
  display: inline-block;
}
header > div menu ul li a {
  padding: 15px 20px;
  border-radius: 20px;
  font-size: 18px;
  font-weight: 600;
  transition: 0.4s;
  color: #bb137b;
}
header > div menu ul li a:hover {
  background-color: #bb137b;
}
header > div menu ul li a:hover:visited {
  color: #ffffff;
}
header > div menu ul li a:visited {
  color: #bb137b;
}
header.dark {
  opacity: 1;
  animation-name: fadeInOpacity;
  animation-iteration-count: 1;
  animation-timing-function: ease-in;
  animation-duration: .3s;
  position: fixed;
  width: 100%;
  z-index: 1000;
  background-color: #bb137b;
  height: 80px;
}
header.dark .logo {
  width: 500px;
  height: 44px;
  background-image: url("../img/logo_h_white.svg");
}
header.dark ul li {
  display: inline-block;
}
header.dark ul li a {
  color: #ffffff;
  font-weight: 300;
}
header.dark ul li a:hover {
  background-color: #ffffff;
  color: #bb137b;
}
header.dark ul li a:hover:visited {
  color: #bb137b;
}
header.dark ul li a:visited {
  color: #ffffff;
}
.main-wrapper {
  margin: 0 auto;
  max-width: 1240px;
}
.slider .item {
  height: 60vh;
}
.slider .item.bank {
  background: linear-gradient(to right, rgba(255, 255, 255, .63), rgba(255, 255, 255, .42 )), url(../img/hipoteca.png);
  background-size: cover;
}
.slider .item.bank > div {
  width: 500px;
  position: absolute;
  top: 27%;
  left: 200px;
}
.slider .item.bank > div h1 span {
  color: #bb137b;
}
.slider .item.bank > div a {
  padding: 10px 20px;
  background-color: #bb137b;
  color: white;
  border-radius: 5px;
  margin-top: 20px;
  display: inline-block;
  text-align: center;
}
.slider .item.bank > div a:hover {
  background-color: #8d0e5d;
}
.slider .item.cars {
  background: linear-gradient(to right, rgba(255, 255, 255, .63), rgba(255, 255, 255, .42 )), url(../img/coches.png);
  background-size: cover;
}
.slider .item.cars > div {
  width: 500px;
  position: absolute;
  top: 27%;
  right: 200px;
}
.slider .item.cars > div h1 span {
  color: #bb137b;
}
.slider .item.cars > div a {
  padding: 10px 20px;
  background-color: #bb137b;
  color: white;
  border-radius: 5px;
  margin-top: 20px;
  display: inline-block;
  text-align: center;
}
.slider .item.cars > div a:hover {
  background-color: #8d0e5d;
}
.highlights {
  padding: 70px 30px 40px;
  background-color: white;
  text-align: center;
}
.highlights .sections li {
  display: inline-block;
  position: relative;
  border-radius: 10px;
  padding: 30px 20px;
  margin: 0px 15px;
  width: 280px;
  height: 330px;
  box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
}
.highlights .sections li > * {
  display: inline-block;
}
.highlights .sections li span {
  font-size: 22px;
}
.highlights .sections li img {
  width: 110px;
  height: 110px;
  margin: 35px 0px;
}
.highlights .sections li a {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  background-color: #bb137b;
  font-size: 22px;
  padding: 10px;
  width: 200px;
  border-radius: 5px;
}
.highlights .sections li a:hover {
  background-color: #8d0e5d;
}
.about-me {
  background: linear-gradient(150deg, #bb137b 0%, #8d0e5d 100%);
  background-color: #bb137b;
  color: white;
  padding: 70px 30px 40px;
}
.about-me .main-wrapper {
  display: grid;
  grid-template-columns: auto 1fr;
}
.about-me img {
  margin: 10px 30px;
  border: 10px solid #ffffff;
  width: 275px;
  border-radius: 50%;
}
.about-me .description {
  font-size: 18px;
  padding: 10px 50px;
}
.about-me .description p {
  font-weight: 300;
}
.services {
  padding: 70px 30px 40px;
  background-color: white;
}
.services .main-wrapper {
  text-align: center;
}
.services .main-wrapper .service-list {
  background-color: #f3f3f3;
  padding: 40px;
  display: inline-block;
  border-radius: 20px;
  margin: 20px;
}
.services .main-wrapper .service-list h2 {
  margin-bottom: 20px;
}
.services .main-wrapper .service-list ul li {
  text-align: left;
}
.services .main-wrapper .service-list ul li a {
  display: block;
  background-color: white;
  padding: 10px 30px;
  margin: 10px 0px;
  border: 1px solid #bb137b;
  max-width: 400px;
  border-radius: 10px;
}
.services .main-wrapper .service-list ul li a p {
  display: block;
  color: black;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.services .main-wrapper .service-list ul li a:hover {
  background-color: #bb137b;
  color: white;
}
.services .main-wrapper .service-list ul li a:hover p {
  color: white;
}
@media (max-width: 1100px) {
  header {
    grid-template-columns: 3fr 6fr;
  }
  header > div .logo {
    width: 350px;
    height: 31px;
  }
}
@media (max-width: 600px) {
  .carousel-control {
    width: 10%;
  }
  header {
    display: block;
  }
  header button.menu-btn {
    display: block;
  }
  header .menu-wrapper {
    top: 110px;
    position: absolute;
    width: 100%;
    z-index: 999;
    height: 0px;
    padding: 0;
    max-height: 0;
    transition: max-height 0.15s ease-out;
    overflow: hidden;
    background-color: white;
    transition: all 0.2s ease-in;
  }
  header .menu-wrapper menu {
    margin: 0px;
    width: 100%;
  }
  header .menu-wrapper menu ul {
    display: block;
  }
  header .menu-wrapper menu ul li {
    display: block;
  }
  header .menu-wrapper menu ul li a {
    display: block;
    text-align: center;
  }
  header .menu-wrapper.open {
    height: 230px;
    max-height: 500px;
    transition: max-height 0.25s ease-in;
    z-index: 999;
    padding: 0px;
    box-shadow: 0px 15px 15px #00000020;
  }
  header > div {
    display: flex;
    padding: 18px 40px;
    align-items: center;
  }
  header > div .logo {
    height: 75px;
    display: block;
    background-image: url("../img/logo.svg");
    background-size: auto;
    background-repeat: no-repeat;
    background-position: center;
    padding: 20px;
  }
  header.dark > div {
    padding: 10px 40px;
    align-items: center;
  }
  header.dark .logo {
    width: 500px;
    height: 60px;
    background-image: url(../img/logo_white.svg);
  }
  header.dark .menu-wrapper {
    top: 80px;
    padding: 0px;
  }
  header.dark menu ul li a,
  header.dark menu ul li a:visited {
    color: #bb137b;
  }
  .slider .item.bank > div,
  .slider .item.cars > div {
    width: 100%;
    padding: 45px;
    top: 0%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
  }
  .slider .item.bank > div h1,
  .slider .item.cars > div h1 {
    font-size: 26px;
  }
  .slider .item.bank > div a,
  .slider .item.cars > div a {
    padding: 15px 30px;
  }
  .highlights {
    padding: 25px 20px 30px;
    background-color: white;
    text-align: center;
  }
  h1 {
    font-size: 25px;
    padding: 0px 20px 12px;
  }
  ul.sections {
    padding: 0px 25px;
  }
  .highlights .sections li {
    display: block;
    padding: 30px 20px;
    margin: 20px 0px;
    width: 100%;
    border-radius: 10px 40px 10px 55px;
  }
  .about-me {
    position: relative;
  }
  .about-me .main-wrapper {
    display: block;
    text-align: center;
  }
  .about-me .main-wrapper img {
    border: 5px solid #ffffff;
    width: 235px;
  }
  .about-me .main-wrapper .description {
    font-size: 18px;
    padding: 10px 0px;
  }
  .about-me .main-wrapper .description h1 {
    position: absolute;
    text-align: center;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
  }
  .services {
    padding: 30px 20px 25px;
  }
  .services h1 {
    margin: 0px;
  }
  .services .main-wrapper .service-list {
    background-color: #f3f3f3;
    padding: 20px;
    display: block;
    border-radius: 20px;
    margin: 10px 0px;
  }
  .services .main-wrapper .service-list h2 {
    margin: 14px 10px 20px;
    font-size: 26px;
  }
  .services .main-wrapper .service-list ul li a {
    padding: 5px 15px;
    margin: 10px 0px;
    border: 1px solid #bb137b;
    border-radius: 10px;
  }
  .services .main-wrapper .service-list ul li a h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 5px 0px;
  }
  .services .main-wrapper .service-list ul li a p {
    text-overflow: ellipsis;
    font-size: 13px;
  }
}
