* {
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

:host,
:root {
  --main-color: #ffa500;
  --fa-style-family-brands: "Font Awesome 6 Brands";
  --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";
}

@font-face {
  font-family: "Font Awesome 6 Brands";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../webfonts/fa-brands-400.woff2) format("woff2");    
}

@font-face {
  font-family: "Font Awesome 6 Free";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../webfonts/fa-regular-400.woff2) format("woff2");
}
@font-face {
  font-family: "Font Awesome 6 Free";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(../webfonts/fa-solid-900.woff2) format("woff2");
}
.fa-regular,
.far {
  font-weight: 400;
}
:host,
:root {
  --fa-style-family-classic: "Font Awesome 6 Free";
  --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Free";
}

.fa-linkedin-in:before {
  content: "\f0e1";
}
.fa-linkedin:before {
  content: "\f08c";
}
.fa-facebook-f:before {
  content: "\f39e";
}
.fa-twitter:before {
  content: "\f099";
}
.fa-square-twitter:before,
.fa-twitter-square:before {
  content: "\f081";
}

.fa-youtube:before {
  content: "\f167";
}

.fa-square-youtube:before,
.fa-youtube-square:before {
  content: "\f431";
}

.fa-python:before {
  content: "\f3e2";
}

.fa-reacteurope:before {
  content: "\f75d";
}

.fa-react:before {
  content: "\f41b";
}

.fa-brands,
.fab {
  font-weight: 400;
}

.fa {
  font-family: var(--fa-style-family, "Font Awesome 6 Free");
  font-weight: var(--fa-style, 900);
}
.fa,
.fa-brands,
.fa-classic,
.fa-regular,
.fa-sharp,
.fa-solid,
.fab,
.far,
.fas {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: var(--fa-display, inline-block);
  font-style: normal;
  font-variant: normal;
  line-height: 1;
  text-rendering: auto;
}
.fa-classic,
.fa-regular,
.fa-solid,
.far,
.fas {
  font-family: "Font Awesome 6 Free";
}
.fa-brands,
.fab {
  font-family: "Font Awesome 6 Brands";
}

.fa-laravel:before {
  content: "\f3bd";
}

.fa-css3-alt:before {
  content: "\f38b";
}

.fa-html5:before {
  content: "\f13b";
}

.fa-js:before {
  content: "\f3b8";
}

.fa-js-square:before,
.fa-square-js:before {
  content: "\f3b9";
}

.fa-jsfiddle:before {
  content: "\f1cc";
}

.fa-bootstrap:before {
  content: "\f836";
}

.fa-2x {
  font-size: 2em;
}

.fa-angle-double-down:before,
.fa-angles-down:before {
  content: "\f103";
}

.fa-solid,
.fas {
  font-weight: 900;
}

body {
  margin: 0;
  padding: 0;
  background-color: #000000;
  direction: rtl;
}
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background-color: rgb(105, 105, 105, 15%);
}
::-webkit-scrollbar-thumb {
  background-color: var(--main-color);
  border-radius: 10px;
}
ul {
  list-style: none;
  padding: 0;
}
*:focus {
  outline: none;
}
a {
  text-decoration: none;
}
ul {
  list-style: none;
  padding: 0;
}
.container {
  padding-left: 5px;
  padding-right: 5px;
  margin-left: auto;
  margin-right: auto;
}
/*small screen*/
@media (min-width: 767px) {
  .container {
    width: 750px;
  }
}
/*mediume screen*/
@media (min-width: 991px) {
  .container {
    width: 970px;
  }
}
/*large screen*/
@media (min-width: 1200px) {
  .container {
    width: 1250px;
  }
}
/* start const varible */
.ASLEH {
  text-transform: capitalize;
  font-weight: bold;
  font-size: 40px;
  color: white;
  position: relative;
  text-align: center;
  width: fit-content;
  margin: auto;
  margin-top: 50px !important;
  margin-bottom: 50px !important;
}
.ASLEH::before {
  content: "";
  position: absolute;
  width: 60%;
  height: 3px;
  background-color: var(--main-color);
  bottom: -5px;
  left: 0;
}
/* end const varible */

/* start scroll button */
#sceollBtn {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 10git 0;
  transform: rotate(180deg);
  color: var(--main-color);
  opacity: 0;
  transition: opacity 0.5s;
  cursor: pointer;
  animation: move 1.5s infinite linear;
}

#sceollBtn:focus {
  outline: 1px solid var(--main-color);
}

@keyframes move {
  0%,
  10%,
  20%,
  50%,
  80%,
  100% {
    transform: rotate(180deg) translateY(0);
  }
  40%,
  60% {
    transform: rotate(180deg) translateY(10px);
  }
}
/* end scroll button */

/* start hedaer */
nav {
  background-color: rgba(48, 46, 46, 0.3);
  width: 100%;
  padding: 5px 15px;
  position: fixed;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav {
  gap: 2rem;
  display: flex;
  align-items: center;
  direction: ltr;
}

.nav li a {
  color: white;
}

.nav li {
  position: relative;
  transition-duration: 0.5s;
}
.nav li::before {
  content: "";
  position: absolute;
  bottom: -3px;
  width: 40%;
  height: 2px;
  background-color: var(--main-color);
  transition-duration: 0.5s;
  left: 0;
}

.nav li:hover::before,
.nav li:has(:focus)::before {
  width: 100%;
}
.nav .act:first-letter {
  color: var(--main-color);
}
.nav li:hover:first-letter,
.nav li:has(:focus):first-letter {
  color: var(--main-color);
}
.mean {
  display: flex;
  flex-direction: column;
  width: 30px;
  display: none;
  cursor: pointer;
}
.mean:focus {
  outline: 1px solid var(--main-color);
}
.mean span {
  background-color: white;
  width: 100%;
  height: 4px;
  margin-bottom: 5px;
  border-radius: 10px;
  transition: 0.5s;
}
.mean span:nth-child(1) {
  background-color: var(--main-color);
}

.logo {
  font-weight: bold;
  font-size: 20px;
  border-radius: 50%;
  background-color: var(--main-color);
  box-shadow: 0 0 4px 1px var(--main-color), 0 0 7px 2px var(--main-color);
  width: 30px;
  height: 30px;
  line-height: 28px;
  text-align: center;
  z-index: 10;
}

@media (max-width: 767px) {
  nav {
    padding: 10px 20px;
  }
  .nav {
    background-color: #000000;
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-start;
    position: absolute;
    height: 100vh;
    top: 70%;
    width: 70%;
    right: -15px;
    transform: translateX(150%);
    transition: 0.6s;
    transition-delay: 0.2s;
  }

  .nav[aria-hidden="false"] {
    transform: translateX(0);
  }

  .layout {
    width: 100%;
    height: calc(100% - 50px);
    margin-top: 50px;
    background-color: rgba(8, 8, 6, 0.726);
    position: fixed;
    transform: translateX(150%);
    transition: 0.6s;
    z-index: 150;
  }

  .layout[aria-hidden="false"] {
    transform: translateX(0);
  }

  .nav li {
    padding: 25px;
    width: 100%;
  }

  .nav li::after {
    background-color: rgb(243, 185, 78, 50%);
    content: "";
    position: absolute;
    transform-origin: center left;
    bottom: 0;
    left: 0;
    height: 1px;
    width: 100%;
    transform: scalex(0);
    transition: 0.9s;
  }
  .nav li:hover::after,
  .nav li:focus::after {
    transform: scalex(1);
  }
  .nav li:hover,
  .nav li:focus {
    background-color: #ffa60059;
  }
  .nav li:first-child {
    border-bottom: 1px solid rgb(243, 185, 78, 50%);
  }
  .nav li::before {
    display: none;
  }
  .mean {
    display: flex;
  }
}
.mean span:first-child.open {
  transform: rotate(45deg) translateX(6px);
  background-color: red;
}
.mean span:last-child.open {
  transform: rotate(-45deg) translateX(6px);
  background-color: red;
}
.mean span:nth-child(2).open {
  display: none;
}
/* end hedaer */

/* start landing */
.landing {
  height: fit-content;
  padding: 60px;
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  color: white;
}

.container .squar {
  position: absolute;
  transform: rotate(40deg);
  right: 16%;
  top: 10%;
  width: 100px;
  height: 100px;
  border-radius: 20px;
  z-index: -1;
  background: rgb(255 167 0 / 44%);
}
.landing img {
  width: 450px;
  height: 550px;
  max-width: 100%;
  flex: 1;
  animation: moveimg 2s linear infinite;
  animation-direction: alternate-reverse;
}
@keyframes moveimg {
  0% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(20px);
  }
}
.landing .info {
  flex: 1;
  display: flex;
  text-align: left;
  flex-direction: column;
}
.landing .info h1::before {
  content: "";
  position: absolute;
  transform: rotate(40deg);
  top: 69%;
  left: 50%;
  width: 30px;
  border-radius: 5px;
  height: 30px;
  z-index: -1;
  background: rgb(255 167 0 / 44%);
}
.landing .info h1 {
  line-height: 50px;
  margin-top: -50px;
  font-size: 40px;
}
.landing .info h1 span:first-child {
  color: var(--main-color);
  margin-left: 6px;
}
.landing .info p {
  margin-top: -10px;
  line-height: 25px;
  position: relative;
}
.landing .info p::before,
.landing .info p::after {
  content: "";
  position: absolute;
  z-index: -10;
  top: -300%;
  left: 40%;
  transform: rotate(20deg);
  width: 150px;
  height: 150px;
  border-radius: 25px;
  background: rgb(255 167 0 / 44%);
}
.landing .info p::after {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  transform: rotate(45deg);
  left: 68%;
}
.landing .info .title {
  background-color: rgba(48, 46, 46, 0.3);
  width: fit-content;
  padding: 10px 15px;
  border-left: 1px solid var(--main-color);
  margin-right: auto;
}
.landing .info ul {
  gap: 1rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.landing .info ul li {
  padding: 10px;
}
#text {
  border-right: 1px solid var(--main-color);
  padding-right: 4px;
}
.info ul li {
  width: 50px;
  height: 50px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgb(124, 112, 112);
  transition: 0.5s;
}

.info ul li:hover,
.info ul li:is(:focus) {
  transform: translateY(-10px);
}

.info ul li:nth-child(3) {
  animation: coloring1 5s linear infinite;
}
.info ul li:nth-child(2) {
  animation: coloring2 5s linear infinite;
  animation-delay: 1s;
}
.info ul li:nth-child(1) {
  animation: coloring3 5s linear infinite;
  animation-delay: 2s;
}
.info ul li i {
  font-size: 25px;
  color: rgb(255, 250, 250);
}
@keyframes coloring1 {
  0% {
    background-color: orangered;
  }
  100% {
    background-color: rgb(124, 112, 112);
  }
}
@keyframes coloring2 {
  0% {
    background-color: blue;
  }
  100% {
    background-color: rgb(124, 112, 112);
  }
}
@keyframes coloring3 {
  0% {
    background-color: aquamarine;
  }
  100% {
    background-color: rgb(124, 112, 112);
  }
}
@media (max-width: 767px) {
  .landing {
    height: fit-content;
  }
  .landing.container {
    flex-direction: column;
  }
  .landing img {
    width: 300px;
  }
  .landing .info {
    text-align: center;
  }
  .landing .info p {
    font-size: 13px;
  }
  .landing .info h1 {
    line-height: 40px;
    margin-top: 10px;
    font-size: 28px;
  }
  .landing .info p::before {
    top: -65px;
    left: 5%;
    width: 100px;
    height: 100px;
    border-radius: 15px;
  }
  @keyframes moveimg {
    0% {
      transform: translateY(-1px);
    }
    100% {
      transform: translateY(8px);
    }
  }
  .landing .info .title {
    margin-right: 65%;
    margin-top: 10px;
  }
  .landing .info ul {
    justify-content: center;
    margin-right: 200px;
  }
  .landing .info h1::before {
    display: none;
  }
  .ASLEH {
    margin-bottom: 30px;
    font-size: 40px;
  }
}
/* end landing */
/*start about */
.about {
  height: fit-content;
}
.about .container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  color: white;
  flex-direction: row-reverse;
  text-align: left;
}
.about img {
  width: 500px;
  height: 400px;
}
.about .info-content {
  width: 60%;
}
.about .info-content h2 {
  text-transform: capitalize;
  margin-top: 0;
  font-size: 30px;
  margin-bottom: 10px;
}
.about .info-content h2 span {
  color: var(--main-color);
  margin-left: 5px;
}
.about .info-content p {
  font-size: 15px;
  line-height: 1.4;
  margin-bottom: 0;
}
.about .info-content .inf {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-around;
  align-items: center;
  text-transform: capitalize;
}
.about .info-content .inf ul li {
  margin-bottom: 5px;
}
.about .info-content .inf span {
  color: var(--main-color);
}
.about .info-content button {
  width: 100%;
  text-transform: capitalize;
  cursor: pointer;
  padding: 12px 30px;
  font-weight: normal;
  letter-spacing: 1px;
  border: 1px solid var(--main-color);
  color: var(--main-color);
  background-color: transparent;
  transition: 0.5s;
}
.about .info-content button:hover,
.about .info-content button:focus {
  background-color: #ffa500;
  color: white;
}
@media (max-width: 991px) {
  .about .container {
    flex-direction: column;
    align-items: center;
  }
  .about .info-content {
    width: 100%;
  }
}
@media (max-width: 767px) {
  .about {
    height: fit-content;
  }
  .about .container {
    flex-direction: column;
    align-items: center;
  }
  .about img {
    width: 300px;
    height: 300px;
  }
  .about .info-content {
    width: 80%;
    text-align: center;
  }
  .about .info-content p {
    font-size: 13px;
    line-height: 1.4;
  }
  .about .info-content .inf {
    flex-direction: column !important;
    text-align: left;
    align-items: flex-end;
  }
  .about .info-content .inf ul:first-child {
    margin-bottom: 0;
  }
  .about .info-content button {
    padding: 8px 10px;
    font-size: 12px;
    margin: auto;
  }
}
/*end about */
/* start skills */
.skills {
  height: fit-content;
  margin-top: 20px;
  color: white;
}
.skills .container {
  display: flex;
  width: 100%;
  overflow: hidden;
}
.skills .box {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 25%;
}
.skills .box i {
  font-size: 90px;
}
.skills .box::after {
  position: absolute;
  font-weight: bold;
  top: 18%;
  right: 30%;
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 50%;
  text-align: center;
}
.skills .red::after {
  content: "40%";
}
.skills .green::after {
  content: "95%";
}
.skills .yello::after {
  content: "60%";
}
.skills .blue::after {
  content: "85%";
}

.skills .container .red::after {
  background-color: rgba(255, 0, 0, 0.4);
  border: 2px solid red;
}
.skills .green::after {
  background-color: rgba(9, 255, 0, 0.4);
  border: 2px solid rgb(29, 248, 0);
}
.skills .blue::after {
  background-color: rgba(0, 255, 234, 0.4);
  border: 2px solid rgb(0, 248, 248);
}
.skills .yello::after {
  background-color: rgba(255, 153, 0, 0.4);
  border: 2px solid rgb(248, 99, 0);
}
.skills .box p {
  text-align: center;
  font-size: 12px;
  line-height: 1.9;
  width: 60%;
  margin-top: 0;
}
@media (max-width: 991px) {
  .skills .container {
    flex-wrap: wrap;
  }
  .skills .box {
    width: 50%;
    flex-wrap: wrap;
  }
}
@media (max-width: 767px) {
  .skills {
    height: fit-content;
  }
  .skills .container {
    display: grid;
  }
  .skills .container::after,
  .skills .container::before {
    display: none;
  }
  .skills .box {
    width: 100%;
  }
  .skills .box::after {
    top: 24%;
    right: 34%;
  }
  .skills .box p {
    margin-bottom: 20px;
  }
  .skills .box::after {
    top: 18%;
  }
}
/* end skills */
/* start spacial information*/
.information {
  height: fit-content;
}
.information .container {
  display: flex;
  justify-content: space-between;
}
.information .container .box {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
  text-align: center;
  width: 300px;
}
.information .container .box img {
  width: 250px;
  height: 250px;
  max-width: 100%;
}
.information .container .box h2 {
  margin-top: 10px;
  margin-bottom: 0;
  text-transform: capitalize;
}
.information .container .box p {
  font-size: 12px;
  line-height: 1.9;
}
@media (max-width: 767px) {
  .information {
    height: fit-content;
  }
  .information .container {
    flex-direction: column;
    align-items: center;
  }
}
/* end spacial information*/
/* start projects */
.projects {
  height: fit-content;
}
.projects .container {
  display: flex;
  justify-content: space-around;
  color: white;
  text-transform: capitalize;
}
.projects .mid {
  margin-left: -150px;
  margin-right: -150px;
}
.projects .box {
  display: flex;
  border-radius: 20px;
  flex-direction: column;
  align-items: flex-end;
  padding: 10px 10px;
  padding-bottom: 20px;
  border: 1px solid #696969;
  background-color: rgb(105, 105, 105, 9%);
  transition: 0.5s;
}
.projects .box:hover,
.projects .box:focus {
  transform: translateY(-25px);
}

.projects .box h3 {
  margin-bottom: 2px;
}
.projects .box .infoo {
  display: flex;
  flex-direction: row-reverse;
  width: 100%;
  justify-content: space-between;
}
.projects .box .infoo ul {
  display: flex;
  align-items: center;
}
.projects .box .infoo ul li {
  margin-left: 5px;
}
.projects .box .infoo ul li i {
  font-size: 17px;
}
.projects .box .infoo p {
  font-size: 17px;
}
.projects .box .end-info {
  display: flex;
  width: 100%;
  justify-content: space-around;
}
.projects .box img {
  width: 300px;
  height: 280px;
  border-radius: 15px;
}

.projects .box .end-info button {
  font-size: 1.1rem;
  border-bottom: 1px solid #696969;
  background-color: transparent;
  text-transform: capitalize;
  color: var(--main-color);
  padding: 10px 15px;
  cursor: pointer;
  transition: 0.5s;
}

.projects .box .end-info button:hover,
.projects .box .end-info button:focus {
  background-color: var(--main-color);
  color: white;
}

@media (max-width: 767px) {
  .projects {
    height: fit-content;
  }
  .projects .container {
    flex-direction: column;
    align-items: center;
  }
  .projects .box {
    margin-bottom: 30px;
  }
}
/* end projects */
/* start contact */
.contact {
  height: fit-content;
}
.contact .container {
  width: 50%;
  margin: auto;
}
.contact .container form {
  direction: ltr;
  text-align: left;
  margin-top: -10px;
}
.contact form input[type="text"],
.contact form input[type="email"],
.contact form input[type="number"],
.contact form input[type="button"] {
  background-color: transparent;
  border: 1px solid #696969;
  width: 100%;
  padding: 10px 10px;
  margin-bottom: 10px;
  border-radius: 10px;
  color: var(--main-color);
}

.contact form input:focus,
.contact form textarea:focus {
  outline: 2px solid var(--main-color);
}

.contact form input[type="button"] {
  cursor: pointer;
  font-weight: bold;
  width: fit-content;
  padding: 10px 15px;
  transition: 0.5s;
}
.contact form input[type="button"]:hover,
.contact form input[type="button"]:focus {
  background-color: var(--main-color);
  color: black;
}
.contact form textarea {
  background-color: transparent;
  border: 1px solid #696969;
  color: var(--main-color);
  width: 100%;
  height: 180px;
  margin-bottom: 10px;
  border-radius: 10px;
  padding: 10px 10px;
}
.contact form label {
  display: block;
  color: white;
  font-size: 20px;
  text-transform: capitalize;
  margin-bottom: 10px !important;
}

@media (max-width: 767px) {
  .contact {
    height: fit-content;
  }
  .contact .container {
    width: 80%;
  }
}
/* end contact */
/*start footer*/
.footer {
  height: 12vh;
  color: white;
  text-align: center;
  background-color: rgba(48, 46, 46, 0.3);
}
.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer ul {
  display: flex;
  margin-bottom: 5px;
}
.footer ul li {
  margin-left: 15px;
  cursor: pointer;
}
.footer ul li i {
  font-size: 20px;
  transition: 0.5s;
}

.footer span {
  color: var(--main-color);
}
.footer p {
  font-size: 12px;
  margin: 0;
}
.footer p:first-of-type {
  margin-bottom: 5px;
}
.footer p:last-of-type {
  direction: ltr;
}
.footer ul li:nth-child(4):focus,
.footer ul li:nth-child(4):hover {
  color: red;
}
.footer ul li:nth-child(2):focus,
.footer ul li:nth-child(2):hover {
  color: blue;
}
.footer ul li:nth-child(3):focus,
.footer ul li:nth-child(3):hover {
  color: yellow;
}
.footer ul li:nth-child(1):focus,
.footer ul li:nth-child(1):hover {
  color: aqua;
}
/*end footer*/
/* start meida for mobile */
@media (max-width: 767px) {
  .landing .container {
    flex-direction: column;
  }
}
/* end meida for mobile */
