:root {
  --main-color: #ff9800;
  --back-image: url(../imgs/1.jpg);
  --progress: 0%;
}

* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
body {
  font-family: "Open Sans", sans-serif;
}

/* Start Container */
.container {
  position: relative;
  width: 100%;
  padding-right: 0.75rem;
  padding-left: 0.75rem;
  margin-right: auto;
  margin-left: auto;
}
@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* End Container */

/* start Settings */
.setting {
  position: absolute;
  top: 30%;
  right: -23px;
  padding: 5px;
  line-height: 0;
  cursor: pointer;
  background-color: white;
}
.fa-gear {
  font-size: small;
  padding: 0;
}
.rotating {
  animation: rotate 1s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.settings {
  position: fixed;
  height: 100%;
  width: 200px;
  left: -200px;
  padding: 10px;
  z-index: 100;
  background-color: white;
  transition: 0.3s;
}

.settings .bullets,
.settings .color,
.settings .random {
  background-color: #eee;
  color: gray;
  padding: 10px 15px;
  margin-bottom: 15px;
  text-align: center;
}

.settings h4 {
  margin-top: 0px;
  font-size: 13px;
  font-weight: 700;
}

.settings .colors-spans {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.settings .colors-spans .colors {
  width: 17px;
  height: 17px;
  display: inline-block;
  border-radius: 50%;
  transition: 0.2s;
}

.settings .colors-spans .colors:nth-child(1) {
  border: 2px solid white;
  width: 22px;
  height: 22px;
}

.settings .yes {
  background-color: var(--main-color);
  padding: 2px 10px;
  cursor: pointer;
  color: white;
  border-radius: 3px;
  font-size: 13px;
  margin-right: 5px;
}

.settings .no {
  background-color: var(--main-color);
  padding: 2px 10px;
  color: white;
  font-size: 13px;
  cursor: pointer;
  border-radius: 3px;
}

.settings button {
  width: 100%;
  height: 40px;
  border-radius: 5px;
  border: 0px;
  font-weight: bolder;
  color: white;
  background-color: #f44336;
  cursor: pointer;
}

.hidden {
  opacity: 0.4;
}
/* End Settings */

/* start Hover links */
.hover-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  z-index: 40000;
  top: 50%;
  gap: 15px;
  right: 10px;
  transform: translateY(-50%);
  /* cursor: pointer; */
}

.hover-links .link {
  width: 20px;
  height: 20px;
  border: 3px solid var(--main-color);
  border-radius: 50%;
  display: inline-block;
  transform: translateY(-50%);
  position: relative;
}

.hover-links .link a {
  position: relative;
  top: -20%;
  left: 20%;
  text-decoration: none;
  color: transparent;
}

.hover-links .link::before {
  content: attr(data-hover);
  position: absolute;
  min-width: 100px;
  padding: 5px;
  background-color: var(--main-color);
  color: white;
  right: calc(100% + 25px);
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  display: none;
}

.hover-links .link:hover::before {
  display: block;
}
/* End hover links */

/* Start Header */
header {
  height: 80px;
  color: white;
  position: relative;
  display: flex;
  z-index: 2;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 17px;
  padding: 10px;
}

.fa-bars {
  font-size: 30px;
  cursor: pointer;
}

@media (min-width: 991px) {
  body::before {
    content: "small-screen";
    display: none;
  }
  .fa-bars::before {
    display: none;
    flex: 1;
  }
  header {
    display: flex;
  }
  header ul {
    display: flex;
    gap: 10px;
    font-weight: normal;
  }
  .links {
    display: flex;
  }
  header .links .link {
    margin: 0;
    color: white;
  }
  header .links a {
    color: white;
  }
  header .links .link:hover a {
    color: var(--main-color);
  }
}

header .logo {
  font-weight: bold;
}

@media (max-width: 990px) {
  header ul {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-content: space-between;
    display: none;
    align-items: flex-start;
    padding: 15px;
    border-radius: 3px;
    top: 70px;
    right: 0;
    width: 100%;
    background-color: white;
    margin: auto;
  }
  header .logo::before {
    content: "";
    position: absolute;
    width: 0px;
    height: 0px;
    border: 10px solid white;
    border-top: 10px transparent;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    top: 60px;
    right: 12px;
  }
}

header .hide-puesodo::before {
  display: none;
}

header ul li {
  list-style-type: none;
  color: var(--main-color);
}

header ul li:not(:last-child) {
  margin-bottom: 10px;
}

header a {
  text-decoration: none;
  color: var(--main-color);
}

/* End Header */

/* Start Landing */
.landing {
  background-image: var(--back-image);
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  height: 100vh;
  position: relative;
  top: -80px;
  margin-bottom: -80px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.landing::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  background-color: rgba(255, 0, 0, 0.349);
  z-index: -1;
}

.landing h1 {
  color: white;
  text-align: center;
  font-size: 28px;
}

.landing h1 span {
  color: var(--main-color);
}

.landing p {
  width: 80%;
  font-size: 18px;
  line-height: 1.6;
  text-align: center;
  color: white;
}

/* End Landing */

/* Start about  */
.about {
  padding-top: 50px;
  padding-bottom: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
}

.about h2 {
  color: var(--main-color);
  font-size: 25px;
  font-weight: bold;
  margin-bottom: 0px;
}

.about p {
  font-size: 16px;
  line-height: 1.6;
  color: #767676;
  margin-top: 5px;
  margin-bottom: 5px;
}

@media (min-width: 767px) {
  .about {
    flex-direction: row;
    justify-content: space-between;
    gap: 40px;
    text-align: left;
  }
  .about .text {
    padding: 30px;
    max-width: 650px;
  }
}

.about .fa-yarn {
  font-size: 250px;
  color: var(--main-color);
}

/* End about */

/* Start Skills Section */

.skills {
  background-color: #eee;
  padding-top: 50px;
  padding-bottom: 50px;
  text-align: center;
  transition: 0.3s;
}

.skills .title {
  color: var(--main-color);
}

.skills .skill {
  background-color: white;
  padding: 15px 30px;
  position: relative;
  margin-bottom: 15px;
  height: 80px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.skills .skill h4 {
  margin: 0;
  width: 100px;
}

.skills .skill .prog {
  background-color: #eee;
  height: 30px;
  position: relative;
  width: 100%;
}

.skills .skill .prog .progress {
  background-color: var(--main-color);
  height: 100%;
  width: 0%;
  transition: 0.8s;
}

@media (min-width: 991px) {
  .skills .skill {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
  }
}

/* End Skills Section */

/* Start Gallery Seciton */

.gallery {
}

.gallery .container {
  text-align: center;
  padding-top: 50px;
  padding-bottom: 50px;
}

.gallery .container h2 {
  color: var(--main-color);
  font-size: 33px;
}

.gallery .container .images-box {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 25px;
  margin: auto;
}

.gallery .container .images-box img {
  width: 200px;
  cursor: pointer;
  border: 5px solid #eee;
  box-shadow: 0px 0px 1.5px black;
}

.gallery .window {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.655);
  z-index: 10000000000000000;
  display: none;
  justify-content: center;
  gap: 10px;
  flex-direction: column;
  align-items: center;
}

.gallery .window .img-container {
  background-color: white;
  padding: 2vw;
  width: 50%;
}

.gallery .window h3 {
  color: var(--main-color);
  margin: 0 0 10px;
  font-weight: bold;
  font-size: 3vw;
}

.gallery .window img {
  width: 100%;
}

.gallery .window .img-closer {
  background-color: var(--main-color);
  width: 5vw;
  height: 5vw;
  border-radius: 50%;
  line-height: 5vw;
  cursor: pointer;
  font-weight: bolder;
  color: white;
  font-size: 3vw;
  position: relative;
  top: 4vh;
  left: 24vw;
}

/* End Gallery Section */

/* Start Another Gallery idea */
.another-gallery {
  padding-top: 50px;
  padding-bottom: 50px;
}
.another-gallery .container {
  position: relative;
}

.another-gallery img {
  width: 100%;
  height: 250px;
  display: inline-block;
  position: absolute;
  opacity: 0;
  transition: 0.5s ease-in-out;
  border-radius: 5px;
}

.another-gallery img.appeard {
  opacity: 1;
}

.another-gallery .slider-controls {
  display: flex;
  position: relative;
  justify-content: space-between;
  align-items: center;
}

.another-gallery .slider-container {
  border: 2px solid var(--main-color);
  height: 253px;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  margin-bottom: 5px;
}

.another-gallery .slider-container .slide-number {
  position: absolute;
  z-index: 1000;
  top: 10px;
  left: 23px;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 5px;
  border-radius: 3px;
}

.another-gallery .indicators span {
  padding: 5px;
  background-color: #eee;
  border-radius: 2px;
  cursor: pointer;
}

.another-gallery .prev,
.another-gallery .next {
  background-color: var(--main-color);
  padding: 5px;
  color: white;
  border-radius: 2px;
  cursor: pointer;
}

.another-gallery .indicators span.active {
  background-color: var(--main-color);
  color: white;
}

.another-gallery .prev.disabled,
.another-gallery .next.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  user-select: none;
}

/* End Another Gallery idea */

/* Start Time Line */
.timeline {
  padding-top: 50px;
  padding-bottom: 50px;
  background-color: #eee;
}
.timeline .timeline-content {
  position: relative;
  overflow: hidden;
}
.timeline .timeline-content:before {
  content: "";
  width: 2px;
  height: 100%;
  background-color: var(--main-color);
  position: absolute;
  left: 50%;
  margin-left: -1px;
  top: 0;
}
.timeline .timeline-content .year {
  margin: 20px auto;
  width: 50px;
  background-color: var(--main-color);
  position: relative;
  z-index: 2;
  border-radius: 4px;
  text-align: center;
  color: #fff;
  padding: 2px 5px;
  font-weight: bold;
  cursor: pointer;
}

.timeline .timeline-content .left,
.timeline .timeline-content .right {
  width: calc(50% - 25px);
  margin-bottom: 40px;
  position: relative;
}

@media (max-width: 767px) {
  .timeline .timeline-content .left,
  .timeline .timeline-content .right {
    width: 100%;
    margin-bottom: 20px;
  }
}
.timeline .timeline-content .left {
  float: left;
}

.timeline .timeline-content .right {
  float: right;
}

.timeline .timeline-content .content {
  padding: 20px;

  background-color: #fff;
}

@media (min-width: 767px) {
  .timeline .timeline-content .content {
    opacity: 0;
    max-height: 0px;
    transition: opacity 2s 2s, max-height 10s;
  }
}
.timeline .timeline-content .content h3 {
  font-weight: bold;
  color: var(--main-color);
  margin: 0 0 10px;
}
.timeline .timeline-content .content p {
  color: #666;
  margin: 0;
  line-height: 1.6;
}
.clearfix {
  clear: both;
}
.timeline .timeline-content .left .content:before {
  content: "";
  border-style: solid;
  border-width: 10px;
  border-color: transparent transparent transparent #fff;
  height: 0;
  width: 0;
  position: absolute;
  right: -20px;
  top: 20px;
}

.timeline .timeline-content .right .content:before {
  content: "";
  border-style: solid;
  border-width: 10px;
  border-color: transparent #fff transparent transparent;
  height: 0;
  width: 0;
  position: absolute;
  left: -20px;
  top: 20px;
}

.timeline .left .circle,
.timeline .right .circle {
  position: absolute;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: white;
  border: 2px solid var(--main-color);
  cursor: pointer;
}

.timeline .left .circle {
  right: -33px;
  top: 22px;
}

.timeline .right .circle {
  left: -33px;
  top: 22px;
}

/* End Time Line */

/* Start Features */

.features {
  text-align: center;
  padding-top: 50px;
  padding-bottom: 50px;
}

.features h2 {
  color: var(--main-color);
  margin-bottom: 60px;
  font-size: 30px;
}

.features .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  text-align: center;
}
.features .feat-box {
  margin: auto;
}

@media (max-width: 560px) {
  .features .feat-box {
    max-width: 490px;
  }
}
@media (min-width: 560px) {
  .features .feat-box {
    max-width: 230px;
  }
}
@media (min-width: 1000px) {
  .features .feat-box {
    max-width: 300px;
  }
}
.features img {
  width: 100px;
}

.features h4 {
  font-weight: bolder;
  font-size: 22px;
  position: relative;
}

.features h4::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -60%;
  width: 60px;
  background-color: var(--main-color);
  height: 4px;
  transform: translateX(-50%);
}

.features p {
  line-height: 1.6;
}
/* end Features */

/* Start Testimonials */
.testimonials {
  position: relative;
  text-align: center;
  padding-top: 50px;
  padding-bottom: 50px;
}

.testimonials .poxes {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-direction: column;
}

@media (min-width: 767px) {
  .testimonials .poxes {
    flex-direction: row;
  }
}

.testimonials h2 {
  margin-bottom: 30px;
  color: white;
  width: fit-content;
}

.testimonials::before,
.testimonials::after {
  content: "";
  position: absolute;
  top: 0;
  z-index: -1;
  width: 50%;
  height: 100%;
}

.testimonials::after {
  background-color: var(--main-color);
  right: 0;
}

.testimonials::before {
  left: 0;
  background-color: #222;
}

.testimonials .ts-box {
  background-color: white;
  padding: 10px;
  max-width: 490px;
}

.testimonials .ts-box p {
  color: #767676;
  line-height: 1.6;
}

.testimonials .ts-box h4 {
  margin-bottom: 0px;
}

/* End Testimonials */

.contact {
  padding-top: 50px;
  padding-bottom: 50px;
  position: relative;
}

.contact .overlay {
  position: absolute;
  z-index: -1;
  background-image: url(../imgs/contact.png);
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
}

.contact .container {
}

.contact .container h2 {
  margin: auto;
  margin-bottom: 30px;
  color: var(--main-color);
  font-size: 30px;
  width: fit-content;
}

.contact .contact .container form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact .container form .left {
}

.contact .container form .right {
  display: flex;
  flex-direction: column;
}

.contact .container form .right textarea {
  min-height: 140px;
}

.contact .container form .right input[type="submit"] {
  background-color: var(--main-color);
  border: 0px;
  color: white;
  font-weight: bold;
  cursor: pointer;
}

.contact input,
.contact textarea {
  padding: 15px;
  width: 100%;
  background-color: #eeeeeeb9;
  margin-bottom: 15px;
  outline-color: #fff;
  border: 1px solid gray;
}

.contact input:not([type="submit"]):focus,
.contact textarea:focus {
  outline: 1px solid var(--main-color);
  border: 0px;
}

.contact textarea:focus::-webkit-input-placeholder,
.contact input:not([type="submit"]):focus::-webkit-input-placeholder {
  opacity: 0;
  transition: 0.3s;
}

@media (min-width: 767px) {
  .contact .container form {
    display: flex;
    gap: 15px;
    .right {
      flex: 1;
    }
    .left {
      flex: 1;
    }
  }

  .contact .container form .right textarea {
    height: calc(100% - 50px);
  }
}

/* Start Footer */
.footer {
  background-color: #222;
  text-align: center;
  padding: 20px;
  color: white;
}
/* End Footer */

/* تم بحمد الله ونعمته  */
