/* start variables */
:root {
  --main-color: #ffa97a;
  --back-color: #111a21;
}
/* end variables */

/* start global rules */
* {
  -webkit-box-sizing: border-box;
  -o-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
}
::selection {
  background-color: var(--main-color);
  color: #293241;
}
@font-face {
  font-family: main-font;
  src: url(../fonts/Avenir\ LT\ Std\ 65\ Medium.otf);
}

@font-face {
  font-family: bebasKai;
  src: url(../fonts/BebasKai.otf);
}
@font-face {
  font-family: arabic-font;
  src: url(../fonts/DG-Heaven-Regular.ttf);
}
body,
.wrapper {
  font-family: main-font;
  background-color: #111a21;
}

/* Small */
@media (min-width: 768px) {
  .container {
    width: 750px;
  }
}
/* Medium */
@media (min-width: 992px) {
  .container {
    width: 970px;
  }
}
/* Large */
@media (min-width: 1200px) {
  .container {
    width: 1170px;
  }
}
@media (min-width: 1400px) {
  .container {
    width: 1370px;
  }
}
@media (min-width: 1500px) {
  .container {
    width: 1470px;
  }
}
@media (min-width: 1600px) {
  .container {
    width: 1570px;
  }
}
@media (min-width: 1700px) {
  .container {
    width: 1670px;
  }
}
html,
.wrapper {
  scroll-behavior: smooth;
}
.container {
  padding-left: 15px;
  padding-right: 15px;
  margin-left: auto;
  margin-right: auto;
}
.main-heading {
  color: var(--main-color);
  text-align: center;
  font-weight: bold;
  letter-spacing: 2px;
  font-family: bebasKai;
  font-size: 30px;
  width: fit-content;
  margin: auto;
  text-shadow: 0 0 76px var(--main-color);
  padding: 30px 0 0;
}

.main-heading + span {
  width: fit-content;
  margin: 0 auto 80px;
  display: block;
  color: #767676;
  font-size: 15px;
}
.section {
  background-color: var(--back-color);
  z-index: 100;
  position: relative;
  padding: 20px 0 60px;
}
.divider {
  position: relative;
  height: 1px;
}

.div-transparent:before {
  content: "";
  position: absolute;
  top: 0;
  left: 5%;
  right: 5%;
  width: 90%;
  height: 1px;
  background-image: linear-gradient(
    to right,
    transparent,
    rgb(48, 49, 51),
    transparent
  );
}

.div-arrow-down:after {
  content: "";
  position: absolute;
  z-index: 1;
  top: -7px;
  left: calc(50% - 7px);
  width: 14px;
  height: 14px;
  transform: rotate(45deg);
  background-color: white;
  border-bottom: 1px solid rgb(48, 49, 51);
  border-right: 1px solid rgb(48, 49, 51);
}

.div-tab-down:after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  left: calc(50% - 10px);
  width: 20px;
  height: 14px;
  background-color: white;
  border-bottom: 1px solid rgb(48, 49, 51);
  border-left: 1px solid rgb(48, 49, 51);
  border-right: 1px solid rgb(48, 49, 51);
  border-radius: 0 0 8px 8px;
}

.div-stopper:after {
  content: "";
  position: absolute;
  z-index: 1;
  top: -6px;
  left: calc(50% - 7px);
  width: 14px;
  height: 12px;
  background-color: white;
  border-left: 1px solid rgb(48, 49, 51);
  border-right: 1px solid rgb(48, 49, 51);
}

.div-dot:after {
  content: "";
  position: absolute;
  z-index: 1;
  top: -9px;
  left: calc(50% - 9px);
  width: 18px;
  height: 18px;
  background-color: var(--main-color);
  border: 1px solid rgb(48, 49, 51);
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px white, 0 0 0 4px white;
}
.wrapper::-webkit-scrollbar {
  width: 0.7em;
}
@media (max-width: 767px) {
  .wrapper::-webkit-scrollbar {
    width: 0.3em;
  }
}
.wrapper::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

.wrapper::-webkit-scrollbar-thumb {
  background: var(--main-color);
  border-radius: 2px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  -ms-border-radius: 2px;
  -o-border-radius: 2px;
}
/* End Global Rules */
/* start landing  */
/* parallax */
.wrapper {
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  perspective: 5px;
}

header {
  position: relative;
  height: 100%;
  transform-style: preserve-3d;
  z-index: -1;
}

.background {
  transform: translateZ(-5px) scale(2);
  -webkit-transform: translateZ(-5px) scale(2);
  -moz-transform: translateZ(-5px) scale(2);
  -ms-transform: translateZ(-5px) scale(2);
  -o-transform: translateZ(-5px) scale(2);
}

.foreground {
  transform: translateZ(-2px) scale(1.5);
  -webkit-transform: translateZ(-2px) scale(1.5);
  -moz-transform: translateZ(-2px) scale(1.5);
  -ms-transform: translateZ(-2px) scale(1.5);
  -o-transform: translateZ(-2px) scale(1.5);
}

.background,
.foreground {
  position: absolute;
  height: 100%;
  width: 100%;
  object-fit: cover;
  z-index: -1;
}
.foreground {
  bottom: -17%;
  height: 40%;
}
/* parallax */
.header {
  padding: 20px 0;
  position: fixed;
  top: 0;
  z-index: 15;
  width: calc(100% - 0.7rem);
  backdrop-filter: blur(5px);
  box-shadow: 0 0 7px black;
  background-color: #111a2163;
}
@media (max-width: 767px) {
  .header {
    width: calc(100% - 0.3rem);
  }
}
.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}
.header .logo {
  position: absolute;
  top: 50%;
  left: 50%;

  transform: translate(-50%, -50%);
}
.header .logo img {
  width: 75px;
}
/* start menu */
.header .menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 25px;
  cursor: pointer;
  transition-duration: 0.3s;
}
.header .menu span {
  height: 2px;
  background-color: white;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
  transition-duration: 0.3s;
}
.header .menu span:nth-child(1),
.header .menu span:nth-child(3) {
  width: 50%;
}
.header .menu span:nth-child(3) {
  align-self: flex-end;
}
.header .menu-opened span:nth-child(3) {
  opacity: 0;
}
.header .menu-opened span:nth-child(1) {
  width: 100%;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
}
.header .menu-opened span:nth-child(2) {
  transform: rotate(133deg);
  -webkit-transform: rotate(133deg);
  -moz-transform: rotate(133deg);
  -ms-transform: rotate(133deg);
  -o-transform: rotate(133deg);
}
/* end menu */
/* start sections links  */
.header .sections {
  position: absolute;
  z-index: 5;
  top: 55px;
  background-color: #131e24ad;
  backdrop-filter: blur(1px);
  padding: 15px 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-radius: 6px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  -ms-border-radius: 6px;
  -o-border-radius: 6px;
  display: none;
  animation: increase-height 0.3s forwards;
  -webkit-animation: increase-height 0.3s forwards;
  overflow: hidden;
  box-shadow: rgb(149 157 165 / 20%) 0px 8px 24px;
}
@media (max-width: 767px) {
  .header .sections {
    top: 75px;
  }
}
@keyframes increase-height {
  0% {
    height: 0px;
  }
  100% {
    height: 250px;
  }
}
.header .sections a {
  display: block;
  color: white;
  position: relative;
  transition-duration: 0.3s;
  width: fit-content;
}
.header .sections a:hover {
  text-shadow: 0 0 10px white;
}
.header .sections a::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: white;
  top: -1px;
  opacity: 0;
  transition-duration: 0.5s;
  border-radius: 30px;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  -ms-border-radius: 30px;
  -o-border-radius: 30px;
}
.header .sections a:hover:before {
  opacity: 1;
  top: 22px;
}

/* end sections links  */
/* start social  */
.header .social {
  display: flex;
  gap: 20px;
}
.header .social i {
  font-size: 20px;
  color: white;
  transition-duration: 0.3s;
}
.header .social .ai-facebook-fill:hover {
  color: #1877f2;
  text-shadow: 0 0 10px #1877f2;
}
.header .social .ai-twitter-fill:hover {
  color: #1da1f2;
  text-shadow: 0 0 10px #1da1f2;
}
.header .social .ai-instagram-fill:hover {
  color: #e1306c;
  text-shadow: 0 0 10px #e1306c;
}
.header .social .ai-whatsapp-fill:hover {
  color: #075e54;
  text-shadow: 0 0 10px #075e54;
}
.header .social .ai-linkedin-fill:hover {
  color: #0077b5;
  text-shadow: 0 0 10px #0077b5;
}
.header .links {
  display: none;
}
.header .links i {
  color: white;
  font-size: 20px;
  cursor: pointer;
  position: relative;
  z-index: 1;
}
.header .links i::after {
  content: "";
  position: absolute;
  background-color: #131e24ad;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  z-index: -1;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}
.header .links .link-closed::after {
  animation: spreadback 0.3s forwards;
  -webkit-animation: spreadback 0.3s forwards;
  transition-duration: 0.3s;
}
@keyframes spreadback {
  0% {
    width: 220px;
    height: 220px;
  }
  100% {
    width: 0px;
    height: 00px;
  }
}
.header .link-opened::after {
  animation: spread 0.3s forwards;
  -webkit-animation: spread 0.3s forwards;
}
@keyframes spread {
  0% {
    width: 0px;
    height: 0px;
  }
  100% {
    width: 220px;
    height: 220px;
  }
}
.header .links i:hover {
  text-shadow: 0 0 10px white;
}
@media (max-width: 767px) {
  .header .links {
    display: initial;
  }
  .header .social {
    position: absolute;
    right: 29px;
    grid-template-columns: 0.5fr 0.5fr;
    z-index: 2;
    top: 34px;
    display: none;
    animation: opacity 0.4s forwards;
    -webkit-animation: opacity 0.4s forwards;
  }
  @keyframes opacity {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }
  .header .social li:nth-child(1) {
    position: relative;
    top: -24px;
    left: -32px;
  }
  .header .social li:nth-child(2) {
    position: relative;
    left: -64px;
    top: 14px;
  }
  .header .social li:nth-child(3) {
    position: relative;
    top: 1px;
    left: -3px;
  }
  .header .social li:nth-child(4) {
    position: relative;
    top: 25px;
    left: -17px;
  }
  .header .social li:nth-child(5) {
    position: relative;
    top: -11px;
    left: 59px;
  }
}
.visible {
  display: grid !important;
}
/* end social  */
/* start main text  */
header .main-text p {
  color: var(--main-color);
}
header .main-text {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  position: fixed;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
}
@media (max-width: 567px) {
  header .main-text {
    position: absolute;
  }
}
header .main-text h1 {
  font-family: bebasKai;
  font-size: 6rem;
  letter-spacing: -0.5px;
  font-weight: 100;
  margin: 0 0 5px;
}
/* end main text  */

header .scroll {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  bottom: 65px;
  z-index: 11;
  display: flex;
  flex-direction: column;
  gap: 20px;

  align-items: center;
}
header .scroll p {
  color: white;
  transform: rotate(90deg);
  -webkit-transform: rotate(90deg);
  -moz-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  -o-transform: rotate(90deg);
}
header .scroll i {
  font-size: 20px;
  color: white;
}
/* end landing  */
/* start about */

.about .container {
  display: flex;
  gap: 30px;
  overflow: hidden;
  align-items: center;
}
@media (max-width: 767px) {
  .about .container {
    flex-direction: column;
  }
}
.about .container > div {
  flex-basis: 50%;
}
.about .container .image img {
  max-width: 100%;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
  width: 400px;
  height: auto;
  margin: auto;
  display: block;
}
.about .container .text {
  padding: 0 30px;
}
@media (max-width: 767px) {
  .about .container .text {
    padding: 0px;
  }
}
.about .container .text p {
  font-size: 14px;
  line-height: 25px;
  color: #959595;
  letter-spacing: 0.2px;
  display: block;
  margin: auto;
}
.about .container .text .project {
  width: 130px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  text-align: center;
  background-color: #182228;
  border-radius: 8px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
  margin: 20px auto;
}
.about .container .text .project i {
  color: var(--main-color);
  font-size: 20px;
}
.about .container .text .project span:first-of-type {
  color: white;
  font-size: 14px;
  display: block;
  margin: 10px 0;
}
.about .container .text .project span:last-of-type {
  font-size: 10px;
  color: #959595;
}
.about .container .text > a {
  display: block;
  color: #293241;
  background-color: var(--main-color);
  padding: 10px 15px;
  width: fit-content;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  transition-duration: 0.3s;
  margin: auto;
}
@media (max-width: 767px) {
  .about .container .text > a {
    margin: auto;
  }
}
.about .container .text > a:hover {
  background-color: #293241;
  color: var(--main-color);
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}
/* end about */
/* start skills */
.skills .container {
  display: flex;
  justify-content: space-around;
  gap: 30px;
}
@media (max-width: 767px) {
  .skills .container {
    flex-direction: column;
    gap: 30px;
    align-items: center;
  }
}
.skills .container .box {
  padding: 40px;
  background-color: #192229;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
  width: 450px;
}
@media (max-width: 767px) {
  .skills .container .box {
    max-width: 100%;
  }
}
.skills .container .box > h3 {
  color: white;
}
.skills .container .box > span {
  color: #767676;
  font-size: 10px;
  display: block;
  margin-bottom: 15px;
}
.skills .container .box .skill-holder .skill {
  margin-bottom: 15px;
}
.skills .container .box .skill-holder .skill p {
  color: white;
}
.skills .container .box .skill-holder .skill span {
  height: 4px;
  display: block;
  background-color: #866657;
  box-shadow: 0px 0px 5px rgba(255, 169, 122, 0.5);
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  position: relative;
  margin-top: 5px;
}

.skills .container .box .skill-holder .skill span::before {
  content: "";
  left: 0;
  bottom: 0;
  height: 100%;
  position: absolute;
  border-radius: 5px;
  background: #ffa97a;
  box-shadow: 0px 0px 5px #ffa97a;
}
.skills .container .box .skill-holder span::before {
  width: 0;
  transition: all 0.5s linear;
  -webkit-transition: all 0.5s linear;
  -moz-transition: all 0.5s linear;
  -ms-transition: all 0.5s linear;
  -o-transition: all 0.5s linear;
}
.skills .container .box .skill-holder .html .animate-progress::before {
  width: 90%;
}
.skills .container .box .skill-holder .css .animate-progress::before {
  width: 80%;
}
.skills .container .box .skill-holder .js .animate-progress::before {
  width: 70%;
}
.skills .container .box .skill-holder .react .animate-progress::before {
  width: 70%;
}
.skills .container .box .skill-holder .figma .animate-progress::before {
  width: 70%;
}
.skills .container .box .skill-holder .sketch .animate-progress::before {
  width: 10%;
}
.skills .container .box .skill-holder .ps .animate-progress::before {
  width: 60%;
}
.skills .container .box .skill-holder .ui .animate-progress::before {
  width: 40%;
}
.skills .container .box .skill-holder .skill span::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  font-size: 10px;
  color: #767676;
}
.skills .container .box .skill-holder .html span::after {
  content: "90%";
}
.skills .container .box .skill-holder .css span::after {
  content: "80%";
}
.skills .container .box .skill-holder .js span::after {
  content: "70%";
}
.skills .container .box .skill-holder .react span::after {
  content: "70%";
}
.skills .container .box .skill-holder .figma span::after {
  content: "70%";
}
.skills .container .box .skill-holder .sketch span::after {
  content: "10%";
}
.skills .container .box .skill-holder .ps span::after {
  content: "60%";
}
.skills .container .box .skill-holder .ui span::after {
  content: "40%";
}
/* end skills */
/* start work  */
.work .tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}
.work .tabs button {
  padding: 5px 10px;
  color: white;
  background-color: transparent;
  border: 1px solid var(--main-color);
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  font-size: 15px;
  cursor: pointer;
  transition-duration: 0.3s;
}
.work .tabs .active,
.work .tabs button:hover {
  background-color: var(--main-color);
  color: #293241;
}
.work .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
}
@media (max-width: 668px) {
  .work .container {
    grid-template-columns: 1fr;
  }
}
.work .container .box {
  background-color: #192229;
  padding: 15px 25px;
  border-radius: 8px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
  cursor: pointer;
  transition-duration: 0.3s;
  box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 4.6px;
}
.work .container .box p {
  color: white;
  font-size: 15px;
  display: block;
  margin-bottom: 10px;
}
.work .container .box a {
  display: block;
  width: fit-content;
  padding: 5px 10px;
  color: white;
  border: 1px solid var(--main-color);
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  font-size: 15px;
  opacity: 0;
  z-index: -1;
  transition-duration: 0.3s;
}
@keyframes show {
  0% {
    opacity: 0;
    transform: translateY(-40px);
    -webkit-transform: translateY(-40px);
    -moz-transform: translateY(-40px);
    -ms-transform: translateY(-40px);
    -o-transform: translateY(-40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0px);
    -webkit-transform: translateY(0px);
    -moz-transform: translateY(0px);
    -ms-transform: translateY(0px);
    -o-transform: translateY(0px);
  }
}
.work .container .box:hover {
  box-shadow: rgb(0 0 0 / 35%) 0px 10px 20px;
  transform: translateY(-4px);
  -webkit-transform: translateY(-4px);
  -moz-transform: translateY(-4px);
  -ms-transform: translateY(-4px);
  -o-transform: translateY(-4px);
}
.work .container .box:hover a {
  animation: show 0.3s forwards;
  -webkit-animation: show 0.3s forwards;
}
.work .container .box a:hover {
  color: var(--main-color);
  background-color: #293241;
  border-color: #293241;
}
.work .container .box img {
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 7px;
}
/* end work  */
/* start contact */
.contact .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.contact .container a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background-color: #192229;
  border-radius: 8px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
  color: var(--main-color);
  transition-duration: 0.3s;
}
.contact .container a:hover {
  color: #192229;
  background-color: var(--main-color);

  box-shadow: rgb(149 157 165 / 20%) 0px 8px 24px;
}
.contact .container i {
  font-size: 20px;
}
/* end contact */
/* start footer  */
.footer {
  background-color: var(--main-color);
  padding: 30px 0;
}
.footer .container {
  text-align: center;
  color: #293241;
}
.footer .container ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin: 30px 0;
}
.footer .container ul a {
  font-size: 18px;
  color: #293241;
  position: relative;
  transition-duration: 0.3s;
}
.footer .container ul a:hover {
  text-shadow: 0 0 10px #293241;
}
.footer .container ul a::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #293241;
  top: -1px;
  opacity: 0;
  transition-duration: 0.5s;
  border-radius: 30px;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  -ms-border-radius: 30px;
  -o-border-radius: 30px;
}
.footer .container ul a:hover:before {
  opacity: 1;
  top: 22px;
}
/* end footer  */
/* start loader */
.loader {
  position: absolute;
  inset: 0 0;
  z-index: 30;
  width: 100%;
  height: 100vh;
  background-color: var(--back-color);
  display: flex;
  justify-content: center;
  align-items: center;
}
.lds-ripple {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-ripple div {
  position: absolute;
  border: 3px solid var(--main-color);
  opacity: 1;
  border-radius: 50%;
  animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
  -webkit-animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
.lds-ripple div:nth-child(2) {
  animation-delay: -0.5s;
}
@keyframes lds-ripple {
  0% {
    top: 36px;
    left: 36px;
    width: 0;
    height: 0;
    opacity: 0;
  }
  4.9% {
    top: 36px;
    left: 36px;
    width: 0;
    height: 0;
    opacity: 0;
  }
  5% {
    top: 36px;
    left: 36px;
    width: 0;
    height: 0;
    opacity: 1;
  }
  100% {
    top: 0px;
    left: 0px;
    width: 72px;
    height: 72px;
    opacity: 0;
  }
}
/* end loader */
/* start up */
.up {
  position: fixed;
  bottom: 10px;
  right: -30px;
  color: #293241;
  background-color: var(--main-color);
  font-weight: bold;
  font-size: 20px;
  padding: 5px;
  border-radius: 4px;
  font-family: Arial, Tahoma;
  cursor: pointer;
  transition: 0.2s;
  z-index: 200;
}
.up:hover {
  box-shadow: rgb(149 157 165 / 20%) 0px 8px 24px;
}
.up.show {
  right: 10px;
}
/* end up */
/*animted name==============================*/
.animated-name {
  border-right: 2px solid white;
  width: fit-content;
  animation: blink 0.6s infinite;
  -webkit-animation: blink 0.6s infinite;
  white-space: nowrap;
  padding: 0 10px 0 0;
}
@media (max-width: 1000px) {
  .animated-name {
    font-size: 12vw !important;
  }
}
@keyframes blink {
  0% {
    border-right-color: transparent;
  }
  100% {
    border-right-color: white;
  }
}
/* //icons */
lord-icon {
  margin: auto;
}
.lang-switch {
  display: flex;
  margin-top: 0.5px;
  gap: 8px;
  color: var(--main-color) !important;
  position: absolute;
  right: 210px;
  font-size: 18px;
}
.lang-switch i {
  color: var(--main-color) !important;
}
.lang-switch span {
  font-weight: bold;
}
@media (max-width: 767px) {
  .lang-switch {
    right: 50px;
  }
  .header .container {
    position: initial;
  }
}
@media (max-width: 1130px) {
  .lang-switch span {
    display: none;
  }
}
.hire-me .container {
  display: flex;
  justify-content: center;
  gap: 80px;
}
.hire-me .container a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
  color: var(--main-color);
  font-weight: bold;
}
.hire-me .container a img {
  height: 60px;
}
@media (max-width: 767px) {
  .hire-me .container {
    flex-direction: column;
  }
}
.blog,
.blog-post {
  padding: 100px 0;
}
.blog .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
}
.blog .container .box img,
.blog-post img {
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 7px;
}
.blog .container .box p {
  color: var(--main-color);
  font-size: 0.9rem;
  display: block;
  margin-bottom: 10px;
  line-height: 1.8;
}
.blog .container .box {
  background-color: #192229;
  padding: 15px 25px;
  border-radius: 8px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
  cursor: pointer;
  box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 4.6px;
}
.blog .box p:nth-child(3) {
  color: #cfcfcf;
  font-size: 0.8rem;
  display: block;
  margin-bottom: 10px;
  line-height: 1.5;
}
.blog-post .container {
  max-width: 1200px;
}
.blog-post img {
  margin: auto;
  display: block;
  margin-bottom: 30px;
}
.blog-post h2 {
  color: var(--main-color);
  margin-bottom: 10px;
  font-weight: bolder;
  font-size: 1.8rem;
}
.blog-post p {
  color: white;
  line-height: 1.5;
  font-size: 1rem;
  margin-bottom: 20px;
}
.blog-post .back-link {
  color: var(--main-color);
  text-decoration: underline;
}
.blog-post p {
  font-size: 1rem;
  line-height: 2;
}
.blog-post h3 {
  color: var(--main-color);
}
.blog-post ul {
  list-style-type: none; /* Remove default bullet points */
  padding-left: 0; /* Remove left padding */
  margin: 20px 0; /* Add some vertical margin */
}

.blog-post li {
  color: white;
  margin-bottom: 15px; /* Add space between each list item */
  font-size: 16px; /* Adjust font size */
  line-height: 1.6; /* Improve readability */
  padding: 10px; /* Add padding inside the list items */
  border-left: 4px solid var(--main-color); /* Add a colored border to the left */
  background-color: #273037; /* Light background color for list items */
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
}

.blog-post li strong {
  color: var(--main-color); /* Change color of the bold text */
  font-size: 18px; /* Increase font size of the bold text */
}
code,
pre {
  font-family: "Courier New", Courier, monospace;
  background-color: #273037;
  color: var(--main-color);
  padding: 2px 4px;
  border-radius: 4px;
  font-size: 90%;
  white-space: pre-wrap; /* Ensures code wraps nicely */
  direction: ltr;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.page-link {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
  color: white;
  transition: all 0.3s ease;
  background-color: var(--back-color);
}

.page-link:hover {
  background-color: #f5f5f5;
  border-color: #999;
  color: var(--back-color);
}

.page-link.active {
  background-color: var(--main-color);
  color: var(--back-color);
  border-color: var(--main-color);
}

.page-link.active:hover {
  background-color: #e6956d;
  border-color: #e6956d;
}
