/*Variables*/
:root{
    --textcolor: RGB(25,25,25);
    --offwhite: RGB(250,250,250);
    --widthSideBar: 35%;
}

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

/*Set root text size*/
html{
    text-rendering: optimizeLegibility;
    background-color: RGB(250,250,250);
}

@font-face {
    font-family: hnc;
    src: url('./fonts/HelveticaNeueCondensedBlack.ttf');
}

h1 {
    font-family: hnc;
    margin: 1em 0em 0.4em 0em;
    font-size: 3em;
}

h2 {
    font-family: helvetica, arial, sans-serif;
    margin-bottom: 0.2em;
    
}

p, a   {
    font-family: helvetica, arial, sans-serif;
}

body   {
    margin-left: 2em;
    margin-right: 2em;
    
}

.leftwrapper    {
    float: left;
    width: var(--widthSideBar);
}

.rightwrapper   {
    float: left;
    width: calc(100% - var(--widthSideBar));
    border-left: solid 1px RGB(35,35,35);
}

#rightAlign {
    width: 100%;
    padding-left: 3em;
}

.leftRightTextWidth {
    width: 80%;
}

form    {
    margin: 1em 0em 1em 0em;
}

.button   {
    -webkit-appearance: none;
    padding: 1em;
    background-color: RGB(10, 80, 140);
    color: floralwhite;
    border: none; 
    border-radius: 7px;
}

.button:hover{
    transition: 0.5s;
    background-color: RGB(10, 60, 100);
}

.infoGrey   {
    margin-top: 4em;
    font-size: calc(1em * 0.75);
    background-color: RGB(240,240,240);
    padding: 0.5em 1em 1em 1em;
    border: none; 
    border: solid 0.5px black;
    border-radius: 10px;
}

.infoBalloon    {
    background-color: RGB(200,200,200);
    width: 15px;
    height: 15px;
    text-align: center;
    border: none; 
    border: solid 0.1px black;
    border-radius: 10px;
    margin-bottom: 0.5em;
}


.i  {
    display: inline-block;
    padding-bottom: 3px;
    vertical-align: middle;
    font-size: 0.8em;
}

.isSomeone  {
    font-style: italic;
    font-size: 0.9em;
    padding-bottom: 0.1em;
}

.whois {
    background-color: #A1E5AB;
    padding: 0.8em 0.8em 0.8em 0.8em;
    border: none; 
    border: solid 0.5px black;
    border-radius: 10px;
    margin-bottom: 1em;
}

#mostPrivilegedRunnerUp {
    background-color: #BFEDC6;
}

#mostOppressedRunnerUp {
    background-color: #F8C9C9;
}

#mostOppressed {
    background-color: #F4A6A4;
}

#challengeMode {
    background-color: RGB(200,200,200);
}

.spacer {
    height: 0.8em;
    width: 0.8em;
    margin: auto;
    background-color: RGB(240,240,240);
    border: solid 0.5px black;
    border-radius: 0.2em;
    margin-bottom: 0.4em;
    margin-top: 0.4em;
}

.fullList   {
    background-color: RGB(240,240,240);
    padding: 0.3em 1em;
    border: solid 0.5px black;
    border-radius: 5px;
}

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

.fullList:hover {
    background-color: RGB(150,150,150);
    transition: 0.5s;
}


.inputContainer {
    height: 100vh;
    position: relative;
}

.inputCentered  {
    width: 600px;
    position: absolute;
    left: 50%;
    top:50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

#formOptionLeft {
    display: inline-block;
    width: 45%;
    float: left;
}

#formOptionRight {
    display: inline-block;
    width: 45%;
    float: right;
}

.or {
    width: 10%;
    display: inline-block;
    margin: 1.7em 0em 5em 0em; 
}

#inputOptionLeft {
    float: right;
}

#inputOptionRight {
    float: left;
}

.next   {
    display: block;
    text-decoration: underline;
    margin-bottom: 8em;
    color: dimgrey;
}

.goHome {
    position: absolute;
    color: RGB(10, 80, 140);
    padding: 1em;
    z-index: 1;
}

@media only screen and (max-width: 768px) {
  body  {
    margin: 0em 1em;
  }

  h1    {
    font-size: 2.4em;
  }

  .leftwrapper    {
    float: left;
    width: 100%;
    }

    .rightwrapper   {
        float: left;
        width: 100%;
        border-left: none;
    }

    #rightAlign {
        width: 100%;
        padding-left: 0em;
    }

    .leftRightTextWidth {
        width: 100%;
    }

  .inputCentered    {
    margin: auto;
    max-width: 80%;
  }

  .rightwrapper {
    margin-top: 3em;
  }
}
