/* Global styles */

body {
  background-color: #181d25;
  font-family: 'Calibri', sans-serif;
  color: #fff;
  padding: 0;
  margin: 0;
}

.center {
  text-align: center;
}

a {
  color: #fff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 1100px) {
  .container {
    max-width: 500px;
  }
}

@media (max-width: 550px) {
  .container {
    overflow: hidden;
  }
}

/* Header */

.header {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (max-width: 1100px) {
  .menu {
    width: 100%;
  }
}

.menu ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 1.7em 0;
}

.menu ul li a {
  display: block;
  font-size: 1.125em;
  margin: 0 2em;
  padding: 1em;
  color: #fff;
  text-transform: uppercase;
  text-decoration: none;
}

.menu ul li a:hover {
  text-decoration: underline;
}

@media (max-width: 1100px) {
  .menu ul {
    margin: 0.5em 0;
    align-items: center;
  }

  .menu ul {
    justify-content: space-between;
    padding: 0 1em;
  }

  .menu ul li {
    flex-basis: auto;
    flex-grow: 0;
    text-align: center;
  }

  .menu ul li a {
    padding-left: 0;
    padding-right: 0;
    margin: 0;
  }
}

/* Main banner */

.banner-wrapper {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  transition: all ease-in-out 1000ms;
}

.title-banner {
  display: flex;
}

@media (max-width: 1100px) {
  .title-banner .author {
    font-size: 1.5em;
    bottom: 1em;
    right: 0.7em;
  }
}

.title-banner img {
  width: 400px;
}

.title-banner .text-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
  background-image: url('images/header-bg.jpg');
  background-repeat: no-repeat;
  background-size: cover;
}

.title-banner .text-container .content {
  color: #fff;
  text-align: center;
  display: inline-block;
  position: relative;
  padding: 10px;
}

@media (max-width: 1100px) {
  .title-banner .text-container .content {
    font-size: 0.7em;
  }
}

@media (max-width: 425px) {
  .title-banner .text-container .content {
    font-size: 0.5em;
  }
}

.title-banner .title {
  font-family: 'Neoteric', sans-serif;
  font-size: 1em;
  font-weight: 400;
  text-transform: uppercase;
  margin: 0;
}

.title-banner .face-script {
  width: 17em;
  margin: 1.5em 0;
}

.title-banner .author {
  position: absolute;
  bottom: 0.4em;
  right: 0.5em;
  font-family: 'SF UI Display', sans-serif;
  font-size: 2.5em;
  font-weight: 300;
  margin: 0;
  letter-spacing: 0.05em;
}

/* Title banner responsive */
@media (max-width: 1100px) {
  .banner-wrapper {
    display: flex;
    max-height: 53vw;
    height: 265px;
  }

  .title-banner {
    width: 100%;
    position: static;
  }

  .title-banner .image-container {
    order: 2;
    width: 50%;
    flex-grow: 0;
    display: flex;
    justify-content: center;
  }

  .title-banner .text-container {
    width: 50%;
    flex-grow: 0;
  }

  .title-banner .image-container img {
    width: auto;
    height: 100%;
    z-index: -1;
    margin-left: 0.8em;
  }
}

/* Sections */
.section {
  margin: 155px 0;
  display: flex;
  background-color: #393c42;
}

.section .col-text {
  flex-grow: 1;
  color: #fff;
  padding: 2.56em 3.75em;
  position: relative;
}

@media (max-width: 1100px) {
  .section .col-text {
    padding: 2.56em 2em 4em;
  }
}

.section .col-text .title {
  text-transform: uppercase;
  font-weight: 400;
  text-align: center;
  margin: 0 0 2em;
}

/* Sections responsive*/
@media (max-width: 1100px) {
  .section {
    flex-direction: column;
    margin: 70px 0;
  }
  .section .col-image {
    order: 1;
  }
  .section .col-text {
    order: 2;
  }
}

/* Image grid */

.image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.image-grid img {
  width: 168px;
  transition: all ease-in-out 300ms;
  filter: grayscale(100%);
}

.image-grid img.hover {
  transform: scale(1.2);
  filter: none;
  transition: all ease-in-out 300ms 300ms;
}

.image-grid img.focus {
  z-index: 100;
}

@media (max-width: 1100px) {
  .image-grid img:nth-last-child(-n + 3) {
    display: none;
  }

  .image-grid img {
    width: 100%;
  }
}

/* Alt section */
.alt-section {
  margin: 7em 0;
}

.asymmetric-grid {
  display: grid;
  grid-template-columns: 7fr 3fr;
  row-gap: 6em;
}

.asymmetric-grid .title {
  font-size: 1.375em;
  margin-bottom: 0.7em;
}

.asymmetric-grid .left-element {
  margin-left: 8em;
}

@media (max-width: 1100px) {
  .asymmetric-grid {
    grid-template-columns: 1fr;
    padding: 0 2em;
  }
  .asymmetric-grid .left-element {
    margin-left: 0;
    order: -1;
  }
  .asymmetric-grid .mobile-right {
    margin-left: 35%;
  }
}

.team-block img {
  width: 151px;
}

/* Toogle button */

.toogle-content-wrap {
  position: absolute;
  display: flex;
  justify-content: center;
  margin: 2em 0 0;
  margin: 2em;
  left: 0;
  right: 0;
  bottom: 0;
}

.toogle-content {
  width: 25px;
  height: 25px;
  line-height: 1em;
  padding: 0;
  margin: 0;
  border: none;
  box-shadow: none;
  background-image: url(/images/chevron-down.svg);
  background-color: transparent;
  cursor: pointer;
  transform: scale(1, 1);
  outline: none;
}

.col-text.reverse .toogle-content {
  transform: scale(1, -1);
}

.col-text .front {
  display: block;
}
.col-text .back {
  display: none;
}

.col-text.reverse .front {
  display: none;
}
.col-text.reverse .back {
  display: block;
}

/* Triangle lists */
ul.triangle {
  list-style: none;
  margin: 0;
  padding: 0;
}

ul.triangle li {
  margin-bottom: 0.5em;
}

ul.triangle li:before {
  content: '\25B8';
  margin-right: 0.5em;
  font-size: 0.9em;
}
