body{
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
      "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji",
      "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    background-color: black;
    color: antiquewhite;
    text-align: left;
}
header{
    top: 0;
    left: 0;
    height: 15%;
    width: 100%;
}
button{
    background-color: darkorange;
    color: antiquewhite;
    border-radius: 4px;
    height: 24px;
    width: 64px;
    transition: background-color 2s;
    transition: transform 1s;
}
button:hover{
    background-color: crimson;
    transform: scale(1.1);
}
#magic{
    text-align: center;
    color: antiquewhite;
    font-size: 48pt;
}
#user{
    position: absolute;
    right: 5%;
    top: 2.5%;
    display: block;
    text-align: right;
}

#buildDeck a{
    position: absolute;
    left: 50%;
    top: 50%;
    font-size: 36pt;
    text-align: center;
    text-decoration: none;
    color: darkorange;
    transition: color 2s;
    transition: font-size 1s;
}
#buildDeck a:hover{
    color: crimson;
    font-size: 38pt;
}

h4{
    color:darkslategrey;
    text-align: justify;
    size: 14pt;
}
main{
    max-width: 100%;
}
#register{
    width: 50%;
    display: block;
    text-align: right;
}

#collection{
    position: absolute;
    left: 50%;
    top: 15%;
    display: flex;
    align-items: center;
    width: 50%;
    aspect-ratio: 1/1;
    max-height: 50%;
}
#buildArea{
    position: absolute;
    bottom: 5%;
    left: 0%;
    width: 50%;
    aspect-ratio: 1 / 1;
}
.book{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    gap: 0;
    max-width: 90%;
    aspect-ratio: 3 / 2;
    background-color: black;
}
.heap{
    position: absolute;
    left: 0%;
    top: 0%;
    width: 100%;
    aspect-ratio: 1 / 1;

}
.navigation{
    width: 5%;
    height: 200px;
    background-color: antiquewhite;
    border-radius: 4px;
}
.deckProtector{
    position:absolute;
    background-color: crimson;
    width: 25%;
    height: fit-content;
}
.card{
    background-color: antiquewhite;
    border-radius: 4px;
    margin: 4px;
}
.cardImg{
    position: relative;
    max-width: 95%;
    max-height: 95%;
    left: 2.5%;
    top: 2.5%
}
.card:hover{
    display: fixed;
    z-index: 1;
    transform: scale(2);
}
