* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-family: "Lato", sans-serif;
  text-decoration: none;
}

html {
  font-size: 16px;
}

body {
  background-color: #fff;
  overflow-x: hidden;
  color: #000;
}

/* HEADER SECTION */

.header {
  background-color: #2098d1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  height: 90vh;
}

/* NAVIGATION SECTION */
.nav__logo {
  color: #fff;
}

.nav__icon {
  background-image: url("../images/logo.png");
  width: 50px;
  height: 50px;
  position: relative;
  top: -14px;
}

.nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: space-between;
  -ms-flex-pack: space-between;
  justify-content: space-between;
  width: 70vw;
  height: 10vh;
  padding-top: 1rem;
}

.nav__list {
  list-style-type: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 30px;
}

.button {
  width: 50px;
  height: 50px;
  color: #fff;
  z-index: 10;
  border: none;
  background-color: transparent;
  display: none;
}

.button--open {
  font-size: 2rem;
  display: none;
}

.button--close {
  cursor: pointer;
  font-size: 2.5rem;
}

.nav__item {
  padding-left: 1.2rem;
  padding-right: 1.3rem;
  display: inline-block;
  color: #fff;
  cursor: pointer;
}

.nav__item:hover {
  text-decoration: underline;
}

.header__text {
  color: #fff;
  padding-top: 25vh;
}

.header__title {
  font-size: 2rem;
}

.header__description {
  font-size: 1.2rem;
  width: inherit;
}

.focus {
  font-size: 2rem;
}
/* ABOUT SECTION */

.about {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.about__title,
.work__title,
.contact__title {
  text-align: center;
  margin: 2.5rem 0 0 0;
}

.about__text {
  font-size: 1.2rem;
  line-height: 150%;
  padding: 0.5rem 2rem 0 2rem;
  -ms-flex-preferred-size: auto;
  flex-basis: auto;
  word-spacing: 0.1rem;
}

/* WORK SECTION */

.projects {
  padding: 0 20px;
}

.project {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: space-evenly;
  -ms-flex-pack: space-evenly;
  justify-content: space-evenly;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  width: 100%;
  margin: 20px 0;
}

.project::after {
  content: "";
  width: 85%;
  border: 1px solid #e0d7d7;
  margin: 20px 0 0 0;
}

.project__gif {
  width: 550px;
  -webkit-box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2),
    0 6px 20px 0 rgba(0, 0, 0, 0.19);
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.project__information {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: space-evenly;
  -ms-flex-pack: space-evenly;
  justify-content: space-evenly;
  width: 450px;
}

.project__title {
  text-align: center;
  font-size: 1.5rem;
}

.project__description {
  font-size: 1.2rem;
}

.feature-list {
  display: inline-block;
  width: 100%;
  -ms-flex-item-align: center;
  -ms-grid-row-align: center;
  align-self: center;
  margin: 10px 0;
}

.feature-list__item {
  font-size: 1.1rem;
}

.project__links {
  -ms-flex-item-align: center;
  -ms-grid-row-align: center;
  align-self: center;
  margin: 20px 0 0 0;
}

.link {
  margin: 0 10px;
  color: #3391ff;
  border: 1px solid #3391ff;
  border-radius: 10px;
  padding: 5px 10px;
}

.link:hover {
  background-color: #3391ff;
  color: #fff;
}

/* CONTACT SECTION */

.icons {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding-top: 0.5rem;
}

.icons__item {
  font-size: 4rem;
  margin-right: 2rem;
}

.icons__item:link,
.icons__item:visited {
  color: inherit;
  text-decoration: none;
}

.icons__item:hover {
  color: #2098d1;
}

/* FOOTER SECTION */

.footer {
  background-color: #2098d1;
  color: #fff;
  text-align: center;
  padding: 0.5rem 0;
}

@media screen and (max-width: 955px) {
  .nav {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    width: 90vw;
  }

  .nav__logo {
    -ms-flex-item-align: center;
    -ms-grid-row-align: center;
    align-self: center;
    font-size: 25px;
    margin-top: 2.2rem;
  }

  .nav__list {
    display: none;
    position: absolute;
    top: 0;
    -webkit-transform: translateX(100vw);
    -ms-transform: translateX(100vw);
    transform: translateX(100vw);
  }

  .button {
    display: block;
  }

  .button--open {
    display: block;
    cursor: pointer;
  }

  .nav__list--mobile {
    display: block;
    -webkit-transform: translateX(-5vw);
    -ms-transform: translateX(-5vw);
    transform: translateX(-5vw);
    background-color: #2098d1;
    width: 100vw;
    height: 100vh;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-size: 2rem;
    line-height: 2.2;
    -webkit-transition: transform 0.4s;
    -o-transition: transform 0.4s;
    -webkit-transition: -webkit-transform 0.4s ease-in-out;
    transition: -webkit-transform 0.4s ease-in-out;
    -o-transition: transform 0.4s ease-in-out;
    transition: transform 0.4s ease-in-out;
    transition: transform 0.4s ease-in-out, -webkit-transform 0.4s ease-in-out;
  }
}

@media screen and (max-width: 560px) {
  .project__gif,
  .project__information {
    width: 100%;
  }
}
