@media screen and (min-width:0\0) and (min-resolution: +72dpi)
{
    a#cv-button
    {
        display: block !important;
        left: -50% !important;
        float: right !important;
        display: block !important;
        text-align: center !important;
    }
}

body
{
    overflow-y: auto;
    /*background-color: rgb(0,0,0);*/
}

/*
@media screen and (max-height:620px)
{
    #avatar-container
    {
        height: 180px !important;
        max-height: 180px !important;
        width: 180px !important;
        max-width: 180px !important;
    }
    #buttons-container
    {
        margin-top: 75px !important;
        position: relative !important;
    }
}

@media screen and (max-width:500px)
{
    #buttons-container
    {
        margin-top: 75px !important;
        position: relative !important;
    }
}
*/

div#container
{
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1), 0 6px 20px 0 rgba(0, 0, 0, 0.15);
    position: absolute;
    left: 10%;
    top: 10%;
    width: 80%;
    height:auto;
    transition: transform 0.5s, box-shadow 0.5s;
    margin-bottom: 4%;
    min-height:500px;
    min-height: 80%;
    border-radius: 10px;
    overflow: hidden;
}

    div#container:hover
    {
        transform: scale(1.02);
        box-shadow: 0px 22px 20px -15px rgba(0,0,0,0.1), 0 6px 20px 0 rgba(0, 0, 0, 0.15);
    }

img#avatar
{
    border-radius: 50%;
    width: 92%;
    height: 92%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    position: relative;
    top: 50%;
}

div#avatar-container
{
    border-radius: 50%;
    width: 30vw;
    height: 30vw;
    max-width: 40vh;
    max-height: 40vh;
    left: 50%;
    top: 20px;
    transform: translateX(-50%);
    position: relative;
    box-shadow: 0px 2px 8px rgba(0,0,0,0.7),0px -1.5px 15px 1px rgba(0,0,0,0.15) inset;
    background-color: white;
}

a#contact-button
{
    /*transform: translateX(calc(-50% ));*/
    border-radius: 0px 5px 5px 0px;
    z-index: 1;
    box-shadow: 0px 2px 5px rgba(0,0,0,0.25);
}

a#cv-button
{
    border-radius: 5px 0px 0px 5px;
    box-shadow: -0px 2px 5px rgba(0,0,0,0.25);
    right: 50%;
    transform: none;
    position: relative;
    left: unset;
    /*transform: translateX(calc(50% ));*/
}

a#contact-button, #cv-button
{
    width: 250px;
    max-width: 40%;
    user-select: none;
    position: relative;
    left: 50%;
    border: none;
    padding: 10px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    background-color: rgb(220,220,220);
    font-family: Segoe UI;
    cursor: pointer;
    color: rgba(0, 0, 0, 0.75);
    transition: all 0.2s;
    text-shadow: 0px 0px 8px rgba(255,255,255,0.7);
    float: left;
    text-decoration: none;
}

#cv-button
{
    float: right;
    z-index: 2;
}

a#contact-button:hover
{
    z-index: 3;
}

#cv-button:hover
{
    z-index: 3;
}

a#contact-button:hover
{
    background-color: rgb(225,225,225);
    box-shadow: -5px 9px 8px -7px rgba(0,0,0,0.4),0px 2px 5px rgba(0,0,0,0.2);
}

#cv-button:hover
{
    background-color: rgb(225,225,225);
    box-shadow: 5px 9px 8px -7px rgba(0,0,0,0.4),0px 2px 5px rgba(0,0,0,0.2);
}

a#contact-button:active
{
    background-color: rgb(230,230,230);
    box-shadow: -5px 12px 8px -8px rgba(0,0,0,0.5);
}

#cv-button:active
{
    background-color: rgb(230,230,230);
    box-shadow: 5px 12px 8px -8px rgba(0,0,0,0.5);
}

#name
{
    text-align: center;
    font-family: Segoe UI;
    font-weight: 300;
    font-size: calc(min(6vw, 19vh));
    top: 20vh;
    position: relative;
    text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px) brightness(99%);
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 50px 20px 50px;
    border-radius: 70px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

#buttons-container
{
    position: absolute;
    width: auto;
    bottom: 40px;
    text-align: center;
    left: 50%;
    transform:translateX(-50%);
    max-width:80%;
}

canvas#c_cont
{
    position: absolute;
    left: 0px;
    top: 0px;
    margin: 0px;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 1;
    background-color: rgb(255,255,255);
}

@font-face
{
    font-family: 'Segoe UI';
    src: local('Segoe UI'), url('../fonts/segoeui.woff') format('woff'), url('../fonts/segoeui.ttf') format('ttf');
}

@font-face
{
    font-family: 'Segoe UI Light';
    src: local('Segoe UI Light'), url('../fonts/segoeuil.woff') format('woff'), url('../fonts/segoeuil.ttf') format('ttf');
}

img.contact-image
{
    width:3em;
    height:3em;
    opacity:0.75;
    transition:0.4s all;
    border-radius:5px;
    margin:0px 1px 0px 1px;
}

    img.contact-image:hover
    {
        width:4em;
        height:4em;
    }

    #buttons-container > a
    {
        display: inline-flex;
        position: relative;
    }

img.contact-image:hover
{
    opacity: 1;
}