@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600&display=swap');


/*  Custom Properties  */
:root {

  --leading: 2em;
}

body {
  font-family: 'Montserrat', 'sans-serif';
  margin: 0;
}

.hero-bg {
  background: #307D99 url('../images/bg.jpg');
  background-position: 12% 83%;
  color: white;
  text-align: center;
  padding-bottom: 4em;

}

header {
  padding: 1em 0;
}

.hero-bg a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.3em;
}

section {
  margin: 0 1em;
}

h1 {
  font-size: 2.5em;
  margin: 2em 1.2em;
}

h1 span {
  text-transform: uppercase;
  display: block;
  font-size: 1.5rem;
  position: relative;
  z-index: 1;
}

h1 span::before {
  content: '';
  position: absolute;
  width: 3em;
  background-color: #00bfff;
  height: .4em;
  bottom: 0;
  z-index: -1;
  margin-left: -0.3em;

}

.hero-bg p {
  font-weight: bold;
  margin: 3em 1em;

}

.form-container {
  background-color: white;
  margin: 2em -1em 0;
  padding: 2em;

}

label {
  color: #2d7d98;
  font-weight: bold;
  display: block;
  margin-bottom: 1em;
  font-size: 1.2em;
}


input[type=text] {
  border: 1px solid #707070;
  width: 100%;
  padding: 1em;
  box-sizing: border-box;
  border-radius: .7em;
  margin-top: 1.2em;
}

input[type=button] {
  background-color: #f89104;
  border: none;
  width: 100%;
  color: white;
  font-weight: bold;
  padding: 1em 0;
  border-radius: .6em;
  font-size: 1.3em;
  cursor: pointer;
}

input[type=button]:hover {
  background-color: #d17a00;
}

.authentic {
  margin: 0;
  padding: 3em 0;
}

h2 {
  text-transform: uppercase;
  position: relative;
}

h2::before {
  content: '';
  position: absolute;
  width: 8em;
  background-color: #00bfff;
  height: .4em;
  bottom: 0;
  z-index: -1;
  margin-left: -0.3em;
}

img {
  width: 100%;
  margin-top: 15%;
}

p {
  line-height: var(--leading);
}

.overlay {
  position: absolute;
  height: 100vh;
  width: 100%;
  background: rgba(0, 0, 0, .7);
  z-index: 3;
  color: white;
  place-content: center;
  display: none;
}

.animate-overlay {
  animation: overlay 3s forwards;
}

@keyframes overlay {
  0% {
    opacity: 0;
  }

  30% {
    opacity: 1;
  }

  70% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

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


/* IPad 8' screen */

@media (min-width: 745px) {
  section {
    margin: 0 4em;
  }

  .form-container {
    margin: 2em -4em 0;
  }
}


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


/* Full-Screeen Desktop */

@media (min-width: 945px) {

  .hero-bg {
    text-align: left;
  }

  .hero-bg p {
    margin: 0 0 3em;
  }

  .hero-bg section {
    width: 65%;
  }

  .form-container {
    margin: 2em 0 0;
    padding: 2em;
    border-radius: .6em;
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.3);
  }

  form {
    display: flex;
  }

  .form-left {
    width: 70%;
    color: rgb(201, 201, 201);

  }

  label {
    margin: 0;
  }

  input[type="button"] {
    height: fit-content;
    font-size: 1.1em;
    margin-left: 1em;
    margin-top: 2.2em;
    padding: .7em 0;
    width: 30%;
  }

  .hero-bg p {
    margin-bottom: 0;
  }

  section.authentic {
    display: grid;
    grid-template-columns: repeat(2, 50%);
    grid-template-areas:
      'bowl content';
    margin: -3em 0;

  }

  .right-col {
    grid-area: content;
    padding: 0% 10%;
    text-align: left;
    align-self: center;

  }

  img {
    grid-area: bowl;
    margin-top: 0;
  }

  h2 {
    margin: 0;
  }
}

.top {
  animation: fadeIn 2s forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-2em);
  }

  to {
    opacity: 1;
    transform: default;
  }
}
