/* COLOURS
Light Grey - #CBCED5
Green - #69BABA
Robin Blue - #92D8CF
Green Blue - #40B9A6
Grey - #9899A6
Grey - #686A6B
Black - #25283D

font-family: 'Oswald', sans-serif;
font-family: 'Lato', sans-serif;
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* border: solid 1px palevioletred; */
}

html {
  background-color: #40B9A6;
}

body {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  color: #25283D;
  background-color: #FFF;
}

section {
  min-width: 100vw;
  min-height: 100vh;
}

.container {
  max-width: 1280px;
  padding: 0 100px;
  margin: 0 auto;
}

.wrapper {
  padding: 100px 0;
}

@media (max-width: 1024px) {
  .container {
    padding: 0 30px;
  }

  .wrapper {
    padding: 50px 0;
  }
}

@media (max-width: 769px) {
  section {
    min-width: unset;
    min-height: unset;
  }

  .container {
    padding: 80px 30px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 60px 30px;
  }
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', sans-serif;
}

h1 {
  font-size: 150px;
}

h2 {
  font-size: 35px;
  letter-spacing: 2px;
}

@media (max-width: 480px) {
  h2 {
    text-align: center;
  }
}

a {
  font-weight: 400;
  color: #25283D;
  text-decoration: none;
}

input, select {
  border-radius: 0;
  border: 0;
  -webkit-appearance: none; 
  -moz-appearance: none;
  appearance: none;
  background: none;
  text-align: center;
  text-align-last: center;
}

.visually-hidden {
  position: absolute !important;
  height: 1px; 
  width: 1px;
  overflow: hidden;
  clip: rect(1px 1px 1px 1px);
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.button {
  display: inline-block;
  font-size: 18px;
  cursor: pointer;
  margin: 20px 0;
  padding: 12px 36px;
  letter-spacing: 1.6px;
  border: solid 1px #25283D;
  text-transform: uppercase;
  background-color: transparent;
  font-family: 'Lato', sans-serif;
  transition: all 200ms cubic-bezier(1, 0, 0, 1);
}

.button:hover,
.button:focus {
  background-color: #25283D;
  color: white;
}

/* NAVIGATION */
.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 80px;
  padding: 0 40px;
  position: fixed;
  left: 0; 
  right: 0;
  z-index: 10;
  opacity: 0;
  transition: opacity 300ms ease-in-out;
}

.nav-wrapper.visible {
  opacity: 1;
}

.menu {
  display: flex;
  list-style: none;
}

.menu-item {
  padding: 0 30px;
}

.menu-item:last-child {
  padding-right: 0;
}

@media (max-width: 480px) {
  nav {
    display: none;
  }
}

/* HERO */
.hero,
footer {
  background-color: #40B9A6;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero::after {
  content: '';
  display: block;
  width: 100%;
  position: absolute;
  bottom: 0;
  background-image: url(../assets/wave-greenblue.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  height: 300px;
  transform: translateY(75%);
  z-index: 0;
}

@media (max-width: 769px) {
  .hero::after {
    height: 200px;
  }
}

.hero-wrapper {
  text-align: center;
  z-index: 1;
  position: relative;
}

.title {
  line-height: 120px;
  margin-bottom: 35px;
  -webkit-animation: fade-in-top 1.5s cubic-bezier(0.390, 0.575, 0.565, 1.000) 0.25s both;
  animation: fade-in-top 1.5s cubic-bezier(0.390, 0.575, 0.565, 1.000) 0.25s both;
}

.subtitle {
  margin-top: 50px;
  -webkit-animation: fade-in-top 1.5s cubic-bezier(0.390, 0.575, 0.565, 1.000) 0.75s both;
  animation: fade-in-top 1.5s cubic-bezier(0.390, 0.575, 0.565, 1.000) 0.75s both;
}

@-webkit-keyframes fade-in-top {
  0% {
    -webkit-transform: translateY(-50px);
            transform: translateY(-50px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fade-in-top {
  0% {
    -webkit-transform: translateY(-50px);
            transform: translateY(-50px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
  }
}

.first-name {
  font-size: 75px;
  display: block;
}

.coming-soon {
  margin-top: 50px;
}

@media (max-width: 640px) {
  h1 {
    font-size: 100px;
  }

  .first-name {
    font-size: 50px;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 100vh;
  }
}

/* INTRO */
.intro {
  position: relative;
  z-index: 0;
  padding-top: 300px;
}

.intro-wrapper {
  text-align: center;
  font-size: 26px;
  max-width: 1000px;
  margin: 0 auto;
  line-height: 1.5;
}

@media (max-width: 769px) {
  .intro {
    padding-top: 150px;
  }
}

@media (max-width: 480px) {
  .intro-wrapper {
    font-size: 21px;
  }
}

/* ABOUT */
.about {
  color: #686A6B;
  display: flex;
}

.about-container {
  margin: auto;
}

.about-wrapper {
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 150px 0 100px;
}

.about-content {
  max-width: 500px;
  margin-left: 80px;
}

.about-content p {
  font-size: 18px;
  margin: 2em 0;
  line-height: 1.5;
}

.profile-image {
  border-radius: 50%;
}

@media (max-width: 769px) {
  .about-wrapper {
    margin: 0;
    flex-wrap: wrap;
  }

  .about-content {
    max-width: unset;
    margin-left: 0;
    margin: 30px;
  }
}

@media (max-width: 480px) {
  .profile-image {
    width: 300px;
  }

  .about-content {
    margin: 30px 0 0;
  }
}

/* BANNER */
.banner {
  background-color: #DFE1E6;
  position: relative;
}

.banner::before,
.banner::after {
  content: '';
  display: block;
  width: 100%;
  position: absolute;
  background-repeat: no-repeat;
  height: 300px;
  z-index: -1;
}

.banner-wrapper {
  text-align: center;
  padding: 100px 0;
  font-size: 26px;
  max-width: 1000px;
  margin: 0 auto;
}

.banner p {
  line-height: 1.5;
}

.banner .button {
  margin: 40px 0 0;
}

@media (max-width: 769px) {
  .banner-wrapper {
    padding: 0;
  }
}

@media (max-width: 480px) {
  .banner-wrapper {
    font-size: 21px;
  }
}

/* PRODUCTS */
.grid {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin: auto -15px;
  padding-top: 50px;
}

.grid-item {
  flex: 0 0 33.33%;
  padding: 15px;
  display: flex;
  justify-content: center;
}

.grid a {
  width: 100%;
}

.grid-item:hover .grid-content,
.grid-item:focus .grid-content {
  transform: translateY(-10px);
}

.grid-content {
  text-align: center;
  width: 100%;
  padding: 60px 0;
  box-shadow: 2px 10px 40px 2px #DAEEEA;
  transition: all 200ms cubic-bezier(0.470, 0.000, 0.745, 0.715);
  position: relative;
  transform: translateY(0px);
}

.grid-icon {
  min-width: 80px;
}

.grid-svg {
  max-height: 80px;
  width: auto;
}

@media (max-width: 769px) {
  .grid-item {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .grid-item {
    flex: 1 1 100%;
  }
}

/* TESTIMONIALS */
.testimonials {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #DAEEEA;
}

.slider {
  width: 900px;
  margin: 0 auto;
}

@media (max-width: 1025px) {
  .slider {
    width: 750px;
  }
}

@media (max-width: 769px) {
  .testimonials {
    overflow: hidden;
  }

  .testimonials .container {
    padding: 80px 0;
  }

  .testimonials h2 {
    padding-left: 30px;
  }

  .slider {
    padding: 0 30px;
    min-width: 500px;
  }
}

@media (max-width: 480px) {
  .testimonials {
    display: none;
  }
}


blockquote {
  font-size: 20px;
  line-height: 1.4;
  font-weight: 300;
}

blockquote p {
  margin: 20px 0;
}

cite {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-style: initial;
  font-size: 25px;
  text-align: center;
  display: block;
}

.slick-list {
  padding-bottom: 60px;
}

.slick-track {
  display: flex;
}

.slick-slide {
  margin: auto;
}

.slick-dots li {
  margin: 0 10px;
}

.slick-dots li button:before {
  font-size: 20px;
  color: #40B9A6;
}

.slick-dots li.slick-active button:before {
  color: #69BABA;
  opacity: 1;
}

.slick-prev,
.slick-next {
  width: 40px;
  height: 40px;
}

.slick-prev {
  left: -80px;
}

.slick-next {
  right: -80px;
}

.slick-prev:before, 
.slick-next:before {
  font-size: 30px;
  color: #69BABA;
}

/* CONTACT */
.form {
  font-size: 28px;
}

.form-wrapper {
  margin: 100px auto 0;
  text-align: center;
}

.form-optional {
  display: inline-block;
}

.form-label {
  position: relative;
}

.form-input {
  font-size: 28px;
  min-width: 180px;
  margin: 12px 10px;
  border-bottom: solid 1px #686A6B;
  color: #686A6B;
}

.form-input:focus {
  outline: none;
  background: #92D8CF;
}

.form-thanks {
  margin: 50px 0;
  display: block;
}

.form-addProduct {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  overflow: hidden;
  color: transparent;
  padding: 0;
  margin: 0;
  display: inline-block;
  line-height: 3;
  border-radius: 50%;
  border: solid 1px #40B9A6;
  background: #40B9A6;
  cursor: pointer;
  position: relative;
}

.form-addProduct::before {
  content: "+";
  display: block;
  font-size: 20px;
  color: #FFF;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 62px;  
}

.form-ph {
  position: absolute;
  opacity: 0;
  top: 0;
  left: 0;
  height: 0;
  width: 0;
  z-index: -1;
}

.form-error {
  margin: 20px 0 0;
  color: #D72F44;
}

.form-error.hide {
  display: none;
}

@media (max-width: 480px) {
  .form-fields span {
    display: none;
  }

  .form-input {
    width: 100%;
    display: block;
    margin: 30px 0;
  }

  .form-addProduct {
    display: none;
  }
}

/* FOOTER */
footer {
  min-height: 80px;
  display: flex;
  justify-content: space-between;
  padding: 0 40px;
  font-weight: 300;
}

.footer-social {
  display: flex;
}

.footer-socialLink {
  width: 30px;
  height: 30px;
  /* background: red; */
  display: block;
  margin-left: 15px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.facebook {
  background-image: url(../assets/social-facebook.svg);
}

.linkedin {
  background-image: url(../assets/social-linkedin.svg);
}

@media (max-width: 480px) {
  footer {
    justify-content: center;
    flex-wrap: wrap;
    padding: 20px;
  }

  .footer-column {
    padding: 10px;
    flex: 1 1 100%;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-socialLink {
    margin: 0 15px;
  }
}
