/*
Theme Name: Truc
Author: Hugo LAGORSSE
Description: Mon super premier truc !
Requires at least: WordPress 5.0
Version: 1.0
*/
@import '/docker-labs/web/node_modules/animate.css/anime.css';

html a {
    text-decoration: none;
    color: #F8D106;
  }
  html h1 {
    font-size: 96px;
    font-weight: 800;
  }
  html h2 {
    margin: 0;
  }
  html button {
    margin: 40px 0;
    background-color: #070707;
    color: #F8D106;
    height: 75px;
    width: 350px;
    border-radius: 45px;
    font-family: "Michroma", sans-serif;
    font-weight: 400;
    font-size: 25px;
    font-weight: 900;
    border: none;
  }
  nav{
background-attachment: fixed;
position: relative;
top: 0;
}
  body {
    background-color: #F8D106;
    margin: 0;
    font-family: "Michroma", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #070707;
    font-size: 16px;
  }
  body .container {
    display: grid;
    grid-template-columns: auto auto;
  }
  body .skills h2, body .profil h2, body .projets h2, body .contact h2 {
    position: relative;
    z-index: 0;
    color: #070707;
    transform: translateY(75%);
    opacity: 25%;
    font-size: 1000%;
    max-width: 100%;
  }
  body .skills h1, body .profil h1, body .projets h1, body .contact h1 {
    position: relative;
    z-index: 1;
    transform: translateY(-33%);
  }
  body .skills .title:after, body .profil .title:after, body .projets .title:after, body .contact .title:after {
    content: "";
    border-bottom: #F8D106;
  }
  
  header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    background-color: #070707;
    color: #F8D106;
    justify-content: space-between;
    padding: 1%;
    align-items: center;
  }
  ul li{
    display: inline;
    margin: 10px;
  }
  /* pour bouton menu CSS
  header .menu {
    margin-left: 3%;
    display: inline-flex;
    cursor: pointer;
  }
  header .menu input {
    display: none;
  }
  header .menu label {
    display: block;
    font-size: 32px;
  }
  header .menu input:checked ~ ul {
    transform: translateX(0);
  }
  header .menu ul {
    padding: 0;
    transform: translateX(-600%);
  }
  header .menu ul li {
    display: inline-flex;
    gap: 20px;
  } */
  
  .resauxsoc {
    display: flex;
    gap: 25px;
    margin-right: 50px;
  }
  
  main {
    height: 1024px;
    background-color: #fafafa;
    display: grid;
    grid-template-columns: auto auto;
  }
  main .textpresent {
    max-width: 100%;
    padding-left: 10%;
    align-content: center;
  }
  main .textpresent h1 {
    max-width: fit-content;
    font-size: 600%;
  }
  main .textpresent p {
    font-size: 200%;
  }
  main .imgpresent {

    display: flex;
    align-items: right;
  }
  main .imgpresent img {
    transform: translateY(50%);
    border-radius: 45px;
    max-height: 75%;
    margin-right: 10%;
  }  
  .profil {
    background-color: #E6E6E6;
    text-align: center;
  }
  .profil p {
    text-align: justify;
    margin: 0 20%;
    padding: 40px 50px;
    border: 5px solid #070707;
    border-radius: 45px;
  }
  .profil button {
    margin: 10% 0;
  }
  
  .skills {
    background-color: #E6E6E6;
    max-height: 1024px;
  }
  .skills .container {
    max-width: 100%;
    display: grid;
    grid-template-columns: 30% 70%;
  }
  .skills .container .textg {
    display: flex;
    flex-direction: column;
    margin-left: 100px;
    align-items: center;
    text-align: justify;
    margin-top: 100px;
  }
  .skills .container .icond {
    display: grid;
    grid-template-columns: auto auto;
    text-align: center;
  }
  .skills .container .icond .vignette1, .skills .container .icond .vignette2, .skills .container .icond .vignette3, .skills .container .icond .vignette4 {
    margin: 5%;
    background-color: #fafafa;
    cursor: pointer;
    position: relative;
    transition: 0.7s;
    border-radius: 45px;
    padding: 25px;
    max-width: 450px;
    height: 150px;
  }
  .skills .container .icond .vignette1 img, .skills .container .icond .vignette2 img {
    height: 25%;
  }
  .skills .container .icond .vignette3 img, .skills .container .icond .vignette4 img {
    height: 25%;
  }
  .skills .container .icond .vignette1:hover {
    background-color: #070707;
    color: #F8D106;
    transform: translateX(50%) translateY(75%) scale(1.5);
    z-index: 1;
  }
  .skills .container .icond .vignette2:hover {
    background-color: #070707;
    color: #F8D106;
    transform: translateX(-50%) translateY(75%) scale(1.5);
    z-index: 1;
  }
  .skills .container .icond .vignette3:hover {
    background-color: #070707;
    color: #F8D106;
    transform: translateX(50%) translateY(-75%) scale(1.5);
    z-index: 1;
  }
  .skills .container .icond .vignette4:hover {
    background-color: #070707;
    color: #F8D106;
    transform: translateX(-50%) translateY(-75%) scale(1.5);
    z-index: 1;
  }
  
  .projets {
    text-align: right;
    background-color: #fafafa;
    min-height: 1024px;
  }
  .projets .container {
    text-align: center;
  }
  .projets #articles{
    border: 5px solid #070707;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 5%;
    padding: 5%;
    flex-direction: column;
    width: 750px;
    border-radius: 45px;
    background-color: #070707;
    color: #F8D106;
  }
  #articles img{
    max-width: 750px;
    max-height: 250px;
    border-radius: 45px;
  }
  #articles a{
    margin-top: 25px;
  }
  .contact {
    background-color: #fafafa;
    text-align: center;
    min-height: 1024px;
  }
  .contact input, .contact textarea{
    padding: 5%;
    font-size: larger;
  }
  .contact form {
    text-align: left;
    display: grid;
    grid-template-columns: auto auto;
  }
  .contact form .formg, .contact form .formd {
    padding: 5%;
    display: grid;
    grid-template-columns: auto;
  }
  .contact form .formg input, .contact form .formg textarea, .contact form .formd input, .contact form .formd textarea {
    max-width: 100%;
    border-radius: 45px;
    background-color: #fafafa;
  }
  .contact form .formg label, .contact form .formd label {
    margin: 30px 0 30px 30px;
  }
  .contact form .formg input, .contact form .formd input {
    height: 80px;
  }
  .contact form .formg textarea, .contact form .formd textarea {
    height: 200px;
    resize: none;
  }
  
  footer {
    padding: 25px;
    justify-content: space-between;
    display: grid;
    grid-template-columns: auto auto auto;
    background-color: #F8D106;
  }
  footer .footm {
    align-content: center;
  }
  
  .footlow {
    padding: 10px;
    text-align: center;
    background-color: #070707;
    color: #F8D106;
    grid-column-start: 1;
    grid-column-end: 4;
  }
  .single{
    display: flex;
    background-color: #E6E6E6;
    min-height: 1024px;
    align-items: center;
    justify-items: center;
    flex-direction: column;
    text-align: center;
    padding-top: 5%;
  }