* {
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: "inter";
    src: url(./fonts/static/Inter-SemiBold.ttf);
}

@font-face {
    font-family: 'inter p';
    src: url(./fonts/static/Inter-Light.ttf);
}

@font-face {
    font-family: "lexen";
    src: url(./fonts/Lexen/static/LexendDeca-Light.ttf);
}
:root {
    --verydarkblue: hsl(233, 47%, 7%);
    --darkdesaturatedblue: hsl(244, 38%, 16%);
    --Softviolet: hsl(277, 64%, 61%);
}

body {
    background-color: var(--verydarkblue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center; 
}

main {
    background-color: var(--darkdesaturatedblue);
    max-width: 80%;
    max-height: 80%;
    display: flex;
    flex-direction: column;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    border-radius: 6px;
    box-sizing: border-box;
}
   
img {
    box-sizing: border-box;
    width: 100%;
    margin-bottom: 2.5rem;
    border-radius: 6px 6px 0 0;
    filter: invert(17%) sepia(25%) saturate(1160%) hue-rotate(235deg) brightness(55%) contrast(99%);
}

.text{
    display: flex;
    flex-direction: column;
    text-align: center;
    margin: 0 2.5rem;
}

h1, article {  
   margin-bottom: 1rem;
   font-size: 1.5rem;
   font-family: "inter";
}

p {
    margin-bottom: 2.5rem;
    font-family: "inter p";
    font-weight: 400;
    font-size: 12px;
    color: hsla(0, 0%, 100%, 0.75);
    line-height: 18px;
}

article{
    max-width: 100%;
    font-size: 1.2rem;
}

article span {
    color:hsla(0, 0%, 100%, 0.6) ;
    font-family: "inter p";
    font-size: 0.7rem;
    font-weight: normal;
}

.mora {
    color: var(--Softviolet);
    font-size: 1.5rem;
    font-family: "inter";
}


@media(min-width:840px) {
    body{
        width: 100vw;
        height:100vh;
        justify-content: center;
        align-items: center;
        
    }

    main {
        max-width:80%;
        flex-direction: row-reverse;
    }

    img {
        width: 50%;
        margin-bottom: 0px;
        border-radius: 0 6px 6px 0;
    }

  
    .text {
        width: 50%; 
        margin: 4rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        align-content: center;
    }
         
   h1, p {
         text-align: start;
         box-sizing: border-box;
    }

    h1, .mora {
        font-size: 2rem;
    }
    
    .stats {
        box-sizing: border-box;
        display: flex; 
        justify-content:flex-start;
        width: 100%;
    }
    
       
    article {
        width:33%;
        text-align:start;
    }}

    @media (min-width:1000px){
        main {
            width: 60%;
        }

        .text {
            margin: 3rem;
        }
    }