body{
    font-size: 130%; 
    font-family: system-ui;/* Oswald*/
    color: black;
    letter-spacing: -1px;
    background-color: #f0f0f0;
    margin:auto;
    text-align:center;
    /*
    font-family:"Fira Sans Condensed", serif;
    padding: 00px;
    background-color: #f2e6d9;
    margin:auto;
    text-align:center;*/
}

h1{
  width: max-content;
  font-size: 200%;
  padding: 0;
  margin: 0;
}
h2{
  max-width: 100%;
  font-size: 150%;
  padding: 0;
  margin: 0;
  text-align: justify;
}
.backlink{
    text-align:left;
    padding:0;
    margin:0;
    position:absolute;
    margin-left:1%;
    font-size:150%;
}

.desktop-only-intro{
    h1.title{
        margin-left: auto;
        margin-right: auto;
        font-size: 280%;
    }
    table.headtable{
        display:inline;
        text-align:center;
        padding:0px;
        margin-left:auto;
        margin-right:auto;
        min-height:0px;
        max-width:95vw;
        td{
            min-width:0px;
            min-height:0px;
            max-width:30vw;
            padding-left:10px;
            padding-right:10px;
            text-align:center;
        }
    }
    .names{
        font-size:120%;
        font-weight:600;
        color:#4066b3;
    }
    .email{
        margin-left: auto;
        margin-right: auto;
        padding: 0px 0px 0px 0px;
        font-size: 100%;
        a{color: #4066b3;}
        a:hover{color: blue;}
    }
}

.mobile-only-intro{
    margin-left:auto;
    margin-right:auto;
    max-width:100%;
}
.mobile-only-intro h1.title{
    max-width:90vw;
    margin-left: auto;
    margin-right: auto;
    font-size:130%;
}
.mobile-only-intro .backlink{
    position:relative;
    margin-left:auto;
    margin-right:auto;
    text-align:center;
    font-size:93%;
}
.mobile-only-intro .email{
    margin-left: auto;
    margin-right: auto;
    padding: 0px 0px 0px 0px;
    font-size: 85%;
    color: #4066b3;
}
.mobile-only-intro .names{
    font-size:110%;
    font-weight:600;
    color:#4066b3;
}
.mobile-only-intro table.headtable{
    display:inline;
    text-align:center;
    padding:0px;
    margin-left:auto;
    margin-right:auto;
    min-width:0px;
    min-height:0px;
    max-width:90vw;
    font-size:80%;
    td{
        min-width:0px;
        min-height:0px;
        padding-left:10px;
        padding-right:10px;
        text-align:center;
    }
}

p{
    padding:0px 0px 0px 0px;
    width:fit-content;
    margin:0px;
}

table{
    min-width:0px;
    min-height:0px;
}
td{
  min-width:0px;
  min-height:0px;
  max-width:25cm;
  padding-left:10px;
  padding-right:10px;
  text-align:center;
}
hr{padding:0px;}
main{
    text-align: justify;
    text-justify:inter-word;
    font-size: 100%;
    font-weight:100%;
    max-width:100%;
}
a{
  text-decoration: none;
  color: blue;
}
a:hover{
    color: #4d4fff;
}

.clickables {
  transition-duration: 0.4s;
  padding: 12px 16px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  margin: 0.5em;
  cursor: pointer;
  border-radius: 10px; 
  color: white;
  target: "_blank";
}
.clickables:hover {
  box-shadow: inset 0 0 0 10em rgba(255, 255, 255, 0.3);
}
a.clickables{
    font: inherit;
    font-size: 90%;
    background-color: #ba0707;
    border: 0px #ba0707;
}
a.clickables:hover{
  color: white;
}
.explanation{
    margin-left:auto;
    margin-right:auto;
    text-align:center;
    padding:0px;
}

.MathJax:focus, .mjx-chtml:focus{
   outline:1px #440154 solid;
   margin:-30px 0px;
}

/* Style the tab */
.tab {
  display:flex;
  overflow: hidden;
  background-color: #ddd;
  outline:#ba0707 thick solid;
  border-radius:10px 10px 0px 0px;
}
.tab.mobiletab{
  display:none;
  overflow: hidden;
  background-color: #ddd;
  outline:#ba0707 thick solid;
  border-radius:0px;
}

.maintable{
    margin-left:auto;
    margin-right:auto;
    border-spacing:0px 20px;
    font-size:80%;
    tr{border-radius:10px;}
} 
.mainrow{background-color: #f59595;outline: #ba0707 thick solid;}

/* Style the buttons that are used to open the tab content */
.tab button{
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.2s;
  vertical-align:center;
  width:100%;
  height:100px;
  font-size:150%;
  background-color:#ba0707;
  color:white;
}

/* Change background color of buttons on hover */
.tab button:hover {
  /*background-color: #db2e6e;*/
  box-shadow: inset 0 0 0 10em rgba(255, 255, 255, 0.3);
}

/* Create an active/current tablink class */
.tab button.active {
  /*background-color: #6aaec4;*/
  box-shadow: inset 0 0 0 10em rgba(0, 0, 0, 0.3);
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 10px 10px;
  height: 100%;
  border-top: none;
  margin:0;
}
.container{
  min-height:50vw;
}
table.content{
  max-width:100%;
}
table.content td{
  min-width:0px;
  width:50%;
  padding:0;
  margin:0;
  text-align:justify;
  vertical-align:top;
}
table.content h2,p{max-width:100%;}
table.images td{
    border: 3px solid black;
    border-collapse: collapse;
}
table.images img{
    height:auto;
    width:100%;
    display: flex;
    position:relative;
    z-index:1;
    padding:0;
    margin:0;
    justify-content: center;
    align-items: center;
}

h2.mobile-only{font-size:120%;text-align:center;}
.content h2{margin-bottom:5px;}

.desktop-only{display:block;}
.mobile-only{display:none;}
.desktop-only-intro{display:block;}
.mobile-only-intro{display:none;}
@media (pointer:coarse){
    .desktop-only{display:none;}
    .mobile-only{display:block;}
    .desktop-only-intro{display:none;}
    .mobile-only-intro{display:block;}
    .maintable{margin-left:auto;margin-right:auto;}  
   	h2 {letter-spacing: -0.5px;}
   	h1 {letter-spacing: -0.5px;} 
   	.tab {display:none;}
   	.tab.mobiletab{display:flex;}   	   	
    table.content td:nth-last-child(2){display:none;}
}
