* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    color: #222;
    font-family: helvetica;
    line-height: 1.25;
}

body {
    padding: 4rem 5rem;
    background: linear-gradient(315deg, #888, rgba(100, 149, 237));
}

select {
    box-shadow: 0 10px 25px rgba(0, 0, 0);
    font-size: 1rem;
    padding: 1em 5em 1em 1.5em;
    background: #4d5061;
    color: white;
    border: 0;
}

.menu {
    position:absolute;
}

.menu-arrow {
    position:absolute;
    top: 0;
    right: 0;
    display: block;
    background: #3b3c47;
    height: 100%;
    width: 3.5em;
    pointer-events: none;
}

.menu-arrow::before,
.menu-arrow::after {
    --size: 0.65em;
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.menu-arrow::before {
    border-left: var(--size) solid transparent;
    border-right: var(--size) solid transparent;
    border-bottom: var(--size) solid rgba(255, 255, 255, .5);
    top: 35%;
}

.menu-arrow::after {
    border-left: var(--size) solid transparent;
    border-right: var(--size) solid transparent;
    border-top: var(--size) solid rgba(255, 255, 255, .5);
    top: 60%;
}

footer {
    text-align: center;
    color: #fff;
    margin-top: 2rem;
    margin-bottom: 0rem;
}

h1 {
    font-size: 2rem;
    text-transform: uppercase;
}

h2 {
    font-size: 1.25rem;
    text-transform: uppercase;
    border-top: 1px solid #888;
    border-bottom: 1px solid #888;
    padding: 1rem 0;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.15rem;
    text-transform: uppercase;
    color: darkgrey;
}

h4 {
    font-size: 1.05rem;
    text-transform: bold;
    padding-bottom: 0.5rem;
}

p {
    line-height: 1.5;
}

ul {
    list-style: none;
}

section+section {
    margin-top: 2rem;
}

li+li {
    margin-top: 0.75rem;
}

a {
    text-decoration: none;
    color: inherit;
    font-size: 0.8rem;
}

a.visited {
    color: inherit;
}

a:focus {
    background: cornflowerblue;
    color: white;
}

a:hover {
    background: cornflowerblue;
    color: white;
}

a:active {
    background: cornflowerblue;
    color: white;
}

.profile {
    text-align: center;
}

.profile img {
    border-radius: 9999px;
    width: 15rem;
    height: 15rem;
}

.profile p {
    color: grey;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.contact ul {
    margin-top: -2rem;
}

.contact li {
    text-align: right;
    text-transform: uppercase;
    padding: 1rem;
    border-bottom: 1px solid #888;
    font-size: 0.9rem;
}

.socials>ul {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    font-size: 1rem;
    text-align: center;
    background-color: #888;
}

.socials a {
    background: none;
}

.skills>ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 1rem;
    margin-top: 1rem;
    align-items: center;
}

.skills_left {
    place-self: center;
    text-align: left;
}

.skills_right {
    place-self: center;
    text-align: left;
}

.event+.event {
    padding-top: 1rem;
}

.event {
    display: grid;
    grid-template-columns: 10ch 1fr;
}

.content {
    border-left: 1px solid #888;
    padding-left: 1rem;
    margin-left: 1rem;
}

.content>p+p {
    margin-bottom: 1rem;
}

.projects {
    margin-bottom: 2rem;
}

.projects a {
    font-size: 1rem;
}

.resume {
    display: grid;
    grid-template-columns: 40% 1fr;
    grid-gap: 2rem;
    padding: 2rem;
    background-color: rgb(240, 240, 240);
    max-width: 1000px;
    margin: auto;
    break-inside: avoid;
    page-break-inside: avoid;
}

.column-1 {
    width: 100%;
}

.column-2 {
    width: 100%;
}

.experience>content {
    line-height: 1;
}

.visitor_counter {
    display: flex;
    background: darkgray;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

@media only screen and (max-width: 999px) {

    /* For mobile phones: */
    [class*="col-"] {
        width: 100%;
    }

    .resume {
        display: block;
    }
}