* {
  box-sizing: border-box;
  font-family: 'Century Gothic', sans-serif;
}

::-moz-selection {
  background: #007AC4;
  text-shadow: none;
}

::selection {
  background: #007AC4;
  text-shadow: none;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0 auto;
  box-sizing: border-box;
  /* scroll-snap-points-y: repeat(100vh); */
  scroll-snap-type: y mandatory;
  overflow-x: hidden;
  background-color: #FFFFFF;
}

#contact-intro {
  height: 100vh;
  margin: 0px;
}

/* LAA Logo Intro Page */
#contact-intro .content img {
  position: absolute;
  top: 65px;
  left: 50%;
  width: 80px;
  transform: translate(-50%, -50%);

  transition: filter;
  -webkit-filter: grayscale(0%);
  filter: grayscale(0%);
}

#contact-intro .content img:hover {
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
}


/* Communicating clients'... */
#contact-intro .content p {
  position: absolute;
  font-size: 14pt;
  font-weight: 100;
  letter-spacing: 3px;
  font-style: italic;
  bottom: 50%;
  left: 20%;
}

.mapbox {
  border-top: 2px solid #ECECEC;
  border-bottom: 2px solid #ECECEC;
  margin-top: 15px;
  height: auto;
  display: block;
}


.mapbox img {
  position: relative;
  max-width: 100vw;
}

/* ------------------------ */

.contact-box {
  margin: 100px 20vw 100px 20vw;
  height: 500px;
  display: block;
  /* background-color: #252525; */
  text-align: center;
}

input[type=text] {
  outline: none;
  border: none;
  width: 100%;
  height: 80px;
  border-bottom: 2px solid #007AC4;
  font-size: 18pt;
  background-color: #FFF;
  -webkit-transition: background-color 0.5s ease-in-out;
  transition: background-color 0.5s ease-in-out;
}

input[type=text]:focus {
  background-color: #ECECEC;
}

textarea {
  outline: none;
  resize: vertical;
  border: none;
  width: 100%;
  height: 140px;

  border-bottom: 2px solid #007AC4;
  font-size: 18pt;
  background-color: #FFF;
  -webkit-transition: background-color 0.5s ease-in-out;
  transition: background-color 0.5s ease-in-out;
}

textarea.mini {
  height: 100px;
}

textarea:focus {
  background-color: #ECECEC;
}

button {
  background-color: #007AC4;
  border: none;
  color: #ECECEC;
  width: 200px;
  font-size: 18pt;
  border-radius: 40px;
  text-transform: uppercase;
  height: 50px;
  cursor: pointer;
  margin-top: 50px;
  margin-bottom: 100px;
}

button:hover {
  color: #007AC4;
  background-color: #ECECEC;
}


@media only screen and (max-width: 600px) {

  .contact-box {
    margin: 100px 10vw 80px 10vw;
    height: 500px;
  }

  input[type=text] {
    width: 100%;
    height: 60px;
    border-bottom: 2px solid #007AC4;
    font-size: 14pt;
    background-color: #FFF;
    -webkit-transition: background-color 0.5s ease-in-out;
    transition: background-color 0.5s ease-in-out;
  }

  input[type=text]:focus {
    background-color: #ECECEC;
  }

  textarea {
    outline: none;
    resize: vertical;
    border: none;
    width: 100%;
    height: 180px;
    border-bottom: 2px solid #007AC4;
    font-size: 14pt;
    background-color: #FFF;
    -webkit-transition: background-color 0.5s ease-in-out;
    transition: background-color 0.5s ease-in-out;
  }

  textarea:focus {
    background-color: #ECECEC;
  }

  button {
    background-color: #007AC4;
    border: none;
    color: #ECECEC;
    width: 160px;
    font-size: 14pt;
    border-radius: 40px;
    text-transform: uppercase;
    height: 40px;
    cursor: pointer;
    margin-top: 50px;
  }

  button:hover {
    color: #007AC4;
    background-color: #ECECEC;

  }

}



/* ------------------------------- */

.wrapper {
  margin-top: 165px;
  display: inline-grid;
  grid-gap: 0vw;
  grid-row-gap: 2vh;
  grid-template-columns: 20vw 60vw 20vw;
  grid-template-rows: 22vh 22vh 22vh;
  justify-content: center;
}

.square {
  float: left;
  position: relative;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.square img {
  position: absolute;
  width: 80px;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);

  transition: filter;
  -webkit-filter: grayscale(0%);
  filter: grayscale(0%);
}

.square img:hover {
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
}

.square a {
  text-decoration: none;
  color: #000000;
  font-size: 17pt;
  color: #424242;
  letter-spacing: 1pt;
  font-weight: 400;
}

.add{

  font-size: 16pt;
  text-align: center;

}
.square a .info:hover {
  text-decoration: underline;
}

.info {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.a {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}

.b {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
}

.c {
  grid-column: 3 / 4;
  grid-row: 1 / 2;
}

.d {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
}

.e {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
}

.f {
  grid-column: 3 / 4;
  grid-row: 2 / 3;
}
.g {
  grid-column: 1 / 2;
  grid-row: 3 / 4;
}

.h {
  grid-column: 2 / 3;
  grid-row: 3 / 4;
}

.i {
  grid-column: 3 / 4;
  grid-row: 3 / 4;
}


@keyframes typewriter {
  from {
    width: 0;
  }

  to {
    width: 424px;
  }
}

@keyframes blinkTextCursor {
  from {
    border-right-color: #000000;
  }

  to {
    border-right-color: transparent;
  }
}

p {
  font-family: 'Avenir', sans-serif;
  font-size: 1.2em;
}

@media only screen and (max-width: 768px) {
  #contact-intro .content img {
    position: absolute;
    top: 40px;
    left: 50%;
    width: 55px;
    transform: translate(-50%, -50%);
  }

}

@media only screen and (max-width: 450px) {

  .square a {
    font-size: 12pt;

  }
  .square img {
    width: 60px;
  }

}


@media only screen and (max-height: 768px) {

  .wrapper {
    margin-top: 120px;
  }

  .square img {
    width: 60px;
  }

  .square a {
    font-size: 15pt;
    font-weight: 400;
  }

  .info {
    top: 5%;
  }
}

@media only screen and (max-height: 610px) {

  .wrapper {
    margin-top: 120px;
    grid-template-columns: 10vw 80vw 10vw;
    grid-template-rows: 25vh 25vh 25vh;
  }

  .square img {
    width: 60px;
    left: 10%;
    top: 5%;
    transform: translate(-50%, 0%);

  }

  .square a {
    font-size: 14pt;
    font-weight: 400;

  }

  .info {
    top: 5%;
  }

}
