:root {
  --black-color: #000000;
  --dark-color: #101010;
  --white-color: #ffffff;
  --accent-color: #ff3f1e;
  --gray-color: #fbfafc;

  --transition: 0.8s cubic-bezier(0.22, 0.78, 0.45, 1.02);
}

::selection {
  background: #ff3f1e !important;
  opacity: 1;
  color: black;
}

body {
  background: var(--dark-color);
  color: var(--white-color);
}

.header {
  width: 100%;
  height: auto;
  top: 1.5rem;
  position: fixed;
  z-index: 9999;
}

.header .content {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: end;
}

.header .content .menu {
  gap: 0.6rem;
  display: flex;
  position: relative;
  padding: 1rem 1.3rem;
  align-items: center;
  border-radius: 6rem;
  background: rgb(16, 16, 16);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.header .content .menu .name {
  display: flex;
  align-items: center;
  justify-content: center;
}

.header .content .menu .name img {
  display: flex;
  width: 6rem;
  height: auto;
}

.header .content .menu .button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0.2rem;
  overflow: hidden;
  position: relative;
  border-radius: 1rem;
  background: var(--white-color);
}

.header .content .menu .button img {
  width: 100%;
  height: auto;
}

.header .content .menu #menu-toggle {
  position: absolute;
  top: 50%;
  opacity: 0;
  right: 1.2rem;
  width: 2rem;
  height: 2rem;
  overflow: hidden;
  border-radius: 50%;
  transform: translateY(-50%);
}

.header .content .menu .close-btn {
  position: absolute;
  top: 1rem;
  opacity: 0;
  right: 1.3rem;
  display: flex;
  width: 2rem;
  height: 2rem;
  font-size: 2rem;
  font-weight: 600;
  border-radius: 2rem;
  align-items: center;
  justify-content: center;
  color: var(--black-color);
  background: var(--white-color);
}

.header .content .menu .dropdown-modal {
  position: absolute;
  top: 0.6rem;
  left: 0;
  width: 100%;
  z-index: -1;
  border-radius: 2rem;
  background: rgba(16, 16, 16, 0.7);
  padding: 4rem 2rem 2rem 2rem;
  backdrop-filter: blur(36px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 0px 0px rgba(31, 38, 135, 0.37);
}

.header .content .menu .dropdown-modal ul {
  gap: 0.6rem;
  display: flex;
  position: relative;
  align-items: start;
  flex-direction: column;
}

.header .content .menu .dropdown-modal ul a {
  display: flex;
  font-size: 1rem;
  font-weight: 500;
  color: var(--white-color);
  transition: var(--transition);
}

.header .content .menu .dropdown-modal ul a:hover {
  color: var(--accent-color);
}

.header .content .menu .dropdown-modal label {
  cursor: pointer;
  display: block;
  width: 100%;
}

.header .content .menu .dropdown-modal label a {
  display: block;
  width: 100%;
}

.dropdown-modal {
  display: none;
}

.header #menu-toggle:checked ~ .close-btn {
  opacity: 1;
}

.header #menu-toggle:checked ~ .dropdown-modal {
  display: flex;
  opacity: 1;
}

main {
  .blog-details {
    width: 100%;
    padding: 3rem 0;
    position: relative;
    padding-top: 6rem;

    .back a {
      gap: 0.6rem;
      display: inline-flex;
      align-items: center;
      font-size: 1rem;
      font-weight: 500;
      color: var(--black-color);
      padding: 0.9rem 1.2rem;
      border-radius: 2rem;
      transition: var(--transition);
      background: var(--white-color);
    }

    .back a:hover {
      background: var(--accent-color);
      box-shadow: 0 0 3px 2px #fbfafc;
      color: var(--white-color);
    }

    .blog-title {
      margin-top: 2rem;
      gap: 0.6rem;
      display: flex;
      margin-bottom: 2rem;
      flex-direction: column;

      .date {
        color: var(--gray-color);
        font-size: 0.7rem;
      }

      h2 {
        font-size: 1.5rem;
        font-weight: 600;
        color: var(--white-color);
      }

      .subtitle {
        display: flex;
        margin-bottom: 1rem;
        align-items: center;
        justify-content: start;
        color: var(--accent-color);
      }

      ul {
        gap: 1rem;
        display: flex;
        align-items: center;

        li {
          font-style: italic;
          font-size: 0.8rem;
          text-transform: capitalize;
          background: rgba(var(--accent-color), 0.8);
        }
      }
    }

    .blog-image {
      width: 100%;
      max-width: 720px;
      overflow: hidden;
      border-radius: 2rem;
      margin-bottom: 2rem;

      img {
        width: 100%;
        height: auto;
        object-fit: cover;
      }
    }

    .descr {
      gap: 1rem;
      display: flex;
      flex-direction: column;

      .excerpt {
        font-size: 1.3rem;
        color: var(--white-color);
        margin-bottom: 1rem;
      }

      p {
        font-size: 1rem;
        color: var(--white-color);
      }
    }
  }
}
