@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@200;300;400;500;600;700&display=swap");

:root {
  --primary: #0056b3;
  --secondary: #ff3d00;
  --accent: #ff6f00;
  --neutral: #f5f5f5;
  --neutralTwo: #333333;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;

  font-family: "Oswald", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

main {
  scroll-snap-type: y mandatory;
  height: 100vh;
  width: 100%;
  overflow-y: scroll;
}

section {
  height: 100vh;
  scroll-snap-align: start;
}

.header {
  width: 100%;
  height: 100vh;
  background: #000000;
  color: #ffffff;
  position: relative;
}

.header-heading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 6vh;
  text-align: center;
}

.header-heading h1 {
  opacity: 0.8;
  text-shadow: 1px 1px #333333;
  text-transform: uppercase;
}

.header-heading img {
  max-width: 25%;
  height: auto;
}

.header h1 {
  position: relative;
}

blockquote {
  font-size: 1rem;
  font-style: italic;
}

.scroll-arrow {
  position: absolute;
  bottom: 2%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.section-two {
  position: relative;
  /*background: linear-gradient(270deg, #333333, #161616);
  background-size: 400% 400%;
  -webkit-animation: section-two-bg 6s ease infinite;
  -moz-animation: section-two-bg 6s ease infinite;
  animation: section-two-bg 6s ease infinite;*/
  color: white;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.services-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  z-index: 900;
}

.services-container > div,
.services-container > a {
  height: 100%;
  width: 100%;
  color: rgba(255, 255, 255, 0.3);
  display: flex;
  justify-content: center;
  align-items: end;
  font-size: 6vh;
  padding-bottom: 1rem;
}

.services-container > div:hover,
.services-container > a:hover {
  background: rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.services {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  align-items: center;
  z-index: 100;
}

.section-two h2 {
  font-size: 6vh;
  text-align: center;
  font-weight: 400;
}

.services-container > div > img {
  width: 60%;
}

video {
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  filter: brightness(15%);
  z-index: 10;
}

.section-last {
  position: relative;
  display: flex;
  flex-direction: column;
}

.contact {
  width: 100%;
  height: 100%;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  font-size: 2rem;
}

.contact a {
  height: 100%;
  width: 100%;
  text-decoration: none;
  color: var(--neutral);
}

.contact a:hover {
  color: var(--secondary);
  background-color: rgba(0, 0, 0, 0.3);
}

.tel,
.sms,
.mail {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact div {
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

footer {
  color: var(--neutral);
  z-index: 100;
}

footer a {
  text-decoration: none;
  color: var(--neutral);
}

footer a:hover {
  color: var(--secondary);
}

#footer-services {
  position: relative;
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  color: var(--neutral);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.services-hero {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 2rem;
  width: 100%;
  text-align: center;
  background: var(--neutralTwo);
  color: var(--neutral);
  width: 100%;
  z-index: 500;
  gap: 1rem;
}

.services-contact {
  padding: 1rem;
  background: rgba(0, 0, 0, 0.3);
}

.services-contact:hover {
  background: rgba(0, 0, 0, 0.6);
  padding: 1rem;
  color: var(--secondary);
}

.services-footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.video-container {
  display: flex;
  flex-wrap: wrap;
}

.video-container > a {
  display: flex;
  justify-content: center;
  flex: 0 1 50%;
  margin-bottom: 10px;
}

.video-container > a > img {
  width: 100%;
}

/*ANIMIATIONS*/
.light {
  position: absolute;
  width: 0px;
  opacity: 0.75;
  background-color: white;
  box-shadow: #e9f1f1 0px 0px 20px 2px;
  opacity: 0;
  top: 100vh;
  bottom: 0px;
  left: 0px;
  right: 0px;
  margin: auto;
}

.x1 {
  -webkit-animation: floatUp 4s infinite linear;
  -moz-animation: floatUp 4s infinite linear;
  -o-animation: floatUp 4s infinite linear;
  animation: floatUp 4s infinite linear;
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);
}

.x2 {
  -webkit-animation: floatUp 7s infinite linear;
  -moz-animation: floatUp 7s infinite linear;
  -o-animation: floatUp 7s infinite linear;
  animation: floatUp 7s infinite linear;
  -webkit-transform: scale(1.6);
  -moz-transform: scale(1.6);
  -o-transform: scale(1.6);
  transform: scale(1.6);
  left: 15%;
}

.x3 {
  -webkit-animation: floatUp 2.5s infinite linear;
  -moz-animation: floatUp 2.5s infinite linear;
  -o-animation: floatUp 2.5s infinite linear;
  animation: floatUp 2.5s infinite linear;
  -webkit-transform: scale(0.5);
  -moz-transform: scale(0.5);
  -o-transform: scale(0.5);
  transform: scale(0.5);
  left: -15%;
}

.x4 {
  -webkit-animation: floatUp 4.5s infinite linear;
  -moz-animation: floatUp 4.5s infinite linear;
  -o-animation: floatUp 4.5s infinite linear;
  animation: floatUp 4.5s infinite linear;
  -webkit-transform: scale(1.2);
  -moz-transform: scale(1.2);
  -o-transform: scale(1.2);
  transform: scale(1.2);
  left: -34%;
}

.x5 {
  -webkit-animation: floatUp 8s infinite linear;
  -moz-animation: floatUp 8s infinite linear;
  -o-animation: floatUp 8s infinite linear;
  animation: floatUp 8s infinite linear;
  -webkit-transform: scale(2.2);
  -moz-transform: scale(2.2);
  -o-transform: scale(2.2);
  transform: scale(2.2);
  left: -57%;
}

.x6 {
  -webkit-animation: floatUp 3s infinite linear;
  -moz-animation: floatUp 3s infinite linear;
  -o-animation: floatUp 3s infinite linear;
  animation: floatUp 3s infinite linear;
  -webkit-transform: scale(0.8);
  -moz-transform: scale(0.8);
  -o-transform: scale(0.8);
  transform: scale(0.8);
  left: -81%;
}

.x7 {
  -webkit-animation: floatUp 5.3s infinite linear;
  -moz-animation: floatUp 5.3s infinite linear;
  -o-animation: floatUp 5.3s infinite linear;
  animation: floatUp 5.3s infinite linear;
  -webkit-transform: scale(3.2);
  -moz-transform: scale(3.2);
  -o-transform: scale(3.2);
  transform: scale(3.2);
  left: 37%;
}

.x8 {
  -webkit-animation: floatUp 4.7s infinite linear;
  -moz-animation: floatUp 4.7s infinite linear;
  -o-animation: floatUp 4.7s infinite linear;
  animation: floatUp 4.7s infinite linear;
  -webkit-transform: scale(1.7);
  -moz-transform: scale(1.7);
  -o-transform: scale(1.7);
  transform: scale(1.7);
  left: 62%;
}

.x9 {
  -webkit-animation: floatUp 4.1s infinite linear;
  -moz-animation: floatUp 4.1s infinite linear;
  -o-animation: floatUp 4.1s infinite linear;
  animation: floatUp 4.1s infinite linear;
  -webkit-transform: scale(0.9);
  -moz-transform: scale(0.9);
  -o-transform: scale(0.9);
  transform: scale(0.9);
  left: 85%;
}

button:focus {
  outline: none;
}

@-webkit-keyframes floatUp {
  0% {
    top: 100vh;
    opacity: 0;
  }

  25% {
    opacity: 1;
  }

  50% {
    top: 0vh;
    opacity: 0.8;
  }

  75% {
    opacity: 1;
  }

  100% {
    top: -100vh;
    opacity: 0;
  }
}

@-moz-keyframes floatUp {
  0% {
    top: 100vh;
    opacity: 0;
  }

  25% {
    opacity: 1;
  }

  50% {
    top: 0vh;
    opacity: 0.8;
  }

  75% {
    opacity: 1;
  }

  100% {
    top: -100vh;
    opacity: 0;
  }
}

@-o-keyframes floatUp {
  0% {
    top: 100vh;
    opacity: 0;
  }

  25% {
    opacity: 1;
  }

  50% {
    top: 0vh;
    opacity: 0.8;
  }

  75% {
    opacity: 1;
  }

  100% {
    top: -100vh;
    opacity: 0;
  }
}

@keyframes floatUp {
  0% {
    top: 100vh;
    opacity: 0;
  }

  25% {
    opacity: 1;
  }

  50% {
    top: 0vh;
    opacity: 0.8;
  }

  75% {
    opacity: 1;
  }

  100% {
    top: -100vh;
    opacity: 0;
  }
}

@-webkit-keyframes heartbeat {
  from {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transform-origin: center center;
    transform-origin: center center;
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }

  10% {
    -webkit-transform: scale(0.91);
    transform: scale(0.91);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }

  17% {
    -webkit-transform: scale(0.98);
    transform: scale(0.98);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }

  33% {
    -webkit-transform: scale(0.87);
    transform: scale(0.87);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }

  45% {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }
}

@keyframes heartbeat {
  from {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transform-origin: center center;
    transform-origin: center center;
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }

  10% {
    -webkit-transform: scale(0.91);
    transform: scale(0.91);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }

  17% {
    -webkit-transform: scale(0.98);
    transform: scale(0.98);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }

  33% {
    -webkit-transform: scale(0.87);
    transform: scale(0.87);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }

  45% {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }
}

.heartbeat {
  -webkit-animation: heartbeat 4s ease-in-out infinite both;
  animation: heartbeat 4s ease-in-out infinite both;
}

@-webkit-keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    -webkit-transform: translateY(0);
  }

  40% {
    -webkit-transform: translateY(-30px);
  }

  60% {
    -webkit-transform: translateY(-15px);
  }
}

@-moz-keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    -moz-transform: translateY(0);
  }

  40% {
    -moz-transform: translateY(-30px);
  }

  60% {
    -moz-transform: translateY(-15px);
  }
}

@-o-keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    -o-transform: translateY(0);
  }

  40% {
    -o-transform: translateY(-30px);
  }

  60% {
    -o-transform: translateY(-15px);
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-30px);
  }

  60% {
    transform: translateY(-15px);
  }
}

.bounce {
  animation: bounce 1.4s infinite;
  -webkit-animation: bounce 1.4s infinite;
  -moz-animation: bounce 1.4s infinite;
  -o-animation: bounce 1.4s infinite;
}

@media only screen and (max-width: 48em) {
  .contact {
    width: 100%;
    background: none;
    box-shadow: none;
  }

  .contact h2 {
    color: var(--neutral);
  }

  #contact-form {
    width: 90%;
    height: 60%;
  }

  .services {
    display: none;
  }

  .services-container {
    flex-direction: column;
  }

  .services-container > div,
  .services-container > a {
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgba(255, 255, 255, 0.6);
  }

  .services-container > div > img {
    width: 30%;
  }

  .contact {
    flex-direction: column;
  }

  .video-container {
    display: flex;
    flex-wrap: wrap;
    padding: 1rem;
  }

  .video-container > a {
    display: flex;
    justify-content: center;
    flex: 0 1 100%;
    margin-bottom: 10px;
  }
}
