
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  background:var(--light-grey); 
  font-family: var(--placeholder-Exergue);
}
body.create {
  overflow: hidden;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
h1,
h2,
h3 {
  font-weight: normal;
  text-transform: uppercase;
}


.canvas-container {
  box-shadow: 0 0 150px black;
  position: absolute !important;
  left: 50%;
  top: 50%;
  width: 3508px;
  height: 4961px;
  background: white;
  font-size: 150px;
  font-family: var(--placeholder-Exergue);
}
#tools {
  position: absolute;
  top: 50px;
  left: 50px;
  z-index: 2; 
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
#index  #tools{
  flex-direction: row;
  align-items: center;
  justify-items: center;
  font-size: var(--big-size);
  border: var(--border-ui);
  padding-left: var(--small-margin);
}

.mention {
  left: 50px;
  position: fixed;
  bottom: 50px;
  max-width: 90vw;
  background: var(--yellow-vtf);
  color: black;
  display: block;
  padding: 10px var(--medium-margin);
  font-size: var(--big-size);
  line-height: 1;
}
.mention a {
  color: currentColor;
}
#tools .share {
  position: absolute;
  left: calc(100vw - 100px);
  gap: 0;
  transform: translateX(-100%);
}
#logo img {
  filter: invert(1);
  width: auto;
  height: 90%;
}
#copyright {
  /* :) */
  transform: scaleX(-1);
}
#username,
#tools a,
#tools button,
#tools.message, #canceladd {
  background: var(--yellow-vtf);
  color: black;
  text-transform: lowercase;
  display: block;
  padding: 10px var(--medium-margin);
  margin-bottom: var(--medium-margin);
  text-decoration: none;
  font-size: 40px;
  border: none;
  height: 60px;
  line-height: 40px;
  min-width: 70px;
  text-align: center;
  outline: 0;
  box-shadow: none;
  font-family: var(--placeholder-Exergue);
}
#tools a img{
  width: 100%;
}
#index #tools a{
  margin: 0 ;
  margin-left: var(--small-margin);
}
.select,
.range {
  background: black;
  padding: 10px;
  width: 100%;
}
#tools input[type="text"] {
  text-align: left;
}
#tools #download,
#tools form,
#imagetools,
#tools #message {
  display: none;
}
#imagetools > span,
#tools > span {
  display: flex;
  gap: var(--medium-margin);
  flex-wrap: wrap;
}
.colors {
  max-width: 250px;
}
.type {
  flex-direction: column;
  max-width: 250px;
  align-items: flex-start;
  margin-top: var(--medium-margin);
}
.type p{
  font-family: var(--placeholder-Texte);
  color: white;
  font-size: 1.5em;
}
.text-align{
  margin-top: var(--medium-margin);
}
.select select {
  font-family: var(--placeholder-Texte);
  font: inherit;
  width: 100%;
  font-size: 1.5em;
}
#tools.message > *:not(#message) {
  display: none;
}
#tools.message #message {
  display: block;
}
#imagetools a {
  width: 70px;
}
input[type="range"] {
  width: 100%;
}
input[type="color"] {
  width: 100%;
  opacity: 0;
}
#imagetools .rainbow {
  width: 100%;
  background: linear-gradient(
    to right,
    #b827fc 0%,
    #2c90fc 25%,
    #b8fd33 50%,
    #fec837 75%,
    #fd1892 100%
  );
}
#imagetools label {
  border: var(--border-ui);
  display: inline-block;
  height: 60px;
  width: 70px;
}
#imagetools input[type="radio"] {
  left: -999px;
  position: absolute;
}

#imagetools.textmode {
  display: block;
}

#imagetools.imagemode {
  display: block;
}
#imagetools.imagemode .type, 
#imagetools.imagemode .text-align, 
#imagetools.imagemode .colors {
  display: none;
}

#licence p {
  background: #000;
  color: #fff;
  text-transform: lowercase;
  display:inline-block;
  padding: 10px var(--medium-margin);
  margin-bottom: var(--medium-margin);
  color: #fff;
  font-size: 40px;
  line-height: 1.1;
  max-width: 25em;
  min-width: 70px;
}

#licence p a {
  display: inline;
  height: auto;
  padding: 0;
  text-decoration: underline;
}
/* ============================================================ ADD SOMETHING */
h2 {
  font-size: var(--big-size);
  padding: var(--small-margin) 0;
  border: none;
}
details {
  margin: 1em 0;
}
summary {
  font-size: var(--medium-size);
  text-transform: uppercase;
  margin: 0 ;
}
summary:hover {
  color: rebeccapurple;
}
summary a {
  color: currentColor;
  cursor: pointer;
}
#canceladd{
  position: absolute;
  right: var(--medium-margin);
  top: var(--medium-margin);
}
#addsomething {
  position: fixed;
  left: var(--medium-margin);
  top: var(--medium-margin);
  width: 30vw;
  height: 90vh;
  background: #eee;
  padding: var(--medium-margin);
  display: none;
  z-index: 3;
  overflow-y: scroll;
}

ul {
  list-style-type: none;
  margin-bottom: 1em;
}

form {
  display: inline-block;
}
/* ========================== ADD TEXT */

#textform  {
  display: flex;
  gap: var(--medium-margin);
}

#textform > * {
  display: inline-block;
  background: #000;
  color: #fff;
  text-transform: lowercase;
  display: block;
  padding: 10px var(--medium-margin);
  color: #fff;
  text-decoration: none;
  font-size: 40px;
  border: none;
  height: 60px;
  vertical-align: top;
  line-height: 40px;
  min-width: 70px;
  text-align: center;
  outline: 0;
  box-shadow: none;
}

#textform textarea {
  flex: 1;
  text-align: left;
  height: 10em;
  font-size: 1rem;
  line-height: 1.2;
  text-transform: none;
}

/* ========================== ADD TAGLINE */
.taglines {
  margin: 1em 0;
  grid-gap: 1em 40px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}
.tagline { 
  font-size: var(--medium-margin);
  cursor: crosshair;
}
/* ========================== ADD Symbols */
.symbole{
  font-size: 60px;
  text-align: center;
}

/* ========================== ADD IMAGES */
.g {
  grid-gap: 40px;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  grid-template-rows: masonry;
  align-content: center;
  display: grid;
}

.g img {
  max-width: 100%;
  max-height: 150px;
  align-self: center;
  justify-self: center;
  cursor: crosshair;
}

/* ========================== UPLOAD */
#uploader {
  margin-bottom: 1em;
}
#uploader p:first-child {
  display: flex;
  width: 100%;
  justify-content: space-between;
  gap: var(--medium-margin);
  margin-bottom: 1em;
}
#uploader p:first-child > * {
  background: #000;
  color: #fff;
  text-transform: uppercase;
  display: block;
  padding: 10px var(--medium-margin);
  border: none;
  height: 60px;
  line-height: 40px;
  min-width: 70px;
  outline: 0;
  box-shadow: none;
}
#uploader p:first-child span {
  display: block;
  flex: 1;
}

/* ========================== HOME PAGE  */
/* */
#gallery {
  margin: 150px 50px 50px;
  grid-gap: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}
#gallery li {
  display: flex;
  align-items: center;
  justify-content: center;
}
#gallery img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

