body{
    font-family: "MS UI Gothic", "Times New Roman", Times, serif;
    font-size: 1rem;
    background-color: #f7f6e3;
}

@font-face {
  font-family: porkys;
  src: url(/PORKYS_.TTF);
}

.url:hover, p:hover{
    cursor: default;
}

.container {  display: grid;
  grid-template-columns: 0.8fr 1.2fr 1fr;
  grid-template-rows: 0.1fr 1fr 1.9fr 0.1fr;
  gap: 0rem 0.5rem;
  grid-auto-flow: row;
  grid-template-areas:
    "head head head"
    "nav main main"
    "nav main main"
    "foot foot foot";
    width: 55rem;
    height: 48rem;
    margin: auto;
    margin-top: 7rem;
}

.head { 
    grid-area: head; 
    position: relative;
}

.url{
    font-size: 6rem;
    font-style: italic;
    font-weight: bold;
    position: absolute;
    bottom: 0%;
    right: 1rem;
    color: #faf9ef;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
    letter-spacing: 8px;
    font-family: porkys;
    margin-bottom: -2rem;
    margin-right: -4rem;
    transform: rotate(5deg);
    z-index: 999;
    transition: ease-in-out 0.3s;
}

.url:hover{
    color: #881f1e;
}

.nav { 
    grid-area: nav; 
    border: 1px dashed #881f1e;
    position: relative;
    background-color: #faf9ef;
    overflow: hidden;
    z-index: 1;
}

.main { 
    grid-area: main; 
    border: 1px dashed #881f1e;
    background-color: #faf9ef;
    position: relative;
    overflow: auto;
}

.foot { 
    grid-area: foot; 
    font-size: 0.8rem;
    text-align: center;
    position: relative;
}

iframe{
    width: 100%;
    height: 100%;
    border: none;
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  width: 100%;
  font-size: 1.1rem;
  z-index: 99;
  position: relative;
}

#two{
    margin-top: 5.5rem;
}

li a {
  display: block;
  color: black;
  padding: 8px 16px;
  text-decoration: none;
  transition: ease-in-out 0.4s;
}

li a:hover{
    letter-spacing: 3px;
    color: #881f1e;
}

li a.active {
  background-color: #881f1e;
  color: white;
}

li a:hover:not(.active) {
  background-color: #eeeccf;
}

hr{
    border: 1px dashed #881f1e;
    border-bottom: 0;
    width: 80%;
    height: auto;
}

#exclaim{
    position: absolute;
    width: 15rem;
    height: auto;
    z-index: -1;
    right: -10rem;
    top: -9rem;
    transform: rotate(15deg);
}

#apple{
    position: absolute;
    bottom: -4rem;
    right: -4.3rem;
    width: 14rem;
    height: auto;
    z-index: 1;
    transform: rotate(5deg);
}

#bow{
    z-index: 2;
    position: absolute;
    width: 10rem;
    height: auto;
    margin-top: -0.5rem;
    margin-left: -3rem;
    transform: rotate(-20deg);
}

#xtra{
    position: absolute;
    top: 0;
    width: 140%;
    height: auto;
    z-index: 999;
}

@media only screen and (max-width: 700px) {
    .container {  display: grid;
  grid-template-columns: 0.8fr 1.2fr 1fr;
  grid-template-rows: 0.7fr 1fr 1.3fr 0.1fr;
  gap: 1rem 0.5rem;
  grid-auto-flow: row;
  grid-template-areas:
    "nav nav nav"
    "main main main"
    "main main main"
    "foot foot foot";
    width: 100%;
    height: 48rem;
    margin: auto;
    margin-top: 0;
}

    .main { 
    grid-area: main; 
    border: 1px dashed #881f1e;
    background-color: #faf9ef;
    position: relative;
    overflow: auto;
}

.nav{
    overflow: auto;
}

#two{
    margin-top: 0;
}

.head, #xtra, #apple{
    display: none;
}
}