@font-face {
    font-family: Hanken-Grotesk;
    src: url(../results-summary-component-main/assets/fonts/static/HankenGrotesk-Medium.ttf);
}
@font-face {
    font-family: Hanken-Grotesk;
    src: url(../results-summary-component-main/assets/fonts/static/HankenGrotesk-Bold.ttf);
    font-weight: bold;
}

@font-face {
    font-family: Hanken-Grotesk;
    src: url(../results-summary-component-main/assets/fonts/static/HankenGrotesk-Medium.ttf);
    font-weight: lighter;
}

@font-face {
    font-family: Hanken-Grotesk;
    src: url(../results-summary-component-main/assets/fonts/static/HankenGrotesk-ExtraBold.ttf);
    font-weight: bolder;
}

html,body {
    height: 100%;
    font-family: Hanken-Grotesk;
    background: hsl(0, 0%, 95%);
}

.body {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 100%;
}


.main{
    display: flex;
    width: 50%;
    height: 62%;
    border-radius: 7%;
    background: linear-gradient(to top right, 
    transparent 70%, 
    hsla(0, 0%, 95%) 98%, 
    rgba(255, 255, 255, 0.5) 100%),
    hsl(0, 0%, 100%);
    box-shadow: 10px 10px 20px 0 rgba(0, 0, 255, 0.05);
}

.result{
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-evenly;
    border-radius: 7%;
    width: 100%;
    background: linear-gradient(hsl(252, 100%, 67%), hsl(241, 81%, 54%));
}

.result > div {
    padding: 0px 20%;
    color: hsl(0, 0%, 100%);
}

.result > div:nth-child(1){
    font-size: 26px;
    font-weight: bolder;
    color: hsl(241, 100%, 89%);
}

.result div:nth-child(3){
    display: flex;
    flex-direction: column;
    align-items: center;
}

.result div:nth-child(3) div:nth-child(1){
    font-size: 34px;
    font-weight: bolder;
    padding-bottom: 20px;
}

.result div:nth-child(3) div:nth-child(2){
    font-size: 18px;
    font-weight: lighter;
    color: hsl(0, 0%, 75%);
    text-align: center;
    padding-bottom: 20px;
}

.circle{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    height: 40%;
    width: 15%;
    background: linear-gradient( hsla(256, 72%, 46%, 1), hsla(241, 72%, 46%, -.8));
}

.circle > div:nth-child(1){
    font-size: 76px;
}

.circle > div:nth-child(2){
    color: hsl(246, 100%, 74%);
}

.summary{
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-evenly;
    width: 100%;
}

.summary > div:nth-child(1){
    justify-content:flex-start;
    font-size: 28px;
    width: 80%;
    font-weight: lighter;
}

.stats {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 80%;
}

.stats > div{
    display: flex;
    font-size: 20px;
    justify-content: space-between;
    height: 45px;
    padding: 10px 18px;
    margin: 12px 0px;
}

.stats > div > div {
    display: flex;
    align-items: center;
}

.stats > div:nth-child(1){
    background: hsla(0, 100%, 67%, .05);
    border-radius: 18%;
}

.reaction{
    position: relative;
}

.stats > div:nth-child(2){
    background: hsla(39, 100%, 50%, .05);
    border-radius: 18%;
}

.memory{
    position: relative;
}

.stats > div:nth-child(3){
    background: hsla(166, 97%, 37%, .05);
    border-radius: 18%;
}

.verbal{
    position: relative;
}

.stats > div:nth-child(4){
    background: hsla(234, 85%, 45%, .05);
    border-radius: 18%;
}

.visual{
    position: relative;
}

.arch-top-right{
    width: 10px;
    height: 20px;
    border-radius: 50%;
    /* box-shadow: 6px 0px 0 0 hsl(350deg 19% 94%); */
    box-shadow: 2px 0px 0 0 rgb(242, 235, 236);
    position: absolute;
    top: 1px;
    transform: rotate(315deg);
    right: 5px;
}

.arch-top-left{
    width: 10px;
    height: 20px;
    border-radius: 50%;
    /* box-shadow: 6px 0px 0 0 hsl(350deg 19% 94%); */
    box-shadow: 2px 0px 0 0 rgb(242, 235, 236);
    position: absolute;
    top: 1px;
    transform: rotate(225deg);
    left: 5px;
}

.arch-bottom-right{
    width: 10px;
    height: 20px;
    border-radius: 50%;
    /* box-shadow: 6px 0px 0 0 hsl(350deg 19% 94%); */
    box-shadow: 2px 0px 0 0 rgb(242, 235, 236);
    position: absolute;
    bottom: 1px;
    transform: rotate(45deg);
    right: 5px;
}

.arch-bottom-left{
    width: 10px;
    height: 20px;
    border-radius: 50%;
    /* box-shadow: 6px 0px 0 0 hsl(350deg 19% 94%); */
    box-shadow: 2px 0px 0 0 rgb(242, 235, 236);
    position: absolute;
    bottom: 1px;
    transform: rotate(130deg);
    left: 5px;
}

.stats > div:nth-child(1) > div:nth-child(1){
    color: hsla(0, 100%, 67%, .8);
}

.stats > div:nth-child(1) > div:nth-child(1) > img{
    padding-right: 15px;
}

.stats > div:nth-child(2) > div:nth-child(1){
    color: hsla(39, 100%, 50%, .8);
}

.stats > div:nth-child(2) > div:nth-child(1) > img{
    padding-right: 15px;
}

.stats > div:nth-child(3) > div:nth-child(1){
    color: hsla(166, 97%, 37%, .8);
}

.stats > div:nth-child(3) > div:nth-child(1) > img{
    padding-right: 15px;
}

.stats > div:nth-child(4) > div:nth-child(1){
    color: hsla(234, 85%, 45%, .8);
}

.stats > div:nth-child(4) > div:nth-child(1) > img{
    padding-right: 15px;
}

.continue {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    color: hsl(221, 100%, 96%);
    width: 80%;
    border-radius: 25px;
    background: hsla(226, 30%, 27%, 1);
    height: 60px;
    cursor: pointer;
    /* color: hsl(234, 85%, 45%); */
    /* color: hsl(241, 100%, 89%); */
}




@media screen and (max-width: 375px){

    html, body {
        margin: 0px;
    }

    .main{
        flex-direction: column;
        justify-content: space-around;
        height: 100%;
        width: unset;
        border-radius: unset;
    }

    .result{
        border-radius: unset;
        border-bottom-left-radius: 7%;
        border-bottom-right-radius: 7%;
        height: 100%;
    }

    .summary > div:nth-child(1){
        font-size: 18px;
        padding-top: 20px;
        padding-bottom: 10px;
    }

    .summary div{
        font-size: 18px;
    }

    .continue{
        margin: 15px 0px;
    }

    .circle{
        width: 0%;
    }

    .circle > div:nth-child(2){
        white-space: nowrap
    }

    .result div:nth-child(3) div:nth-child(1){
        font-size: 24px;
    }

    .result div:nth-child(3) div:nth-child(2){
        font-size: 14px;
    }

    .result > div:nth-child(1) {
        font-size: 18px;
    }

    .circle > div:nth-child(1) {
        font-size: 60px;
    }
}


.attribution { font-size: 11px; text-align: center; }
.attribution a { color: hsl(228, 45%, 44%); }