* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

nav {
  margin-right: 60px;
  margin-top: 27px;
}

ul a {
  text-decoration: none;
  list-style: none;
  font-size: 20px;
  color: #000000;
  line-height: 29.38px;
}

.side-nav {
  height: 70%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  right: 0;
  background-color: #21243d;
  opacity: 0.9;
  overflow-x: hidden;
  padding-top: 4rem;
  transition: 0.5s;
}

.side-nav a:hover {
  background-color: #21243d;
}

.hero-right img {
  border-radius: 100px;
  width: 100%;
}

.article-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.article-nav a {
  text-decoration: none;
}

.article h4 {
  font-size: 18px;
  color: #21243d;
  font-weight: 400;
  line-height: 26.44px;
  margin-bottom: 11px;
  width: 100%;
}

.work-link {
  text-decoration: none;
}
.heading h2 {
  color: #21243d;
  font-size: 22px;
  line-height: 60px;
}

.inner-content h4 {
  color: #8695a4;
  font-size: 20px;
}

.inner-content h4 span {
  background-color: #142850;
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 18px;
  line-height: 60px;
  color: #fff;
  font-weight: 900;
  margin-right: 28px;
}

footer {
  padding: 1rem;
}

.footer {
  display: flex;
  justify-content: center;
  margin-bottom: 1.3rem;
  align-items: center;
}

footer a {
  margin-right: 2rem;
}

footer p {
  display: flex;
  justify-content: center;
  font-size: 14px;
  line-height: 20.56px;
  color: #21243d;
  padding-bottom: 3rem;
}

@media screen and (min-width: 320px) {
  nav ul {
    display: none;
  }

  .open-slide {
    position: absolute;
    right: 9px;
    top: 1rem;
  }

  .hero-container {
    margin-top: 6.759rem;
    display: flex;
    justify-content: center;
    padding: 0 1rem 71px 1rem;
    flex-direction: column-reverse;
  }

  h1 {
    color: #21243d;
    font-size: 30px;
    line-height: 40px;
    font-weight: 700;
    width: 90%;
    text-align: center;
  }

  .hero-left {
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .hero-left p {
    color: #21243d;
    font-size: 16px;
    line-height: 23.5px;
    width: 70%;
    margin-top: 40px;
    margin-bottom: 38px;
    text-align: center;
  }

  .hero-left button {
    color: #ffffff;
    font-size: 20px;
    background-color: #ff6464;
    padding: 17px 21px;
    border-radius: 2px;
    border-style: none;
    width: 80%;
  }

  .article-nav {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .left-header {
    display: flex;
    justify-content: center;
    color: #21243d;
    font-size: 22px;
    font-weight: 400;
    padding: 0 0 2px 0;
    line-height: 60px;
    align-items: center;
  }

  .right-header {
    display: none;
  }

  .article-div {
    background-color: #edf7fa;
    padding: 2rem 1rem 2rem 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }

  .article h3 {
    font-size: 20px;
    color: #21243d;
    line-height: 30px;
    margin-bottom: 10px;
    width: 100%;
  }

  .article p {
    width: 100%;
    color: #21243d;
    font-size: 16px;
  }

  .featured-works {
    padding: 2rem 1.5rem 5rem 1.5rem;
    display: flex;
    align-items: center;
    flex-direction: column;
  }

  .content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
  }

  .body {
    margin-bottom: 4.5rem;
  }

  .inner-content {
    width: 100%;
  }

  .inner-content h3 {
    font-size: 22px;
    color: #21243d;
    margin: 10px 0;
  }

  .inner-content p {
    color: #21243d;
    font-size: 16px;
    line-height: 23.5px;
    font-weight: 400;
  }

  .img {
    width: 100%;
  }

  .article-body {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }

  .article {
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px 10px 24px 10px;
    width: 100%;
    margin-bottom: 10px;
  }

  .side-nav a {
    padding: 1rem;
    text-decoration: none;
    font-size: 1rem;
    color: #fff;
    display: block;
    transition: 0.3s;
  }

  .side-nav .btn-close {
    position: absolute;
    top: 0;
    right: 2px;
    font-size: 2.5rem;
    font-weight: 700;
  }

  .hide-works {
    display: none;
  }
}

@media screen and (min-width: 768px) {
  .open-slide {
    display: none;
  }

  nav ul {
    display: flex;
    justify-content: right;
    gap: 3rem;
  }

  .hero-container {
    margin-top: 8.75rem;
    display: flex;
    justify-content: center;
    padding-bottom: 71px;
    flex-direction: row;
    padding: 0 4.31rem 0 4.31rem;
    align-items: initial;
  }

  h1 {
    color: #21243d;
    font-size: 44px;
    line-height: 60px;
    font-weight: 700;
    text-align: left;
  }

  .hero-left {
    padding-top: 20px;
    display: initial;
    flex-direction: column;
    justify-content: center;
    align-items: left;
    width: 90%;
    margin-right: 10px;
  }

  .hero-left p {
    color: #21243d;
    font-size: 16px;
    line-height: 23.5px;
    margin-top: 40px;
    margin-bottom: 38px;
    text-align: left;
    width: 90%;
  }

  .hero-left button {
    color: #ffffff;
    font-size: 20px;
    background-color: #ff6464;
    padding: 17px 21px;
    border-radius: 2px;
    border-style: none;
    width: 65%;
  }

  .left-header {
    color: #21243d;
    font-size: 22px;
    font-weight: 400;
    padding: 30px 0;
    line-height: 60px;
  }

  .right-header {
    display: inherit;
    font-size: 16px;
    font-weight: 400;
    padding: 30px 0;
    color: #00a8cc;
  }

  .article-div {
    background-color: #edf7fa;
    padding: 0 3.31rem 2rem 3.31rem;
    display: flex;
    flex-direction: column;
    align-items: inherit;
  }

  .article-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .article h3 {
    font-size: 26px;
    color: #21243d;
    line-height: 38.19px;
    margin-bottom: 17px;
    width: 90%;
  }

  .article p {
    width: 80%;
    color: #21243d;
    font-size: 16px;
  }

  .featured-works {
    padding: 0 4.31rem;
    display: inherit;
  }

  .inner-content {
    width: 92%;
    margin-left: 2rem;
  }

  .inner-content h3 {
    font-size: 30px;
    color: #21243d;
    margin-bottom: 1rem;
  }

  .inner-content p {
    color: #21243d;
    font-size: 16px;
    line-height: 23.5px;
    font-weight: 400;
    padding-right: 3rem;
  }

  .img {
    width: 80%;
  }

  .content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    margin-top: 2rem;
    flex-wrap: nowrap;
  }

  .article-body {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
  }

  .article {
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px 16px 24px 30px;
    width: 48%;
  }
}

@media screen and (min-width: 1200px) {
  .hero-container {
    margin-top: 8.75rem;
    display: flex;
    justify-content: left;
    padding-bottom: 71px;
    flex-direction: row;
    padding: 0 17.31rem 0 17.31rem;
  }

  .hero-left button {
    color: #ffffff;
    font-size: 20px;
    background-color: #ff6464;
    padding: 17px 21px;
    border-radius: 2px;
    border-style: none;
    width: 50%;
  }

  .article-div {
    background-color: #edf7fa;
    padding: 0 17.31rem 2rem 17.31rem;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
  }

  .article h3 {
    font-size: 26px;
    color: #21243d;
    line-height: 38.19px;
    margin-bottom: 17px;
    width: 90%;
  }

  .inner-content {
    width: 72%;
    margin-left: 2rem;
  }

  .inner-content h3 {
    font-size: 30px;
    color: #21243d;
    margin-bottom: 1rem;
  }

  .inner-content p {
    color: #21243d;
    font-size: 16px;
    line-height: 23.5px;
    font-weight: 400;
    padding-right: 3rem;
  }

  .featured-works {
    padding: 3rem 17.31rem 8rem 17.31rem;
  }

  .img {
    width: 50%;
  }
}
