:root {
  --ams-olive: #778748;
  --ams-blue: #4d4c88;
  --ams-brown: #8a523f;
}

.text-olive {
  color: var(--ams-olive);
}

.text-blue {
  color: var(--ams-blue);
}

.text-pink {
  color: var(--ams-brown);
}

.text-brown {
  color: var(--ams-brown);
}

/*  */
body {
  background-color: #fbf7ee;
  font-family: Cardo, Georgia, Times, serif;
  word-wrap: break-word;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 1rem;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, Times, serif;
}

h1 {
  font-size: 4rem;
  margin: 0 0 1rem;
}

h2 {
  font-size: 3rem;
}

h3 {
  font-size: 2rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

/*  */
.container-fluid {
  padding-left: 0;
  padding-right: 0;
}

article {
  color: white;
}

article section {
  margin: 0 0 2rem;
}

article img {
  max-width: 100%;
}

@media screen and (max-width: 989px) {
  #logo {
    position: relative;
    left: calc(50% - 3.5rem);
  }
}

#mobile-menu {
  width: 1.5rem;
  height: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

#mobile-menu span {
  width: 100%;
  height: 3px;
  background-color: var(--ams-brown);
  border-radius: 1px;
}

#header-wrapper {
  position: sticky;
  top: 0;
  z-index: 10;
  background-color: #fbf7ee;
}

#top-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.25rem 1rem;
  opacity: 0.95;
}

#top-header figure {
  display: flex;
  flex-flow: row;
  justify-content: flex-start;
  margin: 0;
}

@media screen and (max-width: 989px) {
  #top-header nav {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 5.25rem;
    left: 0;
    width: 100%;
    padding: 1rem;
    z-index: 12;
    background-color: #fbf7ee;
  }

  #top-header nav a.nav {
    padding: 1rem 1.5rem;
  }
}

#top-header nav {
  text-align: right;
  display: flex;
}

#top-header nav a {
  text-transform: uppercase;
  font-size: 0.9rem;
  color: #2f3c4d;
  position: relative;
}

@media screen and (min-width: 990px) {
  #top-header nav a.nav {
    margin: 0 0 0 1.5rem;
  }

  #top-header nav a.nav:nth-child(4) {
    margin-right: 2rem;
  }

  #top-header nav a:not(.nav) {
    margin: 0 0 0 0.5rem;
  }

  #top-header nav a:nth-child(4):after {
    position: relative;
    left: 1.5rem;
    content: "|";
    color: #e0e0e0;
  }
}

#top-header nav a.active,
#top-header nav a:hover {
  color: var(--ams-brown);
  text-decoration: none;
}

#top-header .logo {
  width: 7rem;
}

#lead-header {
  min-height: 30rem;
  background-image: url(./assets/images/nature-exploration-play.jpg);
  background-position: center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  padding: 3rem 0 0;
}

h1,
#lead-header h4 {
  max-width: 50rem;
  color: white;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.5);
}

#cursurile-noastre,
#our-courses,
#despre-noi,
#about-us,
#contact {
  padding: 4rem 0;
}

#our-courses,
#cursurile-noastre {
  background-color: var(--ams-olive);
}

#our-courses .container > .row,
#cursurile-noastre .container > .row {
  align-items: center;
}

#about-us,
#despre-noi {
  background-color: var(--ams-blue);
}

#about-us img,
#despre-noi img {
  width: 100%;
  height: auto;
}

@media screen and (min-width: 990px) {
  #about-us img,
  #despre-noi img {
    width: auto;
    height: 75vh;
  }
}

#contact {
  background-color: var(--ams-brown);
}

iframe {
  pointer-events: none;
  width: 100%;
  height: 30vh;
  margin-top: 0px;
  margin-bottom: 0px;
}

footer {
  padding: 4rem 0;
  text-align: center;
  color: var(--ams-blue);
}
