@charset "UTF-8";
@import url('https://fonts.googleapis.com/css?family=Old+Standard+TT:400|Lora:400');

html {
  font: 400 1em/1.33 "Lora", serif;
  background-color: #011f80;
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  margin-top: 100px;
  margin-left: -2px;
}

.profile {
  position: relative;
  height: 50vh;
  transition: opacity 1s ease, transform 1s ease;
}

.profile video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -10;
}

.profile.unfix {
  position: relative !important;
  height: auto;
  opacity: 0;
  transform: scale(1.3);
  z-index: -1;
  pointer-events: none;
  transition-delay: 5s;
}

@media (min-width: 55em) {
  .profile {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    height: auto;
  }

  article {
    margin-left: 40%;
    position: relative;
    max-width: 66em;
  }

  section {
    padding: 0 3em;
  }

  blockquote {
    position: absolute;
    right: 100%;
    top: 80vh;
    width: 9em;
    background: #222;
    color: #fff;
    box-shadow: 0 10px 22px rgba(0, 0, 0);
  }

  blockquote:hover {
    transform: scale(1.1);
    transition: transform 0.9s ease;
    cursor: pointer;
  }
}

@media (min-width: 80em) {
  .profile {
    width: 50%;
  }

  article {
    margin-left: 50%;
  }
}

article {
  color: #fff;
  padding-bottom: 100px;
}

header {
  text-align: center;
  padding: 0 2em;
}

h1 {
  font-family: "Old Standard TT", serif;
  color: #fcf704;
  text-transform: uppercase;
  font-weight: 400;
}

.title-small {
  display: none;
}

.nth-line-1,
.nth-line-2 {
  line-height: 1;
  font-size: 150px;
}

.video-fullscreen,
.imagen-fullscreen {
  overflow: hidden;
}

.video-fullscreen video,
.imagen-fullscreen image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.servicios {
  align-items: center;
}

.servicios h1 {
  font-size: 50px;
  text-align: center;
}

.servicios p {
  color: #e8e8e8;
  font-size: 20px;
  max-width: 70%;
  margin: 0 auto;
  text-align: justify;
}

.lead {
  color: #e8e8e8;
  font-size: 20px;
  max-width: 30em;
  margin: 0 auto;
  text-align: center;
}

hr {
  border: none;
  background: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/5175/hr-01.png") no-repeat center;
  height: 40px;
  margin: 1em 0;
}

section {
  column-width: 14em;
  column-gap: 1.33em;
  padding: 0 2em;
}

section p:first-of-type:first-letter {
  color: #fcf704;
  float: left;
  font-size: 7em;
  line-height: 1;
  margin: -0.2em 0.1em -0.2em 0;
}

img {
  margin-top: 20px;
  max-width: 100%;
  vertical-align: middle;
  box-shadow: 0 4px 12px rgba(0, 0, 0);
  transition: transform 0.5s ease;
}

img:hover {
  transform: scale(1.1);
  cursor: pointer;
}

blockquote {
  border-left: 0.2em solid #fcf704;
  font-size: 1.2em;
  padding: 0.1em 0.5em;
  line-height: 1.5;
  margin: 0;
  quotes: "“" "”" "‘" "’";
}

blockquote::before,
blockquote::after {
  color: #fcf704;
  font-size: 1em;
  line-height: 0;
}

blockquote::before {
  content: open-quote;
}

blockquote::after {
  content: close-quote;
}

.whatsapp-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1030;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #fbff0f;
  color: #000000;
  padding: 0.75rem 1.5rem;
  font-size: 1.1rem;
  font-weight: bold;
  border: solid;
  border-radius: 50px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.518);
  text-decoration: none;
  animation: bounce 1s infinite;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-btn i {
  font-size: 1.5rem;
}

.whatsapp-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(0px);
  }
}

@media (max-width: 500px) {
  blockquote {
    display: none;
  }

  .title-large {
    display: none;
  }

  .title-small {
    display: block;
    font-size: 50px;
    text-align: left;
    text-transform: none;
    margin-top: 20px;
  }

  .lead {
    font-size: 16px;
    text-align: justify;
  }
}