/* ########## Tags redefinition ########## */

html {
  scroll-behavior: smooth;
}

body {
  font-family: sans-serif;
  -webkit-font-smoothing: antialiased;
  font-smooth: always;
  font-smooth: 2em;
}

/* ########## Generic modifiers ########## */

a:link, a p {
  color: black;
}

a:hover, a:hover p, .navbar a:hover {
  color: hsl(190 50% 25%);
}

/* Spacing */

.pad1 {
  padding: 1em;
}

.padtop1 {
  padding-top: 1em;
}

.padtop2 {
  padding-top: 2em;
}

.padtop3 {
  padding-top: 3em;
}

/* ########## Specific modifiers ########## */

/* Navbar */

.navbar-brand {
  color: hsl(190 50% 25%);
}

.navbar a {
  font-weight: 400;
  text-transform: uppercase;
}

/* Card */

.card-back {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
  background-color: hsl(190 50% 30%);
}

.card-back .title {
  color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
}

.card-front:hover .card-back {
  opacity: 1;
}

/* Icon */

.icon {
  color: hsl(190 50% 25%);
}

/* Landing page image */

.landing-img-in {
  /* Photo Copyright Julia Robbs 2017 */
  /* documentary.org/feature/face-crowd-kickstarters-liz-cook-charts-sustainable-path-documentary-crowdfunding */
  background: url('../img/meeting_200-60_cyan-blue-grey.webp') center top;
  background-size: cover;
  background-color: hsl(190 50% 40%);
}

.landing-img {
  background: url('../img/meeting-outdoor-magenta.webp') center top;
  background-size: cover;
  background-color: hsl(190 50% 40%);
}

.business-img {
  background: url('../img/desk-keyboard.webp') center top;
  background-size: cover;
  background-color: hsl(190 10% 95%);
}

.desk2-img {
  background: url('../img/desk2.jpg') center top;
  background-size: cover;
  background-color: hsl(190 10% 95%);
}

.parallax-img {
  background-attachment: fixed;
  background-repeat: no-repeat;
}

.hero .hero-body h1 {
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-body .button {
  background-color: Transparent;
  border-color: white;
  border: 1px solid;
  font-weight: 400;
  font-size: 20px;
  border-radius: 0;
  letter-spacing: 1px;
  padding: 14px 35px;
  text-transform: uppercase;
  transition: 1s;
}

.hero-body .button:hover {
  border: 1px solid;
  background-color: hsl(190 50% 25%);
}

.card {
  height: 100%;
}

.background-dark {
  background-color: hsl(190 50% 40%);
}

.background-light {
  background-color: hsl(190 20% 90%);
}

/* Display more details on hover */

.display-on-parent-hover {
  /* display: none; */
  /* visibility: collapse; */
  opacity: 0;
  transition: .5s ease;

}

.display-embedded-content-on-hover:hover .display-on-parent-hover  {
  /* display: inline; */
  /* visibility: visible; */
  opacity: 1;
  transition: .5s ease;
}

/* Contact section - Bullet points */

ul {
  list-style-type: circle;
}

/* Contact section - Validation of the form inputs */

input:invalid {
  box-shadow: 0 0 5px 1px #f99;
}

input:focus:invalid {
  box-shadow: none;
}

/* Contact section - Show more options */

/* Hide the toggle checkbox */

#toggle-checkbox {
  display: none;
}

/* Hide hidden-option content by default */

.hidden-option {
  visibility: collapse;
}

span.hidden-option {
  display: none;
}

/* Hide hidden-option content by default */

span.hidden-option {
  visibility: collapse;
}

/* Show hidden content when the checkbox is checked */

#toggle-checkbox:checked~* .show-option {
  display: none;
}

#toggle-checkbox:checked~* .hidden-option {
  visibility: visible;
}

#toggle-checkbox:checked~* span.hidden-option {
  display: inline;
}

/* Footer */

.footer .icon {
  color: #333;
}
