:root {
    --Very-dark-blue-main-background: hsl(233, 47%, 7%);
    --Soft-violet-accent: hsl(277, 64%, 61%);
    --Dark-desaturated-blu-card-background: hsl(244, 38%, 16%);
    --White-main-heading-stats: hsl(0, 0%, 100%);
    --Slightly-transparent-white-main-paragraph: hsla(0, 0%, 100%, 0.75);
    --Slightly-transparent-white-stat-headings: hsla(0, 0%, 100%, 0.6);
}

@font-face {
    font-family: 'Inter';
    src: url('./fonts/Inter/Inter-VariableFont_opsz\,wght.ttf') format(truetype);
    font-display: swap;
  }

 

/* {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
} */

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

body {
    background-color: var(--Very-dark-blue-main-background);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    font-family: Inter;
    font-family: "Inter", sans-serif
}

main {
    width: 90%;
    margin: 0;
    padding: 0;
    margin-bottom: 10px;
}

aside {
    width: 100%;
    position: relative;
    overflow: hidden;

}

.image {
    width: 100%;
}

.image img {
    width: 100%;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.image .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: hsl(277, 64%, 61%);
    mix-blend-mode: multiply;
    border-radius: 0 10px 10px 0;
}

article {
    background-color: var(--Dark-desaturated-blu-card-background);
    width: 100%;
    padding: 50px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

article h1 {
    color: var(--White-main-heading-stats);
    font-size: 50px;
    text-align: center;
}

article p {
    color: var(--Slightly-transparent-white-main-paragraph);
    margin-top: 20px;
    font-size: 20px;
    text-align: center;
    line-height: 40px;
}

span {
    color: var(--Soft-violet-accent);
}

.rate {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
}

.rate h2 {
    font-size: 35px;
    font-weight: bolder;
    color: var(--White-main-heading-stats);
}

.rate p {
    margin-top: 0px;
    text-transform: uppercase;
    font-size: 16px;
}



@media (min-width: 960px) {
    main {
        display: flex;
        flex-direction: row-reverse;
        margin-bottom: 10px;
    }

    aside {
        width: 50%;


    }


    .image img {
        border-top-left-radius: 0px;
        border-top-right-radius: 10px;
        border-bottom-right-radius: 10px;

    }

    article {
        width: 50%;
        max-height: 100%;
        padding: 70px;
        display: flex;
        flex-direction: column;
        border-top-left-radius: 10px;
        border-bottom-left-radius: 10px;
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 0px;
    }

    article h1 {
        margin-top: 10px;
        text-align: left;
        font-size: 50px;
    }

    article p {
        font-size: 25px;
        margin-top: 30px;
        line-height: normal;
        text-align: left;
    }

    .ratebox {
        display: flex;
        margin-top: 70px;

    }

    .rate {
        align-items: start;
        margin-right: 10px;
    }

    .rate h2 {
        font-size: 25px;
    }

    .rate p {
        font-size: 14px;
        margin-top: 15px;
    }
}











.attribution {
    font-size: 11px;
    text-align: center;
}

.attribution a {
    color: hsl(228, 45%, 44%);
}