* {
  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;
}

#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;
}

.the-post {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.the-post-header {
  display: flex;
  max-width: 100vw;
  height: 500px;
}

.the-post-image,
.the-post-description {
  flex: 50%;
}

.the-post-image {
  background-color: #9e1111;
}

.the-post-image img {
  width: 100%;
  height: 100%;
  border-radius: 0 4px 4px 0;
}

.the-post-description {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 100px 50px;
}

.the-post-description h1 {
  font-size: 60px;
}

.the-post-tags {
  display: flex;
  margin-right: 20%;
}

.the-post-tags a {
  background-color: #f4f4f4;
  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;
}

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

.the-post-body {
  font-size: 20px;
  overflow: visible;
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 85px 120px;
}

.the-post-body h1,
.the-post-body h2,
.the-post-body h3,
.the-post-body h4,
.the-post-body h5,
.the-post-body h6 {
  margin: 5px 0 25px;
  color: #111;
}

.the-post-body p {
  line-height: 2;
  color: #222;
  margin: 19px 0px;
}

.the-post-body ol,
.the-post-body ul {
  list-style: disc outside;
  margin: 0 0 25px;
  padding-left: 20px;
}

.the-post-body ul li {
  margin-bottom: 10px;
}

.the-post-body img {
  max-width: 100%;
  border-radius: 4px;
  margin: 30px 0;
}

.the-post-body figure {
  margin: 50px 0s;
}

.the-post-body figcaption {
  width: 100%;
  display: block;
  margin-top: 5px;
  font-size: 12px;
  line-height: 1.3;
  color: #f4f4f4;
}

.the-post-body a {
  transition: all 0.2s ease;
  border-bottom: 2px solid #dcdcdc;
  background-color: transparent;
}

.the-post-body a:hover,
.the-post-body a:focus {
  color: var(--dark);
  border-bottom: 2px solid #c60f0f;
}

@media (max-width: 1000px) {
  .the-post-header {
    position: relative;
  }

  .the-post-image img {
    object-fit: cover;
    object-position: center;
  }

  .the-post-description {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
  }

  .the-post-description h1,
  .the-post-info {
    color: white;
  }
}
@media (max-width: 550px) {
  .the-post-description h1 {
    line-height: 1;
    font-size: 50px;
  }

  .the-post-tags {
    margin: 0 auto;
    flex-wrap: wrap;
  }

  .the-post-tags a {
    margin: 5px 3px;
  }

  .the-post-description {
    padding: 50px 30px;
  }

  .the-post-body {
    padding: 20px 25px 120px;
  }

  .the-post-body figure,
  .the-post-body img {
    width: 100%;
    margin: 0 auto;
  }
}
