
/*! Global */
* {
  box-sizing: border-box;
  margin: 0;
  scroll-behavior: smooth;
}

.container {
  width: 80%;
  margin: auto;
}

.clear-fix {
  clear: both;
}
















/** Home Section */
.home {
  background-image: linear-gradient(
      to right,
      rgba(0, 0, 0, 0.801),
      rgba(0, 0, 0, 0.815)
    ),
    url("../images/hero img.jpg");
  background-size: cover;
  background-position: center;
  height: 100vh;
}

.home-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.home-content h1 {
  color: RGB(255, 48, 91);
  font-size: 70px;
  font-weight: 700;
  font-family: "Source Sans 3", sans-serif;
}

.home-content p {
  color: RGB(255, 255, 255);
  font-size: 26px;
  font-weight: 300;
  font-family: "Source Sans 3", sans-serif;
}

.home-content .Welcome {
  color: RGB(255, 255, 255);
  font-size: 24px;
  font-weight: 600;
  font-family: "Source Sans 3", sans-serif;
}


.changing {
  display: inline-block;
  vertical-align: top;
  border-right: 2px solid #fff;
  overflow: hidden;
  animation: typing 8s steps(30) infinite;
}


.changing::after {
  content: "";
  margin-right: 5px;
  animation: typing 8s steps(30) infinite;
}


@keyframes typing {
  0% {
    content: "Designer";
    width: 0;
  }
  6.25% {
    content: "Designer";
    width: 100px;
  }
  31.25% {
    content: "Designer";
    width: 100px;
  }
  37.5% {
    content: "Designer";
    width: 0;
  }
  43.75% {
    content: "Developer";
    width: 0;
  }
  50% {
    content: "Developer";
    width: 115px;
  }
  75% {
    content: "Developer";
    width: 115px;/
  }
  81.25% {
    content: "Developer";
    width: 0;
  }

  100% {
    content: "";
    width: 0;
  }
}














/** Nav Section */
.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 5px;
  z-index: 99;
  background-color: #333333;
}

.nav-icon {
  float: right;
  margin-top: 12px;
  padding-inline: 10px;
  color: RGB(255, 255, 255);
  font-size: 20px;
}

.nav-head {
  width: 20%;
  padding: 5px;
  float: left;
}

.nav-head a {
  text-decoration: none;
  color: RGB(255, 48, 91);
  font-family: "Roboto", sans-serif;
  font-size: 24px;
  font-weight: 800;
}

.nav-container {
  position: absolute;
  width: 95%;
  margin: auto;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 0;
  overflow: hidden;
  transition: 0.5s all;
}

.nav-links {
  text-align: center;
  background-color: #333333;
}

#menu-toggle:checked ~ .nav-container {
  max-height: 300px;
}

.nav-links ul {
  list-style: none;
  padding: 20px;
}

.nav-links ul li {
  padding-block: 10px;
}

.nav-links a {
  text-decoration: none;
  color: RGB(255, 255, 255);
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 300;
}

@media screen and (min-width: 768px) {
  .home {
    background-position: top;
  }

  .nav-icon {
    display: none;
  }

  .nav-links {
    max-height: 100%;
    float: right;
    background-color: transparent;
  }

  .Homme a {
    color: #ff305b;
  }

  .nav-head {
    position: relative;
    top: 5px;
    left: 25px;
  }

  .nav-links ul {
    padding: 5px;
    margin-right: 10px;
  }
  .nav-links li {
    display: inline-block;
    padding: 12px;
  }

  .nav-links a {
    transition: 0.8s all;
  }

  .nav-links li:hover a {
    color: #ff305b;
  }

  .nav-container {
    position: static;
    overflow: visible;
  }
}






















/*! About Section !*/
.cv-section{
  margin-top: 30px;
  padding: 40px;
}


.image-container {
  float: left;
  width: 30%;
  position: relative;
}

.border-box {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 100%;
  height: 100%;
  border: 8px solid #555;
  border-radius: 2%;
  z-index: 0;
}

.myPhoto {
  position: relative;
  z-index: 1;
  left: 50px;
  top: 40px;
  overflow: hidden;
}

.myPhoto img {
  display: block;
  max-width: 100%;
  border-radius: 2%;
}


.about-icons{
  position: absolute;
  z-index: 3;
  background-color: #00000088;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  text-align: center;
  transform: translateY(100%);
  transition: 0.5s all;
}


.myPhoto:hover .about-icons{
  transform: translateY(0);
}

.about-social{
  width: 80%;
  margin: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}


.about-social a{
  text-decoration: none;
  color: #fff;
  margin-right: 10px;
  transition: 0.5s all;
}

.about-social a:hover{
  color: #ff305b;
}


.About{
  float: right;
  width: 50%;
}

.About h2{
  color: RGB(51, 51, 51);
  font-size: 34px;
  font-weight: 600;
  font-family: "Source Sans 3", sans-serif;
  position: relative;
  padding-left: 13px;
  line-height: 22px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.About h2::before{
  content: "";
  height: 100%;
  width: 4px;
  background-color: #FF305B;
  position: absolute;
  left: 0;
  top: 0;
  
}

.About p{
  color: RGB(85, 85, 85);
  font-size: 16px;
  font-weight: 400;
  font-family: "Roboto", sans-serif;
}


.About span{
  color: RGB(51, 51, 51);
  font-size: 16px;
  font-family: "Roboto", sans-serif;
  font-weight: 500;
}

.about-card{
  margin-top: 20px;
  float: left;
  width: 50%;
}


.about-card a{
  text-decoration: none;
  color: RGB(126, 126, 126);
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 400;
}

.Brief-summary{
  padding-block: 20px;
  border-bottom: 1px dashed RGB(85, 85, 85);
}


.about-links{
  display: inline-block;
  margin-top: 20px;
}


.A-links a{
  text-decoration: none;
  color: RGB(255, 255, 255);
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 400;
}


.A-links{
  display: inline-block;
  background-color: #ff305b;
  color: RGB(255, 255, 255);
  padding: 12px 20px;
  border-radius: 2%;
  margin-right: 10px;
  transition: 1s all;
}



.A-links:hover{
  background-color: #EC2403;
}


@media screen and (min-width:0px) and (max-width:559px){

.container{
  width: 100%;
}

  .image-container{
  width: 100%;
}
.About{
  width: 100%;
}


.myPhoto{
  top: 0;
  width: 75%;
  left: 0;
}

.about-card{
  width: 100%;
}

.border-box{
  display: none;
}

.A-links{
  margin-bottom: 10px;
}
}


@media screen and (min-width: 560px){
  .container{
  width: 100%;
}
  .image-container{
    width: max-content;
  }


.About{
  width: 100%;
}


.myPhoto{
  top: 0;
  width: 75%;
  left: 0;
}

.about-card{
  width: 100%;
}

.border-box{
  visibility: hidden;
}

.A-links{
  margin-bottom: 10px;
}
}

@media screen and(min-width:640px) {
  .container{
  width: 100%;
}

  .image-container{
    width: max-content;
}
.About{
  width: 100%;
}


.myPhoto{
  top: 0;
  width: 75%;
}

.about-card{
  width: 100%;
}

.border-box{
  visibility: hidden;
}
}



@media screen and (min-width: 768px) {

  .container{
  width: 100%;
}


.image-container{
  width: 50%;
}
.About{
  width: 50%;
}


.myPhoto{
  top: 0;
  width: 75%;
}

.about-card{
  width: 50%;
}

.border-box{
  visibility: hidden;
}
}



@media screen and (min-width: 1024px){
  .container{
  width: 80%;
}


.image-container{
  width: 30%;
}
.About{
  width: 50%;
}


.myPhoto{
  left: 50px;
  top: 40px;
  width: 100%;
}

.about-card{
  width: 50%;
}
.border-box{
  visibility: visible;
}
}

































/*? Services */
.Services{
  text-align: center;
  background-color: #F1F1F1;
  padding-block: 40px;
  margin-top: 40px;
}



.Services-card{
  float: left;
  width: 100%;
  padding: 40px 15px;
  margin-top: 40px;
  transition: 0.3s all;
}




.Services-card:hover{
  background-color: #FFFFFF;
  box-shadow: 0 15px 20px rgba(0, 0, 0, 0.1);
}

.Services-card:hover i{
  transform: scale(1.2);
}



.Services h2{
  color: RGB(51, 51, 51);
  font-size: 40px;
  font-weight: 800;
  font-family: "Source Sans 3", sans-serif;
  margin-top: 40px;
  position: relative;
  display: inline-block;
}


.Services h2::before,
.Services h2::after{
  content: "";
  position: absolute;
  height: 1px;
  background-color: rgb(255, 48, 91);
  left: 50%;
  transform: translateX(-50%);
}

.Services h2::before{
  width: 60px;
  bottom: -10px;
  box-shadow: 0 12px 0 rgb(255, 48, 91);
}


.Services h2::after{
  width: 70%;
  bottom: -16px;
}



.Services i{
  color: rgb(255, 48, 91);
  font-size: 30px;
  margin-bottom: 20px;
  transition: 0.3s all;
}


.Services h3{
  color: RGB(51, 51, 51);
  font-size: 24px;
  font-weight: 600;
  font-family: "Source Sans 3", sans-serif;
  margin-bottom: 10px;
}


.Services p{
  color: RGB(85, 85, 85);
  font-size: 16px;
  font-weight: 400;
  font-family: "Roboto", sans-serif;
}




@media screen and (min-width:640px){
  .Services-card{
  width: 50%;
}
}



@media screen and (min-width:768px){
  .Services-card{
  width: 33.33%;
}
}





@media screen and (min-width:1024px){
  .Services-card{
  width: 25%;
}
}


























/** Portfolio **/
.Portfolio{
  text-align: center;
  margin-bottom: 40px;
}

.Portfolio h2{
  color: RGB(51, 51, 51);
  font-size: 40px;
  font-weight: 800;
  font-family: "Source Sans 3", sans-serif;
  margin-top: 40px;
  position: relative;
  display: inline-block;
}

.Portfolio h2::before,
.Portfolio h2::after{
  content: "";
  position: absolute;
  height: 1px;
  background-color: rgb(255, 48, 91);
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
}


.Portfolio h2::before{
  width: 60px;
  bottom: -10px;
  box-shadow: 0 12px 0 rgb(255, 48, 91);
}


.Portfolio h2::after{
  width: 70%;
  bottom: -16px;
}



.portfolio-btns{
  padding: 40px;
  margin-top: 10px;
}

.portfolio-btns a{
  text-decoration: none;
  color: rgb(51, 51, 51);
  font-size: 16px;
  font-weight: 400;
  font-family: "Roboto", sans-serif;
  margin-right: 14px;
  letter-spacing: 2px;
}


.portfolio-btns a span{
  color: rgb(255, 48, 91);
}


.portfolio-card{
  float: left;
  width: 100%;
  padding: 8px;
  cursor: pointer;
  margin-bottom: 40px;
}

.portfolio-img{
  position: relative;
  overflow: hidden;
}


.p-icons-container{
  position: absolute;
  inset: 0;
  background-color: rgba(51, 51, 51, 0.555);
  opacity: 0;
  transition: 0.4s all;
}

.portfolio-card:hover .p-icons-container{
  opacity: 1;
}


.portfolio-icon{
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 10px;
}


.portfolio-icon i{
  color: RGB(255, 48, 91);
  font-size: 20px;
}




.portfolio-card img{
  width: 100%;
  display: block;
}



@media screen and (min-width:640px){
  .portfolio-card{
  width: 50%;
}
}



@media screen and (min-width:768px){
  .portfolio-card{
  width: 33.33%;
}
}




















/* Numbers */
.Numbers{
  text-align: center;
  background-color: #F1F1F1;
  padding-block: 40px;
}

.numbers-card{
  float: left;
  width: 100%;
  margin-block: 40px;
}


.numbers-card i{
  color: rgb(255, 48, 91);
  font-size: 26px;
  margin-bottom: 10px;
}


.numbers-card h3{
  color: RGB(51, 51, 51);
  font-size: 26px;
  font-weight: 800;
  font-family: "Source Sans 3", sans-serif;
  margin-bottom: 10px;
}


.numbers-card p{
  color: RGB(85, 85, 85);
  font-size: 16px;
  font-weight: 600;
  font-family: "Source Sans 3", sans-serif;
}



@media screen and (min-width:640px){
  .numbers-card{
  width: 50%;
}
}



@media screen and (min-width:768px){
  .numbers-card{
  width: 33.33%;
}
}



@media screen and (min-width:1024px){
  .numbers-card{
  width: 25%;
}
}






















/** Testimonial **/
.Feedback{
  text-align: center;
  margin-top: 40px;
  margin-bottom: 40px;
}


.feedback-box{
  width: 90%;
  background-color: #F1F1F1;
  margin: auto;
  margin-top: 40px;
  position: relative;
  overflow: hidden;
}


.feedback-box::before{
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  background: #ff305b;
  transform: rotate(45deg);
  top: -160px;
  left: -160px;
  z-index: 0;
}

.feedback-container{
  text-align: left;
  padding-block: 40px;
  margin-left: 20px;
  margin-top: 20px;
  position: relative;
  z-index: 1;
}


.Feedback h2{
  color: RGB(51, 51, 51);
  font-size: 40px;
  font-weight: 800;
  font-family: "Source Sans 3", sans-serif;
  margin-top: 40px;
  position: relative;
  display: inline-block;
  margin-bottom: 40px;
}

.Feedback h2::before,
.Feedback h2::after{
  content: "";
  position: absolute;
  height: 1px;
  background-color: rgb(255, 48, 91);
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
}


.Feedback h2::before{
  width: 60px;
  bottom: -10px;
  box-shadow: 0 12px 0 rgb(255, 48, 91);
}


.Feedback h2::after{
  width: 70%;
  bottom: -16px;
}



.feedback-image{
  width: 30%;
  margin: auto;
}

.feedback-image img{
  border-radius: 50%;
  width: 80%;
}


.feedback-content{
  float: left;
}



.feedback-content h3{
  color: RGB(51, 51, 51);
  font-size: 26px;
  font-weight: 600;
  font-family: "Source Sans 3", sans-serif;
  margin-bottom: 7px;
  margin-top: 20px;
}

.feedback-icon{
  font-size: 18px;
  color: #777777;
  margin-bottom: 17px;
}


.stars-icon i{
  color: #F1C30D;
}


.feedback-icon p{
  font-family: "Source Sans 3", sans-serif;
  font-weight: 600;
  display: inline-block;
}



.Feedback span{
  color: RGB(85, 85, 85);
  font-size: 16px;
  font-weight: 400;
  font-family: "Roboto", sans-serif;
  display: block;
  margin-bottom: 20px;
  font-style: italic;
}


@media screen and (min-width:768px){
  .feedback-container{
    padding: 40px;
    margin-left: 40px;
  }
  .feedback-box{
    width: 90%;
  }

  .feedback-content{
    width: 80%;
  }


  .feedback-image{
    float: left;
    width: 20%;
  }

  .feedback-content h3{
    margin-top: 0;
  }
}


@media screen and (min-width:1024px){
  .feedback-box{
    width: 70%;
  }
}

















/*! Blog */
.blog{
  background-color: #F1F1F1;
  text-align: center;
}

.blog h2{
  color: RGB(51, 51, 51);
  font-size: 40px;
  font-weight: 800;
  font-family: "Source Sans 3", sans-serif;
  margin-top: 40px;
  position: relative;
  display: inline-block;
  margin-bottom: 40px;
}

.blog h2::before,
.blog h2::after{
  content: "";
  position: absolute;
  height: 1px;
  background-color: rgb(255, 48, 91);
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
}


.blog h2::before{
  width: 60px;
  bottom: -10px;
  box-shadow: 0 12px 0 rgb(255, 48, 91);
}


.blog h2::after{
  width: 80%;
  bottom: -16px;
}

.blog-card{
  width: 80%;
  margin: auto;
  padding: 15px;
  margin-bottom: 50px;
}





.blog-image img{
  width: 100%;
}


.blog p{
  color: RGB(85, 85, 85);
  font-size: 16px;
  font-weight: 400;
  font-family: "Roboto", sans-serif;
  margin-block: 10px;
  line-height: 24px;
}


.blog a{
  text-decoration: none;
  color: #333333;
  font-size: 15px;
  font-weight: 400;
  font-family: "Roboto", sans-serif;
  transition: 0.4s all;
}


.blog a:hover{
  color: #FF305B;
}

.blog span:hover{
  color: #FF305B;
}




.blog a span{
  color: RGB(51, 51, 51);
  font-size: 20px;
  font-weight: 600;
  font-family: "Source Sans 3", sans-serif;
  transition: 0.4s all;
}


.blog-text{
  text-align: left;
  background-color: #FFFFFF;
  padding: 10px;
}


.blog-image iframe {
  aspect-ratio: 16/9;
}


.blog-icon{
  margin-block: 15px;
}

@media screen and (min-width:768px){
.blog-card{
  float: left;
  width: 33.33%;
}
}



















/** Contact */
.contact{
  text-align: center;
  padding: 20px;
  margin-bottom: 50px;
}

.contact input:focus {
  outline: 2px solid rgb(132, 53, 52);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px rgb(255, 48, 91);
}
.contact textarea:focus {
  outline: 2px solid rgb(132, 53, 52);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px rgb(255, 48, 91);
}


.contact form {
  width: 70%;
  margin: auto;
  text-align: left;
}



.contact h2{
  color: RGB(51, 51, 51);
  font-size: 40px;
  font-weight: 800;
  font-family: "Source Sans 3", sans-serif;
  margin-top: 40px;
  position: relative;
  display: inline-block;
  margin-bottom: 50px;
}

.contact h2::before,
.contact h2::after{
  content: "";
  position: absolute;
  height: 1px;
  background-color: rgb(255, 48, 91);
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
}


.contact h2::before{
  width: 60px;
  bottom: -10px;
  box-shadow: 0 12px 0 rgb(255, 48, 91);
}


.contact h2::after{
  width: 70%;
  bottom: -16px;
}





.information input {
  width: 100%;
  padding: 12px;
  margin-bottom: 40px;
  border: 1px solid rgb(204, 204, 204);
  border-radius: 4px;
  font-size: 14px;
  margin-right: 10px;
}


.subject input {
  width: 98%;
  padding: 12px;
  margin-bottom: 40px;
  border: 1px solid rgb(204, 204, 204);
  border-radius: 4px;
  font-size: 14px;
}



.note textarea {
  width: 98%;
  height: 120px;
  padding: 12px;
  border: 1px solid rgb(204, 204, 204);
  border-radius: 4px;
  font-size: 14px;
  margin-bottom: 40px;
}



.contact-btn button {
  background-color: #f73859;
  border: none;
  padding: 12px 25px;
  color: rgb(255, 255, 255);
  font-size: 14px;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  transition: 0.4s all;
}



.contact-btn button:hover {
  background-color: rgb(236, 36, 3);
}



@media screen and (min-width:768px){
  .information input {
    width: 48%;
  }
}






















/* Footer */
.footer{
  background-color: rgb(51, 51, 51);
  text-align: center;
  padding: 50px;
}

.footer p{
  color: RGB(255, 255, 255);
  font-family: "Roboto", sans-serif;

}

.footer i{
  color: RGB(255, 255, 255);
  margin-right: 15px;
  font-size: 16px;
  margin-bottom: 15px;
  transition: 0.3s all;
}


.footer i:hover{
  color: rgb(255, 48, 91);
}

.footer .footer-text a{
  color: rgb(247, 56, 89);
  text-decoration: none;
  transition: 0.2s all;
}

.footer .footer-text a:hover{
  text-decoration: underline;
}