html {
  scroll-behavior: smooth;
  overflow-y: scroll;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

body {
  background-color: #fefad4;
  width: 100%;
}

p {
  line-height: 2;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 1rem;
}

nav {
  background-color: #fefad4;
}

h1 {
  font-family: utopia-std-headline, serif;
  font-weight: 400;
  font-size: 6em;
  font-style: normal;
  margin-bottom: 50px;
}

h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 3rem;
}

/* navbar logo + brand + links*/
.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
}
img[alt="unifamm-logo"] {
  margin-bottom: 10px;
}
.nav-link {
  font-family: 'Montserrat', sans-serif;
}

.row {
  display: flex;
  justify-content: left;
}

/* about section */
.container-fluid {
  background-color: #fefad4;
}

.about-wrapper {
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  padding-top: 20px;
  padding-bottom: 20px;
  padding-left: 30px;
  margin-top: 100px;
  margin-bottom: 100px;
}

.learn-more-a {
  font-family: "Montserrat", sans-serif;
  color: black;
  text-decoration: underline;
}

@media only screen and (max-width: 992px) {
  /* For mobile phones */

  .row {
    justify-content: center;
  }

  .whoAreWe-h1 {
    font-size: 300% !important;
  }

  .second-container h1 {
    font-size: 300% !important;
    padding: 20% 0 20% 10% !important;
  }

  #consultationBox p {
    margin: 5% 0 5% 0;
  }

  #ingredientBox {
    bottom: 15%;
    padding-top: 2%;
  }

  #img-container {
    background-position: 70% 0% !important;
    right: 0px !important;
    bottom: 60px;
  }

  .services-choice {
    font-size: 1.7rem !important;
  }

  .form-column {
    margin-top: 50px;
  }

  .third-container {
    text-align: center;
  }

  .consultations-row {
    background-position: 0% 100% !important;
    background-size: contain !important;
  }

  .contact-h1 {
    font-size: 3.7rem !important;
  }

}

.whoAreWe-h1 {
  font-size: 6rem;
  opacity: 0;
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
}

.about-container {
  padding-top: 100px;
  padding-bottom: 100px;
  color: black;
}

#about {
  background-image: url(images/flour.png);
  background-repeat: no-repeat;
  background-position: 100% 0%;
  background-size: contain;
}

#about-learn-more {
  opacity: 0;
}

.about-text {
  line-height: 2;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  opacity: 0;
  position: relative;
  z-index: 1;
}

.second-container {
  color: #fefad4;
}

.second-card {
  border-radius: 20px;
  /* box-shadow */
  box-shadow: rgba(0, 0, 0, 0.2) 0 0 10px;
  background-color: #765D69;
}

.second-container h1 {
  padding: 100px 0px 100px 40px;
  margin: 0;
  opacity: 0;
  color: #f7f7f7;
}

.consultations-row {
  display: flex;
  justify-content: space-between;
  height: 400px;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  background-image: url(images/consultations.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
  position: relative;
}

#img-container {
  background-image: url(images/powder2.jpg);
  background-position: 100% 40%;
  background-size: cover;
  background-repeat: no-repeat;
  position: absolute;
  padding: 0px;
  right: 40px;
  height: 100%;
  opacity: 0;
}

/* consultations/ingredients buttons */
.services-choice {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  /* font-size: 2.5rem; */
  font-size: 2.5em;
  border-top: 2px solid #fefad4;
  border-bottom: 2px solid #fefad4;
  transition: 0.2s;
  position: relative;
  z-index: 3;
}

#consultations:hover {
  color: black;
  background-color: #fefad4;
  cursor: pointer;
}

#ingredients:hover {
  color: black;
  background-color: #fefad4;
  cursor: pointer;
}

/* hover animations for buttons */
.buttonLoseActivated {
  animation-name: buttonLoseActivated;
  animation-duration: 0.2s;
  animation-fill-mode: backwards;
}
.buttonWinActivated {
  animation-name: buttonWinActivated;
  animation-duration: 0.2s;
  animation-fill-mode: forwards;
}
@keyframes buttonLoseActivated {
  from {color: black; background-color: #fefad4}
  to {color: #fefad4; background-color: #765D69}
}
@keyframes buttonWinActivated {
  from {color: black; background-color: #fefad4}
  to {color: black; background-color: #fefad4}
}

.services-content {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: space-around;
  background-color: black;
}

#ingredientBox {
  opacity: 0;
}

.services-content a {
  color: white;
}

/* contact section */
/* left */
.contact-h1 {
  padding-top: 100px;
  padding-bottom: 50px;
  opacity: 0;
  margin-bottom: 0;
}

.contact-form-div {
  opacity: 0;
}

/* right */
.form-column {
  display: flex;
  justify-content: center;
}

.form-row p {
  padding-top: 10px;
}

.submit-row {
  margin-top: 20px;
}

input[type="text"], input[type="email"] {
  width: 100%;
  border-bottom: 1px solid rgb(150, 150, 150);
  border-left: hidden;
  border-right: hidden;
  border-top: hidden;
  background-color: #fefad4;
  outline: none;
  transition: border-color 0.3s;
}

input[type="submit"] {
  font-family: "Montserrat", sans-serif;
  width: 100%;
  height: 3rem;
  background-color: rgb(254,250,212);
  border: 1px solid rgb(0, 0, 0);
  transition: 0.3s;
}

input[type="submit"]:hover {
  background-color: rgb(0, 0, 0);
  color: rgb(254,250,212);
}

input[type="text"]:focus, input[type="email"]:focus {
  border-color: rgb(0, 0, 0);
}

textarea {
  width: 100%;
  background-color: rgb(254,250,212);
  border-left: hidden;
  border-right: hidden;
  border: 1px solid rgb(150, 150, 150);
  transition: 0.3s;
}

textarea:focus {
  border-color: rgb(0, 0, 0);
}

footer {
  background-color: #765D69;
  text-align: center;
  margin-top: 50px;
}

footer p {
  font-size: 0.5rem;
  color: #f7f7f7;
  margin: 0;
}

/* about page, excluding styles alr mentioned above */
.about-page-container-fluid-1 {
  background-image: linear-gradient(
          rgba(0, 0, 0, 0.5),
          rgba(0, 0, 0, 0.5)
        ), url(images/epichandshake.png);
  background-size: cover;
  background-position: center;
}

.page-container-1 {
  padding-top: 75px;
  padding-bottom: 75px;
  color: #f7f7f7;
  text-align: center;
  opacity: 0;
}

#unifamm-logo-about {
  padding-bottom: 75px;
}

#slogan {
  font-size: 5.4rem;
}

.about-page-container-1 p {
  font-size: 1.3rem;
}

.about-page-container-1 img {
  margin-bottom: 60px;
}

.about-page-row1 {
  padding-top: 100px;
  display: flex;
  justify-content: center;
  opacity: 0;
}

.about-page-row1 h1 {
  font-size: 500%;
  padding-left: 100px;
  padding-right: 100px;
}

u {
  text-decoration: none;
  border-bottom: 5px solid red;
}

.about-page-row2 {
  padding-top: 50px;
  display: flex;
  justify-content: center;
  text-align: center;
}

.supplierLogos {
  width: 70%;
  height: 100%;
  opacity: 0;
}

#supplierLogo3 {
  width: 100%;
}

@media only screen and (max-width: 992px) {

  .about-page-container-1 {
    text-align: left;
  }

  .about-page-row1 {
    justify-content: flex-start;
  }

  .about-page-row1 h1 {
    padding-left: 15px;
    font-size: 250%;
  }

  #slogan {
    font-size: 2.5rem !important;
    width: 300px;
    display: inline-block;
  }

  p {
    font-size: 16px !important;
  }

  #unifamm-logo-about {
    width: 40%;
  }

  .supplierLogos {
    display: flex;
    justify-content: space-between;
    width: 120% !important;
  }

  footer p {
    font-size: 0.5rem !important;
  }
}

/* consultations page */

.consultations-container-fluid {
  background-image: linear-gradient(
          rgba(0, 0, 0, 0.5),
          rgba(0, 0, 0, 0.5)
        ), url(images/4women.jpg);
  background-position: center;
  background-size: cover;
}
