:root {
    --background: #e6e6e6;
    --title: #282828;
    --text: #6d6d6d;
    --social: #ddd;
    --footer: #999;
    --main: #ff8f00;
}

body {
    margin: 10vh 0;
    padding: 0;
    color: var(--text);
    font-family: 'Open Sans', Arial, sans-serif, 'Helvetica Neue', 'Helvetica';
}

/* HELPS */
h1, h2, h3, h4, h5, h6 {color: var(--title);}

h1 {
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 0;
}

h2 {
    margin-top: 0;
    margin-bottom: 1rem;
}

p {
    margin-top: 0;
    line-height: 1.6rem;
}

ul {
    list-style-type: none;
    padding: 0;
}
li {
    margin-bottom: 10px;
}

a {text-decoration: none; color: var(--main);}
a:hover {text-decoration: underline;}

.text-center {text-align: center;}

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

.max42 {
    width: 90%;
    max-width: 42rem;
}

.mtb-0-auto {margin: 0 auto;}
.mtb-2-auto {margin: 2rem auto;}
.mt-1 {margin-top: 1rem;}
.mt-2 {margin-top: 2rem;}
.mt-3 {margin-top: 3rem;}
.mt-4 {margin-top: 4rem;}

/* SITE */
#meImg {border-radius: 100%;}

.social {
    display: flex;
    gap: .5rem;
}
.social a {
    padding: .3rem;
    line-height: 0;
    border-radius: 8px;
    border: 1px solid var(--social);
}
.social a:hover {
    background-color: var(--social);
}

button {
    border: 0;
    background-color: transparent;
    cursor: pointer;
    padding: 0;
    font-size: 16px;
    color: var(--text);
}
button:hover {
    text-decoration: underline;
}

.popover {
    color: var(--text);
    border: 0;
    border-radius: 10px;
    padding: 1rem;
    width: 80%;
    max-width: 42rem;
    min-height: 60%;
    position: relative;
}
[popover]:-internal-popover-in-top-layer::backdrop {
    background-color: rgba(0, 0, 0, .5);
}
.popover div {
    overflow-y: auto;
}


.boxs {
    columns: 2;
    column-gap: .8rem;
}
.box {
    border: 1px solid var(--social);
    border-radius: 10px;
    padding: .8rem;
    margin-bottom: .8rem;
}
.box a {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding-bottom: .2rem;
    color: var(--title);
}
.box h3 {
    margin: 0;
}
.box p {
    font-size: 12px;
    margin: 0;
    line-height: 1rem;
    color: var(--text);
}

/* Other pages */
.other-pages .boxs {
    max-width: 40rem;
    margin: 0 auto;
}
.other-pages h3 {
    margin-bottom: 0;
}
.other-pages a {
    color: #888;
    font-size: 14px;
}

/* MY STORY */
.years {
    background: var(--main);
    color: #fff;
    max-width: max-content;
    width: auto;
    margin: 1rem auto;
    padding: 1.8rem 1.2rem;
    border-radius: 9999px;
}

/* FOOTER */
footer {
    padding-top: 2rem;
    padding-bottom: 1rem;
}

footer a {
    color: var(--footer);
    text-decoration: none;
    position: fixed;
    bottom: 0;
    right: 0;
    margin: .5rem;
}

#copyright {
    font-size: 14px;
    text-align: center;
    color: var(--footer);
}
#copyright p {
    margin: 0;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    body {
        margin: 4vh 0;
    }
    .boxs {
        columns: 1;
    }
}