:root {
  --primary-color: #4d4d4d;
  --secondary-color: #d1cece;
  --text-color: #18171c;
  --primary-font: "Nanum Pen Script", "serif";
  --gradient-I: #8b8b8b;
  --gradient-II: #464646;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--primary-font);
}

img {
  max-width: 100%;
}

.main-wrapper {
  background: var(--secondary-color);
}

.intro {
  background: radial-gradient(
    ellipse at 35%,
    var(--gradient-I) 5%,
    var(--gradient-II)
  );
  height: 100vh;
}

.container {
  padding: 2em 0;
  margin: 0 auto;
  position: relative;
}

.container--full {
  height: 100vh;
}

.nav-bar {
  font-size: 2rem;
  text-align: center;
  position: relative;
}

.hamburger {
  color: white;
  position: absolute;
  top: 8px;
  left: 20px;
  transition: transform 0.5s ease;
}

.hamburger--rotate {
  transform: rotate(90deg);
}

.logo {
  color: #fff;
  font-size: 3rem;
}

.nav {
  width: 100%;
  text-align: center;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease-in-out;
}

.nav--toggle {
  max-height: 200px;
}

.nav__item {
  margin-top: 0.5em;
}

.nav__list {
  list-style: none;
}

.nav__links {
  text-decoration: none;
  color: var(--text-color);
}

.nav__links:focus {
  color: #fff;
}

.iu-main-image {
  display: none;
}

.intro__content {
  padding: 4em 2em;
  margin-top: 12em;
}

.intro__text {
  color: #fff;
  font-size: 2rem;
  text-align: center;
}

.section__image--desktop {
  display: none;
}

.container--small {
  width: 90%;
  padding: 1.2em 1.8em;
}

.section__title {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 1.2em;
  border-bottom: 3px solid var(--text-color);
}

.profile-section,
.gallery-section {
  margin-top: 1.5em;
}

.section__content {
  margin-top: 1.5em;
}

.section__text {
  font-size: 2rem;
}

.gallery {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 2em;
}

.gallery__image {
  margin-bottom: 1.5em;
}

.section__image {
  display: none;
}

.section__text--secondary {
  margin-top: 2em;
}

.section__text--push {
  margin-top: 0.65em;
}

.about-section {
  margin-bottom: 2em;
}

.end {
  background: var(--primary-color);
}

.end__text {
  color: #fff;
  font-size: 1.5rem;
  text-align: center;
}

.end__link {
  color: #fff;
  text-decoration: none;
}

.end__link:hover,
.end__link:focus {
  opacity: 0.5;
}

@media (min-width: 1080px) {
  .container {
    width: 90%;
    max-width: 1500px;
  }

  .container--full {
    overflow: hidden;
  }

  .iu-main-image {
    width: 90%;
    height: 100vh;
    display: block;
    padding: 0;
    margin: 0;
    position: absolute;
    top: 0;
    left: -20%;
  }

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

  .nav {
    width: 30%;
    max-height: 200px;

    align-self: center;
  }

  .nav__item {
    margin: 0;
  }

  .nav__links {
    color: #fff;
  }

  .nav__links:hover,
  .nav__links:focus {
    color: var(--text-color);
  }

  .hamburger {
    display: none;
  }

  .iu-main-image img {
    width: 100%;
    height: 100%;
  }

  .intro__content {
    width: 30%;
    padding: 0;
    margin: 0;
  }

  .intro__text {
    font-size: 3rem;
    position: absolute;
    right: 5%;
    top: 45%;
  }

  .section__image {
    display: flex;
    width: 40%;
  }

  .section__image--desktop {
    display: block;
  }

  .section__image--mobile {
    display: none;
  }

  .section__title {
    width: 20%;
    margin: auto;
  }

  .section__title {
    font-size: 2rem;
    margin-bottom: 1.2em;
    border-bottom: 3px solid var(--text-color);
  }

  .section__text {
    font-size: 2.5rem;
  }

  .section__text--small {
    width: 90%;
    padding: 1em 1.5em;
    margin-top: 1.5em;
  }

  .gallery {
    display: grid;
    grid-template-columns: auto auto auto;
  }

  .gallery__image {
    margin: 0;
    padding: 1em;
  }

  .end__text {
    font-size: 2rem;
  }
}
