/* Skills */
h1 {
  font-size: clamp(3rem, 1.8571rem + 2.381vw, 4rem);
  font-weight: 800;
  color: #333;
  line-height: 4rem;
  margin: 10px 0;
}
@media screen and (max-width: 768px) {
  h1 {
    font-size: clamp(3rem, 2.1627rem + 3.8278vw, 4rem);
  }
}

h2 {
  font-size: 36px;
  font-weight: 400;
  color: #333;
  margin: 10px 0;
}

h3 {
  font-size: 24px;
  font-weight: 400;
  color: #757575;
  margin: 10px 0;
}

h4 {
  font-size: 18px;
  font-weight: 400;
  color: #333;
}

h5 {
  font-size: 14px;
  font-weight: 400;
  color: #757575;
}

p {
  font-size: 18px;
  font-weight: 400;
  color: #333;
  line-height: 32px;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.navbar {
  background-color: #111;
}
.navbar nav {
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media screen and (max-width: 768px) {
  .navbar nav {
    flex-direction: column;
    padding: 0;
    position: absolute;
    top: 0;
    width: 100%;
    background-color: #111;
  }
}
.navbar nav .container-mobile {
  display: flex;
  justify-content: space-between;
}
@media screen and (max-width: 768px) {
  .navbar nav .container-mobile {
    width: 100%;
    padding: 0 20px;
  }
}
.navbar nav .links a {
  color: #f5f5f5;
  transition: color 0.2s ease-in-out;
}
.navbar nav .links a:hover {
  color: #E3AE44;
}
.navbar nav .links,
.navbar nav .social-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.navbar nav .links li > a > i,
.navbar nav .social-links li > a > i {
  font-size: 30px;
  color: #fff;
  transition: color 0.2s ease-in-out;
}
.navbar nav .links li > a > i:hover,
.navbar nav .social-links li > a > i:hover {
  color: #E3AE44;
}
@media screen and (max-width: 768px) {
  .navbar nav .links,
  .navbar nav .social-links {
    margin: 10px 0;
  }
}
@media screen and (max-width: 768px) {
  .navbar nav .links {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: start;
    justify-content: space-around;
    gap: 0;
    height: 0;
    overflow: hidden;
    background-color: #333;
  }
  .navbar nav .links li {
    width: 100%;
    padding: 15px 0;
    text-align: center;
    border-bottom: solid 1px #757575;
  }
}
.navbar nav .links.active {
  height: 100%;
}
.navbar nav .burger {
  display: none;
}
@media screen and (max-width: 768px) {
  .navbar nav .burger {
    display: block;
  }
}

#header .container {
  margin: 50px auto;
  display: flex;
}
@media screen and (max-width: 768px) {
  #header .container {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  #header .container h1 {
    text-align: center;
    line-height: 60px;
  }
}
#header .container .content h3 {
  margin-bottom: 40px;
}
@media screen and (max-width: 768px) {
  #header .container img {
    width: 100%;
  }
}

#skills {
  margin: 100px 0;
  padding: 50px 0;
  background-color: #f5f5f5;
}
#skills .container h1 {
  text-align: center;
}
#skills .container-skills {
  margin: 100px auto;
  display: grid;
  grid-template-areas: "a b c";
}
#skills .container-skills img {
  grid-area: b;
  margin: auto;
  width: 60%;
}
@media screen and (max-width: 768px) {
  #skills .container-skills {
    grid-template-areas: "a" "c" "b";
    text-align: center;
    gap: 40px;
  }
}

#random img {
  width: 300px;
}
#random .container {
  display: flex;
  justify-content: space-around;
  gap: 60px;
}
@media screen and (max-width: 768px) {
  #random .container {
    flex-direction: column-reverse;
  }
  #random .container .content {
    margin: 0 auto;
    text-align: center;
  }
}

#projets {
  margin: 100px 0;
  background-color: #f5f5f5;
}
#projets .container {
  padding: 50px 0;
}
#projets .container .description {
  display: flex;
  margin: 20px 0 80px 0;
}
@media screen and (max-width: 768px) {
  #projets .container .description {
    flex-direction: column;
    gap: 30px;
  }
}
#projets .container .description .content {
  width: 50%;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  gap: 25px;
}
@media screen and (max-width: 768px) {
  #projets .container .description .content {
    margin: auto;
    width: 100%;
    padding: 15px;
  }
}
#projets .container .description .content-img {
  flex: 1;
  display: flex;
  align-items: end;
  justify-content: end;
}
#projets .container .description .content-img img {
  width: 70%;
}
@media screen and (max-width: 768px) {
  #projets .container .description .content-img {
    justify-content: center;
  }
  #projets .container .description .content-img img {
    width: 90%;
  }
}
#projets .container .cards {
  margin: 50px auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, 330px);
  justify-content: center;
  gap: 30px;
}
#projets .container .cards .card {
  flex-shrink: 0;
  padding: 10px;
  width: 330px;
  height: 270px;
  background-color: #fafafa;
  border-radius: 14px;
  border: solid 1px #757575;
  box-shadow: 5px 5px 5px #757575;
  transition: all 0.3s ease;
}
#projets .container .cards .card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: top;
  margin-bottom: 10px;
}
#projets .container .cards .card .card-skill {
  display: flex;
  gap: 20px;
}
#projets .container .cards .card:hover {
  transform: scale(1.1);
}

#contact {
  padding-top: 60px;
}
#contact .container .description {
  display: flex;
}
@media screen and (max-width: 768px) {
  #contact .container .description {
    flex-direction: column;
    gap: 60px;
  }
}
#contact .container .description .content .social-links {
  margin: 50px auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: 80%;
  gap: 20px;
}
#contact .container .description .content .social-links .link {
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.2s ease-in-out;
}
#contact .container .description .content .social-links .link i {
  font-size: 35px;
}
#contact .container .description .content .social-links .link .itch-io {
  color: #fa5c5c;
}
#contact .container .description .content .social-links .link .youtube {
  color: #FF0000;
}
#contact .container .description .content .social-links .link .linkedin {
  color: #4CA4D1;
}
#contact .container .description .content .social-links .link .github {
  color: #757575;
}
#contact .container .description .content .social-links .link:hover {
  filter: drop-shadow(5px 5px 20px #93B9B9) invert(80%);
}

.formulaire {
  background-color: #f5f5f5;
}
.formulaire form {
  padding-bottom: 30px;
}
.formulaire form h2 {
  margin: 0;
  margin-bottom: 30px;
  padding-top: 30px;
  font-weight: 300;
}
.formulaire form .content-form {
  display: flex;
  gap: 40px;
}
@media screen and (max-width: 768px) {
  .formulaire form .content-form {
    flex-direction: column;
  }
}
.formulaire form .content-form label {
  padding: 0px 0;
}
.formulaire form .content-form input {
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 8px;
  border: solid 1px #757575;
}
.formulaire form .content-form div {
  width: 50%;
  display: flex;
  flex-direction: column;
}
@media screen and (max-width: 768px) {
  .formulaire form .content-form div {
    width: 100%;
  }
}
.formulaire form .content-form .message textarea {
  height: 150px;
  resize: none;
  border-radius: 8px;
}
.formulaire form .container-button {
  margin: 20px 0;
  display: flex;
  justify-content: right;
}
@media screen and (max-width: 768px) {
  .formulaire form .container-button {
    justify-content: center;
  }
}
.formulaire form .container-button button {
  padding: 8px 25px;
  border-radius: 8px;
  border: none;
  background-color: #333;
}
.formulaire form .container-button button p {
  color: #fff;
}
.formulaire form .container-button button:hover {
  background-color: #757575;
}

footer {
  margin-top: 100px;
  background-color: #f5f5f5;
  height: 90px;
  position: relative;
  border-top: solid 1px #757575;
}
footer .up {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -50%);
  background-color: #f5f5f5;
  padding: 20px;
  border-radius: 50%;
  border-top: solid 1px #757575;
  transition: all 0.2s ease-in;
}
footer .up i {
  font-size: 50px;
  transform: translateY(-25%);
  color: #fff;
}
footer .up:hover {
  transform: translateY(-55%);
}
footer .container {
  padding-bottom: 10px;
  height: inherit;
  display: flex;
  justify-content: space-between;
  align-items: end;
}
@media screen and (max-width: 768px) {
  footer .container {
    justify-content: center;
  }
}
footer .container .links {
  display: flex;
  gap: 20px;
}
footer .container .links li > a {
  transition: all 0.3s ease-in;
}
footer .container .links li:hover a {
  color: #E3AE44;
}
@media screen and (max-width: 768px) {
  footer .container .links {
    display: none;
  }
}

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

a {
  text-decoration: none;
  color: #111;
}

li {
  list-style: none;
}

html {
  font-family: "Nunito Sans", serif;
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

@media screen and (max-width: 768px) {
  #main {
    padding-top: 90px;
  }
}

/*# sourceMappingURL=style.css.map */
