@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

/*
¤HeaderFont := if Exists(HeaderFont) then HeaderFont else ""¤
¤ButtonContrastTextColor := if Exists(Theme.ButtonContrastTextColor) then Theme.ButtonContrastTextColor else Theme.ButtonTextColor¤
¤ButtonContrastColor := if Exists(Theme.ButtonContrastColor) then Theme.ButtonContrastColor else Theme.ButtonColor¤
*/

body {
  margin: 0;
  box-sizing: border-box;
  background-color: #E9EBED;
  position: relative;
  background-image: url("./svgs/backgroundsvg.svg");
  background-size: cover;
  background-repeat: no-repeat;
  padding: 0 !important;
  overflow-y: scroll !important;
}

/* Global reset (safe): avoid universal margin/padding resets (breaks MUI components). */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Avoid overriding Material UI or custom class-based buttons */
button:not(.MuiButton-root):not([class]) {
  padding: 12px 24px 12px 24px;
  background-color: white;
  border-radius: 8px;
  border: none;
  color: #121212;
  font-weight: 700;
  font-family: "Space Grotesk";
  font-size: 18px;
  line-height: 23.4px;
  cursor: pointer;
}

.button {
  
}

.title-controls {
  display: flex;
  margin: 0 auto;
  margin-top: 60px;
  margin-bottom: 30px;
  max-width: 1160px;
  border-bottom: solid 2px #AFAFAF;
  justify-content: space-between;
  align-items: flex-end;
}

.title-controls div {
  display: flex;
  align-items: center;
}

a {
  text-decoration: none;
  color: inherit;
}

.ipad-visible {
  display: none;
}
.ipad-invisible {
  display: block;
}

@media screen and (max-width: 750px) {
  .ipad-visible {
    display: block;
  }

  .ipad-invisible {
    display: none;
  }
}
.phone-visible {
  display: none;
}
.phone-invisible {
  display: block;
}

@media screen and (max-width: 500px) {
  .phone-visible {
    display: block;
  }

  .phone-invisible {
    display: none;
  }
}


@media screen and (max-width: 1200px) {
  .title-controls {
    margin-inline: 70px;
  }
  
}

@media screen and (max-width: 700px) {
  .title-controls {
    margin-inline: 30px;
  }
  .title-controls div a h3 {
    display: none;
  }
}

/* Hide google reachaptcha */
.grecaptcha-badge { 
  visibility: hidden;
}


/* new ------------------------------------------------------------------------------------------------------------------- */

/* Background */

.background-theme {
  background-color:¤BackgroundColor¤;
}
.theme-background {
  background-color:¤BackgroundColor¤;
}
.background-header {
  background-color: ¤HeaderColor¤;
}

/* Button classes */

.button {
  padding: 0.5rem;
  border-radius: 4px;
  width: auto;
  height: auto;
}

.button-contrast {
  color: ¤ButtonContrastTextColor¤ !important;
  background-color: ¤ButtonContrastColor¤ !important;
}

.button-contrast-inverse {
  background-color: ¤ButtonContrastTextColor¤;
  color: ¤ButtonContrastColor¤;
}

/* Text classes */

.color-theme {
 color: ¤TextColor¤;
}

/* for css (mui text field) priority*/
input.color-theme {
 color: ¤TextColor¤;
}

.color-header {
  color: ¤HeaderTextColor¤;
}

.color-white {
  color: white;
}

.color-black {
  color: black;
}

.color-pos {
  color: ¤PosColor¤;
}

.font-header {
  font-family: ¤HeaderFont¤;
}

.bold {
  font-weight: bold;
}

.large {
  font-size: 24px;
}

.x-large {
  font-size: 40px;
}

.xx-large {
  font-size: 80px;
}

/* Misc */

fieldset {
  border-color: ¤ButtonColor¤
}
