/*        */
/* GLOBAL */
/*        */

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Roboto', sans-serif;
  background: var(--bg-white);
  color: var(--text-green);
}

@media screen and (max-width: 1000px) {
  body {
    background: var(--bg-grey);
  }
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair', serif;
  font-weight: bold;
  text-align: center;
  color: var(--text-green);
}

p {
  margin: 0;
  text-align: justify !important;
}

/*               */
/* LINK & BUTTON */
/*               */
a {
  color: var(--text-green);
  text-decoration: none;
  transition: .5s;
}

a:hover {
  color: var(--light-green) !important;
}

a:focus {
  color: var(--text-green) !important;
}


.btn {
  background-color: var(--blue);
  color: var(--text-white);
  border: none;
  transition: .5s;
}

.btn:hover {
  background-color: var(--light-green) !important;
  color: var(--text-white) !important;
  border: none;
}

button.active:hover {
  cursor: default;
}

/*                */
/* LOADING SCREEN */
/*                */
@keyframes slideLeft {
  from {
  }
  to {
    transform: translateX(-100%);
  }
}

@keyframes slideRight {
  from {
  }
  to {
    transform: translateX(100%);
  }
}

#loading-screen {
  background: var(--bg-green);
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 11200;
}

#loading-screen h1 {
  font-family: 'Playfair', serif;
  font-size: 10rem;
  color: var(--gold) !important;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#left-text {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  animation-name: slideLeft;
  animation-duration: 1.5s;
  animation-delay: 1s;
  animation-fill-mode: forwards;
}

#right-text {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  animation-name: slideRight;
  animation-duration: 1.5s;
  animation-delay: 1s;
  animation-fill-mode: forwards;
}

#text-bar {
  margin: 2rem;
}

.hidden {
  opacity: 0;
  visibility: hidden;
  height: 0 !important;
}

.no-display {
  display: none !important;
}

#navbar, #loading-screen, #text-bar, #content {
  transition: 1.5s;
}

/*       */
/* MODAL */
/*       */
.modal {
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.modal-content {
  box-shadow: 0 0 20px rgba(139, 139, 139, 0.1);
}

.modal-header {
  background: var(--red);
}

.modal-title {
  color: var(--text-white);
  font-family: 'Roboto', sans-serif;
  font-size: 1.5rem;
  text-align: center;
  margin: 0 auto;
}

.modal-body {
  padding: 2rem;
}

.input-container {
  margin: .5rem 0;
}

#modalButton {
  margin: 1rem auto;
  width: 100%;
}

.modal-footer button {
  margin: 1rem auto;
  background: var(--red);
}

#modalButton:hover, .modal-footer button:hover {
  background-color: var(--bg-green) !important;
  color: var(--text-white) !important;
}

#urgenceForm p {
  text-align: center !important;
  font-style: italic;
}

#urgenceForm p:first-of-type {
  font-weight: bold;
  margin-bottom: 2rem;
  font-style: normal;
}

#urgence-form-input {
  display: none;
}

/*              */
/* NOTIFICATION */
/*              */
#notification {
  margin: 2rem auto;
  padding: 1rem;
  border-radius: .5rem;
  color: white;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translate(-50%, 0);
  z-index: 2000;
  box-shadow: 0 0 20px rgba(50, 50, 50, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

#notification i {
  margin: .5rem;
}

#notification p {
  text-align: center !important;
}
