h1 {
    font-family: "Pixelify Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: var(--text-3xl);
    text-transform: uppercase;
    margin: 0;
}

h2 {
    font-family: "Pixelify Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: var(--text-xl);
    text-transform: uppercase;
    margin: 0;
}

p {
    font-size: var(--text-md);
    font-weight: 300;
}

/* skill groups: a title, then a comma-separated list */
.skills {
    margin: 0;
}

.skills dt {
    font-size: var(--text-md);
}

.skills dt:not(:first-child) {
    margin-top: var(--space-4);
}

.skills dd {
    margin: var(--space-1) 0 0;
    font-size: var(--text-base);
    font-weight: 300;
    line-height: 150%;
    opacity: var(--muted-opacity);
}

.about {
    display: flex;
    width: 100%;
    justify-content: center;
    padding: var(--space-24) 0;
    position: relative;
    /* About is the last section: at least a screen tall, so the About link can
       scroll it to the top even on tall screens where the page would end first */
    min-height: 100svh;
    box-sizing: border-box;
}

.info_container {
    display: flex;
    gap: var(--space-20);
    width: 66.66%;
    max-width: 1280px;
    min-width: 744px;
    position: relative;
}

.info_inner_container {
    display: flex;
    flex-wrap: wrap; /* skills and contact move below the text when there is no room beside it */
    gap: var(--space-10);
    flex: 1;
}

.my_image_scribble {
    height: 25vw;
    width: 25vw;
    background-color: #555555;
    background-image: url("../assets/portrait/my_image-min.webp");
    background-size: cover;
}

.about_me_container {
    flex: 1 1 300px;
}

.about_me_container p {
    opacity: var(--muted-opacity);
}

.details_container {
    flex: 0 1 260px;
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
}

.details_inner_container {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact_container {
    display: flex;
    gap: var(--space-4);
}

.contact_button {
    display: block;
    width: 40px;
    height: 40px;
    border: solid 1px var(--white);
    background-repeat: no-repeat;
    background-size: 32px;
    background-position: center;
    z-index: 6;
    transition: 0.2s;
}

.contact_button:hover {
    filter: invert(1);
    background-color: black;
}


#linkedin {
    background-image: url("../assets/px_icon_linkedin.svg");
}

#email {
    background-image: url("../assets/px_icon_mail.svg");
}

#cv {
    background-image: url("../assets/px_icon_cv.svg");
}

.email_container {
    z-index: 5;
}

.tooltip {
    position: absolute;
    transform: translate(-10px, 12px);

    font-size: var(--text-sm);
    background-color: white;
    color: var(--bg);
    padding: 2px 8px;

    opacity: 0;
    transition: 0.2s;
}

.tooltip::after {
    position: absolute;
    transform: translatex(-50%);
    top: -1px;
    left: 50%;
    content: "";
    background-color: white;
    width: 8px;
    height: 8px;
    rotate: 45deg;
}