html {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 15px;
    background: #dedede url("../assets/bg4.png") repeat;
    padding: 15px;
    margin: 0;

    --accent-color: #0087f7;
    --secondary-color: rgba(45, 57, 63, 0.8);
    color: #333;
}

* {
    box-sizing: border-box;
}

.accent-color {
    color: var(--accent-color);
}

.profile p {
    margin: 0;
}

header {
    background-color: var(--accent-color);
    color: #bde1ff;
    text-align: center;
}

header img {
    border-radius: 99em;
    border: 10px solid #2b9fff;
    width: 128px;
    height: 128px;
}

main {
    max-width: 1130px;
    margin: auto;
}

article {
    background-color: #f4f4f4;
}

header, article {
    padding: 15px;
}

h1 {
    line-height: 58px;
    margin: 0;
}

h1, h2 {
    text-transform: uppercase;
    font-weight: 300;
}

h2 {
    background-color: var(--accent-color);
    color: white;
    margin: 0;
    padding: 10px 15px;
    font-size: 17px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

h2 .title {
    flex: 1;
}

h3 {
    margin: 10px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--accent-color);
    font-weight: normal;
    font-size: 15px;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

ol li.done {
    text-decoration: line-through;
    color: #999;
}

.icon-menu {
    display: inline-block;
    background-color: white;
    color: var(--accent-color);
    font-size: 22px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    margin-right: 13px;
}

details + * {
    margin-top: 15px;
}

footer {
    background-color: var(--secondary-color);
    padding: 10px 15px;
    color: white;
    text-align: center;
    line-height: 43px;
}

footer a {
    color: white;
    text-decoration: underline;
}

details > summary {
    list-style-type: none;
    outline: 0;
}

details > summary::-webkit-details-marker {
    display:none;
}

details .toggle:before {
    content: "\f078";
}

details[open] .toggle:before {
    content: "\f077";
}

.social {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    margin-top: 4px;
    margin-left: -11px;
}

.social .group {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.social a {
    display: inline-block;
    width: 45px;
    height: 45px;
    line-height: 45px;
    font-size: 24px;
    border: 1px solid var(--accent-color);
    text-align: center;
    text-decoration: none;
    margin: 11px 0 0 11px;
}

.social a:hover {
    background-color: var(--accent-color);
    color: white;
}

.duration {
    color: var(--accent-color);
    flex-shrink: 0;
    margin-left: 15px;
}

.venue{
    color: var(--accent-color);
    margin: 10px 0;
}

article.grid {
    display: grid;
    grid-template-columns: auto;
    grid-gap: 15px 30px;
}

a {
    color: var(--accent-color);
    text-decoration: none;
}

main {
    display: grid;
    grid-template-columns: auto;
    grid-gap: 15px;
}

@media (min-width: 1200px) {
    body {
        padding: 75px 15px;
    }

    article.grid {
        grid-template-columns: 1fr 1fr;
    }

    article.grid.grid-3 {
        grid-template-columns: 1fr 1fr 1fr;
    }

    article.grid .span {
        grid-column: span 2;
    }

    main {
        grid-template-columns: 300px auto;
    }

    .profile {
        position: relative;
    }

    .profile > .sticky-wrapper {
        position: sticky;
        top: 15px;
    }

    .cities {
        column-count: 3;
    }
}
