/*This css file holds all of the styling that is used across every single page*/
body {
    background-color: rgb(38, 38, 38);
    height: 100vh;
    width: 100vw;
    margin: 0px;

    overflow-x:hidden;
}

nav{
    display: flex;
    flex-direction: column;

    height: 100%;
    width: 50vh;
    position: absolute;
    left: 0px;
    top: 0px;
    z-index: 1;
}

h1 {
    color: white;
    font-size: 3rem;
}

.hackedTxt {
    background-color: rgb(117, 59, 117);
    color: rgb(246, 231, 224);
    font-size: 3rem;
    font-family: "Space Mono", monospace;
}

.card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #353535;
    font-size: 3rem;
    color: #fff;
    box-shadow: rgba(3, 8, 20, 0.1) 0px 0.15rem 0.5rem, rgba(2, 8, 20, 0.1) 0px 0.075rem 0.175rem;
    height: 100%;
    width: 100%;
    border-radius: 4px;
    transition: all 500ms;
    overflow: hidden;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
 }
  
.card:hover {
    box-shadow: rgba(2, 8, 20, 0.1) 0px 0.35em 1.175em, rgba(2, 8, 20, 0.08) 0px 0.175em 0.5em;
    transform: translateY(-3px) scale(1.1);
}

@keyframes background-pan{
    from{
        background-position: 0% center;
    }
    to{
        background-position: -200% center;
    }
}

.magic-txt{
    animation: background-pan 3s linear infinite;

    background: linear-gradient(
        to right,
        purple,
        rgb(204, 68, 204),
        rgb(218, 153, 164),
        purple
    );

    background-size: 200%;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    white-space: nowrap;
}