@font-face {
    font-family: Dongle;
    src: url("misc/Dongle-Light.ttf");
}

:root {
    --color-background: #1f2837;
    --color-text: #c9a170;
    --color-text-background: #161c27;

    --color-text-name-highlight: #e6c194;
}

@media all and (max-width:640px) {
    #bruening {
        visibility: hidden;
    }
}

body {
    font-family: 'Dongle', Arial Rounded MT Bold;
    font-weight: 300;
    background-color: var(--color-background);
    margin: 0;
    height: 100vh;
    height: 100svh;
    display: grid;
    align-items: center;
    justify-items: center;
}

.chip {
    height: 40px;
    line-height: 40px;
    font-weight: 100;
    font-size: larger;
    color: var(--color-text);
    border-radius: 25px;
    background-color: var(--color-background);
    margin: 2px 10px 2px 0px;
}

.card {
    background: #fff;
    border-radius: 4px;
    box-shadow: 0px 14px 80px rgba(34, 35, 58, 0.5);
    min-width: 1024px;
    min-height: 512px;
    display: flex;
    flex-direction: row;
    border-radius: 25px;
    position: relative;
    background-color: var(--color-text-background);
}

.card .name {
    display: inline-block;
    font-size: 2rem;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--color-text);
}

.card .name span {
    display: inline-block;
}

.card .name .firstName {
    transition: transform .7s ease-in-out, color 1s ease-in-out;
    transform: translate(0);
}

.card .name:hover .firstName {
    transition: transform .7s ease-in-out, color 1s ease-in-out;
    transform: translateY(-.5rem);
    color: var(--color-text-name-highlight);
}

.card .name .lastName {
    transition: transform .7s ease-in-out, color .7s ease-in-out;
    transform: translate(0);
}

.card .name:hover .lastName {
    transition: transform .7s ease-in-out, color .7s ease-in-out;
    transform: translateY(.5rem);
    color: var(--color-text-name-highlight);
}

.card h2 {
    margin: 0;
    color: var(--color-text);
}

.card h3 {
    font-size: 2rem;
    margin: 0;
    color: var(--color-text);
}

.card .desc {
    padding: 0.5rem 1rem;
    font-size: 12px;
}

.card .actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    padding: 5rem 1rem 0;
}

.card .actions a {
    border: none;
    background: none;
    font-size: 24px;
    color: #8bc34a;
    cursor: pointer;
    transition: .5s;
    text-align: center;

    &:hover {
        color: #4CAF50;
        transform: rotate(22deg)
    }
}

.card svg {
    width: 85px;
    height: 85px;
    margin: 0 auto;
}

.img-avatar {
    width: 240px;
    height: 240px;
    position: absolute;
    border-radius: 50%;
    border: 6px solid #161c27;
    background-image: url("/misc/tb.png");
    background-size: 230px 230px;
    top: -120px;
    right: -120px;
}

.card-text {
    display: grid;
    position: relative;
    grid-template-columns: 38% 62%;
    min-width: 1024px;
    overflow: hidden;
    border-radius: 25px;
}

.dots {
    position: absolute;
    width: 200px;
    height: 200px;
    bottom: -90px;
    right: -90px;
    background-image: url("/misc/dottedBackground.svg");
    background-size: cover;
    transform: rotate(225deg);
}

.title-total {
    margin: auto;
}

path {
    fill: white;
}

.img-portada {
    width: 100%;
}

.portada {
    width: 100%;
    height: 100%;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    background-image: url("/misc/Leonardo_Diffusion_XL0.jpg");
    background-position: bottom center;
    background-size: cover;
}

.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 35px;
    line-height: 35px;
    background-color: var(--color-text-background);
    font-size: 1.3rem;
    z-index: 1;
}


/* Media Queries */

@media (max-width: 1024px) {
    body {
        height: auto;
    }

    .card {
        display: flex;
        flex-direction: column;
        position: relative;
        min-width: auto;
        min-height: auto;
        align-items: center;
        justify-items: center;
        margin: 125px 8px 125px;
    }

    .card-text {
        display: block;
        position: relative;
        min-width: auto;
        overflow: hidden;
        border-radius: 25px;
    }

    .card .actions {
        padding: 3rem 1rem 0;
    }

    .portada {
        width: 100%;
        height: 100%;
        min-height: 240px;
        border-top-left-radius: 0px;
        border-bottom-left-radius: 0px;
        background-image: url("/misc/Leonardo_Diffusion_XL0.jpg");
        background-position: bottom center;
        background-size: cover;
    }

    .img-avatar {
        width: 240px;
        height: 240px;
        position: absolute;
        border-radius: 50%;
        border: 6px solid #161c27;

        z-index: 1;
        left: 50%;
        margin-left: -120px;
    }

    .title-total {
        margin: auto;
        padding: 1rem 1rem 0;
        position: relative;
    }
}