* {
  box-sizing: border-box;
}

body {
  display: grid;
  font-family: "Raleway", sans-serif;
  font-size: 1.2em;
  font-weight: 600;
  background-color: #241f1f;
  min-height: 100vh;
  grid-template-rows: auto 1fr auto;
}

h1 {
  color: white;
}

a {
  color: #a208fc;
}
a:hover {
  transform: scale(1.1);
  color: #dab4b4;
}

button:hover {
  transform: scale(1.2);
  color: #a208fc;
}

input[type=file]:hover {
  background-color: #a208fc;
  color: white;
  transform: scale(1.1);
}

input[type=text]:focus {
  border: yellowgreen 8px solid;
}
input[type=text]:hover {
  border: #dab4b4 8px solid;
}

input[type=email]:focus {
  border: yellowgreen 8px solid;
}
input[type=email]:hover {
  border: #dab4b4 8px solid;
}

input[type=password]:focus {
  border: yellowgreen 8px solid;
}
input[type=password]:hover {
  border: #dab4b4 8px solid;
}

input[class=darken]:hover {
  border: 0px #dab4b4;
  transform: scale(0.99);
}

#header {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
}

#logo img, #account {
  flex-basis: 50%;
}

#logo img {
  max-width: 175px;
  max-height: 200px;
  text-align: left;
}

#account {
  padding-top: 75px;
  text-align: right;
}

.divMenu {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.divMenu > svg path {
  fill: #a208fc;
}
.divMenu:hover .navMenu {
  display: block;
}

.navMenu {
  color: #a208fc;
}
.navMenu li {
  list-style: none;
}

.ulMenuAccount {
  cursor: pointer;
}
.ulMenuAccount a, .ulMenuAccount path {
  background: #a208fc;
  color: white;
  fill: white;
}
.ulMenuAccount > li:hover .ulSubMenu li {
  transform: scale(1);
}
.ulMenuAccount li:hover .ulSubMenu {
  transform: scale(1);
}

.ulSubMenu {
  transform: scale(0);
  transform-origin: top center;
  transition: all 300ms ease-in-out;
}
.ulSubMenu li {
  color: #a208fc;
  transform: scale(0);
  transform-origin: top center;
  transition: all 300ms ease-in-out;
}
.ulSubMenu li:last-child {
  border-bottom: black;
}
.ulSubMenu li:hover {
  color: white;
}
.ulSubMenu li:hover a {
  background: #a208fc;
  color: white;
}

#logout:hover {
  color: white;
  background-color: #a208fc;
}
#logout svg > path {
  fill: white !important;
}

.divMonCompte {
  margin: 0;
  padding: 0;
  box-sizing: border-content;
}

.navMenu {
  cursor: pointer;
  display: none;
}

#container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: stretch;
  text-align: center;
}

#footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-top: 30px;
}
#footer a {
  color: white;
}

#divLinkUp {
  position: relative;
  background-color: white;
}

#linkUp {
  position: absolute;
  width: 100%;
  height: 100%;
}

#loginForm, #signupForm {
  padding: 30px;
  border: 3px solid white;
}

#newPost {
  padding: 18px;
  border: 7px solid #312f2f;
  color: #a208fc;
  margin-bottom: 10px;
}
#newPost .formGroup {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#newPost #newPostForm {
  padding-top: 10px;
}
#newPost input[type=text], #newPost #preview {
  height: 100px;
  width: 300px;
  border: solid #312f2f 1px;
}
#newPost #preview {
  margin-top: 20px;
  height: 300px;
  width: 300px;
  border-radius: 25px;
}
#newPost #imgPreview {
  height: 300px;
  width: 300px;
}

.postCard {
  padding: 18px;
  color: #a208fc;
  margin-bottom: 5px;
  border: 4px solid white;
}
.postCard input[type=text] {
  height: 100px;
  width: 300px;
}
.postCard form {
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.postCard .imgPost {
  text-align: center;
  height: 350px;
  width: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.postCard .imgPost img {
  height: 300px;
  width: 300px;
  object-fit: cover;
}
.postCard .formGroup {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

label {
  display: block;
  color: #a208fc;
  margin-bottom: 5px;
  font-size: 1.1em;
  font-weight: 700;
}

.formGroup {
  margin-bottom: 20px;
}

input, button {
  font-size: large;
  font-weight: 600;
  padding: 5px;
}

input, img {
  border-radius: 25px;
}

#messageModif {
  text-align: center;
  text-decoration: underline;
  width: 340px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  margin-bottom: 10px;
}

input[type=file] {
  font-size: 15px;
  margin: 0;
}

#postRef {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #a208fc;
  width: 340px;
  border: 7px solid #312f2f;
  border-radius: 25px;
  margin-bottom: 20px;
}

#postRefImg {
  margin-top: 15px;
  margin-bottom: 15px;
  width: 300px;
  height: 300px;
}
#postRefImg img {
  height: 300px;
  width: 300px;
  border-radius: 25 px;
}

#postRefContent {
  padding-top: 10px;
}
#postRefContent input {
  height: 100px;
  width: 300px;
}

#newcomment {
  height: 75px;
  width: 300px;
}

#newComment {
  color: #a208fc;
}

.comment {
  color: #a208fc;
}

.commentFrm {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.commentFrm input {
  height: 75px;
  width: 300px;
  margin-bottom: 5px;
}

.darken {
  background-color: #dab4b4;
}

.user {
  width: 250px;
  color: white;
  margin-bottom: 20px;
  padding: 20px;
  border: 2px solid;
}

@media only screen and (min-width: 800px) {
  #logo img {
    max-width: 200px;
    max-height: 200px;
    text-align: left;
  }

  #account {
    padding-top: 80px;
    text-align: right;
  }

  #postRef {
    width: 40px;
  }
  #postRef #postRefContent input {
    width: 400px;
    height: 100px;
  }
  #postRef #postRefImg {
    width: 400px;
    height: 400px;
  }
  #postRef #postRefImg img {
    width: 400px;
    height: 400px;
  }

  #newCommentForm input[id=newcomment] {
    width: 400px;
    height: 100px;
  }

  #newPostForm input[id=content] {
    width: 400px;
  }
  #newPostForm #preview, #newPostForm #imgPreview {
    width: 400px;
    height: 400px;
  }

  .commentFrm input[name=content] {
    width: 400px;
    height: 100px;
  }

  #messageModif {
    width: 440px;
  }

  .postCard input[name=content] {
    width: 400px;
    margin-bottom: 10px;
  }
  .postCard .imgPost {
    width: 400px;
    height: 400px;
  }
  .postCard .imgPost img {
    width: 400px;
    height: 400px;
    margin-bottom: 5px;
  }
  .postCard input[type=file] {
    margin-top: 20px;
  }
}
@media only screen and (min-width: 1100px) {
  #logo img {
    max-width: 200px;
    max-height: 250px;
    text-align: left;
  }

  #account {
    padding-top: 80px;
    text-align: right;
  }

  #postRef {
    width: 550px;
  }
  #postRef #postRefContent input {
    width: 500px;
    height: 100px;
  }
  #postRef #postRefImg {
    width: 500px;
    height: 500px;
  }
  #postRef #postRefImg img {
    width: 500px;
    height: 500px;
  }

  #newCommentForm input[id=newcomment] {
    width: 500px;
    height: 100px;
  }

  .commentFrm input[name=content] {
    width: 500px;
    height: 100px;
  }

  #newPostForm input[id=content] {
    width: 500px;
  }
  #newPostForm #preview, #newPostForm #imgPreview {
    width: 500px;
    height: 500px;
  }

  #messageModif {
    width: 500px;
  }

  .postCard input[name=content] {
    width: 500px;
    margin-bottom: 10px;
  }
  .postCard .imgPost {
    width: 500px;
    height: 500px;
  }
  .postCard .imgPost img {
    width: 500px;
    height: 500px;
    margin-bottom: 5px;
  }
  .postCard input[type=file] {
    margin-top: 20px;
  }
}

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