/* ----------| Page Stylings |---------- */

@font-face 
{
  font-family: 'thejAnk';
  src: URL('Myfont-Regular.ttf') format('truetype');
}

html, body
{
  margin: 0;
  padding: 0;
  background-color: #B4D9EF;
  font: inherit;
  font-family: thejAnk;
}

* 
{
  box-sizing: border-box;
}

.column 
{
  float: left;
  padding: 10px;
  height: 90vh;
}

/* ----------| Left Segment |---------- */

.left
{
    background-color: #f0edda;
    width: 25%;
    text-align: center;
    border-right: 3px solid #b5a6a0;
}

/* ---------| Middle Segment |--------- */

.middle
{
    margin-left: 5vh;
    text-align: left;
    width: 50%;
}

.tab 
{
  overflow: hidden;
  border: none;
  border-bottom: none;
  background-color: #b4d9ef;
  width: fit-content;
  border-radius: 15px;
  font: inherit;
  font-family: thejAnk;
}

.tab button 
{
  background-color: #FCFF6C;
  float: left;
  border-radius: 15px;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  font-size: 17px;
  overflow: hidden;
  font: inherit;
  font-family: thejAnk;
}

.tab button:hover 
{
  background-color: #FEEE6C;
}

.tab button.active 
{
  background-color: #F5B979;
}

.tabcontent 
{
  display: none;
  padding: 6px 12px;
  border: 1px solid black;
  background: #f0edda;
  overflow-y: scroll; 
  height:400px;
  border-radius: 10px;
}

.table-wrapper {
  border-radius: 10px;
  border: 1px solid black;
  overflow-y: scroll; 
}

table
{
    width:690px;
    border-collapse: collapse;
    overflow-y: scroll; 
}

th,td
{
  border: 1px solid black;
  padding: 10px;
}

p
{
    margin-left: 10px;
}

.button 
{
  overflow: hidden;
  background-color: #FCFF6c;
  border: 1px solid;
  color: black;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 8px;
  transition: 0.3s;
}

.button:hover
{
  background-color: #FEEE6C;
}

/* ---------| Right Segment |--------- */

.right
{
    text-align: right;
    width: 20%;
    margin-top: 80px;
    border-radius: 15px;
    overflow: hidden;
}

.classmates
{
    border: 1px solid #b5a6a0;
    margin-top: 10px;
    background-color: #f0edda;
    border-radius: 15px;
    padding: 14px 16px;
    overflow: hidden;
}

.classmates h2
{
    text-align: center;
}

.points {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
}

.points h1 {
    margin: 0;
    font-size: 2rem;
}

.points img {
    height: 1.5em;
    width: auto;
}

/* ----------| Ducks |---------- */
.foreground 
{
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 10;
  pointer-events: none;
}

.house
{
  position: fixed;
  right: 0rem;
  bottom: 5rem;
  width: 40%;
  height: auto;
  z-index: 9;
  pointer-events: none;
}

.shop img:hover
{
  transform: scale(1.1);
}

.shop
{
  position: fixed;
  background: none;
  border: none;
  right: -11rem;
  bottom: 15rem;
  width: 30%;
  height: auto;
  z-index: 7;
  pointer-events: auto;
  transition: transform 0.3s ease;
}

.shop img
{
  width: 60%;
}

.ducks 
{
  position: fixed;
  bottom: 5rem;
  left: 0;
  width: 120px;
  height: 120px;
  z-index: 13;
  user-select: none;
  pointer-events: none;
  will-change: left, transform;
}

.ducks.flipped 
{
    transform: scaleX(-1);
}
