* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body, button {
  font-family: "Montserrat", sans-serif;
}

input, button {
  outline: none;
  border: 0;
}

a {
  text-decoration: none;
  color: #0f0f0f;
  transition: .4s;
  position: relative;
}

a:hover {
  color: #c60f0f;
}

main {
  width: 100%;
  height: 100%;
  margin: 50px 100px 10px;
}

.modal-is-open {
  overflow: hidden;
}

.hidden {
  display: none !important;
}

.load-more {
  display: flex;
  justify-content: center;
  padding: 30px;
}

.load-more span i {
  font-size: 40px;
  transition: .8s ease-in-out;
  cursor: pointer;
}

.load-more span i:hover {
  color: #9e1111;
  transform: rotate(360deg);
}

#page-home,
#page-post,
#page-tag,
#page-search
#page-not-found {
  display: flex;
  min-height: 100vh;
  height: auto;
}

/* @import
  "./components/header.scss",
  "./components/header.scss", 
  "./components/post.scss",
  "./components/footer.scss",
  "./pages/home.scss",
  "./pages/post.scss",
  "./responsive/home.scss",
  "./responsive/post.scss"; */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 100px;
}

header img {
  width: 250px;
}

header ul {
  display: flex;
  list-style: none;
}

header ul li {
  margin: 0 15px;
}

header ul li a {
  text-transform: capitalize;
  font-size: 16px;
  font-weight: 700;
}

header a::before {
  content: "";
  display: flex;
  position: absolute;
  bottom: 0;
  width: 0%;
  height: 2px;
  background-color: #c60f0f;
  transition: width .4s;
}

header a:hover::before,
header a.link-active::before {
  width: 100%;
}

.button-menu {
  display: none;
}

@media (max-width: 1100px) {
  header ul {
    position: absolute;
    display: none;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10;
  }

  header ul.showMenu {
    display: flex;
  }

  header ul li {
    margin: 8px 0;
  }

  header ul li a {
    color: white;
    font-size: 30px;
  }

  .button-menu {
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    background-color: transparent;
    z-index: 10;
  }

  .button-menu span {
    width: 100%;
    height: 3px;
    background-color: #c60f0f;
    position: relative;
    transition: .4s;
  }

  .button-menu span::before,
  .button-menu span::after {
    content: "";
    width: 100%;
    height: 3px;
    left: 0;
    position: absolute;
    background-color: #c60f0f;
    transition: .4s;
  }

  .button-menu span::before {
    top: 8px;
  }

  .button-menu span::after {
    bottom: 8px;
  }

  .button-menu.active span {
    background-color: transparent;
  }

  .button-menu.active span::before {
    transform: rotate(45deg);
    top: 0;
    width: 2rem;
  }

  .button-menu.active span::after {
    transform: rotate(-45deg);
    bottom: 0;
    width: 2rem;
  }
}
@media (max-width: 550px) {
  header {
    padding: 0 30px;
  }

  main {
    margin: 0 30px;
  }

  header img {
    width: 200px;
  }
}
footer {
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: 20px;
  font-size: 14px;
}

.icons {
  display: flex;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.icons i {
  margin: 0 10px;
}

.posts {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.item-wrap {
  min-width: 350px;
  flex: 33.33%;
  flex-wrap: wrap;
}

.post {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  min-height: 370px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  margin: 15px 0 15px 15px;
  padding: 40px 38px 45px;
  transition: .3s ease-in-out;
  animation: up .4s ease-in-out;
}

.post:hover {
  transform: translateY(-15px);
}

.post:hover .post-image {
  filter: brightness(0.8);
}

.post-image {
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  position: absolute;
  z-index: -1;
  background-color: #9e1111;
  background-position: center;
  background-size: cover;
  border-radius: 20px;
  filter: brightness(0.5);
  transition: .5s;
}

.post-link {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  max-width: 100%;
  max-height: 100%;
}

.post h2 {
  line-height: 1.35;
  margin: 5px 10% 25px 0;
  font-size: 33px;
  color: white;
}

.post-category {
  text-transform: uppercase;
  position: absolute;
  color: white;
  bottom: 40px;
}

.post-category a {
  background-color: transparent;
  padding: 8px;
  margin: 0 5px 1px 0;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--black);
  border-radius: 20px;
  transition: .12s;
}

.post-category a:hover {
  background-color: #c60f0f;
  color: white;
}

.post-info {
  color: white;
  margin-bottom: 60px;
}

@keyframes up {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 960px) {
  .posts {
    flex-direction: column;
    height: auto;
  }

  .item-wrap {
    min-width: auto;
  }

  .post {
    margin: 15px;
  }
}
.tag-header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: 120px;
  margin: 40px 0;
}

.tag-header h1 {
  font-size: 48px;
  color: #0f0f0f;
  text-align: center;
}

.tag-info {
  display: flex;
  justify-content: center;
}

.tag-icon {
  font-size: 1.5rem;
  margin-right: 15px;
  color: #c60f0f;
}

.tag-quantity {
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 1.25;
}
