/* GENERAL USE */

.center {
  margin: auto;
}

/* MISC */


.big-h1 {
  font-size: 15vw;
  line-height: 100%;
  margin: 0;
  margin-bottom: 10vw;
  padding: 0;
  text-align: center;
}

.button {
  border-radius: 6px;
  padding: 10px 18px;
  text-decoration: none;
  color: var(--color-font-secondary);
  background: var(--color-dark);
  text-align: center;
  border: none;
}

.button:hover {
  background: var(--color-secondary);
  color: var(--color-font);
}

.active {
  box-shadow: inset 5px 5px 12px var(--nm-dark),
    inset -5px -5px 12px var(--nm-light);
}

.cards-grid {
  flex-grow: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  max-width: 1600px;
  gap: 48px;
  flex-wrap: wrap;
  margin: 48px 0;
}

.icon {
  background: linear-gradient(145deg, var(--nm-mid), var(--nm-light));
  border-radius: 50%;
  padding: 2px;
  height: 32px;
  color: var(--color-font);
  cursor: pointer;
}

.icon-wrapper {
  margin: 0 12px;
}

/* BLOG */

.blog-all-post {
  margin: 12px 4px;
  padding: 4px 12px;
  border-radius: 4px;
}

.blog-all-title {
  text-align: left;
  margin: 0;
  margin-bottom: 4px;
}

.blog-all-link-wrapper {
  text-decoration: none;
  color: var(--color-font);
}

.post-content {
  color: var(--color-font);
}

.blog-title,
.blog-subtitle {
  text-align: left;
}

.single-article-wrapper {
  max-width: 900px;
}

.single-article-wrapper .blog-title {
  font-size: 5rem;
}

.single-article-wrapper .blog-subtitle {
  font-size: 2rem;
  color: var(--color-font-secondary);
}

.single-article-wrapper {
  font-size: 21px;
  border-top: 2px solid var(--color-font);
}

.single-article-layout {
  display: flex;
  align-items: flex-start;
  justify-content: space-around;
  margin: 32px 0;
  line-height: 1.8;
}

.primary {
  background: linear-gradient(145deg, #7775ed, #4240ef);
  color: white;
}

.footnotes {
  font-size: 1rem;
  color: var(--color-font-secondary);
}

/* PORTFOLIO */

.portfolio-layout {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin: 32px 0;
}

.portfolio-img-wrapper {
  max-width: 30%;
  max-height: 40vh;
  border-radius: 18px;
  background: #e0e0e0;
  padding: 6px;
}

.portfolio-img {
  width: 100%;
  height: 100%;
  border-radius: 15px;
  object-fit: cover;
}

.portfolio-descr {
  margin-left: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

.portfolio-title,
.portfolio-subtitle {
  text-align: left;
}

.portfolio-button {
  margin: 12px 0 0 0;
}
