@import url('https://fonts.googleapis.com/css?family=Caveat');

/*
Palette:
#c85538: cedar chest
#d8bd8a: gold crayola (lighter: #ebd4aa)
#7aab8b: shiny shamrock
#1b998b: persian green (darker: #15635a)
#474e86: Independence (lighter: #6d77bf)
#2d3047: space cadet
*/

body {
  color: #2d3047;
}


img {
  -webkit-filter: sepia(25%);
  filter: sepia(25%);
  border-radius: .3em;
}

h1, h2, h3 {
  color: #1b998b;
}

hr {
  width: 50%;
  height: 2px;
  background-color: #7aab8b;
  border-width: 0px;
}

/* Reduce interline spaces. */
p {
  margin: 0 0 0.6rem;
}
ol li, ul li {
  margin-top: 0rem;
}

.overlay-light-gradient .image-overlay {
  background: linear-gradient(130deg, #afe6d9, #fae7c0, #c0d4fa);
  background-size: 300% 300%;

  animation: gradientAnim 15s ease infinite;
  -webkit-animation: gradientAnim 15s ease infinite;
}
@keyframes gradientAnim {
  0% {background-position:0% 45%}
  50% {background-position:100% 56%}
  100% {background-position:0% 45%}
}
@-webkit-keyframes gradientAnim {
  0% {background-position:0% 45%}
  50% {background-position:100% 56%}
  100% {background-position:0% 45%}
}

.pastille {
  padding: 43px 20px 20px 20px;
}
.center {
  display: block;
  margin: 0 auto;
}

.round-img {
  display: block;
  margin: 0 auto;
  border-radius: 50% !important;
}

.shadowed {
  box-shadow: 5px 5px 10px #a0a0a091;
}

#pr-sentation + section {
  background-color: #f5ecd2 !important;
}

#footer {
  background-color: #f5ecd2;
}

/* Colors */
#header .dropmenu ul li a {
  color: #6d77bf;
}
a:hover,
.dropmenu ul li a.active,
.dropmenu ul li a:focus,
.dropmenu ul li a:hover {
  text-decoration: none;
  color: #474e86 !important;
}
a,
a:visited,
.treemenu li a {
  color: #6d77bf;
}
.treemenu li a.active,
.treemenu li a:focus,
.treemenu li a:hover {
  color: #474e86 !important;
}
.mobile-menu .button_container span {
  background: #6d77bf !important;
}
.modular-features.small .column:hover .feature-icon i,
.modular-features .column:hover .feature-icon h6 {
  color: #6d77bf;
}
.modular-features {
  background-color: white;
}

/* main logo */
.main-logo {
  max-width: 350px;
  width: 80%;
  padding-bottom: 30px;
  filter: none;
  pointer-events: none;
  user-select: none;

  animation-name: reveal;
  animation-duration: 4s;
  -webkit-animation-name: reveal;
  -webkit-animation-duration: 4s;
}

.parallax {
  overflow: hidden;
}

.tache {
  position: absolute;
  filter: opacity(50%);
  height: 120%;
  pointer-events: none;
  user-select: none;
}

.tache-tl {
  top: 0;
  left: 0;
  animation: rotation-tl 240s infinite linear;
}

@keyframes rotation-tl {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(359deg);
  }
}

.tache-tr {
  top: 0;
  right: 0;
  animation: rotation-tr 200s infinite linear;
  height: 70%;
}

@keyframes rotation-tr {
  from {
    transform: translate(50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(50%, -50%) rotate(359deg);
  }
}

.tache-bl {
  bottom: 0;
  left: 0;
  animation: rotation-bl 300s infinite linear;
  height: 140%;
}

@keyframes rotation-bl {
  from {
    transform: translate(-50%, 50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, 50%) rotate(359deg);
  }
}

.tache-br {
  bottom: 0;
  right: 0;
  animation: rotation-br 280s infinite linear;
}

@keyframes rotation-br {
  from {
    transform: translate(50%, 50%) rotate(0deg);
  }
  to {
    transform: translate(50%, 50%) rotate(359deg);
  }
}

@keyframes reveal {
  from {
  	opacity: 0;
    transform: rotate(3deg) scale(0.9);
  }
  to {
  	opacity: 1;
    transform: rotate(0) scale(1.0);
  }
}
@-webkit-keyframes reveal {
  from {
    -webkit-opacity: 0;
    -webkit-transform: rotate(5deg) scale(0.9);
  }
  to {
    -webkit-opacity: 1;
    -webkit-transform: rotate(0) scale(1.0);
  }
}
@keyframes reveal2 {
  from {
  	opacity: 0;
  }
  to {
  	opacity: 1;
  }
}
@-webkit-keyframes reveal2 {
  from {
    -webkit-opacity: 0;
  }
  to {
    -webkit-opacity: 1;
  }
}

/* Cards */
.card {
  border: 0px;
}
.card-title {
  font-family: 'Caveat', sans-serif;
  font-size: 1.6rem;
}
.card-body {
  font-size: 0.7rem;
}

/* Baby cards */
.owl-carousel .owl-stage {
  display: flex;
}

.owl-carousel .owl-item .item {
  height: 100%;
}

.baby {
  background-color: #f5ecd2;
  border-radius: 10px;
  height: 100%;
}

.baby:before {
  position: absolute;
  font-family: 'FontAwesome';
  top: -0.15em;
  right: 0.15em;
  z-index: 1;
  font-size: 250%;
  color: #43998a;
  -webkit-text-fill-color: #ffffffb0;
  -webkit-text-stroke-width: 1.5px;
  -webkit-text-stroke-color: black;
}

.girl:before {
  content: "\f221";
}

.boy:before {
  content: "\f222";
}

.baby-content {
  padding: 10px;
}

.baby-content h2 {
  font-family: 'Caveat', sans-serif;
}

.baby-content p {
  color: #777;
  text-align: right;
}

.baby img {
  width: initial !important;
  max-height: 250px;
  margin: 0 auto;
  border-radius: 10px;
}

.baby:hover .baby-content {
  transform: scale(1.03);
}

/* modal */
.m-modal {
  display: none;
  position: fixed;
  z-index: 200;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.8);
}

.m-modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 10px;
  width: 90%;
  top: 2.5vh;
  border-radius: 5px;
  text-align: center;
  position: relative;
}

.m-modal-image {
  -webkit-filter: none;
  filter: none;

  max-width: 100%;
  max-height: 90vh;
}

.m-close {
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  top: 0px;
  right: 10px;
}

.m-close:hover,
.m-close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
