/*
    Desarrollado con <3 by Hammer Garita
*/

*,
*:before,
*:after {
  box-sizing: border-box;
}

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after {
  content: '';
  content: none;
}

q:before, q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

input,
label,
select,
button,
textarea {
  margin: 0;
  border: 0;
  padding: 0;
  display: inline-block;
  vertical-align: middle;
  white-space: normal;
  background: none;
  line-height: 1;
  /* Browsers have different default form fonts */
  font-size: 13px;
  font-family: Arial;
}

/* Remove the stupid outer glow in Webkit */
input:focus, textarea:focus, button:focus {
  outline: 0;
}

/* Text Inputs
-----------------------------------------------*/
/* input[type=date],
input[type=datetime],
input[type=datetime-local],
input[type=email],
input[type=month],
input[type=number],
input[type=password],
input[type=range],
input[type=search],
input[type=tel],
input[type=text],
input[type=time],
input[type=url],
input[type=week]
{
} */
/* Button Controls
-----------------------------------------------*/
input[type=checkbox],
input[type=radio] {
  width: 13px;
  height: 13px;
}

/* Search Input
-----------------------------------------------*/
/* Turn off the recent search for webkit. It adds about 15px padding on the left */
::-webkit-search-decoration {
  display: none;
}

/* Buttons
-----------------------------------------------*/
button,
input[type="reset"],
input[type="button"],
input[type="submit"] {
  /* Fix IE7 display bug */
  overflow: visible;
  width: auto;
}

/* IE8 and FF freak out if this rule is within another selector */
::-webkit-file-upload-button {
  padding: 0;
  border: 0;
  background: none;
}

/* Textarea
-----------------------------------------------*/
textarea {
  /* Move the label to the top */
  vertical-align: top;
  /* Turn off scroll bars in IE unless needed */
  overflow: auto;
}

a, a:hover {
  text-decoration: none;
}

img {
  max-width: 100%;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

html, body {
  width: 100vw;
  overflow-x: hidden;
}

body {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
}

h1, h2, h3 {
  color: var(--title);
  font-weight: 700;
}

p {
  color: var(--text);
  font-size: 1.2rem;
  line-height: 1.3;
}

strong {
  font-weight: 700;
}

:root {
  --color: black;
  --title: #092d74;
  --text: #7a7979;
}

.navbar-toggler {
  background-color: var(--secondary-color);
  border: none;
  width: 48px;
  height: 45px;
  text-indent: -900em;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  outline: none;
}

.navbar-toggler:after {
  content: '';
  position: absolute;
  width: 68%;
  height: 3px;
  background: #fff;
  top: 10px;
  left: 16%;
  box-shadow: 0 10px 0 #fff, 0 20px 0 #fff;
}

/* Remove span.navbar-toggler-icon from bootstrap menu */
.mt-6 {
  margin-top: 5rem;
}

header {
    background-color: rgba(9, 45, 116, .9) !important;
}

nav.navbar {
    background-color: transparent !important;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 99;
}

.nav-item {
    text-align: center;
    padding: 1em 0;
    text-transform: uppercase;
}

.nav-link {
    color: white !important;
    transition: opacity .3s ease;
}

.navbar-brand img{
    max-width: 120px;
}

.navbar-nav {
    padding: 1em 0;
}

.hero-banner {
  width: 100%;
  height: 100vh;
  max-height: 850px;
  background-image: url("assets/img/principal.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  background-position: center;
}

.hero-banner .container {
  height: 100%;
  position: relative;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: end;
  -webkit-justify-content: flex-end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}

.scroll {
  position: absolute;
  left: 50%;
  z-index: 10;
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
  bottom: 30px;
  width: 60px;
  -webkit-animation: bounce 1s infinite alternate;
          animation: bounce 1s infinite alternate;
  opacity: .7;
}

@-webkit-keyframes bounce {
  from {
    -webkit-transform: translateY(0px) translateX(-50%);
            transform: translateY(0px) translateX(-50%);
  }
  to {
    -webkit-transform: translateY(-15px) translateX(-50%);
            transform: translateY(-15px) translateX(-50%);
  }
}

@keyframes bounce {
  from {
    -webkit-transform: translateY(0px) translateX(-50%);
            transform: translateY(0px) translateX(-50%);
  }
  to {
    -webkit-transform: translateY(-15px) translateX(-50%);
            transform: translateY(-15px) translateX(-50%);
  }
}

.title {
  font-size: 2rem;
  text-transform: uppercase;
  padding-bottom: 2rem;
  position: relative;
  display: inline-block;
  z-index: 2;
}

.title::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 3px;
  background-color: var(--title);
  left: 50%;
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
}

.title.title-center::before {
  left: 50%;
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
}

.about {
  text-align: center;
}

.about .container {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.about .container p {
  max-width: 550px;
  text-align: justify;
}

.services {
  text-align: center;
}

.service-title {
  color: var(--text);
  text-transform: uppercase;
  font-size: 1.5rem;
  line-height: 1.3;
  margin-bottom: 2rem;
}

.parallax-container {
  width: 100%;
  height: 470px;
  margin-top: 1rem;
  position: relative;
}

.parallax-bg-container {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.parallax-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.parallax-info {
  position: absolute;
  left: 50%;
  top: 50%;
  padding: 2rem;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  width: 100%;
  z-index: 10;
}

.parallax-info .row {
  background-color: rgba(255, 255, 255, .85);
  padding: 2rem;
}

#map {
  width: 100%;
  height: 400px;
}

.contact-info {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 2rem;
  text-align: left;
}

.icon {
  margin-right: 1rem;
}

.form-title {
  font-size: 1.7rem;
  text-transform: uppercase;
  color: #3f3f3f;
}

input, textarea {
  display: block;
  margin-bottom: 1rem;
  background-color: #dedede;
  padding: .8rem 2rem;
  width: 100%;
  font-size: 1rem;
  border-radius: 20px;
}

input[type="submit"] {
  background-color: #25a8ec;
  color: white;
  width: 100%;
}

.load {
  width: 40px;
}

#response {
  text-align: center;
}

.load, .success-box, .error-box {
  display: none;
}

.success .success-box, .error .error-box {
  display: block;
}

footer {
  padding: 2rem 2rem;
  background-color: var(--title);
  text-align: center;
  color: white;
}

@media (min-width: 768px) {
  .hero-banner {
    background-attachment: fixed;
  }
  .services {
    text-align: left;
  }
  .service-title {
    margin-bottom: 0;
  }
  .parallax-container {
    height: 350px;
    margin-top: .3rem;
  }
  .parallax-container::before {
    content: '';
    position: absolute;
    left: 0px;
    top: -3px;
    border-style: solid;
    border-width: 0px 0 60px 100vw;
    border-color: transparent transparent transparent white;
    z-index: 5;
  }
  .parallax-container::after {
    content: '';
    position: absolute;
    right: 0px;
    bottom: -3px;
    border-style: solid;
    border-width: 60px 100vw 0px 0;
    border-color: transparent white transparent transparent;
    z-index: 5;
  }
  input[type="submit"] {
    width: auto;
  }
  
  .nav-item {
      padding: 1em;
  }
  
  .nav-link:hover {
    opacity: .8;
  }
  
  .navbar-nav {
        padding: .5em 0;
    }
}

@media (min-width: 992px) {
  .parallax-info .row {
    max-width: 680px;
  }
  .parallax-info {
    bottom: -80px;
    -webkit-transform: initial;
        -ms-transform: initial;
            transform: initial;
    left: 0;
    top: initial;
  }
  .parallax-container {
    margin-bottom: 6rem;
  }
  .parallax-container {
    height: 300px;
  }
  
}
