@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Ubuntu:wght@400;500;700&display=swap');
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  scroll-behavior: smooth;
}
body{
  background-color: #272727;
}
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #272727;
}
::-webkit-scrollbar-thumb {
    background: #ff4242;
    /* border-radius: 12px; */
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: #f61c1c;
}
nav{
  position: fixed;
  width: 100%;
  padding: 20px 0;
  z-index: 998;
  transition: all 0.3s ease;
  font-family: 'Ubuntu', sans-serif;
}
nav.sticky{
  background: #f61c1c;
  padding: 13px 0;
}
nav .navbar{
  width: 90%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: auto;
}
nav .navbar .logo a{
  font-weight: 500;
  font-size: 35px;
  color: #f61c1c;
}
nav.sticky .navbar .logo a{
  transition: all 0.3s ease;
  color: #FFF;
}
nav .navbar .menu{
  display: flex;
  position: relative;
}
nav .navbar .menu li{
  list-style: none;
  margin: 0 8px;
}
.navbar .menu a{
  font-size: 18px;
  font-weight: 500;
  color: #FFF;
  padding: 6px 0;
  transition: all 0.4s ease;
}
.navbar .menu a:hover{
  color: #f61c1c;
}
nav.sticky .menu a{
  color: #FFF;
}
nav.sticky .menu a:hover{
  color: #FFF;
}
.navbar .media-icons a{
  color: #f61c1c;
  font-size: 18px;
  margin: 0 6px;
}
nav.sticky .media-icons a{
  color: #FFF;
  transition: all 0.3s ease;
}
nav .menu-btn,
.navbar .menu .cancel-btn{
  position: absolute;
  color: #fff;
  right: 30px;
  top: 20px;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: none;
}
nav .menu-btn{
  color: #f61c1c;
}
nav.sticky .menu-btn{
  color: #FFF;
}
.navbar .menu .menu-btn{
  color: #fff;
}

.home{
  height: 100vh;
  width: 100%;
  background: url("images/background2.png") no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  font-family: 'Ubuntu', sans-serif;
}
.home .home-content{
  width: 90%;
  height: 50%;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.home .text-one{
  font-size: 25px;
  color: #FFF;
}
.home .text-two{
  color: #FFF;
  font-size: 75px;
  font-weight: 600;
  margin-left: -3px;
}
.home .text-three{
  font-size: 30px;
  margin: 5px 0;
  color: #f61c1c;
}
.home .text-four{
  font-size: 23px;
  margin: 5px 0;
  color: #FFF;
}
.home .button{
  margin: 14px 0;
}
.home .button button{
  outline: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 25px;
  font-weight: 400;
  background: #f61c1c;
  color: #272727;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.4s ease;
}
.home .button button:hover{
  border-color: #f61c1c;
  background-color: #272727;
  color: #FFF;
}

section{
  padding-top: 40px;
}
section .content{
  width: 80%;
  margin: 40px auto;
  font-family: 'Poppins', sans-serif;
}
.about .about-details{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
section .title{
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}
section .title span{
  color: #FFF;
  font-size: 30px;
  font-weight: 600;
  position: relative;
  padding-bottom: 8px;
}
section .title span::before,
section .title span::after{
  content: '';
  position: absolute;
  height: 3px;
  width: 100%;
  background: #f61c1c;
  left: 0;
  bottom: 0;
}
section .title span::after{
  bottom: -7px;
  width: 70%;
  left: 50%;
  transform: translateX(-50%);
}
.about .about-details .left{
  width: 45%;
}
.about .about-details .right{
  width: 45%;
}
.about .left img{
  height: 400px;
  width: 400px;
  object-fit: cover;
  border-radius: 12px;
  background-color: #272727;
}
.left-game{
  width: 45%;
}

.game{
  height: auto;
  width: 100%;
  object-fit: cover;
  border-radius: 12px;
  background-color: #272727;
}
.about .right img{
  height: 400px;
  width: 400px;
  object-fit: cover;
  border-radius: 12px;
}
.about-details .right{
  width: 55%;
}
.about-details .left{
  width: 55%;
}
.topic{
  color: #FFF;
  font-size: 25px;
  font-weight: 500;
  margin-bottom: 10px;
}
.about-details .right p{
  text-align: justify;
  color: #FFF;
}
.about-details .left p{
  text-align: justify;
  color: #FFF;
}
section .button{
  margin: 16px 0;
}
section .button button{
  outline: none;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 25px;
  font-weight: 400;
  background: #f61c1c;
  color: #FFF;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.4s ease;
}
section .button button:hover{
  border-color: #f61c1c;
  background-color: #fff;
  color: #f61c1c;
}

 .skills{
   background: #272727;
 }
 .skills .content{
   padding: 40px 0;
 }/*
 .skills .skills-details{
   display: flex;
   justify-content: space-between;
   align-items: center;
 }
 .skills-details .text{
   width: 50%;
 }*/
 .skills-details p{
   /*color: #FFF;*/
   text-align: justify;
 }
.skills .skills-details .experience{
  display: flex;
  align-items: center;
  margin: 0 10px;
}
.skills-details .experience .num{
  color: #FFF;
  font-size: 80px;
}
.skills-details .experience .exp{
  color: #FFF;
  margin-left: 20px;
  font-size: 18px;
  font-weight: 500;
  margin: 0 6px;
}
.skills-details .boxes{
  width: 45%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.skills-details .box{
  width: calc(100% / 2 - 20px);
  margin: 20px 0;
}
.skills-details .boxes .topic{
  font-size: 20px;
  color: #f61c1c;
}
.skills-details .boxes .per{
  font-size: 60px;
  color: #f61c1c;
}

.services .boxes{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.services .boxes .box{
  margin: 20px 0;
  width: calc(100% / 3 - 20px);
  text-align: center;
  border-radius: 12px;
  padding: 30px 10px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.12);
  cursor: default;
  transition: all 0.4s ease;
}
.services .boxes .box:hover{
  background: #f61c1c;
  color: #fff;
}
.services .boxes .box .icon{
  height: 50px;
  width: 50px;
  background: #f61c1c;
  border-radius: 50%;
  text-align: center;
  line-height: 50px;
  font-size: 18px;
  color: #fff;
  margin: 0 auto 10px auto;
  transition: all 0.4s ease;
}
.boxes .box:hover .icon{
  background-color: #fff;
  color: #f61c1c;
}
section {
  background-color: #272727;
}
.services .boxes .box:hover .topic,
.services .boxes .box:hover p{
  color: #FFF;
  transition: all 0.4s ease;
}
.services .boxes .box:hover .topic,
.services .boxes .box:hover p{
  color: #fff;
}
.contact{
  background: #272727;
}
.contact .content{
  margin: 0 auto;
  padding: 30px 0;
}
.contact .text{
  width: 80%;
  text-align: center;
  margin: auto;
}

footer{
  background: #f61c1c;
  padding: 15px 0;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}
footer .text span{
  font-size: 17px;
  font-weight: 400;
  color: #fff;
}
footer .text span a{
  font-weight: 500;
  color: #FFF;
}
footer .text span a:hover{
  text-decoration: underline;
}
.scroll-button a{
  position: fixed;
  font-family: 'Ubuntu',sans-serif;
  bottom: 20px;
  right: 20px;
  color: #fff;
  background: #f61c1c;
  padding: 7px 12px;;
  font-size: 18px;
  border-radius: 6px;
  box-shadow: rgba(0, 0, 0, 0.15);
  display: none;
  z-index: 10;
}

@media (max-width: 1190px) {
  section .content{
    width: 85%;
  }
}
@media (max-width: 1000px) {
  .about .about-details{
    justify-content: center;
    flex-direction: column;
  }
  .about .about-details .left{
    /* display: flex; */
    justify-content: center;
    width: 100%;
  }
  .about .about-details .right{
    justify-content: center;
    width: 100%;
  }
  .left-game{
    display: flex;
    justify-content: center;
    width: 100%;
  }
  .about-details .right{
    width: 90%;
    margin: 40px 0;
  }
  .about-details .left{
    width: 90%;
    margin: 40px 0;
  }
  .services .boxes .box{
    margin: 20px 0;
    width: calc(100% / 2 - 20px);
  }
}
@media (max-width: 900px) {
  .game{
    height: auto;
    width: 100%;
  }
  .about .left img{
    height: 350px;
    width: 350px;
  }
}
@media (min-width: 850px) {
  nav.sticky .menu a:hover{
    color: #272727;
  }
  nav.sticky .navbar .logo a:hover{
    color: #272727;
  }
  
  nav.sticky .media-icons a:hover{
    color: #272727;
  }
  
}
@media (max-width: 750px) {
  nav .navbar{
    width: 90%;
  }
  nav .navbar .menu{
    position: fixed;
    left: -100%;
    top: 0;
    background: #272727;
    height: 100vh;
    max-width: 400px;
    width: 100%;
    padding-top: 60px;
    flex-direction: column;
    align-items: center;
    transition: all 0.5s ease;
  }
  .navbar.active .menu{
    left: 0;
  }
  nav .navbar .menu a{
    font-size: 23px;
    display: block;
    color: #fff;
    margin: 10px 0;
  }
  nav.sticky .menu a:hover{
    color: #f61c1c;
  }
  nav .navbar .media-icons{
    display: none;
  }
  nav .menu-btn,
  .navbar .menu .cancel-btn{
    display: block;
  }
  .home .text-two{
    font-size: 65px;
  }
  .home .text-three{
    font-size: 35px;
  }
  .skills .skills-details{
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }
  .skills-details .text{
    width: 100%;
    margin-bottom: 50px;
  }
  .skills-details .boxes{
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  .services .boxes .box{
    margin: 20px 0;
    width: 100%;
  }
  .contact .text{
    width: 100%;
}
}

@media (max-width: 500px){
  .home .text-two{
    font-size: 55px;
  }
  .home .text-three{
    font-size: 33px;
  }
  .skills-details .boxes .per{
    font-size: 50px;
    color: #f61c1c;
  }
}
.faq {
  margin-left: 20%;
  margin-right: 20%;
}
.faq-text1{
  font-size: 100%;
  font-weight: 600;
}
.faq h2{
  font-size: 100%;
  text-transform: uppercase;
  font-weight: 700;
  margin-top: 0;
  margin-left: 2%;
  padding: 10px;
  margin: 1.78rem 0 1.424rem 0;
  text-align: center;
}

.faq .col .collapsible-faq li {
  list-style-type: none;
  counter-increment: question;
  padding: 1rem 0;
  border-bottom: 2px solid #B4B4B4;
}

.faq .col .collapsible-faq li .collapsible-header{
  cursor: pointer;
  margin-top: 4px;
  font-weight: 700;
}

.faq .col .collapsible-faq li div{
  /*margin-left: 3rem;*/
  font-size: 1rem;
}
.faq-bloc{
  display: flex;
  justify-content: center;
}
.faq-text{
  width: 60%;
  padding: 20px;
  border: 2px solid #ccc;
  border-radius: 10px;
  text-align: center;
  margin: 50px;
  background-color: #272727;
}
.buttontout {
  background: #790328;
  outline: none;
  border: none;
  color: #f1f1f1;
  padding: 8px 22px;
  border-radius: 5px;
  font-size: 14px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.buttontout:hover {
  background-color: #7d1737;
} 
img{
  border: 3px solid #B4B4B4
}
.imgfrise{
  height: auto;
  width: 100%;
  object-fit: cover;
  border-radius: 12px;
  background-color: #D9D9D9;
}

.mail{
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}
.tel{
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}


.mail:hover{
  color: #f61c1c;
  
}
.tel:hover{
  color: #f61c1c;
}

.icons{
  display: inline-flex;
}
.icons a{
  margin: 0 25px;
  text-decoration: none;
  color: #fff;
  display: block;
  position: relative;
}
.icons a .layer{
  width: 55px;
  height: 55px;
  transition: transform 0.3s;
}
.icons a:hover .layer{
  transform: rotate(-35deg) skew(20deg);
}
.icons a .layer span{
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  border: 1px solid #fff;
  border-radius: 5px;
  transition: all 0.3s;
}
.icons a .layer span.fab{
  font-size: 30px;
  line-height: 55px;
  text-align: center;
}
.icons a:hover .layer span:nth-child(1){
  opacity: 0.2;
}
.icons a:hover .layer span:nth-child(2){
  opacity: 0.4;
  transform: translate(5px, -5px);
}
.icons a:hover .layer span:nth-child(3){
  opacity: 0.6;
  transform: translate(10px, -10px);
}
.icons a:nth-child(1) .layer span,
.icons a:nth-child(1) .text{
  color: #4267B2;
  border-color: #4267B2;
}
.icons a:nth-child(2) .layer span,
.icons a:nth-child(2) .text{
  color: #1c477c;
  border-color: #183e6c;
}
.icons a:nth-child(3) .layer span,
.icons a:nth-child(3) .text{
  color: #ff0000;
  border-color: #ff0000;
}
.icons a:hover:nth-child(1) .layer span{
  box-shadow: -1px 1px 3px #4267B2;
}
.icons a:hover:nth-child(2) .layer span{
  box-shadow: -1px 1px 3px #194070;
}
.icons a:hover:nth-child(3) .layer span{
  box-shadow: -1px 1px 3px #ff0000;
}
.icons a .text{
  position: absolute;
  /* left: 50%; */
  bottom: -5px;
  opacity: 0;
  font-weight: 500;
  transform: translateX(-50%);
  transition: bottom 0.3s ease, opacity 0.3s ease;
}
.icons a:hover .text{
  bottom: -35px;
  opacity: 1;
}

.container .skill-box{
  width: 100%;
  margin: 25px 0;
}
.skill-box{
  margin-bottom: 20px;
}
.skill-box .title{
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}
.skill-box .skill-bar{
  height: 8px;
  width: 100%;
  border-radius: 6px;
  margin-top: 6px;
  background: rgba(0,0,0,0.1);
}
.skill-bar .skill-per{
  position: relative;
  display: block;
  height: 100%;
  width: 80%;
  border-radius: 6px;
  background: #f61c1c;
  animation: progress 0.4s ease-in-out forwards;
  opacity: 0;
}
.skill-per.php{
  width: 70%;
  animation-delay: 0.1s;
}
.skill-per.css{
  width: 70%;
  animation-delay: 0.1s;
}
.skill-per.sql{
  width: 80%;
  animation-delay: 0.1s;
}
.skill-per.javascript{
  width: 30%;
  animation-delay: 0.2s;
}
.skill-per.java{
  width: 60%;
  animation-delay: 0.2s;
}
.skill-per.cs{
  width: 60%;
  animation-delay: 0.3s;
}
.skill-per.cplus{
  width: 20%;
  animation-delay: 0.3s;
}
@keyframes progress {
  0%{
      width: 0;
      opacity: 1;
  }
  100%{
      opacity: 1;
  }
}
.skill-per .tooltip{
  position: absolute;
  right: -14px;
  top: -28px;
  font-size: 9px;
  font-weight: 500;
  color: #fff;
  padding: 2px 6px;
  border-radius: 3px;
  background: #f61c1c;
  z-index: 1;
}
.tooltip::before{
  content: '';
  position: absolute;
  left: 50%;
  bottom: -2px;
  height: 10px;
  width: 10px;
  z-index: -1;
  background-color: #f61c1c;
  transform: translateX(-50%) rotate(45deg);
}
