@keyframes bganim {
    0% { background-position: 0 0; }
    100% { background-position: 10vh 10vh; }
}
h1{
    font-weight: bold;
    font-size: 40px;
}
p, li{
    font-size: 15px;
    font-weight: bold;
}
body {
    background-color: #000b52;
    background-image:
        linear-gradient(#004463 .1em, transparent .1em),
        linear-gradient(90deg, #004463 .1em, transparent .1em);
    background-size: 10vh 10vh;
    animation: bganim 10s linear infinite;

    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;

    min-height: 100vh;
    margin: 0;
    padding: 1rem;

    /* overflow: hidden; */
    font-family: monospace;
}
#landing{
    height: 100vh;
    flex-wrap: wrap;
    align-content: center;
}
#title{
    font-size: 10vh;
    text-align: center;
    scale: 1.2x;
}
#name{
    display: inline-block;
    transition: 0.5s;
}
#name::after{
    content: '';
    display: block;
    height: 10px;
    width: 0%;
    background-image: linear-gradient(to right, green, green);
    border-radius: 10px;
    transition: 0.5s;
}
#name:hover{
   scale: 1.2;
   rotate: 10deg;
   transform: translateY(-10px);
}
#name:hover::after{
    width: 100%;
}
#digi{
    color: rgb(60, 255, 0);
    font-family: fantasy;
}
.glass {
    backdrop-filter: blur(0.1rem);
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 1.5rem;
    outline: 1px solid rgba(255,255,255,0.2);
    width: min(90%, 600px);
    margin-top: 1rem;
    text-align: center;
    justify-content: space-between;
    margin: 5vh;
    height: max-content;
    animation: glassappear linear;
    animation-timeline: view();
    animation-range: 0% cover 40%;
}
@keyframes glassappear{
    from{
        transform: translateX(-100px);
        opacity: 0.5;
    }
    to{
        transform: translateX(0)px;
        opacity: 1;
    }
}
.centered {
    text-align: center;
    width: min(90%, 600px);
    margin-top: 2rem;
}
#red{
    scale: 1.1x;
    color: red;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
#blue{
    scale: 1.1x;
    color: rgb(0, 47, 255);
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

#modes{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    gap: 1rem;
    height: auto;
    width: 100%;
}
#modes img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}
#plain, #gallery, #card{
    position: relative;
}

#plain::after , #gallery::after, #card::after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 100%;
    backdrop-filter: blur(0.4rem);
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    transition: 0.5s;
    color: black;
    font-size: 30px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

#plain:hover::after {
    content: 'Try out the basic mode!';
    height: 100%;
}
#gallery:hover::after {
    content: 'Try out the gallery mode!';
    height: 100%;
}
#card:hover::after {
    content: 'Card mode isnt done yet but you can take a look';
    height: 100%;
}
@media (max-width: 600px) {
    #modes {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, 1fr);
        height: auto;
    }
    .glass{
        padding: 1rem;
    }
}
@media (min-width: 700px) {
    #presets{
        height: 600px;
    }
}
