@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:ital,wght@0,100..900;1,100..900&display=swap');

:root{
    /* COLORS */
    /* primary colors */
    --light-red: hsl(0, 100%, 67%);
    --orangey-yellow: hsl(39, 100%, 56%);
    --green-teal: hsl(166, 100%, 37%);
    --cobalt-blue: hsl(234, 85%, 45%);
        /* background colors */
    --light-red-background: hsla(0, 100%, 67%, 0.1);
    --orangey-yellow-background: hsla(39, 100%, 56%, 0.1);
    --green-teal-background: hsla(166, 100%, 37%, 0.1);
    --cobalt-blue-background: hsla(234, 85%, 45%, 0.1);

    /* gradient colors */
    --light-state-blue: hsl(252, 100%, 67%);
    --light-royal-blue: hsl(241, 81%, 54%);
        /* for circle */
    --violet-blue: hsla(256, 72%, 46%, 1);
    --persian-blue: hsla(241, 72%, 46%, 0);

    /* neutral */
    --white: hsl(0, 0%, 100%);
    --pale-blue: hsl(221, 100%, 96%);
    --light-lavender: hsl(241, 100%, 89%);
    --dark-gray-blue: hsl(224, 30%, 27%);

    /* FONT */
    /* font family */
    --main-font: "Hanken Grotesk", sans-serif;
    /* font size */
    --font-size: 18px;
}
*{
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}



main{
    background-color: var(--pale-blue);
    width: 100vw;
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;
}
.card{
    font-family: var(--main-font);
    background-color: var(--white);

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 25px;
    margin: 50px 0;
    width: 80vw;
    max-width: 700px;
    color: white;
}
.card > .col{
    flex-basis: 50%;
    padding: 40px;
}
.card > .col-1{
    background: linear-gradient(to bottom, var(--light-state-blue), var(--light-royal-blue));
    align-self: stretch;
    border-radius: 25px;
    text-align: center;

    display: inline-flex;
    flex-direction: column;
}
.card > .col-1 > h3:first-child{
    font-family: var(--main-font);
    font-size: 25px;
    font-weight: 500;
    opacity: 0.8;
    margin-bottom: 20px;
}
.card > .col-1 > .score{
    width: 160px;
    height: 160px;
    background: linear-gradient(to bottom, var(--violet-blue), var(--persian-blue));
    border-radius: 50%;
    margin: 20px auto;
    
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.card > .col-1 > .score > h2{
    font-size: 56px;
}
.card > .col-1 > .score > p{
    display: inline-block;
    opacity: 0.5;
}
.card > .col-1 > h3:nth-child(3){
    font-size: 28px;
    margin: 20px 0 15px 0;
}
.card > .col-1 > p{
    opacity: 0.8;
    font-size: 16px;
}
.card > .col-2{
    align-self: stretch;
}
.card > .col-2 h3{
    font-size: 24px;
    color: black;
}
.card > .col-2 ul{
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 40px 0;
}
.card > .col-2 ul li{
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 10px;
    background-color: rgba(46, 255, 203, 0.1);
    border-radius: 8px;
}
.card > .col-2 ul li:nth-child(1) > span:first-child{
    color: var(--light-red);
}
.card > .col-2 ul li:nth-child(1){
    background-color: var(--light-red-background);
}
.card > .col-2 ul li:nth-child(2) > span:first-child{
    color: var(--orangey-yellow);
}
.card > .col-2 ul li:nth-child(2){
    background-color: var(--orangey-yellow-background);
}
.card > .col-2 ul li:nth-child(3) > span:first-child{
    color: var(--green-teal);
}
.card > .col-2 ul li:nth-child(3){
    background-color: var(--green-teal-background);
}
.card > .col-2 ul li:nth-child(4) > span:first-child{
    color: var(--cobalt-blue);
}
.card > .col-2 ul li:nth-child(4){
    background-color: var(--cobalt-blue-background);
}
.card > .col-2 > ul > li > span:first-child{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.card > .col-2 > ul > li > span:last-child{
    color: rgba(0, 0, 0, 0.5);
}
.card > .col-2 > ul > li > span:last-child > b{
    color: black;
}
.card > .col-2 > button{
    border: none;
    padding: 15px 25px;
    width: 100%;
    background-color: var(--dark-gray-blue);
    font-size: 18px;
    border-radius: 25px;
    color: white;
}

@media screen and (max-width: 780px){
    .card{
        flex-direction: column;
    }
}