@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,200;0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,800;0,9..40,900;0,9..40,1000;1,9..40,200;1,9..40,300;1,9..40,400;1,9..40,500;1,9..40,600;1,9..40,700;1,9..40,800;1,9..40,900&family=Poppins:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,600;1,700;1,800&display=swap');

*{
    box-sizing: border-box;
    margin: 0;
  
}

h1,h2{
    font-family: 'DM Sans', sans-serif;
}

a,p,h3{
    font-family: 'Poppins', sans-serif;
}

ul{
    display: flex;
    gap: 15px;
}

li{
    list-style: none;
}

nav{
    margin-top: 1rem;
}

a{
    color: white;
    font-size: 20px;
    text-decoration: none;
}

footer{
    width: 85%;
    height: 10vh;
    margin: auto;
    margin-top: 8rem;
    color: white;
    border-radius: 10px;
    border: 1px solid transparent; 
    background-clip: padding-box;
    border-image: linear-gradient(to right, #FF0000, #EE00FF); 
    border-image-slice: 1;
    font-size: 12px;
    display: flex;
}

.name-logo, .links-svg{
    width: 50%;
    display: flex;
    align-items: center;
}

.name-logo{
    padding-left: 2rem;
}

.links-svg{
    gap: 35px;
    justify-content: flex-end;
    padding-right: 2rem;
}

.succes{
    color: white;
    font-size:  35px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
}

.error-form{
    color: red;
}

.backend-link{
    margin-right: 1rem;
}

.body-background {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    min-height:100vh;
    background: linear-gradient(172deg, rgba(2,0,36,1) 23%, rgba(0,0,0,1) 100%);
}


.body-background .body-img {
    position: absolute;
    z-index: -10;
    top: 0;
    right: 0;
    opacity: 0.5;
}

.body-background .body-img1 {
    position: absolute;
    top: 90%;
    z-index: -10;
    right: 50%;
    opacity: 0.3;
}

.body-background .body-img2 {
    position: absolute;
    top: 230%;
    z-index: -10;
    left: 50%;
    opacity: 0.3;
}

.body-background .body-img3 {
    position: absolute;
    z-index: -10;
    top: 0;
    right: 0;
    opacity: 0.5;
    transform: rotate(180deg) scaleX(-1);
}

.body-background .body-img4 {
    position: absolute;
    z-index: -10;
    top: 0;
    left: 0;
    opacity: 0.5;
}

.body-background .body-img5 {
    position: absolute;
    z-index: -10;
    top:170%;
    right: 0;
    opacity: 0.3;
}

.body-background .body-img6 {
    position: absolute;
    z-index: -10;
    top:50%;
    right: 0;
    opacity: 0.3;
}

.body-background .body-img7 {
    position: absolute;
    top: 0%;
    z-index: -10;
    left: 0%;
    opacity: 0.3;
    transform: rotate(180deg) scaleX(-1);
}

.body-background .body-img8 {
    position: absolute;
    top: -20%;
    z-index: -10;
    right: 0%;
    opacity: 0.4;
}

.body-background .body-img9 {
    position: absolute;
    top: 110%;
    z-index: -10;
    right: -10%;
    opacity: 0.3;
}

.body-background .body-img10 {
    position: absolute;
    top: 0%;
    z-index: -10;
    left: -10%;
    opacity: 0.3;
    transform: rotate(180deg) scaleX(-1);
}

.body-background .body-img11 {
    position: absolute;
    top: 0%;
    z-index: -10;
    right: -10%;
    opacity: 0.3;
}

.body-background .body-img12 {
    position: absolute;
    top: 100%;
    z-index: -10;
    left: -10%;
    opacity: 0.4;
}
.body-background .body-img13 {
    position: absolute;
    top: 0%;
    z-index: -10;
    left: -10%;
    opacity: 0.4;
    transform: rotate(180deg) scaleX(-1);
}

.body-background .body-img14{
    position: absolute;
    top: 0%;
    z-index: -10;
    right: -10%;
    opacity: 0.4;
    transform: rotate(180deg) scaleX(-1);
}


header{
    width: 85%;
    height: 15vh;
    margin: auto;
    margin-top: 1rem;
    display: flex;
}

.links,.login{
    color: white;
    width: 50%;
}

.login{
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.links{
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.links a{
    font-weight: 200;
}


.links h1{
    font-weight: 800;
    font-size: 45px;
}


form {
    display: flex;
    gap: 10px;
    
}

input {
    padding: 10px;
    border: 0.3px solid #fff; 
    border-radius: 8px;
    width: 130px;
    transition: border-color 0.3s ease-in-out;
    background-color: transparent; 
    color: #fff; 
}

::placeholder{
    color: white;
}

.button{
    padding: 2px;
    width: 100px;
    border: none;
    cursor: pointer;
    background: linear-gradient(to right, #FF0000, #EE00FF);
}


.first-contain{
    width: 85%;
    margin: auto;
    color: white;
    justify-content: center;
    display: flex;
    flex-direction: column;
    margin-top:8rem;
    height: 50vh;
}

.name-color{
    background: linear-gradient(to right, #FF0000, #EE00FF);
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.first-contain h1{
    font-weight: 900;       
    font-size: 70px;
}

.first-contain h2{
    font-weight: 100;
    font-size: 40px;
    margin-top: 3rem;
}

.services{
    width: 85%;
    height: 15vh;
    display: flex;
    flex-direction: column;
    color: white;
    margin: auto;
    justify-content: center;
    margin-top: 13rem;
}

.services h1{
    font-weight: 800;
    font-size: 60px;
}


.work-service{
    width: 85%;
    margin: auto;
    margin-top: 7rem;
    display: flex;
    height: 80vh;
}

.text-service, .icon-service{
    width: 50%;
}




.icon-service{
    display: flex;
    flex-direction: column;
}

.top-service,.bottom-service{
    min-height: 43%;
    display: flex;
    gap: 50px;
}

.bottom-service{
    margin-top: 5rem;
}

.carre-left, .carre-right,.carre-left-top,.carre-right-bottom{
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: white;
    border-radius: 10px;
    background: rgba( 255, 255, 255, 0.05 );
    box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
    backdrop-filter: blur( 0px );
    -webkit-backdrop-filter: blur( 0px );
    border-radius: 10px;
    border: 1px solid rgba( 255, 255, 255, 0.18 );
}


.carre-left img,.carre-right img, .carre-left-top img, .carre-right-bottom img{
    position: absolute;
    bottom: 85%;
    left: 35%;
}

.gradient-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    color: #fff; 
    font-family: 'DM Sans', sans-serif;
    font-weight: 800;
    background: linear-gradient(to right, #FF0000, #EE00FF);
    border-radius: 8px;
    transition: background 0.6s ease;
  }

  
  .gradient-button:hover {
    background: linear-gradient(to right, #EE00FF, #FF0000); 
    
  }

.text-service{
    display: flex;
    flex-direction: column;
}

.text-top,.text-midle,.text-bottom{
    height: 33%;
    display: flex;
    flex-direction: column;
}

.text-top h2,.text-midle h2,.text-bottom h2{
    background: linear-gradient(to right, #FF0000, #EE00FF);
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    font-size: 37px;
}

.text-top p, .text-midle p,.text-bottom p{
    color: white;
    width: 70%;
    font-size: 27px;
    font-family: 'Poppins', sans-serif;
    font-weight: 200;
}



.some-work{
    width: 85%;
    height: 10vh;
    margin: auto;
    color: white;
    margin-top: 20rem;
    font-weight: 800;
    font-size: 40px;
}


.work-some{
    width: 85%;
    min-height: 60vh;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
}

.work{
  margin-top: 3rem;  
  width: 350px;
  height: 450px;
  border: solid 2px #000;
  border-radius: 10px;
  position: relative;
}


.work img{
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}



.work:hover {
    border: 2px solid transparent; 
    background-clip: padding-box;
    border-image: linear-gradient(to right, #FF0000, #EE00FF); 
    border-image-slice: 1;
    border-radius: 10px;
    transition: border 0.5s ease; 
  }

/* //PAGE PORTFOLIO */


.second-contain{
    width: 85%;
    height: 50vh;
    margin: auto;
    display: flex;
    margin-top: 8rem;
}

.text-second-contain{
    width: 60%;
    color: white;
    display: flex;
    align-items: center;
}

.text-second-contain h1{
    font-weight: 900;       
    font-size: 80px;
}

.picture-second-contain{
    width: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.button-filter{
    width: 85%;
    height: 10vh;
    margin: auto;
    display: flex;
    align-items: center;
    margin-top: 8rem;
}

.button-filter ul{
    gap: 20px;
    padding: 0;
}

.portfolio{
    width:  85%;
    min-height: 60vh;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 35px;
    margin-top: 3rem;
}


.work-portfolio{
    width: 300px;
    height: 400px ;
}

.work-portfolio img{
    object-fit: cover;
    height: 100%;
    width: 100%;
    border-radius: 10px;
}


.container a{
    color: blue;
}

.ff {
    width: 50%;
    margin: auto;
}


.form_modifier {
    background: #f4f4f4;
    padding: 20px;
    display: flex;
    flex-direction: column;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}


.form-group {
    margin-bottom: 20px;
}


.label {
    display: block;
    margin-bottom: 5px;
}


.input,
textarea {
    width: 100%;
    padding: 10px;
    color: black;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.input-cat{
    width: 5%;
}


.input[type="checkbox"] {
    margin-right: 5px;
}


.btn-form {
    background-color: #4caf50;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}


.btn-form:hover {
    background-color: #45a049;
}

.hidden{
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.visible{
    opacity: 1;
    transform: translateY(0);
}



/* //PAGE ABOUT ME */

.about-me{
    width: 85%;
    height: 50vh;
    margin: auto;
    margin-top: 7rem;
    display: flex;
}

.text-about-me{
    width: 60%;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.text-about-me h1{
    font-weight: 900;       
    font-size: 70px;
}

.text-about-me h2{
    font-weight: 300;
    font-size: 40px;
    margin-top: 1rem;
}

.text-about-me h3{
    font-weight: 100;
    font-size: 25px;
    margin-top: 2rem;
}


.picture-about{
    width: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.support-service{
    width: 85%;
    height: 10vh;
    margin: auto;
    display: flex;
    color: white;
    align-items: center;
    margin-top: 10rem;
    font-weight: 800;
    font-size: 30px;
}


.my-services{
    width: 85%;
    min-height: 80vh;
    margin: auto;
    margin-top: 5rem;
    display: flex;
}

.left-service, .right-service{
    width: 50%;
    display: flex;
    flex-direction: column;
}

.top-contain-service, .bottom-contain-service,.right-service-top, .right-service-bottom{
    height: 50%;
    display: flex;
    flex-direction: column;
    color: white;
    justify-content: space-between;
    align-items: flex-start;

}

.top-contain-service h2,.right-service-top h2, .bottom-contain-service h2{
    width: 76%;
}

.top-contain-service h3, .right-service-top h3, .bottom-contain-service h3, .right-service-bottom h3{
    font-weight: 200;
}

.bottom-contain-service,.right-service-bottom{
    margin-top: 10rem;
}

.right-service-bottom h2{
width: 80%;
}

.work-detail{
    width: 85%;
    height: 50vh;
    margin: auto;
    display: flex;
    margin-top: 7rem;
}

.text-detail{
    width: 60%;
    display: flex;
    color: white;
    font-weight: 900;
    font-size: 50px;
    align-items: center;
}


.picture-detail{
    width: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.work-description{
    width: 85%;
    height: 65vh;
    margin: auto;
    display: flex;
    margin-top: 10rem;
}

.each-picture{
    width: 27%;
}

.each-picture img{
   object-fit: cover;
   width: 100%;
   border-radius: 10px;
   height: 100%;
}

.each-text{
    width: 73%;
    display: flex;
    flex-direction: column;
    color: white;
    padding-left: 4rem;
}

.each-text h1{
   font-weight: 900;
   font-size: 60px;
}

.each-text h2{
    font-weight: 500;
    font-size: 50px;
    margin-top: 20px;
 }

 .each-text p{
    font-weight: 100;
    font-size: 20px;
    width: 75%;
    margin-top: 30px;
 }

 .contact-project{
    width: 85%;
    height: 25vh;
    display: flex;
    flex-direction: column;
    color: white;
    margin: auto;
    justify-content: center;
    align-items: center;
    margin-top: 8rem;
 }

 .contact-project h1{
    font-weight:900;
    font-size: 70px;
 }

 .contact-project h2{
    font-weight:100;
    margin-top: 0.3rem;
    font-size: 40px;
 }

 .form-contact{
    width: 85%;
    color: white;
    height: 60vh;
    display:flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    margin-top: 1rem;
 }

 
 .custom-form {
    width: 45%;
    display: flex;
    flex-direction: column;
    color: white;
    padding: 20px;
}

.custom-form label {
    display: block;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 10px;
}

.custom-form input[type="text"],
.custom-form textarea {
    width: 100%;
    margin-top: 1rem;
    padding: 24px;
    margin-bottom: 10px;
}

.custom-form input[type="submit"] {
    background: linear-gradient(to right, #EE00FF, #FF0000); 
    color: white;
    padding: 15px 15px;
    border: none;
    cursor: pointer;
}


.add>a{
    border: solid 1px white;
    border-radius: 10px;
    width: 85%;
    padding: 10px;
    margin-left: 4rem;
}