/*!--- IDs
container : conteneur de la page
aboutme : me présenter
int-map : carte interactive de la page
education : ma formation
  lycee : mes années lycée
  iut : mon cursus à vélizy
hard-skills : mes compétences
languages : mes langues parlées
me : mon nom et mmi-1
contact : moyens de me contacter
*/
/*?--- CLASSES
info-box : boite background blanc sur ombre projetée 
directe grise
module : chaque matière sous forme de "tableau" en deux
lignes deux colonnes
white-back : petit fond blanc dans lequel se trouve les 
skill et language
skill : compétence, image au-dessus texte en dessous
language : langues, image à gauche texte à droite en bas
bandeau-noir : bandeau en noir sur les infobox
*/


*{
  scroll-behavior: smooth;
}

body{
  margin: 0;
  font-family: 'Nunito Sans', sans-serif;
  color: white;
  background: linear-gradient(348deg, rgba(255, 224, 232, 0.10) 28.36%, rgba(179, 178, 250, 0.10) 62.06%, rgba(155, 221, 114, 0.10) 91.28%), #151515;
}



/*! HEADER */

header{
  display: flex;
  justify-content: space-between;


  width: 100%;
  height: 70px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.00) 100%), rgba(248, 248, 248, 0.00);
}

header h1{
  display: flex;
  justify-content: flex-start;
  align-items: center;


  width: 60%;
  padding: 20px;
  margin-left: 20px;
}

header nav{
  display: flex;
  align-items: center;

  width: 40%; 
}

header ul{
  display: flex;

  padding: 0;
  margin: 0;
  width: 100%;
  height: 70px;
  list-style-type: none;
}

header ul li{
  display: flex;

  width: 100%;
  height: 100%;
}

header ul li a {
  display: flex;
  justify-content: center;
  align-items: center;

  width: 100%;
  height: 100%;
  text-decoration: none;
  color: white;
  transition: ease-in 0.1s;
}

header ul li a:hover{
  color: gray;
  transition: ease-in 0.1s;
}

/*! INDEX */

main{
  display: flex;
  flex-direction: column;

  width: 70%;
  min-width: 500px;
  max-width: 1000px;
  margin: auto;
}

.info-box{
 background: #FEFEFE;
 border: 1px solid black;
 color: black;
 border-radius: 10px;
 padding: 20px;
 box-shadow: 10px 10px 0 #BCBCBC;
}

section{
  display: flex;
  height: 100vh;
  flex-direction: column;
  justify-content: center;
}


#section1{
  display: flex;
  justify-content: space-between;
}

#skills{
  display: flex;
  flex-direction: column;
  justify-content: center;
  row-gap: 20px;
}


/** ABOUT ME (MARWAN ZALAGH) */

#aboutme{
  display: flex;
  justify-content: space-evenly;
  column-gap: 20px;

  padding: 30px;
  width: 65%;
}

#aboutme h2{
  display: flex;
  justify-content: flex-end;

  font-size: 4vmax;
  text-align: right;
  margin: 0;
  line-height: 0.8;
  color: #425933;
}

#aboutme p{
  font-size: 0.8em;
}

#aboutme a{
  color: black;
  font-size: 0.8em;
  text-decoration: none;
  font-weight: 800;
}

#aboutme a:hover{
  text-decoration: underline;
}

#aboutme-1{ /* Titre et paragraphe d'introduction */
  display: flex;
  flex-direction: column;

  width: 60%;
  text-align: justify;
}

#aboutme img{
  box-shadow: 0 0 10px rgb(144, 144, 144);
  border-radius: 10px;
}

/** INTERACTIVE MAP */

#int-map{
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-direction: column;

  padding: 20px;
  width: 20%;
}

#int-map h3{
  font-size: 1.6em;
  margin: 0;
}

#int-map img{
  border-radius: 10px;
}

/**EDUCATION*/

#education{
  display: flex;
  flex-wrap: nowrap;
  flex-direction: column;
  
  padding: 20px;
}

#education-1{
  display: flex;
  align-items: center;
}

#education h2{
  display: flex;
  justify-content: center;
  
  width: 60%;
  height: min-content;
  margin-right: 50px;
  font-size: 4vmax;
  color: #4A489B;
}

#education h4 p{
  margin: 10px;
}

#lycee{
  display: flex;
  flex-direction: column;
  width: 50%;
}

#iut{
  margin: 20px;
}

.bandeau-noir{
  display: flex;
  flex-wrap: wrap;
  border-radius: 7px;
  padding: 20px;

  background-color: #343434;
  color: white;
}

h2{
  font-weight: 800;
}

h4{
  width: 100%;
}

.icon{
  display: flex;
  filter: invert(1);
  width: fit-content;
  margin: 20px 10px 0 0;
}

.module{
  display: flex;
  width: 50%;
}

/**HARD SKILLS*/


#hard-skills{
  display: flex;
  flex-direction: column;

  background-color: #9E566C;
  padding-left: 5%;
  padding-right: 0;
  border: 1px solid white;
}

#hard-skills h2{
  color: #FEFEFE;
  font-size: 4vmax;
  margin : 10px 0px;
}

#containerwbh{
  display: flex;
}

#wbh{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  border-radius: 10px 0 0 10px;

  width: 100%;
  height: 80%;
  margin-bottom: 40px;
  padding-top: 20px;
  font-weight: 700;
}

.skill{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;

  margin: 0;
}

.skill img{
  transition: ease-in 0.3s;
}

.skill img:hover{
  transition: ease-out 0.35s;
  transform: scale(1.15);
}

/**LANGUAGES*/

#languages{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  align-self: center;
  
  padding-right: 5%;
  padding-left: 0;
  background-color: #9E566C;
  border: 1px solid white;
  width: 90%;
  transform: scale(0.8);
  
}


#containerwbl{
  display: flex;
  width: 100%;
}

#wbl{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  border-radius: 0 10px 10px 0;

  width: 100%;
  height: 80%;
  margin-bottom: 40px;
  padding-top: 20px;
  font-weight: 700;
}

.language{
  display: flex;
  flex-direction: row;
  align-items: end;
  margin: 0;
}

#languages h2{
  color: #FEFEFE;
  font-size: 3vmax;
  margin : 10px 0px;
}

#languages p{
  margin: 0 10px 0 0;
  text-align: end;
}

.white-back{ /*pour la section langages*/
  display: flex;
  align-content: space-evenly;
  flex-direction: row;

  background-color: white;
}

/*!PAGE 2*/

/**MY WORKS*/

#my-works{
  display: flex;
  justify-content: space-evenly;


  padding: 30px;
  width: 100%;
}


#my-works h2{
  display: flex;

  font-size: 5vmax;
  text-align: right;
  margin: 0;
  line-height: 0.8;
  color: #425933;
}

#my-works p{
  font-size: 0.8em;
}

#my-works video{
  box-shadow: 0 0 10px rgb(144, 144, 144);
  border-radius: 10px;
}

#myworks1{
  display: flex;
  flex-direction: column;

  width: 60%;
  text-align: justify;
}


/**MINI-PORTFOLIIO*/

#portfolio{
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  row-gap: 50px;

  height: 130vh;
}

#portfolio h2{
  display: flex;
  
  margin-left: 20px;
  line-height: 50px;
  width: 60%;
  height: min-content;
  font-size: 4.5vmax;
  color: #4A489B;
}

.black-box{
  display: flex;
  align-items: center;

  background-color: #343434;
  color: #FEFEFE;
  padding: 10px;
  font-weight: 600;
  border-radius: 10px;
}

.black-box img{
  border-radius: 7px;
  margin: 20px;
  border: 1px solid white;
}

.black-box a{
  color: rgb(255, 152, 252);
  transition: ease-in 0.1s;
}

.black-box a:hover{
  color: #9E566C;
}

.bb-text{
  padding: 20px;
}

/*!PAGE 3*/

.future{
  row-gap: 50px;
}

.future h2{
  color: #FEFEFE;
  font-size: 3vmax;
  margin: 0;
}

.future img{
  border-radius: 7px;
  margin: 10px;
  border: 1px solid black;
}

.white-back2-a{ /* background blanc graphic/filmmaker*/
  display: flex;
  align-items: center;
  flex-direction: row;

  border-radius: 10px 0 0 10px;
  padding: 20px;
  font-size: 0.8em;
  background-color: white;
}

.white-back2-b{ /* background blanc webdev*/
  display: flex;
  align-items: center;
  flex-direction: row;

  border-radius: 0 10px 10px 0;
  padding: 10px;
  font-size: 0.8em;
  background-color: white;
}

.wb2-text{
  display: flex;
  flex-direction: column;
}

#future-career h2{
  display: flex;

  font-size: 4vmax;
  text-align: right;
  margin: 0;
  line-height: 0.8;
  color: #425933;
}

#future-career p{
  font-size: 0.8em;
}

#graphic-designer{
  display: flex;
  flex-direction: column;
  row-gap: 10px;

  background-color: #425933;
  padding-right: 0;
  padding-left: 5%;
  border: 1px solid white;
}

#web-developer{
  display: flex;
  flex-direction: column;
  row-gap: 10px;

  background-color: #4A489B;
  padding-right: 5%;
  padding-left: 0;
  border: 1px solid white;
}

#web-developer h2{
  display: flex;
  justify-content: end;
}

#filmmaker{
  display: flex;
  flex-direction: column;
  row-gap: 10px;

  background-color: #4A489B;
  padding-left: 5%;
  padding-right: 0;
  border: 1px solid white;

}

/*!PAGE 4*/

/**FORMULAIRE*/

#contactme{
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: center;
  row-gap: 20px;

  width: 60%;
  background-color: #425933;
  border: 1px solid white;
}

#contactme-1{
  display: flex;
  justify-content: space-between;
  align-items: center;

  width:100%;
}

#contactme h2{
  color: #FEFEFE;
  font-size: 3vmax;
  margin: 0;
  width: 60%;
}

#reseaux{
  display: flex;
  justify-content: space-around;

  background-color: #FEFEFE;
  border-radius: 7px;
  width: 40%;
  padding: 15px;
  height: 40px;
}

#reseaux img{
  transition: ease-in 0.3s;
}

#reseaux img:hover{
  transition: ease-out 0.35s;
  transform: scale(1.15);
}

form{
  width: 100%;
  padding: 10px;
}

span{
  color: red;
}

form fieldset{
  border: none;

  display: flex;
  flex-direction: column;
}

form label{
  margin-bottom: 5px;
  font-weight: 700;
}

form input{
  box-sizing: border-box;
  height: 30px;
  border-radius: 7px;
  background-color: #BCBCBC;
  border: none;
}

form textarea{
  box-sizing: border-box;
  border-radius: 7px;
  background-color: #BCBCBC;
  border: none;
}

#butt{
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  flex-wrap: wrap;
}

form button{
  background-color: #BCBCBC;
  border: none;
  border-radius: 7px;
  color: black;
  font-weight: 700;
  height: 30px;
  width: 30%;
}

form button:hover{
  border: 1px solid black;
}

#white-back3{
  display: flex;

  background-color: white;
  width: 100%;
  border-radius: 7px;
}

/**THANKS*/

#thanks{
  display: flex;
  flex-direction: column;
  align-self: center;
  align-items: center;

  width: 60%;
  background-color: #4A489B;
  border: 1px solid white;
  padding: 0 20px 40px 20px;
}

#thanks h2{
  color: #FEFEFE;
  font-size: 3vmax;
  margin: 20px;
}

#thanks iframe{
  border-radius: 10px;
  border: none;
}


/*!FOOTER*/

footer{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;

  height: 500px;
  padding: 50px 50px 50px 50px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.20) -10.23%, rgba(0, 0, 0, 0.00) 82.78%), rgba(31, 31, 31, 0.00);
}

address{
  width: 25%;
}

#contact{
  text-align: end;
}

/*!ICONE RETOUR HAUT DE PAGE*/

#pageup{
  position: fixed;
  top: 15%;
  filter: invert(1);
  padding-left: 40px;
}


/*!RESPONSIVE*/