:root {
  --mytr-color: #eb5757;
  --myserenity-color: #a3b421;
  --main-bg: #4c4c47;
  --color-darkless: #3c3c39;
  --light-grey: #e9e9e9;
  --button-access-width: 42px;
  --button-access-height: 42px;
  --size-box-building: 30%;
}

.size-text-button {
  font-size: 0.8rem;
}

.standard-modal {
  --text-opacity: 1;
  color: #000;
  color: rgba(0, 0, 0, var(--text-opacity));
  padding: 0.75rem;
  margin-bottom: 0.5rem;
  flex: 1 1 0%;
  justify-content: center;
}

.bg-dark {
  background-color: var(--main-bg);
}

.bg-myserenity {
  background-color: var(--myserenity-color);
}

.bg-darkless {
  background-color: var(--color-darkless);
}

.bg-white {
  background-color: white;
}

.bg-grey {
  background-color: var(--light-grey);
}

.text-grey {
  color: var(--light-grey);
}

.text-dark {
  color: var(--main-bg);
}

.text-darkless {
  color: var(--color-darkless);
}

.text-white {
  color: white;
}

.text-mytr {
  color: var(--mytr-color);
}

#navbar {
  height: 9%;
}

html,
#sapper {
  height: 100%;
  width: 100%;
}




@media only screen
and (orientation: portrait) {
    .positionFormulaire {
      align-items: start !important;
      margin-top: 10%;
    }
  }

.hauteur {
  height: calc(100vh - 9%);
  overflow-y: scroll;
}

body {
  margin: 0;
  font-family: "Roboto", -apple-system, BlinkMacSystemFont, Segoe UI, Oxygen,
    Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: white;
  height: 100vh;
  width: 100vw;
  padding: 0;
  background: repeat-y center / cover url(/images/poussiflou.jpg);
}
input {
  outline: none;
  border-style: none;
  height: 30px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.5em 0;
  font-weight: 400;
  line-height: 1.2;
}

h1 {
  font-size: 2em;
}

a {
  color: inherit;
}

a:link {
  text-decoration: none;
}

button :active,
button:focus {
  outline: 0 !important;
  box-shadow: none;
  border-style: none;
}

code {
  font-family: menlo, inconsolata, monospace;
  font-size: calc(1em - 2px);
  color: #555;
  background-color: #f0f0f0;
  padding: 0.2em 0.4em;
  border-radius: 2px;
}

.logo-tr {
  display: flex;
  align-items: center;
  width: 7rem;
}

.myserenity-button {
  background-color: var(--myserenity-color);
  color: white;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: bold;
}
.myserenity-button:hover {
  background-color: hsl(67 69% 37%);
}

.myserenity-button:disabled,
.myserenity-button[disabled] {
  background-color: #828282;
  color: var(--color-darkless);
  cursor: not-allowed;
}

.cancel-button-serenity {
  background-color: #212121;
  color: white;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: bold;
}
.cancel-button-serenity:hover {
  background-color: #000000;
}

.cancel-button {
  background-color: var(--mytr-color);
  color: white;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: bold;
}
.cancel-button:hover {
  filter: brightness(80%);
}

.flex-row-center {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
.flex-col-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.mb-1 {
  margin-bottom: 1rem;
}

.mb-2 {
  margin-bottom: 2rem;
}
.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 2rem;
}

.radius {
  border-radius: 10px;
}

.modal-buttons {
  display: flex;
  align-content: center;
  justify-content: flex-end;
}

@media (max-width: 700px) {
  .modal {
    width: 100%;
  }
}

@media (min-width: 400px) and (max-width: 700px) {
  body {
    font-size: 14px;
  }
  .myserenity-icon {
    width: 9rem;
    height: 9rem;
    top: -28%;
  }
  #form-connection {
    width: 70%;
  }
}
@media (max-width: 400px) {
  .modal-buttons {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .myserenity-icon {
    display: none;
  }
  body {
    font-size: 12px;
  }
}

.btn-myserenity {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--myserenity-color);
  border-radius: 8px;
  font-weight: 500;
  padding: 0.5rem;
  cursor: pointer;
  color: white;
}

.btn-myserenity:hover {
  filter: brightness(85%);
}

.bg-red {
  background-color: var(--mytr-color);
}

.bg-orange {
  background-color: #dd9105;
}

.bg-green {
  background-color: var(--myserenity-color);
}

.bg-grey {
  background-color: #9b9595;
}

.hoverbutton-brightness:hover {
  filter: brightness(80%);
}


