/* Color variables */
:root {
  --color-background: #0F1819;
  --color-foreground: #F2F2F2;
    --color-accent: #ffae00;
}

body{
    background-color: var(--color-background);
    color: var(--color-foreground);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
h1, h2,p, span, ul, li{
    margin: 0;
    padding: 0;
}

main{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 90%;
    height: 50%;
}

main .image{
    position: absolute;
    z-index: -1;
    width: 700px;
    height: auto;
    top: 50%;
    left: -0%;
    transform: translate(-50%, -50%);
    opacity: 0.8;
}

main .image img{
    width: 100%;
    height: 100%;
}

main{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

main article h1{
    font-size: 2.7rem;
    text-align: center;
}

main article h2{
    font-weight: 400;
    font-size: 1.3rem;
}

main article ul{
    width: 100%;
    list-style-type: none;
    padding-top: 1rem;
}
main article ul li{
    width: 100%;
    display: flex;
    align-items: space-between;
    justify-content: space-between;
    opacity: 0.7;
    font-size: 1.2rem;
}

@media (min-width: 700px){
    main .image{
        width: 900px;
    }

    main article h1{
        font-size: 3.7rem;
    }
    main article h2{
        font-size: 1.7rem;
    }
    main article ul li{
        font-size: 1.5rem;
    }
}

@media (min-width: 1300px){
    body{
        display: block;
    }
    main{
        width: 100%;
        height: 100%;
        display: block;
        /* grid-template-columns: 1fr .6fr; */
    }

    main .image{
        position: relative;
        z-index: 0;
        width: 60%;
        height: auto;
        top: auto;
        left: auto;
        transform: none;
        opacity: 0.8;
    }

    main article{
        width: auto;
        position: absolute;
        bottom: 50%;
        right: 30%;
        transform: translate(50%, 50%);
    }
    main article h1{
        font-size: 4.5rem;
        text-align: left;
    }
    main article h2{
        font-size: 2rem;
    }

    main article ul{
        display: flex;
        flex-direction: column;
        gap: .6rem;
        padding-top: 1rem;
        opacity: .5;
    }
    main article ul li{
        font-size: 1.6rem;
    }
}