

body {
    background-color: #f5f5f5;
    color: #333;
    font-size: 16px;
    line-height: 1.6;
    background-image: url('/assets/index/bg.png');
    backdrop-filter:brightness(0.5);
    background-size: cover;
    background-position: center;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
*{
    font-family: 'Chalkboard SE', sans-serif;

}
section {
    display: flex;
    align-items: center;
    max-width: 1040px;
    gap: 2rem;
    padding: 2rem;
}

.screenshots {
    display: flex;
    position: relative;
    align-items: center;
    width: 40%;
    height: 100%;
}

.screenshots>img{
    max-height: 100%;
}
.screenshots>img:first-child {
    width: 70%;
    object-fit: contain;
}

.screenshots>img:last-child {
    position: absolute;
    width: 60%;
    right: 0;
    z-index: -1;
}

article.info {
    width: 60%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}


article.info>h1 {
    color: white;
    font-size: 3rem;
    line-height: 1.2;
}

accent {
    color: var(--accent-color);
}

article.info>span {
    display: grid;
    grid-template-columns: 10rem 10rem;
    gap: 1rem;
}

article.info>span * {
    width: 100%;
}

article.info a {
    transition: all 0.3s;
}

article.info a:hover {
    transform: scale(1.1);
}

@media screen and (max-width: 912px) {
    h1{
        font-size: 2.2rem;
    }
    body {
        /* background-image: none; */
        align-items:start;
    }

    section {
        flex-direction: column;
    }

    .screenshots {
        width: 60%;
    }

    article.info {
        width: 100%;
    }

    article.info>span {
        grid-template-columns: 1fr 1fr;
    }

    article.info>span>img {
        display: none;
    }
}

@media screen and (max-width: 540px) {
    section{
        height: 100%;
    }
    article.info {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
    article.info>h1{
        font-size: 2.4rem;
    }
    .screenshots{
        display: none;
    }
}

@media screen and (max-height: 540px) {

    section{
        height: 100%;
        display: flex;
        justify-content: center;
    }
    article.info {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
    article.info>span>img{
        display: none;
    }
    article.info>h1{
        font-size: 2.4rem;
    }
    .screenshots{
        display: none;
    }
    
}