:root {
  --premary_width: 1220px;
}

*,
html {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

  &::-webkit-scrollbar {
    display: none;
  }
}

body {
  background: var(--Smoking_Style);
}

.Smoking_Style {
      background: white;
    box-shadow: 3px 3px 9px #0000000f;
    border-radius: 10px;
    padding: 7px 8px !important;
}

.logoStyel p {
  text-transform: uppercase;
  font-weight: bold;
  line-height: 0.92;
  background: linear-gradient(90deg, #3b653b, #e02b2b);
  -webkit-background-clip: text;
  color: #ffffff00 !important;
  font-size: 20px !important;
}

.display {
  display: flex;
  justify-content: space-between;
}

.line_later {
  line-height: 22px;
  letter-spacing: 1px;
}

.search,
.menu,
.close__search {
  cursor: pointer;
}

a {
  color: black;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
p {
  margin: 0;
  padding: 0;
}

h2 {
  font-weight: normal;
  font-style: italic;
  letter-spacing: 1px;
}

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

ol,
ul {
  padding-left: 0px;
  list-style-type: none;
}

/*  */
footer {
  & .Name__title {
    & span {
      font-size: 18px !important;
    }
  }
}

.Name__title {
  border-bottom: 1px solid #0000004f;
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;

  & span {
    color: #000 !important;
    font-size: 16px;
    border-bottom: 3px solid;
    font-family: "Tajawal", "Tagesschrift" !important;
    display: flex;
    align-items: center;
    gap: 3px;
  }
}

/*  */
.ftf {
  &:before {
    content: "";
    width: 5px;
    height: 5px;
    border: 2px solid #3bc1f2;
    display: inline-block;
    border-radius: 100%;
    margin-right: 3px;
  }
}

.ros__section_title {
  margin-bottom: 2rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #aaaaaa;
  width: fit-content;

  &:before {
    content: "";
    background: #ff000080;
    width: 10px;
    height: 10px;
    box-shadow: 2px -2px 0px #33b734;
    border-radius: 100% 0px 100% 100%;
    transform: rotate(45deg);
    border: 1px solid red;
    margin-right: 5px;
  }
}

/*  */
.viewPort {
  transform: translateY(25px);
  opacity: 0;
  visibility: hidden;
  transition: 1s;
}

.TransformScroll {
  transform: translateY(0px);
  opacity: 1;
  visibility: visible;
  transition: 1s;
}

/*  */
.marg {
  margin: 3rem auto;
}

.Marg_Arc {
  margin: 1rem auto;
}

aside {
  .marg:nth-child(1) {
    margin-top: 0 !important;
  }
}

footer {
  margin-bottom: 0 !important;
}

.marg:last-child {
  margin-bottom: 0 !important;
}

/*  */
div.anim {
  width: fit-content;
  margin-bottom: 10px;

  & li,
  & a {
    padding: 3px 10px 3px;
    transition: 0.5s;
    border-radius: 50px;
    font-size: 12px;
    color: #fff;

    &:nth-child(1) {
      background: linear-gradient(
        90deg,
        rgba(165, 145, 246, 0.9),
        rgba(0, 0, 0, 0.65)
      );
    }

    &:not(:first-child) {
      margin-left: -30px;
    }

    &:hover {
      transform: translateY(-5px);
      transition: 0.5s;
    }

    &:focus-within ~ &,
    &:hover ~ & {
      transform: translateX(20px);
    }
  }
}

/* Traking Button */
& .traking {
  width: fit-content;
  position: absolute;
  right: 1rem;
  top: 1rem;
  gap: 5px;
  z-index: 2;

  & .trak {
    border-radius: 100%;
    padding: 6px 7px 3px;
    cursor: pointer;
    backdrop-filter: blur(15px);
    background: #72727217;
    height: 30px;

    & .trak {
      border-radius: 100%;
      padding: 6px 7px 3px;
      cursor: pointer;
      backdrop-filter: blur(15px);
    }
  }
}

.Pagination {
  gap: 1rem;

  & * {
    color: #000 !important;
  }
}

/* To Top */
.ros_to__top.style_1 {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  border: 2px dashed #7601ffbd;
  width: 45px;
  height: 45px;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  cursor: pointer;
  transition: 0.5s;

  & svg {
    width: 35px;
    height: 35px;
    display: block;
    transform-origin: 50% 50%;
    animation: spring 5000ms cubic-bezier(0.53, 0.56, 0.62, 0.36) infinite;
  }
}

/* keyframes للحركة النابضة + قفزة */
@keyframes spring {
  0% {
    transform: translateY(0) scale(1);
  }
  20% {
    transform: translateY(-8px) scale(1.08);
  } /* قفزة مع توسع */
  45% {
    transform: translateY(0) scale(0.98);
  } /* هبوط وخفة انكماش */
  65% {
    transform: translateY(-4px) scale(1.03);
  } /* ارتداد ثانوي */
  100% {
    transform: translateY(0) scale(1);
  }
}

.ros_to__top.style_2 {
  overflow: hidden;
  width: 45px;
  height: 45px;
  position: fixed;
  bottom: 1rem;
  border-radius: 100%;
  right: 1rem;
  backdrop-filter: blur(4px);
  padding: 8px;
  z-index: 99999;
  cursor: pointer;
  transition: 0.5s;

  &:hover {
    padding: 0;
  }

  &::before {
    content: "";
    border: 1px dashed #888888;
    position: absolute;
    width: -webkit-fill-available;
    height: -webkit-fill-available;
    border-radius: 100%;
    top: 0;
    left: 0;
    animation: toTop 9s cubic-bezier(0, 0, 1, 1) infinite;
  }

  & .continer {
    background: #fff;
    border-radius: 100%;
    width: 100%;
    height: 100%;
  }
}

@keyframes toTop {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*  */
@media ((min-width: 400px) and (max-width: 576px)) {
  aside {
    /* border-top: 1px solid #0000004a; */
    width: 100% !important;
    padding: 2rem 7px 0;
  }
}

/*  */
.nav__sticky {
  position: sticky !important;
  top: 0;
  left: 0;
  right: 0;
  transition: 0.5s;
}

.navbar-menu {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
  gap: 8px;

  > li {
    position: relative;

    > a {
      display: block;
      font-weight: bold;
      padding: 1rem 0;
      text-decoration: none;
      letter-spacing: 0.5px;
      font-size: 13px !important;
      transition: all 0.3s ease;

      &:before {
        content: "";
        width: 5px;
        height: 0;
        background: #7fc7fd;
        display: inline-block;
        border-radius: 100%;
        margin-right: 5px;
        transition: all 0.5s;
      }

      &:hover {
        color: #f39c12;

        &:before {
          content: "";
          width: 5px;
          height: 5px;
          background: #7fc7fd;
          display: inline-block;
          border-radius: 100%;
          margin-right: 5px;
          transition: all 0.5s;
          transition-delay: 0.5s;
        }
      }
    }

    /* ===== Submenu ===== */
    .sub-menu {
      position: absolute;
      top: 100%;
      left: 0;
      background: #ffffff;
      min-width: 200px;
      list-style: none;
      margin: 0;
      opacity: 0;
      visibility: hidden;
      transform: translateY(10px);
      transition: all 0.3s ease;
      border-top: 2px solid #f39c12;
      pointer-events: none;
      box-shadow: 3px 3px 0 #0000004a;

      & li:has(.sub-menu) {
        &::before {
          content: "►";
          position: absolute;
          right: 10px;
          top: 50%;
          transform: translate(-70%, -5px);
          font-size: 12px;
          color: #f39c12;
        }
      }

      li {
        position: relative;

        a {
          display: block;
          font-size: 13px !important;
          padding: 0.7rem 1rem;
          text-decoration: none;
          transition: all 0.3s ease;
          font-weight: bold;

          &:hover {
            background: #ededed6b;
            color: #f39c12;
          }
        }

        /* ===== Sub-submenu ===== */
        & .sub-menu {
          border-top: 2px solid #f39c12 !important;
          top: 10px;
          left: 100%;
          margin-left: -15px;
          border-top: none;
        }

        &:hover > .sub-menu {
          opacity: 1;
          visibility: visible;
          transform: translateY(0);
          pointer-events: all !important;
        }
      }
    }

    &:hover > .sub-menu {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
      pointer-events: all !important;
    }
  }
}

/* Contect */
ul.menu-contect {
  & li:before {
    content: "";
    width: 5px;
    height: 5px;
    background: #cd9d44;
    display: inline-block;
    margin-right: 3px;
    border-radius: 100%;
  }
}

/*  */
.noPosts {
  font-weight: bold;
  font-size: 18px;
  font-family: "Inria Sans", sans-serif;
  display: flex;
  align-items: center;
  gap: 4px;
  height: max-content;

  & a {
    color: blue !important;
    text-decoration: underline;
  }

  & svg {
    border: 3px solid #0000009c;
    border-radius: 100% 1px 100% 100%;
    width: 40px;
    height: 40px;
  }
}

/*  */
@media (min-width: 768px) and (max-width: 992px) {
  aside:has(> section:nth-of-type(2)) {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: space-between;
    gap: 10px;

    & section {
      max-width: calc(100% / 2 - 10px) !important;
    }
  }
}

/* Ads */
.ads {
  display: flex;
  align-items: center;
  justify-content: center;

  &:nth-child(1) {
    margin-bottom: 2rem;
  }
}

/* LazyTube */
.rosita-youtube-lazy {
  position: relative;
  display: inline-block;
  cursor: pointer;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
  margin: 1rem 0;
  width: 100%;
  border: 1px dashed #0000003d;
  padding: 5px;

  & iframe {
    width: 100%;
    height: 100%;
  }

  & svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 60px;
    fill: #fff5f5;
    filter: drop-shadow(2px 2px 0px red);
  }

  & img.yt-thumb {
    border-radius: 6px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
  }

  &:hover {
    img.yt-thumb {
      transform: scale(1.05);
    }
  }
}

/*  */
@media (max-width: 576px) {
.Smoking_Style {
		margin: 3rem 7 !important;
	}
  .Serch__Style.Open__Serch {
    width: 94vw;
    transform: translate(0%, 79%);
  }
}
