*,
::before,
::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
@import url("https://fonts.cdnfonts.com/css/clear-sans");
@import url("https://fonts.cdnfonts.com/css/ubuntu");
body {
  min-height: 100vmin;
  flex-wrap: wrap;
  background: linear-gradient(to right, white, #cacaca, #cacaca, white);
}
.flex-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}
.flex-row {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}
header {
  width: 20%;
  min-width: 200px;
  margin: 10px;
  padding: 15px;
  color: #131112;
  gap: 10px;
  margin-top: 60px;
}
.container_photo-nom {
  width: auto;
  background-color: transparent;
  border-radius: 0;
  margin: 0;
  padding: 0;
  color: transparent;
  box-shadow: none;
  position: relative;
  margin-top: 100px;
}
.photo {
  width: 200px;
  height: 200px;
  align-self: center;
  position: absolute;
  top: -175px;
  border-radius: 50%;
  box-shadow: 2px 2px 1px #6c6f7d, -2px -2px 1px #6c6f7d;
  background-image: url(Photo_CV.jpg);
  background-size: cover;
}
img {
  width: 150px;
  height: 150px;
}
.nom {
  width: 100%;
  margin: 20px 0;
  justify-content: flex-end;
  gap: 10px;
  background-color: #f15e28;
  box-shadow: 2px 2px 1px #973a18;
}
.nom > h1 {
  color: #131112;
}
.nom > h1 + h1 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: rgb(240, 240, 240);
}
main {
  width: 50%;
  flex-wrap: wrap;
}
aside {
  width: 50%;
  min-width: 300px;
  height: 95%;
}
div {
  width: 85%;
  background-color: rgb(240, 240, 240);
  border-radius: 25px;
  margin: 10px;
  padding: 15px;
  color: #131112;
  box-shadow: 2px 2px 1px #6c6f7d;
}
ul {
  list-style-type: none;
}
a {
  text-decoration: underline;
  color: #52489c;
}
p,
li {
  font-family: "Clear Sans", sans-serif;
  margin: 10px;
}
h1,
h2,
h3 {
  margin-left: 10px;
  font-family: "Ubuntu", sans-serif;
  color: #f15e28;
}
h4 {
  margin: 5px 0;
  font-family: "Ubuntu", sans-serif;
}

.bold_text {
  font-weight: bold;
}

.profil > p {
  text-indent: 15px;
}
footer {
  min-width: 200px;
  margin-top: 10px;
  color: #131112;
  gap: 5px;
}

@media screen and (max-width: 1214px) {
  header {
    position: sticky;
    top: 70px;
    align-self: flex-start;
  }
  footer {
    position: sticky;
    top: 20%;
    align-self: flex-start;
    /* margin-left: 0; */
  }
}

@media screen and (max-width: 854px) {
  header {
    position: sticky;
    top: 70px;
    align-self: flex-start;
  }
  footer {
    position: static;
    margin-left: 250px;
  }
}

@media screen and (max-width: 659px) {
  body {
    flex-direction: column;
  }
  header {
    position: static;
    margin-top: 70px;
    margin-left: 0;
    padding-left: 0;
    align-self: center;
  }
  main {
    padding-left: 20px;
  }
  footer {
    margin-left: 0;
    align-self: center;
  }
}
