@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,600;0,700;0,800;0,900;1,400;1,600&display=swap");

:root {
  --background-color: black;
  --text-color: #8f9094;
  --main-text-color: white;
  --accent-color: #0888de;
  --font-family: Poppins;

  --header-background: rgba(255, 255, 255, 0.1);
  --header-border-radius: 3.40282e38px;

  --button-background: rgba(255, 255, 255, 0.08);
  --button-background-hover: rgba(255, 255, 255, 0.16);
  --button-border-radius: 0.375rem;
}

html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  background: var(--background-color);
  color: var(--text-color);
  font-family: var(--font-family);
}

header {
  padding: 0.5rem;
  color: var(--main-text-color);
  display: flex;
  justify-content: space-around;
}

header ul {
  background: var(--header-background);
  padding: 0;
  list-style: none;
  padding: 0.3rem;
  border-radius: var(--header-border-radius);
  display: flex;
  align-items: center;
  gap: 20px;
  padding-left: 15px;
  padding-right: 15px;
}

header ul a {
  color: var(--main-text-color);
  text-decoration: none;
  transition: all 0.3s;
  font-weight: bold;
}

header ul a:hover {
  color: var(--accent-color);
}

main {
  flex: 1;
  margin-top: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 30px;
  text-align: center;
}

main .header * {
  margin: 0;
}

section {
  display: flex;
  flex-direction: column;
  gap: 15px;
  justify-content: center;
  align-items: center;
}

section h3 {
  font-size: 25px;
}

main .header h1 {
  font-size: 2rem;
}

main .header h2 {
  color: var(--text-color);
}

main .actions {
  display: flex;
  justify-content: space-around;
  gap: 15px;
  align-items: center;
}

main .skills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

main .skills-container h4 {
  color: var(--main-text-color);
  font-size: 20px;
}

main .skills-container .skills {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  flex-direction: column;
  background: var(--button-background-hover);
  padding: 1rem;
  border-radius: var(--button-border-radius);
  max-width: 50rem;
  width: 100%;
  justify-content: center;
}

main .skills-container .skills .skills-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
}

main .skills-container .skills .skills-list div {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-direction: column;
  transition: all 0.5s;
  cursor: pointer;
}

main .skills-container .skills .skills-list div:hover {
  transform: scale(1.2);
}

main .skills-container .skills .skills-list div:hover span {
  color: var(--main-text-color);
}

main .projects {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

main .project {
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  transition: all 1s;
  cursor: pointer;
  background: #111;
  position:relative;
}

main .project .status{
    position: absolute;
    top: -5px;
    right: -5px;
    background: #111;
    color: white;
    border-radius: 10px;
    padding: 3px .5rem 3px .5rem;
}

main .project:hover {
  box-shadow: 0 0 80px -10px var(--accent-color);
}

main .project h5 {
  font-size: 20px;
}

main .project .infos {
  border-radius: 0 0 1rem 1rem;
  padding: 0.5rem;
  transition: all 1s;
}

main .project img {
  max-width: 600px;
  width: 100%;
  border-radius: 1rem 1rem 0 0;
}

main .services{
    display: flex;
    gap: 50px;
    justify-content: center;
    flex-wrap: wrap;
}

main .services .service{
    background: #111;
    padding: 1rem;
    border-radius: var(--button-border-radius);
}

main .services .service h5{
    font-size: 20px;
}

section:has(form) {
  width: 50%;
}

form {
  width: 100%;
  padding: 1rem;
  border-radius: var(--button-border-radius);
  background: #111;
  display: flex;
  flex-direction: column;
  gap: 20px;

  /*-webkit-box-shadow:  var(--accent-color) 0 0px 20px, blue 0 0px 40px, 1px 0px 15px 5px rgba(0,0,0,0); 
    box-shadow:  var(--accent-color) 0 0px 20px, blue 0 0px 40px, 1px 0px 15px 5px rgba(0,0,0,0);*/

  -webkit-box-shadow: var(--accent-color) 0 0px 10px, blue 0 0px 20px,
    1px 0px 5px 5px rgba(0, 0, 0, 0);
  box-shadow: var(--accent-color) 0 0px 10px, blue 0 0px 20px,
    1px 0px 5px 5px rgba(0, 0, 0, 0);
}

form label {
  color: var(--main-text-color);
  text-align: left;
}

form .row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

form input,
form textarea {
  padding: 1rem;
  background-color: #222;
  border-radius: var(--button-border-radius);
  border: none;
  caret-color: var(--main-text-color);
  color: var(--main-text-color);
  font-size: 1.1rem;
}

form textarea {
  min-height: 180px;
}

form input:focus,
form textarea:focus {
  outline: none;
}

form button {
  width: 100% !important;
  padding: 1rem !important;
  text-align: center !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
}

footer {
  text-align: center;
}

/* COMPONENTS */

h1,
h2,
h3,
h4,
h5 {
  color: var(--main-text-color);
}

.main {
  color: var(--main-text-color);
  text-shadow: 0px 0px 30px var(--accent-color);
  transition: all 0.5s;
  text-decoration: none;
}

.main:hover {
  color: var(--main-text-color);
  text-shadow: 0px 0px 10px var(--accent-color);
}

.accent {
  color: var(--accent-color);
}

.button {
  display: flex;
  align-items: center;
  gap: 10px;

  background: var(--button-background);
  padding: 0.5rem;
  border-radius: var(--button-border-radius);
  color: var(--main-text-color);
  text-decoration: none;
  font-weight: bold;
  padding-inline-end: 1rem;
  padding-inline-start: 1rem;
  width: fit-content;

  transition: all 0.5s;
  cursor: pointer;

  border: none;
}

.button:hover {
  background: var(--button-background-hover);
  /*box-shadow: 0px 0px 100px 0px var(--accent-color);*/
}

.button i {
  color: var(--accent-color);
}

.hello-there{
  position: fixed;
  bottom: -5px;
  right: -5px;
  width: 350px;
  z-index: 9999;
}

@media screen and (max-width: 1200px) {
  header ul {
    display: none !important;
  }

  section {
    margin-left: 10px;
    margin-right: 10px;
  }

  footer{
    padding-bottom: 70px;
  }
}

.winbox {
  border-radius: 12px 12px 0 0;
  box-shadow: none;
}

.wb-body {
  background: #222 !important;
}

.wb-body div {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 10px;
  background: #222;
  color: white;
  text-align: center;
}

.devis {
  padding: 10px 20px;
  border: none;
  font-size: 17px;
  color: #fff;
  border-radius: 7px;
  letter-spacing: 4px;
  font-weight: 700;
  text-transform: uppercase;
  transition: 0.5s;
  transition-property: box-shadow;
  cursor: pointer;
}

.devis {
  background: rgb(0, 140, 255);
  box-shadow: 0 0 25px rgb(0, 140, 255);
}

.devis:hover {
  box-shadow: 0 0 5px rgb(0, 140, 255), 0 0 25px rgb(0, 140, 255),
    0 0 50px rgb(0, 140, 255), 0 0 100px rgb(0, 140, 255);
}

a{
    color: skyblue;
}

a.nop{
    color: gray;
    user-select: none;
    cursor: not-allowed;
    text-decoration: line-through;
}

a.nop:hover{
    color: gray;
}