@charset "utf-8";

@media print {
    @page {
        size: A4;
        margin: 0 !important;
        padding: 0 !important;
    }

    body {
        margin: 0 !important;
        padding: 0 !important;
        gap: 0 !important;
    }

    .page {
        page-break-before: always;
        break-before: page;
    }

    .btn-print {
        display: none !important;
    }
}

* {
    line-height: 1.5;
    letter-spacing: 0.05em;
}

body {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding: 2rem 20vw
}

.page {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 210mm;
    height: 297mm;
    box-shadow: 0 0 0 0.25rem rgba(50, 50, 50, 0.1);
    /* outline: 2px solid rgb(200, 0, 200); */
    /* outline-offset: 0.1rem; */
    /* background-color: rgba(200, 200, 200, 0.1); */
}

.page .header {
    display: flex;
    justify-content: flex-end;
    background-color: #26252a;
    padding: 0 5rem;
}

.page .header .badge {
    padding: 0.25rem 2.5rem;
    font-size: 1.5rem;
    font-weight: bolder;
    background-color: #767171;
    color: white;
}

main {
    margin: 0 1.5rem;
    flex-grow: 1;
    overflow-y: hidden;
    /* background-color: rgba(70, 175, 228, 0.1); */
}

.profile {
    display: flex;
}

.profile .avatar {
    width: 10rem;
}

.profile .info {
    flex-grow: 1;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: end;
}

.profile .info>div {
    margin: 0.8rem 0;
}

.profile .info>div:first-child {
    font-size: 2.5rem;
}

.profile .info>div:last-child {
    margin-bottom: 0;
}

.profile .info .contact {
    display: flex;
    justify-content: space-between;
}

.profile .info .contact>div::before {
    content: '';
    display: inline-block;
    width: 1.2rem;
    height: 1.2rem;
    background-size: contain;
    vertical-align: text-top;
    margin-right: 0.5rem;
}

.profile .info .contact .location::before {
    background-image: url('../res/icon/location.svg');
}

.profile .info .contact .phone::before {
    background-image: url('../res/icon/phone.svg');
}

.profile .info .contact .email::before {
    background-image: url('../res/icon/email.svg');
}

section {
    margin: 1rem 0;
}

section .title {
    position: relative;
    margin: 0.5rem 0;
    padding-left: 0.5rem;
    color: black;
    font-size: 1.5rem;
    background-color: #f2f2f2;
}

section .title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0.25rem;
    height: 100%;
    background-color: #000000;
}

section .headline {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    padding: 1rem;
}

section .headline>div {
    flex: 1 1 0;
    text-align: center;
}

section .headline>div:first-child {
    text-align: left;
}

section .headline>div:last-child {
    text-align: right;
}

li {
    margin: 0.25rem 1rem;
}

.project li {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.project p {
    text-indent: 2em;
}

.footer {
    position: relative;
    margin: 1rem 1.5rem;
    height: 0.2rem;
    background-color: #000000;
}

.footer::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 225%;
    transform: translateY(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 8px solid #000000;
}

.btn-print {
    position: fixed;
    right: 10rem;
}