  html,body {
    background-color: var(--main_bg);
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    margin: 0 auto;
    padding: 0em;
}


main {
    position: relative;
    z-index: 2;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-top: 0px;
    padding-bottom: 0px;
    padding-right: 0rem;
    padding-left: 0rem;
    height:100vh;
}
  
main.inner_content {
  margin-top: 6rem;
  height:calc(100vh - 6rem);  
}


/* General reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Full screen sections */
.screen {
  position: relative;
  display: none;
  width: 100%;
  /* min-height: 100vh; */
  height: 100%;
  box-sizing: border-box;
}

/* Active screen */
main .screen.active {
  display: flex;
  flex-direction: column;
}

main.inner_content .screen.active {
  height: 100%;

}



.screen h1
{
  position: relative;
  box-sizing: border-box;
  padding: 2rem;
  font-size: 3.2rem;
  color: var(--blue);
  background-color: var(--main_bg);
  text-transform: uppercase;
  border-bottom: thin solid var(--gray_light);
  text-indent: 3rem;
}

.screen h1::before {
  content: '<';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  display: flex;
  align-items: center;
  font-size: 3.2rem;
  color: var(--blue);

  justify-content: center;
  width: 3rem;
    
}


#section-login h1::before,
#section-racetype h1::before
{
  display: none!important;
}












/* Container inside sections */
.container-fluid {
  position: relative;
  /* display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: center; */
  display: block;

  height: 100%;  
  overflow-y: auto;
  overflow-x: hidden;  
  padding: 0;
  margin: 0;  

}

.container-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* you can still center here safely */
  min-height: 100%;
  padding: 3rem 0;
  width: 100%;
}

/* List styling for race types */
ul {
  width: 100%;
  list-style: none;
}

ul li {
  width: 100%;  
  margin-bottom: 15px;
}



button
{
  position: relative;
}

button:not(#header-back-button):not(#header-menu)
{
  box-sizing: border-box;
  width: fit-content;
  padding: 2rem;
  text-align: center;
  background-color: var(--gray_light);
  border-radius: 1.5rem;
  color: black;  
}



input
{
  box-sizing: border-box;
  padding: 2rem;
  text-align: center;
  background-color: #cccccc;
  border-radius: 1.5rem;  
  color: black;
  width: 100%;
}

/* Checkbox specific override */
input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  width: 3rem; /* you can adjust */
  aspect-ratio: 1 / 1;
  border-radius: 0.5rem;
  border: 2px solid black;
  background-color: white;
  display: inline-block;
  vertical-align: middle;
  position: relative;
  cursor: pointer;
}

/* Dot inside when checked */
input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 25%;
  left: 25%;
  width: 50%;
  height: 50%;
  background-color: black;
  border-radius: 50%;
}




/* PROTOTYPE GLOBAL OVERRIDE */


@media only screen and (max-width: 32em) {   /* 512px */

.screen h1
{
      font-size: 2.2rem; 
}


}