/* UTILITIES */

.flex {
  display: flex;
}

.flex-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

a {
  text-decoration: none;
  color: inherit;
}

.show {
  display: inherit;
}

.float-left {
  float: left;
  margin-left: 50px;
  margin-right: 15px;
}

.float-right {
  float: right;
  margin-right: 50px;
  margin-left: 15px;
}

/* MAIN STYLE */
.logo {
  width: 600px;
}

.logo img {
  width: 100%;
}

.panel {
  width: 1200px;
  margin: 0 auto;
  padding: 20px;
  background-color: #018ba7;
  color: white;
  font-family: 'Hepta Slab', serif;
}

.panel h1 {
  font-family: 'Parisienne', cursive;
  font-size: 60px;
  width: 100%;
  text-align: center;
}

.panel p {
  width: 100%;
  font-size: 20px;
  line-height: 28px;
  padding: 0 50px;
}

.text-link {
  font-weight: bold;
  color: #a7e2f0;
  letter-spacing: .5px;
}

.text-link:hover {
  text-decoration: underline;
}

/* NAVIGATION BAR */
.navigation {
  width: 1200px;
  height: 50px;
  margin: 0 auto 1px;
  font-family: 'Arvo', serif;
  font-size: 20px;
  text-transform: capitalize;
  text-align: center;
  letter-spacing: 1px;
}

.nav-link {
  height: 100%;
  flex-grow: 1;
  color: white;
  background-color: #018ba7;
  border: solid white;
  border-width: 0 1px 0 0;
  transition: .5s;
}

.navigation a.nav-link:first-child {
  border-left: 1px solid #018ba7;
}

.navigation a.nav-link:last-child {
  border-right: 1px solid #018ba7;
}

.nav-link:hover {
  background-color: #a7e2f0;
  color: #018ba7;
}

.navigation a.nav-link:last-child:hover {
  border-right: 1px solid #a7e2f0;
}

.navigation a.nav-link:first-child:hover {
  border-left: 1px solid #a7e2f0;
}

/* NAVIGATION DROPDOWNS */
.nav-dropdowns {
  position: relative;
  height: inherit;
  margin: 0 auto;
  z-index: 1;
}

.dropdown {
  position: absolute;
  top: -1px;
  border: 1px solid white;
  display: none;
}

.story-dropdown {
  left: 172px;
  width: 209px;
}

.recognitions-dropdown {
  left: 380px;
  width: 256px;
}

.clickable:hover {
  cursor: pointer;
}

.nav-arrow {
  font-size: 14px;
}

.nested-dropdown {
  position: inherit;
  border: 0;
  background: white;
}

  .nested-dropdown li.nav-link {
    text-align: right;
  }

  .nested-dropdown a:first-child li.nav-link {
    border-top: 1px solid white;
  }

  .awards-dropdown a:first-child li.nav-link {
    border-top: 0;
  }

  .awards-dropdown a:last-child li.nav-link {
    border-bottom: 3px double white;
  }

.media-dropdown {
  left: 635px;
  width: 180px;
}

.gallery-dropdown {
  width: 192px;
  right: 194px;
}

li.nav-link {
  text-align: left;
  padding: 8px 5px;
  font-family: 'Hepta Slab', serif;
  font-size: 16px;
  background-color: #018ba7;
  color: white;
  border-width: 0 0 1px 0;
}

ul a:last-of-type li {
  border-bottom: 0;
}

/* HOME PAGE */
.external {
  width: 100%;
  justify-content: space-around;
  height: 200px;
}

.external a {
  width: 40%;
  display: inline-grid;
}

#sale {
  padding-bottom: 5vh;
}

#h1sale {
  font-size: 40px;
}

#psale {
  font-size: 18px;
}

.half-panel {
  margin-top: 10px;
  padding: 20px 40px;
  font-family: 'Hepta Slab', serif;
  border-radius: 5px;
  border: 1px solid transparent;
  position: relative;
}

.half-panel img, .half-panel div {
  transition: .5s;
  position: absolute;
}

.left {
  left: 10px;
}

.right {
  right: 10px;
}

.half-panel div p {
  width: 230px;
  padding: 0 10px;
  text-align: center;
  font-size: 14px;
  transition: .5s;
}

.half-panel h1 {
  font-family: 'Parisienne', cursive;
  font-size: 36px;
  margin-bottom: 10px;
  color: #a7e2f0;
  transition: .5s;
}

.half-panel img {
  width: 165px;
  border: 5px solid white;
  border-radius: 100%;
  box-shadow: 3px 3px 8px #555;
}

.half-panel:hover h1 {
  font-size: 40px;
}

.half-panel:hover p {
  color: #a7e2f0;
  font-size: 15px;
}

.half-panel:hover img {
  border-color: #a7e2f0;
  width: 175px;
}

.welcome {
  justify-content: space-between;
}

.chloe-pic img {
  width: 550px;
  border-radius: 50px;
  border: 10px solid white;
}

.welcome-text {
  justify-content: space-around;
}

/* STORY PAGE */
.story {
  font-size: 18px;
  line-height: 26px;
}

.story div.chapter {
  border-bottom: 1px solid white;
  padding: 75px;
}

#my-story {
  padding-top: 55px;
}

.story h1 {
  font-family: 'Parisienne', cursive;
  text-transform: capitalize;
  font-size: 60px;
  line-height: 65px;
  text-align: center;
  padding-bottom: 20px;
}

.story p {
  text-indent: 30px;
  margin: 10px 0;
}

div.image {
  width: 300px;
  border: 0;
  box-shadow: 5px 3px 10px #474747;
  border: 10px solid white;
  border-radius: 3px;
}

.image img {
  width: 100%;
}

.image p {
  margin: 0;
  font-size: 14px;
  padding: 10px;
  line-height: 16px;
  color: black;
  background: white;
  height: 52px;
  text-indent: 0;
  text-align: center;
}

.to-top {
  font-family: 'Arvo', serif;
  text-align: center;
  padding-top: 20px;
}

.to-top:hover {
  letter-spacing: 1px;
}

/* MEDIA PAGE */
.media {
  width: 75%;
  text-align: center;
  margin: 0 auto;
  border-bottom: 1px solid white;
  padding: 20px 0;
}

.media h1 {
  margin: 20px 0;
}

.media h2 {
  font-size: 28px;
  margin-bottom: 15px;
  font-style: italic;
}

.media p {
  text-align: left;
  text-indent: 35px;
  font-size: 16px;
  line-height: 22px;
}

/* DROPDOWN TRIGGERS */
.trigger {
  width: 50%;
  padding: 10px 20px;
  position: relative;
  background: #018ba7;
}

.title.trigger {
  width: 100%;
}

.trigger img {
  width: 200px;
  border: 5px solid white;
  border-radius: 100%;
  margin: 5px 0;
  box-shadow: 3px 3px 8px #555;
}

.trigger h2 {
  font-style: normal;
}

.arrow {
  position: absolute;
  right: 20px;
  bottom: 54px;
  font-size: 28px;
  line-height: 28px;
}

.title.trigger .arrow {
  position: inherit;
}

.trigger:hover {
  background: #a7e2f0;
  color: #018ba7;
  cursor: pointer;
}

/* HOVER CLASS FOR JS */
  .hover {
    background: #a7e2f0;
    color: #018ba7;
  }

/* DROPDOWN SECTIONS */
.dropdown-section {
  padding: 20px 0;
  display: none;
  background: #a7e2f0;
  color: #018ba7;
  width: 100%;
}

.dropdown-section a {
  text-decoration: underline;
}

/* MEDIA PACKET */
#packet p {
  font-size: 20px;
  text-align: center;
  line-height: 28px;
}

/* BIOGRAPHY */
.bio {
  background: #a7e2f0;
  color: #018ba7;
  padding: 20px 0;
  display: none;
}

/* PRESS RELEASES AND ARTICLES */
div[name="press"] ul, div[name="articles"] ul {
  max-width: 70%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

div[name="press"] a, div[name="articles"] a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5% 0;
  width: 100%;
  text-decoration: none;
}

div[name="press"] a:hover, div[name="articles"] a:hover {
  background-color: rgba(255, 255, 255, 0.5);
}

.thumbnail {
  width: 15%;
  padding-top: 15%;
  border: 1px solid white;
  border-radius: 100%;
  background-position: center top;
  background-origin: border-box;
  background-size: 100%;
  align-self: flex-start;
  box-shadow: 2px 2px 7px #555;
}

.media-text {
  width: 35%;
}

.media-text h1, .media-text p {
  text-align: left;
  text-indent: 0px;
  padding: 0 0 0 20px;
  width: 100%;
}

.media-text h1 {
  font-family: 'Arvo', serif;
  font-size: 4vh;
  margin: 0 0 1%;
}

.media-text p {
  font-size: 2.5vh;
}

.download {
  font-size: 2vh;
  padding-top: 2vh;
  line-height: 2vh;
  font-weight: bold;
}

.download a {
  font-weight: normal;
}

/* PARENT VIEW */
#parent h1 {
  margin-bottom: 5px;
}

.parents {
  margin-top: 40px;
  justify-content: space-between;
}

#parent .trigger h1 {
  font-family: "Arvo", serif;
  font-size: 35px;
  margin: 0 0 10px;
  line-height: 40px;
}

#parent .trigger h2 {
  font-family: "Parisienne", cursive;
  font-size: 30px;
  margin-bottom: 0;
}

#parent .dropdown-section ul {
  padding: 0 50px;
  text-align: left;
  text-indent: 50px;
  list-style: circle;
  line-height: 22px;
  margin-bottom: 5px;
}

.deb p {
  text-indent: 0;
  font-size: 18px;
  line-height: 26px;
}

/* GALLERY PAGE */
.gallery-title {
  margin: 20px 0;
}

.carousel {
  width: 90%;
}

.carousel-slide {
  margin: 0 auto;
}

.carousel-slide img {
  max-width: 100%;
  max-height: 90vh;
  margin: 0 auto;
  border: 10px solid white;
  border-radius: 5px;
  box-shadow: 5px 5px 12px #555;
}

.text {
  margin: 10px auto;
  height: min-content;
  text-align: center;
  padding: 10px;
}

.text h1 {
  font-size: 30px;
}

.text p {
  font-size: 16px;
}

/* CONTACT PAGE */
.contacts {
  margin: 20px auto;
}

.contacts h1 {
  font-size: 70px;
}

.contact {
  width: 500px;
  padding: 20px 0;
  margin: 0 auto;
}

.contact h1 {
  font-size: 36px;
  text-align: left;
  margin-bottom: 10px;
}

.contact p, .contact ul {
  font-size: 18px;
  text-align: center;
  padding: 0 0 20px;
  border-bottom: 1px solid white;
}

.contact li {
  padding: 0 0 5px;
}

.contact li {
  line-height: 24px;
}

.contact a {
  color: #a7e2f0;
  font-weight: bold;
}

.contact a:hover {
  color: white;
}

.icon {
  font-size: 30px;
}

/*  BARBIE SALE PAGE */
.sales-flyer {
  width: 100%;
  padding: 2vw;
}

.sales-flyer img {
  width: 100%;
}

video {
  height: 60vh;
  width: auto;
}

.download-button {
  font-family: 'Arvo', serif;
  font-size: 20px;
  color: white;
  background-color: #018ba7;
  border: 1px solid white;
  padding: 2vh;
  transition: .5s;
}

.download-button:hover {
  background: white;
  color: #018ba7;
}

/* HIDE ELEMENTS FOR MOBILE */
.mobile {
  display: none;
}

/* MOBILE */
@media only screen and (max-width: 600px) {
  /* MAIN STYLE */
  .mobile {
    display: inherit;
  }

  .logo {
    width: 100%;
  }

  .panel {
    width: 100%;
    padding: 10px 5px;
  }

  .panel div, .story div.chapter, .panel p, #packet p, #bio p, #parent p {
    padding: 2px;
    font-size: 16px;
    line-height: 24px;
  }

  .panel h1 {
    font-size: 40px;
    line-height: 48px;
  }

  .panel h2 {
    font-size: 20px;
  }

  .panel p {
    font-size: 16px;
    line-height: 24px;
  }

  /* NAVIGATION */
  .navigation {
    flex-direction: column;
    width: 100%;
    height: auto;
  }

  .navigation .nav-link {
    width: 100%;
    padding: 10px;
  }

  .nav-dropdowns {
    display: none;
  }

  .dropdown {
    width: 100%;
    left: 0;
    position: inherit;
    border-width: 1px 0 1px;
    display: none;
  }

  .navigation .nav-link {
    border-width: 0;
    height: auto;
    width: 100%;
    text-align: center;
  }

  a[name="myStory"], a[name="recognitions"], a[name="media"], a[name="gallery"] {
    display: none;
  }

  /* HOME PAGE */
  .welcome {
    flex-direction: column;
  }

  .chloe-pic {
    width: 50%;
    margin: 0 auto;
  }

  .chloe-pic img {
    border-radius: 100%;
    width: 100%;
    border: 3px solid white;
  }

  .welcome-text h1 {
    padding-bottom: 8px;
  }

  .external {
    width: 100%;
    height: max-content;
    flex-direction: column;
  }

  .external a {
    display: flex;
    width: 100%;
    justify-content: space-between;
  }

  .half-panel {
    flex-direction: row;
    width: 100%;
  }

  .half-panel img, .half-panel div {
    position: inherit;
    left: 0;
    right: 0;
  }

  /* STORY PAGE */
  .panel div.image {
    padding: 0;
    float: none;
    margin: 0 auto;
  }

  p.caption {
    font-size: 14px;
    line-height: 20px;
  }

  div.to-top {
    padding: 5px 2px;
  }

  /* MEDIA PAGE */
  .media {
    width: 95%;
  }

  div.thumbnail {
    padding-top: 15%;
  }

  .media-text {
    width: 65%;
  }

  .media-text h1 {
    font-size: 3vh;
    line-height: normal;
  }

  .media-text p {
    padding-left: 20px;
  }

  div.parents, div.views {
    padding-bottom: 0;
    padding-top: 0;
  }

  #parent .trigger h1 {
    font-size: 24px;
    line-height: 29px;
  }

  #parent .trigger h2 {
    font-size: 24px;
    margin-bottom: 5px;
  }

  #parent .trigger img {
    width: 100%;
  }

  .arrow {
    position: inherit;
    right: 0;
    bottom: 0;
  }

  /* CONTACT PAGE */
  .contacts {
    width: 90%;
  }
  .contact {
    width: 100%;
  }

  .icon {
    font-size: 24px;
  }

  .contact h1 {
    font-size: 32px;
    line-height: 40px;
  }

  .contact ul li {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

}
