*{
margin:0; padding:0;
}
html,body{
    height: 100%;
    margin:0; padding:0;
    overflow: hidden;
}

body{
    background: linear-gradient(180deg,rgba(255, 250, 148, 1) 0%, rgba(244, 229, 123, 1) 70%, rgb(216, 194, 127) 120%);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height:100dvh;
    width: 100%;    
}
a,a:visited{
    color:black;
}
.back-link{
    text-decoration: none;
}
.back2main{
    font-family: "Forum",serif;
    position: fixed;
    padding:8px; margin: 8px;
    left: 0%;
    background-color: rgba(255,250,148,1);
    border: 1px solid rgba(47, 46, 22,0.14); border-radius: 0.5rem;
    box-shadow: 0 0 1px 1px rgba(47, 46, 22,0.14);
}

.quintessential-regular {
  font-family: "Quintessential", serif;
  font-weight: 400;
  font-style: normal;
}
.container{
    padding: 100px;
    perspective: 1000px;
    display: flex;
    flex-direction:column ;
}

.hero {
    display: flex;
    flex-direction:column ;
    padding: 2rem;
    border: 0px solid black;
    border-radius: 32px;
    background-color: rgba(0,0,0,0);
    box-shadow: 0 0 20px rgba(0,0,0,0);
    transform-style: preserve-3d;
    transition: transform 0.25s ease;
}

.hero-front{
    display:block;
}

.hero-back{
    font-family:"Forum";
    font-size:large;
    display:none;
    width: 60dvw; height: 160px;
}

.hero-header {
    font-family:"Quintessential";
    font-size: 3rem;
    text-align: center;
}

.hero-p{
    display: flex;
    flex-direction: row;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.hero-p-cont{
    padding-top:0.5rem;
}

.tag{
    font-size:0.65rem;
    text-align: center;
}
.work-links{
    display: flex;
    font-size: 1.5rem;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-top: 1rem; margin-bottom:0;
}

.workhyper{
    font-family: "Forum", serif;
    padding:0.4rem;
}

.ciphertable{
    display: flex;
    flex-direction: column;
    align-items: center; justify-content: center;
    margin-top: auto;margin-bottom: auto;
    padding-top: 0rem;
}
.cipherheader{
    font-family: "Quintessential", serif; 
    font-size:1.5rem;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 1.5rem;
}
.numa,.table{
    display: flex; 
    flex-direction: column; 
    flex-wrap: wrap;
    align-items: center; 
    margin-top:auto; margin-bottom: auto;
    justify-content: center;
}
table{
    font-size: 2rem;
    margin: 4px; padding: 4px;
}

@media (max-width: 500px) {
      table {
        font-size: 1rem;
      }
      footer{
        font-size:0.8rem;
      }
      .cipherheader{
        font-size: 1rem;
      }
      .work-links{
        flex-direction: column;
        font-size: 1rem;
      }
      .tag{
        opacity: 0;
      }
      .hero-back{
        width: 80dvw; height: auto;
      }
}