* {
  box-sizing: border-box;
}

*,
*:before *:after {
  box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

h3 {
  font-size: 28px;
}

body {
  margin: 0;
  font-family: "Source Code Pro", monotype;
  background-color: #ffffff;
}

a {
  color: black;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.header-inner {
  width: 100%;
  position: absolute;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 120px;
  background-color: #ffffff;
  opacity: 0.95;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 50px;
}

.line {
  position: absolute;
  height: 1px;
  background: rgb(207, 207, 207);
  margin-bottom: 20px;
}

/* Intro img */

.intro-img {
  width: 100%;
  height: 100vh;
  background: url("../img/main-img.jpg") center no-repeat;
  background-size: cover;
  text-align: center;
}

/* Nav */

.nav-link {
  display: inline-block;
  vertical-align: top;
  position: relative;
  margin-left: 50px;
  font-size: 14px;
  color: #1b1b1b;
  text-decoration: none;
  transition: color 0.2s linear;
}

.nav-link::after {
  content: "";
  display: block;
  width: 100%;
  height: 3px;

  background-color: #2eb8cf;
  opacity: 0;
  transition: opacity 0.2s linear;

  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 100;
}

.nav-link:hover::after {
  display: block;
  opacity: 100;
}

/* Nav Toggle */

.nav-toggle {
  display: none;
  width: 30px;

  padding: 15px 0;
  font-size: 0;
  color: transparent;

  border: 0;
  background-color: white;

  position: absolute;
  top: 44px;
  right: 35px;
  z-index: 1000;
}

.nav-toggle.active .nav-toggle-item {
  background: none;
}

.nav-toggle.active .nav-toggle-item::before {
  transform-origin: top left;
  transform: rotate(45deg) translateX(-2px);
}

.nav-toggle.active .nav-toggle-item::after {
  transform-origin: left bottom;
  transform: rotate(-45deg) translateX(-3px);
}

.nav-toggle-item::before,
.nav-toggle-item::after {
  content: "";
  width: 100%;
  height: 3px;

  position: absolute;

  background-color: #1b1b1b;
  left: 0;
  z-index: 1;
  transition: transform 0.2s linear;
}

.nav-toggle-item::before {
  top: -7.5px;
}

.nav-toggle-item::after {
  bottom: -9px;
}

.nav-toggle-item {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #1b1b1b;

  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
}

/* Intro img */

.intro-img {
  z-index: 1;
}

/* Gallery */

.content-gallery p {
  font-size: 20px;
  font-weight: 200;
  text-align: justify;
  line-height: 1.6;
}

.gallery {
  margin: 20px 0;
}

/* Exibitions */

.titles {
  font-size: 28px;
  text-align: center;
  margin: 30px 0;
}

.content-ex {
  display: flex;
  justify-content: space-between;
}

.content-ex h2 {
  font-size: 26px;
}

.ex-text {
  font-size: 20px;
  font-weight: 200;

  line-height: 1.6;
  text-align: justify;
}

.ex-img {
  float: right;
  margin-left: 50px;
  margin-bottom: 20px;
}

/* About Us */

.about-us-text {
  font-size: 18px;
  font-weight: 200;

  line-height: 1.6;
  text-align: justify;
}

.about-us-img {
  width: 40%;
  height: auto;
  float: right;
  margin-left: 50px;
  margin-bottom: 20px;
}

/* Slider */

.slider {
  padding-bottom: 30px;
}

.swiper {
  max-width: 1200px;
  height: auto;
  text-align: center;
}

.image-slider__image img {
  height: 600px;
}

.image-slider__image p {
  margin-bottom: 40px;
}

.image-slider .swiper-button-next {
  top: 45%;
  color: #1b1b1b;
}

.image-slider .swiper-button-prev {
  top: 45%;
  color: #1b1b1b;
}

.image-slider .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: #1b1b1b;
}

/* Footer */

.footer {
  display: flex;
  justify-content: space-between;

  width: 100%;
  height: 150px;
  background-color: #292929;
  font-size: 14px;
  color: #ffffff;

  margin-top: 20px;
  padding: 30px 30px;
}

/* Mobile Devices */

@media only screen and (max-width: 820px) {
  /* Header */

  .header-inner {
    font-size: 14px;
    line-height: 1.8;
    padding: 0 20px;
  }

  /* Nav */

  .nav {
    display: none;
    width: 100%;
    position: absolute;
    top: 100px;
    left: 0;
    background-color: white;
  }

  .nav.active {
    display: block;
    text-align: center;
  }

  .nav-link {
    display: inline-block;
    margin-left: 0;
    padding: 20px 0;
    padding-right: 15px;
  }

  .nav-toggle {
    display: block;
  }

  .lang {
    padding-top: 0px;
    padding-right: 100px;
  }

  /* Content */

  .content-gallery {
    padding: 0px 30px;
  }

  .content-ex {
    padding: 0 30px;
  }

  .content-ex img {
    width: 100%;
    padding-top: 15px;
  }

  /* Slider */

  .slider img {
    width: 100%;
    height: auto;
    margin: 0 auto;
  }
}
