/*
:root{
    background-color: #212121;
    --border-radius: 3px;
    --pfp-size: 5em;
    --header-width: 30em;

    --dark-primary-color    :#1976D2;
    --default-primary-color: #2196f3;
    --light-primary-color   :#BBDEFB;
    --text-primary-color    :#FFFFFF;
    --accent-color          :#448AFF;
    --primary-text-color    :#212121;
    --secondary-text-color  :#757575;
    --divider-color         :#BDBDBD;
    --font-size:min(10vw,1.25em);
    font-size:var(--font-size);
}*/

:root{
    background-color: #212121;
    --border-radius: 3px;
    --pfp-size: 5em;
    --header-width: 30em;

    /*Colours*/
    --dark-primary-color    :#1976D2;
    --default-primary-color: #512da8;
    --light-primary-color   :#BBDEFB;
    --text-primary-color    :#FFFFFF;
    --accent-color          :#448AFF;
    --primary-text-color    :#212121;
    --secondary-text-color  :#757575;
    --divider-color         :#BDBDBD;
    --font-size: min(10vw,1.25em);
    font-size: var(--font-size);

    /*font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;*/
    font-family: blender, Roboto, sans-serif;
}

/*background-color: #212121;
}*/

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

body{
    display: flex;
    justify-content: center;
    flex-direction: column;
    /* background-color: white; */
    color: black;
}
.wrapper {
    /* height:100vh; */
    /*    width: min(calc(100vw - 0em), var(--header-width));*/
    display: flex;
    justify-content: center;
    flex-flow: row;
    padding: 0em 0.5em 0.5em;
}

.wrapper:nth-child(1){
    padding-top:1em;
}

.wrapper header#pfp {
    display: flex;
    justify-content: center;
    /* background-image: linear-gradient(45deg, #e91e63, #3f51b5); */
    background-color: var(--default-primary-color);
    width: min(calc(100vw - 0em), var(--header-width));
    height: fit-content;
    padding: .5em;
    flex-flow: column;
    box-shadow: 0 2px 4px 0px rgb(0 0 0 / 30%);
    border-radius: var(--border-radius);
    border: 1px solid #000;
}
.profile_pic{
    display: flex;
    flex-flow: row;
    
}

.profile_pic img{
    margin-right: 1em;
    box-shadow: 0 2px 4px 0px rgb(0 0 0 / 30%);
    border-radius: var(--border-radius);
    /*width: min(30vw, 12em);*/
    /* width: min(20vw, var(--pfp-size)); */
    background-image: linear-gradient(45deg, #e91e63, #3f51b5);
    width: 4em;
    border: 1px solid;
}
.profile_pic h1 {
    /* font-size: calc(min(calc(min(10vw, var(--pfp-size))),3em)); */
    /* font-size: calc(min(15vw,4em)); */
    align-self: center;
    display: inline-flex;
    width: auto;
    justify-content: flex-end;
    /*font-family: ubuntu;*/
    color: white;
    text-shadow: 0 4px 4px rgb(0 0 0 / 30%);
    font-size: 2em;
}
.profile_pic h5 {
    color: gray;
    text-shadow: 0 4px 4px rgb(0 0 0 / 30%);
    font-size: 1em;
}
.profile_pic .heading{
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    justify-content: space-evenly;

}

header#extra{
    --main-colour:#009688;
    display: flex;
    justify-content: center;
    background-color: var(--default-primary-color);
    width: min(calc(100vw - 0em), var(--header-width));
    max-width: var(--header-width);
    height: fit-content;
    padding: .5em;
    flex-flow: wrap;
    flex-flow: column;
    flex-wrap:
    wrap;
    box-shadow: 0 2px 4px 0px rgb(0 0 0 / 30%);
    border-radius: var(--border-radius);
    border: 1px solid;
}

.item img, .item svg{
    height:1em;
    margin-right: 0.24em;
}

.item + .description {
    /*display:none;*/
}

.item{
    width: 100%;
    padding: 0.5em;
    display: flex;
    align-items:
    center;
    box-shadow: 0 2px 2px 0px rgb(0 0 0 / 30%);
    border-radius: var(--border-radius);
    /* margin-right: .5em; */
    /*margin-bottom: .5em;*/
    /* background-color: #cddc39; */
    background-color: var(--accent-color);
    transition:
    cubic-bezier(0.075, 0.82, 0.165, 1) all .1s;
    transform: scale(1) translate(0px,0px);
    /*cursor: pointer;*/
    user-select: none;
    /* margin: 0px; */
    /* align-self: stretch; */
    /* width: 50%; */
    /* flex-flow: row; */
    justify-content: space-between;
    border: 1px solid;
}

.item.active{
    transform: scale(1.07);
    border-radius: 2px;
    z-index:100;
}
.item-wrapper{
    position:
    relative;
    flex-flow: row;
    display: flex;
}
.item-wrapper .description {
    position: absolute;
    width: fit-content;
    padding: .5em;
    align-items: center;
    box-shadow: 0 4px 4px 0px rgb(0 0 0 / 30%);
    border-radius: var(--border-radius);
    margin-top: .5em;
    
    background-color: #cddc39;
    transition: cubic-bezier(0.075, 0.82, 0.165, 1) all .3s;
    transform-origin: 0% 0%;
    transform: scale(0);
    opacity: 0;
    cursor: pointer;
    z-index: 100;
    margin-top: -.25em;
    left: -0.25em;
    font-size: x-large;

}
.item:hover + .description{
    transform: scale(1);
    opacity: 1;
}

a.item{
    text-decoration: none;
    color:unset;
}



.float-right{
    float: right;

    /* float:left; */
    /* float: right; */
    /* margin-left: auto; */
    /* height: 100%; */
    /* width:10%; */
    /* align-self: flex-end; */
}

/*.language-list-item{
    margin-right: 0.5em;
}*/

.item-header-text {
    /*font-size: calc(min(calc(min(10vw, var(--pfp-size))),3em));*/
    /*font-size: calc(min(15vw,4em));*/
    font-size: 1em;
    align-self: left;
    display: inline-flex;
    width: auto;
    color: white;
    text-shadow: 0 4px 4px rgb(0 0 0 / 30%);
    margin-bottom:.25em;
}

.items-wrapper {
    grid-template-columns: repeat(auto-fit, minmax(49%, 1fr));
    width: 100%;
    display: inline-grid;
    gap: .5em;
    justify-items: center;
}
.item-title{
    color: white;
    text-shadow: 0px 1px 2px rgb(0 0 0);
    font-weight: bold;
}
.language-list{
    display: flex;
}



/* On screens that are 992px or less, set the background color to blue */
@media screen and (max-width: 520px) {
    .item{
        /*flex-flow: column;*/
    }

    .language-list-item span{
        display:none;
    }
    .language-list-item{
        margin-right:0em;
    }

    .wrapper:nth-child(1) {
        padding-top: 0.5em;
    }
}

@media (prefers-color-scheme: dark) {
    body {
        background-color: black;
        color: white;
    }
}

.item-content {
    display: flex;
    align-items: center;
}