*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-size: clamp(1rem, 0.9464rem + 0.2679vw, 1.1875rem);
    background-color: hsl(233, 47%, 7%);
    color: hsla(0, 0%, 100%, 0.75);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
}

.container{
    background-color: hsl(244, 37%, 16%);
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 80vw;
}

.left{
    padding: 4rem;
}

.left h1{
    font-size: clamp(1.8rem, 1.5429rem + 1.2857vw, 2.7rem);
    margin-bottom: 2rem;
    color: hsl(0, 0%, 100%);
}

.left h1 span{
    color: hsl(277, 64%, 61%);
}

.left ul{
    list-style: none;
    margin-top: 4rem;
    display: flex;
    justify-content: space-between;
}

.stats{
    display: block;
    font-size: clamp(1.6rem, 1.4857rem + 0.5714vw, 2rem);
    text-transform: uppercase;
    font-weight: 700;
    color: hsl(0, 0%, 100%);
}

.left li span:last-child{
    color: hsla(0, 0%, 100%, 0.6);
    font-family: 'Lexend Deca', sans-serif;
    text-transform: uppercase;
    font-size: clamp(0.875rem, 0.8393rem + 0.1786vw, 1rem);
}

.right{
    position: relative;
}

#violet{
    background-color: hsla(277, 88%, 27%, 0.6);
    width: 100%;
    height: 100%;
    position: absolute;
}

#pic{
    width: 100%;
    height: 100%;
}

@media (max-width: 1080px){
   .container{
    width: 88vw;
   }
   .left{
    padding: 2rem;
   }
}
@media (max-width: 768px){
   .container{
    width: 95vw;
   }
   .left{
    padding: 1rem;
   }
}

@media (max-width: 480px) {
    body{
        height: auto;
    }
    .container{
        grid-template-columns: 1fr;
        width: 90vw;
        /* height: 90vh; */
        margin: 4rem 1rem;
        text-align: center;
    }
    .left{
        order: 1;
        padding: 2rem;
    }
    .left h1{
        margin-bottom: 1rem;
    }
    .left ul{
        flex-direction: column;
        margin-top: 1rem;
    }
    .left li{
        margin: .7rem;
    }
    #pic{
        width: 100%;
        height: auto;
        border-radius: 10px 10px 0 0;
    }
}