:root {
  --font1: "Oswald", sans-serif;
  --font2: "Poppins";
  --font3: "Leelawadee";
  --white: #f8f8f8;
  --black: #181a18;
  --primary: #925eaa85;
  --secondary: rgba(163, 116, 185, 0.295);
}

html{
  margin: 0;
  /* margin-left: 10px;
  margin-right: 10px; */
  padding: 0;
  box-sizing: border-box;
}

h1 {
  font-family: var(--font1);
  font-size: 60px;
  padding: 40px;
  letter-spacing: 1px;
  color: rgba(15, 15, 15, 0.851);
}

body {
  color: var(--black);
  background: var(--white);
  font-family: var(--font2);
  margin: 0%;
  /* overflow: hidden; */
  /* tout ce qui depasse body on lefface */
}


main {
  /* width: 1160px; */
  margin: auto;
}

header {
  justify-content: space-between;
  padding: 40px 40px;
  display: flex;
  align-items: center;
}

nav {
  position: relative;
}

nav a:hover {
  color: var(--primary);
}

nav ul {
  list-style-type: none;
  display: flex;
  justify-content: flex-end;
  gap: 40px;
  color: var(--secondary);
  font-family: var(--font1);
  font-size: 22px;
  letter-spacing: 0.5px;
}

a {
  text-decoration: none;
  color: black;
}

/* mENU BURGER */

#burger {
  display: none;
  padding: 50px;
}

.bar1,
.bar2,
.bar3 {
  width: 35px;
  height: 5px;
  background-color: #333;
  margin: 6px 0;
  transition: 0.7s;
}

.change .bar1 {
  -webkit-transform: rotate(-45deg) translate(-9px, 6px);
  transform: rotate(-45deg) translate(-9px, 6px);
}

.change .bar2 {
  opacity: 0;
}

.change .bar3 {
  -webkit-transform: rotate(45deg) translate(-8px, -8px);
  transform: rotate(45deg) translate(-8px, -8px);
}

.affiche {
  display: grid !important;
}


/* FIN DE BURGER */



#contact01 {
  cursor: pointer;
}

#propos {
  display: flex;
  justify-content: center;
}

#propos img {
  max-width: 20%; 
  height: auto;
  object-fit: contain;
  margin-left: 25px;      
} 

#propos p {
  font-family: var(--font2);
  font-size: 16px;
  text-align: justify;
  width: 50%;
}



section {
  margin-top: 30px;
  margin: 0 10px;
}
/*.serv {
  font-family: var(--font2);
  font-size: 18px;
  display: flex;
  justify-content: center;
}*/

.mes_services {
  background: var(--secondary);
  padding: 60px;
  margin: 40px;
 
  border-radius: 8px;
}

.mes_services ul {
  list-style-type: circle;

}
.design>ul{
 align-self: baseline;
}


.contactez_moi {
  display: flex;
  flex-direction: column;
  
}
h2 {
  text-align: center;
  padding-top: 50px;
  font-size: 35px;
  font-family: var(--font1);
  letter-spacing: 1px;
  color: rgba(15, 15, 15, 0.851);
}

p {
  text-align: center;
  font-family: var(--font2);
  font-size: 16px;
}
.services_box {
  display: flex;
  /* justify-content: space-around; */
 
}
.services_box > article {
  width: 25%;
  line-height: 25px;

}

/* LES NOMS DES SERVICES */
#uid {
  font-family: var(--font1);
  font-size: 20px;
  text-align: center;
  padding-bottom: 25px;
  /*letter-spacing: 1px;*/
}
#des {
  font-family: var(--font1);
  font-size: 20px;
  text-align: center;
  padding-bottom: 25px;
  /*letter-spacing: 2px;*/
}

#uxd {
  font-family: var(--font1);
  font-size: 20px;
  text-align: center;
  padding-bottom: 25px;
  /*letter-spacing: 2px;*/
}

#icn {
  font-family: var(--font1);
  font-size: 20px;
  text-align: center;
  padding-bottom: 25px;
  /*letter-spacing: 2px;*/
}

/* FIN DES NOMS DES SERVICES */

.mes_réalisations ul {
  display: flex;
  justify-content: space-between;
  list-style-type: none;
  padding-left: 0px;
}

.mes_réalisations ul li button {
  height: 50px;
  width: 200px;
  background: transparent;
  color: var(--secondary);
  border: 1px solid;
  border-radius: 8px;
  font-size: 20px;
}

/* FORMULAIRE CONTACT */

#contact01 {
  /* J'ai enlevé widht 500 et max-widht:700 dans le modal-content*/

  padding: 50px;
  border: 1px solid rgb(227, 227, 227);
  border-radius: 1em;
  background: rgb(168, 255, 255);
  
}

form ul {
  list-style-type: none;
}

.displayF {
  display: none;
}

label {
  display: inline-block;
  width: 90px;
  text-align: right;
}

input,
textarea {
  font: var(--font1);
  box-sizing: border-box;
  border: 1px solid #999;
  border-radius: 0.2em;
}

textarea {
  vertical-align: top;
  height: 5em;
}

.button {
  height: 50px;
  width: 250px;
  background: transparent;
  color: var(--primary) !important;
  cursor: pointer;
}

button:hover {
  background: linear-gradient(
    180deg,
    var(--primary),
    var(--secondary)
  ) !important;
  padding-right: 5px;
  color: whitesmoke !important;
  transition: 0.5s;
}
/* FORMULAIRE CONTACT */

/*button mes realisation*/
.mes_réalisations{
  padding: 40px;
}

#bmr {
  height: 50px;
  width: 250px;
  background: transparent;
  color: rgb(27, 21, 29) !important;
  cursor: pointer;
  font-weight: bold;
  box-shadow: 1px 2px rgb(0, 0, 0);
}

#bmr:focus {
  background: linear-gradient(
    180deg,
    var(--primary),
    var(--secondary)
  ) !important;
  color: whitesmoke !important;
}
/*button mes realisation*/

.contactez_moi {
  display: flex;
  padding: 30px 0;
}

/* TAILLE DES IMAGES */

.box_image {
  display: none;
  grid-template-columns: 1fr 1fr;
  width: 98%;
  /* height: 430px; */

  gap: 20px;
  justify-content: space-evenly;
  text-align: center;
}

.box_image > div {
  padding: 10px;
  border-radius: 5px;
  background-color: var(--primary);
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 6px 8px rgb(27, 136, 136);
}

.box_image img {
  max-height: 100%;
  max-width: 100%;
}

/* Style the Image Used to Trigger the Modal */
.myImg {
  cursor: pointer;
  transition: 0.3s;
}

.myImg:hover {
  opacity: 0.9;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.8); /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-content {
  margin: auto;
  display: block;
  width: 0%;
  max-width: 700px;
  width: 500px;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: rgb(255, 255, 255);
  padding: 20px 0;
  height: 150px;
  font-family: var(--font2);
  font-size: 20px;
}

/* Add Animation - Zoom in the Modal */
.modal-content,
#caption {
  animation-name: zoom;
  animation-duration: 0.3s;
}

footer {
  width: auto;
  margin: auto;
  text-align: center;
  font-family: var(--font1);
  /* background: linear-gradient(#fdf9f9, #925eaa19); */
  padding-top: 30px;
  
}

footer ul {
  list-style-type: none;
}

#footer-info>p{
  font-size: 20px;
}
#footer-info,
ul .social_icons {
  flex-direction: column;
  justify-content: center;
  
}

/* icone linkedin */
.social-buttons a{
  display: inline-flex;
  text-decoration: none;
  font-size: 16px;
  width: 40px;
  height: 40px;
  color: #fff;
  justify-content: center;
  align-items: center;
  position: relative;
  padding-bottom: 20px;
}

.social-buttons a::before{
  content: "";
  position: absolute;
  width: 40px;
  height: 40px;
  background: linear-gradient(45deg,#1b8888, #925eaa85);
  border-radius: 50%;
  z-index: -1;
  transition: 0.3s ease-in;
}

.social-buttons a:hover::before{
  transform: scale(0);
}

.social-buttons a i{
  transition: 0.3s ease-in;
}

.social-buttons a:hover i{
  background: linear-gradient(45deg,#1b8888, #925eaa85);
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
  transform: scale(2.2);
}

/* FIN icone linkedin */


@keyframes zoom {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

/* The Close Button */
.close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: var(--white);
  font-size: 50px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
  .modal-content {
    width: 100%;
  }
}

/* BUTTON UP PAGE */

#btnUp {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 20px; /* Place the button at the bottom of the page */
  right: 30px; /* Place the button 30px from the right */
  z-index: 99; /* Make sure it does not overlap */
  border: none; /* Remove borders */
  outline: none; /* Remove outline */
  /* background-color: ; Set a background color */
  color: var(--primary); /*Text color */
  cursor: pointer; /* Add a mouse pointer on hover */
  padding: 15px; /* Some padding */
  border-radius: 8px; /* Rounded corners */
  font-size: 20px; /* Increase font size */
}

/* FIN DE BUTTON UP PAGE */

/* machine à ecrire text*/
body {
  position: relative;
}
.conText{
  max-width: 1000px;
  padding:20px;
  margin: auto;
}
#text{
  font-size: 1.5rem;
  text-transform: uppercase;
  font-family: var(--font2);
  text-align: center;
}
#text:after{
  content: "";
  animation: clignote 0.7s infinite linear;
  width: 2px;
  height: 3rem;
  display: inline-block;
  background: rgb(14, 15, 22);;
}

@keyframes clignote {
  from{
    opacity: 0;
  }
  to{
    opacity: 10;
  }
}
/* FIN de machine à ecrire text*/


/* BOUTON BIENVENUE */

.textbienvenue{
  margin:0px;
  display: flex;
  justify-content: space-between;
  /* text-align:right; */
  padding-right: 25vh;
  color:#1b8888;
  font-family:var(--font4);
  font-size:25px;
  font-weight:100;
  overflow:hidden;
  animation:bg 10s linear infinite;
}

.dropping-texts {
  /* display: inline-block; */
  width: 180px;
  /* text-align: left;
  height: 36px;
  vertical-align: -2px; */
}

.dropping-texts > div {
  font-size:0px;
  opacity:0;
  margin-left:-30px;
  position:absolute;
  font-weight:300;   
  box-shadow: 0px 60px 25px -20px rgba(213, 213, 213, 0.5);
}

.dropping-texts > div:nth-child(1) {
  animation: roll 5s linear infinite 0s;
}
.dropping-texts > div:nth-child(2) {
  animation: roll 5s linear infinite 1s;
}
.dropping-texts > div:nth-child(3) {
  animation: roll 5s linear infinite 2s;
}
.dropping-texts > div:nth-child(4) {
  animation: roll2 5s linear infinite 3s;
}

@keyframes roll {
  0% {
    font-size:0px;
    opacity:0;
    margin-left:-30px;
    margin-top:0px;
    transform: rotate(-25deg);
  }
  3% {
    opacity:1;
    transform: rotate(0deg);
  }
  5% {
    font-size:inherit;
    opacity:1;
    margin-left:0px;
    margin-top:0px;
  }
  20% {
    font-size:inherit;
    opacity:1;
    margin-left:0px;
    margin-top:0px;
    transform: rotate(0deg);
  }
  27% {
    font-size:0px;
    opacity:0.5;
    margin-left:20px;
    margin-top:100px;
  }
  100% {
    font-size:0px;
    opacity:0;
    margin-left:-30px;
    margin-top:0px;
    transform: rotate(15deg);
  }
}

@keyframes roll2 {
  0% {
    font-size:0px;
    opacity:0;
    margin-left:-30px;
    margin-top:0px;
    transform: rotate(-25deg);
  }
  3% {
    opacity:1;
    transform: rotate(0deg);
  }
  5% {
    font-size:inherit;
    opacity:1;
    margin-left:0px;
    margin-top:0px;
  }
  30% {
    font-size:inherit;
    opacity:1;
    margin-left:0px;
    margin-top:0px;
    transform: rotate(0deg);
  }
  37% {
    font-size:1500px;
    opacity:0;
    margin-left:-1000px;
    margin-top:-800px;
  }
  100% {
    font-size:0px;
    opacity:0;
    margin-left:-30px;
    margin-top:0px;
    transform: rotate(15deg);
  }
}
/* FIN DE BOUTON BIENVENUE */

/* MEDIA QUERYYYYYYYYY*/

@media screen and (max-width: 750px) {
  #propos {
    display: flex;
    flex-direction: column;
  }
h1{
  padding-left: 10px;

}
  p{
    padding: 0 15px;
  }
  .mes_réalisations ul {
    flex-direction: column;
  }

  .mes_réalisations ul li {
    align-self: center;
    margin: 10px;
  }

  .services_box{
    flex-direction: column;
    gap: 20px;
   
  }

  .services_box > article {
    width: 100%;
    
}

  .mes_services{
    padding: 20px;
    margin: 0;
  }
  .mes_services ul{
    padding: 0 10px;
  }
  *{
    margin-left: 0%;
    margin-right: 0%;
  }

  #contact01{
    display: flex;
    height: 250px;
    width: 50%;
    justify-content: center;
    align-items: centers;
  }

  .box_image{
    width: 95%;
    margin: 0 5px;
  }

  .dropping-texts{
    display: none;
   }
   
   #btnUp{
    visibility: hidden;
  }
   
}


@media screen and (max-width: 980px) {
  #burger {
    display: inline-block !important;
  }

  nav {
    display: flex;
    justify-content: flex-end;
  }

   nav > ul {
    /* > ca veut dire le parent directe on appelle */
    position: absolute;
    flex-direction: column;
    top: 80px;
    right: 50px;
    gap: 40px;
    color: var(--secondary);
    font-family: var(--font1);
    background: var(--primary);
  } 

  .displayMobil {
    display: none;
  }

  #burger01  {
    display: flex;
  }

  #burger01 ul {
    flex-direction: column;
  }
}

@media screen and (max-width: 1150px) {
  #propos img {
    display: none;
   }
   #propos p{
    width: auto;
  }
  #burger{
    padding: 0px;
  }
}



/* bouton CONTACTER */
.button-container {
  position: relative;
  width: 270px;
  height: 80px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 10vh;
  overflow: hidden;
  transition: 0.5s;
  border: 1px solid rgba(14, 1, 21, 0.2);
  border-radius: 8px;
  box-shadow: 1px 2px rgb(0 0 0);
  
}

.button-container button {
  width: 101%;
  height: 100%;
  font-family: var(--font1);
  letter-spacing: 2px;
  font-size: 30px;
  background: linear-gradient(40deg,#1b8888, #925eaa85);
  -webkit-mask: url("https://raw.githubusercontent.com/robin-dela/css-mask-animation/master/img/nature-sprite.png");
  mask: url("https://raw.githubusercontent.com/robin-dela/css-mask-animation/master/img/nature-sprite.png");
  -webkit-mask-size: 2300% 100%;
  mask-size: 2300% 100%;
  border: none;
  color: #1b8888;
  cursor: pointer;
  animation: anim2 0.7s steps(22) forwards;
  border-radius: 8px;
  
  
}

.button-container button:hover {
  animation: anim1 0.7s steps(22) forwards;
}

.mask {
  position: absolute;
  color: var(--primary);
  text-align: center;
  width: 100%;
  font-family: var(--font1);
  letter-spacing: 2px;
  font-weight: lighter;
  font-size: 30px;
  margin-top: 16px;
  overflow: hidden;
}

@keyframes anim1 {
  from {
    -webkit-mask-position: 100% 0;
    mask-position: 100% 0;
  }
  to {
    -webkit-mask-position: 0 0;
    mask-position: 0 0;
  }
}

@keyframes anim2 {
  from {
    -webkit-mask-position: 0 0;
    mask-position: 0 0;
  }
  to {
    -webkit-mask-position: 100% 0;
    mask-position: 100% 0;
  }
}
/* FIN bouton CONTACTER */

