/*--------------------
|         FONT       |
---------------------*/

@font-face 
{
  font-family: myFont;
  src: url(/Wonkyneocity-Regular.otf);
}


p, h1, h2
{
  font-family: myFont;
  padding: 0%;
  margin: 0%;
}

/*--------------------
|       general       |
---------------------*/
body
{
    /* do an endless illustration for background */
    /* background-color: rgb(223, 240, 255); */
    background-image: url("texture_45Deg.png");
    width: 90vw;
}


/*--------------------
|   GRID STYLING      |
---------------------*/

.container 
{
    display: flex;
    flex-direction: column;
    gap: 5px;
    /* background-color: #c8affb; */
    padding-top: 5px;
    padding-left: 5%;
    padding-right: 5%;
    padding-bottom: 5px;

    width: 100%;
}

.header 
{
    /* border: 1px solid red; */
    height: fit-content;
    text-align: center;

    margin-top: 20px;
}

.header > h1, 
.header > h2 
{
    background-color: rgba(0, 0, 0, 0.089);
    padding-top: 5px;
    padding-bottom: 5px;
}

.content
{
    border: 2px inset rgba(0, 0, 0, 0.443);
    background-color: rgba(0, 0, 0, 0.062);

    
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 30% 30% 30%;
    column-gap: 15px;
    row-gap: 15px;

    margin-top: 10px;
    height: 75vh;
    width: 100%;
    box-sizing: border-box;

    overflow: scroll;
}


/* content */

.personalBox
{
    position: relative;
    border: 2px inset rgba(0, 0, 0, 0.299);
    background-color: rgba(0, 0, 0, 0.062);
    /* padding: 4%; */
    max-height: 150px;
    max-width: 100%;

    display: grid;
    grid-template-areas:
    "picture desc";
    grid-template-columns: 1fr 2fr;
    gap: 5px;
}

.personalBox > div.picture 
{
    /* border: 1px solid red; */
    border-right: 2px inset rgb(0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
}

.picture > img
{
    /* border: 1px solid blue; */
    width: 100%;
}

.name 
{
    padding-left: 4px;
}

.name > a
{
    text-decoration: none;
    color: black;
}

.name > a:hover
{
    text-decoration: underline;
    color: rgb(71, 22, 116);
}

.personalBox > div.desc
{
    /* max-height: 140px; */
    /* border: 2px solid rgb(255, 0, 0); */
    border-left: 2px inset rgba(0, 0, 0, 0.406);
    font-family: myFont;

    overflow: scroll;
}

.desc > p.works
{
    /* border: 1px dotted rgb(0, 0, 0); */
    max-height: 80%;
    overflow-x: hidden;
    word-break: normal;
    width: 95%;
    padding-left: 4px;
}   

.desc > p.quote
{
    border: 2px outset rgba(0, 0, 0, 0.42);
    background-color: rgba(0, 0, 0, 0.144);
    width: 95%;
    margin-top: 2px;
    margin-bottom: 2px;
    margin-left: 4px;
}


.backToMain 
{
    position: absolute;
    left: 25px;
    top: 10px;
    padding: 8px;
    border-radius: 30px;
    height: fit-content;
    width: fit-content;
    box-shadow: 1px 2px 0px rgba(0, 0, 0, 0.162);
}

