:root {
  --main-color: #2196f3;
  --toggle-menu-before-disply: none;
}

body {
  font-family: 'Open Sans', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.container {
  padding-left: 15px;
  padding-right: 15px;
  margin: auto;
}

/* start setting box */

.open-box {
  left: 0 !important;
}

.setting-box {
  position: fixed;
  left: -200px;
  top: 0;
  background-color: white;
  z-index: 1000;
  width: 200px;
  height: 100vh;
  transition: .3s;
  border-radius: 6px;
  border: 1px solid #eee;
}

.setting-box .toggle-settings {
  position: absolute;
  right: 0;
  top: 100px;
  background-color: white;
  text-align: center;
  right: -30px;
  cursor: pointer;
  border-radius: 0 6px 6px 0;

}

/* sitting boox */
.setting-box .toggle-settings .gear-icon {
  width: 30px;
  padding: 8px 0;
}


.setting-box .option-box {
  padding: 10px;
  text-align: center;
  background-color: #eee;
  border-radius: 6px;
  margin: 10px;

}

.setting-box .option-box h4 {
  margin: 0;
  color: #666;
  font-size: 14px;
}

.setting-box .option-box .colors-list {
  list-style: none;
  text-align: center;
  padding: 0;
  margin: 10px 0 0;
}

.setting-box .option-box .colors-list li {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  cursor: pointer;
  opacity: .5;
  display: inline-block;
  border: 3px solid #eee;
  transition: .3s;
}

.setting-box .option-box .colors-list li.active {
  opacity: 1;
  border-color: white;
}

.setting-box .option-box .colors-list li:first-child {
  background-color: #2196f3;
}

.setting-box .option-box .colors-list li:nth-child(2) {
  background-color: #ff5722;
}


.setting-box .option-box .colors-list li:nth-child(3) {
  background-color: #4caf50;
}

.setting-box .option-box .colors-list li:nth-child(4) {
  background-color: #607d8b;
}


.setting-box .option-box .yes,
.setting-box .option-box .no {
  width: 50px;
  background-color: var(--main-color);
  color: white;
  margin-top: 10px;
  display: inline-block;
  font-size: 12px;
  border-radius: 6px;
  padding: 4px 10px;
  font-weight: bold;
  opacity: .5;
  cursor: pointer;
}

.setting-box .option-box .active {
  opacity: 1;
}


.setting-box .reset-options {
  background-color: #f44336;
  border: none;
  width: 178px;
  margin: 10px auto;
  display: block;
  color: white;
  font-weight: bold;
  padding: 10px;
  border-radius: 6px;
  cursor: pointer;
}

/* end setting box */


/* start nav bullets */
.nav-bullets {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  z-index: 1000;
}

.nav-bullets .bullet {
  width: 20px;
  height: 20px;
  border: 3px solid var(--main-color);
  border-radius: 50%;
  margin: 20px auto;
  cursor: pointer;
  position: relative;
}

.nav-bullets .bullet:hover .tooltip {
  display: block;
}

.nav-bullets .bullet .tooltip {
  background-color: var(--main-color);
  width: 120px;
  color: white;
  padding: 8px 10px;
  position: absolute;
  right: 32px;
  top: -10px;
  border-radius: 6px;
  text-align: center;
  cursor: default;
  pointer-events: none;
  display: none;
}

.nav-bullets .bullet .tooltip::before {
  content: "";
  border-style: solid;
  border-width: 10px;
  height: 0;
  width: 0;
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  border-color: transparent transparent transparent var(--main-color);
}

/* end nav bullets */



/* start landing page */
.landing-page {
  min-height: 100vh;
  background-image: url("../imgs/03.jpg");
  background-size: cover;
  background-size: 160%;
  background-position: center;
  background-attachment: fixed;
}

.landing-page .container {
  position: relative;
  z-index: 1000;
}

.landing-page .overlay {
  background-color: rgba(0, 0, 0, .6);
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 1;
}

.header-area {
  position: relative;
  z-index: 2;
  color: white;
  display: flex;
  padding: 10px;
}

.header-area .logo {
  width: 300px;
  padding: 15px;
  font-weight: bold;
}

.header-area .links-container {
  width: 100%;
  text-align: right;
}

.header-area .links {
  list-style: none;
  padding: 0;
  padding: 0;
}

.header-area .links li {
  display: inline-block;
  margin-left: 10px;
}

.header-area .links li a {
  color: white;
  text-decoration: none;
  transition: .3s;
}

.header-area .links li a:hover,
.header-area .links li a.active {
  color: var(--main-color);
}

.header-area .toggle-menu {
  background: none;
  border: none;
  width: 40px;
  margin-top: 15px;
  display: none;
  position: relative;
}

.header-area .toggle-menu.menu-active::before {
  content: "";
  position: absolute;
  border-width: 10px;
  border-style: solid;
  border-color: transparent transparent #fff transparent;
  bottom: -12px;
  left: 10px;
}

.header-area .toggle-menu:focus {
  outline: none;
  cursor: pointer;
}

.header-area .toggle-menu span {
  display: block;
  background-color: white;
  height: 4px;
  margin-bottom: 5px;

}

.introduction-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  z-index: 2;
  text-align: center;
  width: 80%;
}

.introduction-text h1 {
  font-size: 34px;
  margin: 0 0 12px;
}

@media (max-width: 575px) {
  .introduction-text h1 {
      font-size: 26px !important;
  }
}


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

.introduction-text p {
  line-height: 1.6;
  font-size: 20px;
  margin: 0;
}


@media (max-width:991px) {
  .header-area .links {
      display: none;
  }

  .header-area .links.open {
      display: block;
      background: #fff;
      padding: 10px;
      width: 100%;
      position: absolute;
      left: 0;
      top: 50px;
      border-radius: 6px;
      text-align: left;
  }

  .header-area .links.open li {
      display: block;
      margin: 10px;
  }

  .header-area .links.open li a {
      color: var(--main-color);
      font-weight: bold;
  }

  .header-area .toggle-menu {
      display: inline-block;
  }
}


/* end landing page */

/* start about us */

.about-us {
  padding-top: 50px;
  padding-bottom: 50px;
  display: flex;
}

.about-us .info-box {
  flex: 1;
  padding: 30px;
}

@media (max-width: 767px) {
  .about-us {
      display: block;
      text-align: center;
  }

  .about-us .image-box img {
      display: none;
  }
}

.about-us .info-box h2 {
  font-weight: bold;
  font-size: 30px;
  color: var(--main-color);
  margin: 0 0 10px;
}

.about-us .info-box p {
  line-height: 1.8;
  color: #767676;
}

.about-us .image-box {
  flex: 1;
}

.about-us .image-box img {
  width: 400px;
  text-align: center;
  animation: img-ainmation 6s infinite linear;
  /* animation: name duration timing-function delay iteration-count direction fill-mode; */
  /* animation */
}

/* start image animation */
@keyframes img-ainmation {
  0% {
      transform: scale(1);
  }

  50% {
      transform: scale(1.2);
  }

  100% {
      transform: scale(1);

  }
}

/* end about us */

/* start skills  */

.skills {
  padding-top: 50px;
  padding-bottom: 50px;
  background-color: #eee;
}

@media (max-width: 575px) {}

.skills h2 {
  font-weight: bold;
  font-size: 30px;
  color: var(--main-color);
  margin: 0 0 50px;
  text-align: center;
}

.skills .skill-box {
  background-color: white;
  display: flex;
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 6px;
}

.skills .skill-box .skill-name {
  font-weight: bold;
  width: 140px;
  text-align: center;
  line-height: 30px;
}

@media (max-width: 767px) {
  .skills .skill-box {
      display: block;
  }

  .skills .skill-box .skill-name {
      margin-bottom: 15px;
      width: 100%;
  }
}

.skills .skill-box .skill-progress {
  height: 30px;
  width: calc(100% - 110px);
  background-color: #f6f6f6;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}

.skills .skill-box .skill-progress span {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: var(--main-color);
  transition: all .5s;
  /* border-radius: 6px; */

}

/* end skills  */

/* start gallery */
.gallery {
  padding-top: 50px;
  padding-bottom: 50px;
}

@media (max-width: 767px) {
  .gallery {
      text-align: center;
  }
}

.gallery h2 {
  font-weight: bold;
  font-size: 30px;
  color: var(--main-color);
  margin: 0 0 50px;
  text-align: center;
}

.gallery .images-box {
  text-align: center;
}

.gallery .images-box img {
  width: 200px;
  padding: 3px;
  background-color: #f6f6f6;
  border: 1px solid #ccc;
  margin: 5px;
  cursor: pointer;
}


.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .7);
  z-index: 1000;
  transition: all .3s;
}

.popup-box {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 20px;
  z-index: 1001;
  transition: all .3s;

}

.popup-box h3 {
  font-weight: bold;
  text-align: center;
  margin: 0 0 20px;
  color: var(--main-color);
}

.popup-box img {
  max-width: 100%;
}

.close-button {
  position: absolute;
  top: -15px;
  right: -15px;
  background-color: var(--main-color);
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  font-size: 20px;
  color: white;
  border-radius: 50%;
  cursor: pointer;
  font-weight: bold;
  font-family: Arial, Tahoma;
}

/* end gallery */

/* 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;
  text-align: center;
  color: white;
  border-radius: 6px;
  padding: 2px 5px;
  font-weight: bold;
}

.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::before,
  .timeline .timeline-content .right::before {
      display: none;
  }

  .timeline .timeline-content .left .content::before,
  .timeline .timeline-content .right .content::before {
      display: none;
  }
}

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

.timeline .timeline-content .left::before {
  right: -35px;
}

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

.timeline .timeline-content .right::before {
  left: -35px;
}

.timeline .timeline-content .left::before,
.timeline .timeline-content .right::before {
  content: "";
  width: 14px;
  height: 14px;
  background-color: white;
  border: 3PX solid var(--main-color);
  position: absolute;
  border-radius: 50%;
  top: 20px;
}

.timeline .timeline-content .content {
  padding: 20px;
  background-color: white;
  border-radius: 6px;
}

.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 {
  border-color: transparent transparent transparent white;
  right: -20px;
}

.timeline .timeline-content .right .content::before {
  border-color: transparent white transparent transparent;
  left: -20px;
}

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

/* end time line  *


/* .start features */

.features {
  padding-top: 80px;
  padding-bottom: 80px;
}

.features h2 {
  font-weight: bold;
  font-size: 30px;
  color: var(--main-color);
  margin: 0 0 60px;
  text-align: center;
}

.features .feat-box {
  width: calc((100% / 3) - 20px);
  float: left;
  text-align: center;
  margin-bottom: 40px;
  padding: 20px;
}

@media (max-width: 991px) {
  .features .feat-box {
      width: calc(100% / 2);
  
  }
}

@media (max-width: 575px) {
  .features .feat-box {
      width: 100%
  
  }
}

.features .feat-box img {
  width: 96px;
}

.features .feat-box h4 {
  font-size: 22px;
  margin: 15px 0 40px;
  position: relative;
}

.features .feat-box h4::before {
  content: "";
  width: 40px;
  height: 4px;
  background-color: var(--main-color);
  position: absolute;
  left: 50%;
  margin-left: -20px;
  bottom: -22px;
}

.features .feat-box p {
  width: 80%;
  margin: 0 auto;
  line-height: 1.6;
  color: #747474;
}

/* end features */

/* start testimonials  */

.testimonials {
  padding-top: 80px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;

}

.testimonials::before {
  content: "";
  width: 50%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background-color: var(--main-color);
}

.testimonials::after {
  content: "";
  width: 50%;
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
  background-color: #333;
}

.testimonials h2 {
  font-weight: bold;
  font-size: 30px;
  color: white;
  margin: 0 0 50px;
  text-align: left;
  position: relative;
  z-index: 2;
}

@media (max-width: 767px) {
  .testimonials h2{
      text-align: center;
  }
}

.testimonials .ts-box {
  position: relative;
  z-index: 2;
  width: calc(98% / 3);
  min-height: 240px;
  float: left;
  background-color: white;
  padding: 20px;
  border-radius: 6px;
}


.testimonials .ts-box:not(:last-of-type) {
  margin-right: 1%;
}

.testimonials .ts-box>p {
  margin: 0 0 20px;
  line-height: 1.2;
  font-size: 18PX;
  color: #747474;
  font-style: italic;

}

.testimonials .ts-box .person-info {
  overflow: hidden;
}

.testimonials .ts-box .person-info img {
  float: left;
  border-radius: 50%;
  width: 64px;
  margin-right: 20px;

}

@media (max-width: 991px) {

  .testimonials .ts-box {
      width: 100%;
      margin-bottom: 20px;
      float: none;
  }

  .testimonials .ts-box .person-info {
      text-align: center;
      overflow: visible;
  }

  .testimonials .ts-box .person-info img {
      float: none;
      margin-right: 0;
  }
}

.testimonials .ts-box .person-info h4 {
  margin: 14px 0 5px;
}

.testimonials .ts-box .person-info p {
  color: #747474;
  margin: 0;
}

/* end testimonials  */

/* start contact  */

.contact {
  min-height: 600px;
  background-image: url('../imgs/contact.png');
  background-size: cover;
  padding-top: 80px;
  padding-bottom: 80px;
  position: relative;
}

.contact .overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0 0 0 / 50%);
}

.contact .container {
  position: relative;
  z-index: 2;
}

.contact h2 {
  font-weight: bold;
  font-size: 30px;
  color: var(--main-color);
  margin: 0 0 60px;
  text-align: center;
}

.contact form {
  overflow: hidden;
  max-width: 800px;
  margin: auto;
  padding: 10px;
}


.contact form .left {
  float: left;
  width: 49%;
}

.contact form .right {
  float: right;
  width: 49%;
}

@media (max-width: 767px) {
  .contact form .left,
  .contact form .right {
      float: none;
      width: 100%;
  }
}

.contact form input:not([type='submit']),
.contact form textarea {
  display: block;
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  background-color: rgba(218, 218, 218, 0.19);
  border-radius: 6px;
}

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

.contact form input {
  height: 40px;
}

.contact form textarea {
  height: 150px;
  resize: none;
}

.contact form input[type='submit'] {
  padding: 10px;
  width: 100%;
  border-color: transparent;
  background-color: var(--main-color);
  color: white;
  cursor: pointer;
  border-radius: 6px;
}

.contact form input:not([type='submit']):focus::-webkit-input-placeholder {
  opacity: 0;
  transition: .3s;
}

.contact form input:not([type='submit']):focus::-ms-input-placeholder {
  opacity: 0;
  transition: .3s;
}

.contact form input:not([type='submit']):focus::placeholder {
  opacity: 0;
  transition: .3s;
}

.contact form textarea:focus::-webkit-input-placeholder {
  opacity: 0;
  transition: .3s;
}

.contact form textarea:focus:-ms-input-placeholder {
  opacity: 0;
  transition: .3s;
}

.contact form textarea:focus::placeholder {
  opacity: 0;
  transition: .3s;
}

/* end contact  */


/* start footer */

.footer {
  background-color: #333;
  color: #fff;
  padding: 20px;
  text-align: center;
}

/* end footer */


/* start grid system */

@media (min-width:576px) {

  /* small devices*/
  .container {
      max-width: 540px;
  }
}



@media (min-width:768px) {

  /* medium devices*/
  .container {
      max-width: 720px;
  }
}


@media (min-width:992px) {

  /* desktop devices*/
  .container {
      max-width: 960px;
  }
}

@media (min-width:1200px) {

  /* large screen devices*/
  .container {
      max-width: 1140px;
  }
}



/* end grid system */