@font-face {
    font-family: "h-fonts";
    src: url("RobotoSlab-VariableFont_wght.ttf");
  }

html, body {
    font-family: sans-serif;
    font-size: 1em;
    max-width: 820px;
    min-width: 320px;
    background-color: #f0f0f0;
    margin: auto;

    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

h1 {
    font-family: "h-fonts", sans-serif, serif;
    font-size: 1.4em;
    padding: 1.0em 0.3em 0.0em 0.3em;
    text-align: center;
}

h2 {
    font-family: "h-fonts", sans-serif, serif;
    font-weight: 400;
    font-size: 1.2em;
    text-align: center;
    word-wrap: break-word;
    padding: 0.0em 0.3em 1.0em 0.3em;
    margin-right:15%;
    margin-left: 15%;
}

h3 {
    font-family: "h-fonts", sans-serif, serif;
    font-size: 1.0em;
    text-align: center;
}

h4 {
    font-size: 0.8em;
}

h5 {
    margin: 0.5em 0.0em 0.0em 0.5em;
    font-size: 1.1em;
}

#contactTag {
    width: 10.0em;
    height: 1.5em;
    margin: -1.0em 0.0em 0.0em 0.0em;
    padding: 0.5em 0.0em 0.0em 0.3em;
    font-weight: 700;
    position: sticky;
/*    position: -webkit-sticky; */
    top: 1.0em;
    background-color: #ffbc78;
}

article {
    background-color: #f0f0f0;
}


p {
    font-family: "h-fonts", sans-serif, serif;
    font-optical-sizing: auto;
    padding: 0.2em;
    margin: 0.2em;
}

h5 ~ p {
    display: list-item;
    margin: 0.0em 0.0em 0.0em 2.0em;
}

.bullets p {
    display: list-item;
    margin: 0.0em 0.0em 0.0em 2.0em;
}

.gradient-orange {
    background-image: linear-gradient(90deg,#ffcc99, #ff9933);
    background-size: cover;
}

.gradient-orange > h2 {
    padding-top: 0.8em;
}

.gradient-blue {
    background-image: linear-gradient(90deg,#cce6ff, #66b3ff);
    background-size: cover;
}

.gradient-blue > h2 {
    padding-top: 0.8em;
}

button {
    display: inline-block;
    border: solid;
    border-color: none;
    border-radius: 1em;
    padding: 0.75em;
    margin: 0.0em;
    text-decoration: none;
    color: #cce6ff;
    font-family: inherit;
    font-size: 1.3em;
    line-height: 0.6em;
    cursor: pointer;
    text-align: center;
    transition: background 250ms ease-in-out, 
                transform 150ms ease;
}

button:hover,
button:focus {
    background: #66b3ff;
    border-color: #66b3ff;
}

button:active {
    transform: scale(0.98);
}

.button {
    display: block;
    border: solid;
    border-radius: 1em;
    padding: 0.75em;
    margin: 0.0em;
    text-decoration: none;
    color: #ffffff;
    font-family: inherit;
    font-size: 1.3em;
    line-height: 0.6em;
    cursor: pointer;
    text-align: center;
    transition: background 250ms ease-in-out, 
                transform 150ms ease;
}

.accordion-big {
    vertical-align: top;
    width: 97%;
    margin: 0.3em;
    background-color: #cce6ff;
    border-color: #cce6ff;
    color: black;
}

button.accordion-big::after {
    font-size: 1.5em;
    float: right;
    content: "+";
    color: black;
}

button.accordion-big.active::after, summary.button.active::after {
    content: '\02013'; /* Unicode character for en dash (-) */
}

.accordion-med {
    vertical-align: top;
    font-size: 1.1em;
    margin: 0.3em;
    background-color: #ffcc99;
    border-color: #ffcc99;
    color: black;
}
.accordion-med::after {
    float: right;
    content: "+";
    font-size: 1.5em;
    color: black;
}

.accordion-med.active::after {
    content: '\02013'; /* Unicode character for en dash (-) */
}

.accordion-med:hover,
.accordion-med:focus {
    background: #ff9933;
    border-color: #ff9933;
}

.accordion-med:active {
    transform: scale(0.98);
}


details[open] summary.accordion-med::after{
    content: '\02013'; /* Unicode character for en dash (-) */
}

.show-hide {
    padding: 0.0em;
    margin: 0.0em;
    display: none;
}

.show-hide.show {
    display: block;
}


.row {
    display: flex;
}

.column:nth-of-type(1) {
    flex: 1;
}

.column:nth-of-type(2) {
    flex: 1.5;
}

details {
    white-space: normal;
}

details > p {
    white-space: normal;
    font-size: 0.95em;
}


summary::-webkit-details-marker {
    display: none;
}

summary {
    display: inline-block;
    border: solid;
    border-radius: 1em;
    border-color: gainsboro;
    padding: 1.0em 2.0em 1.0em 1.0em;
    margin: 0.0em;
    list-style: none;
    text-decoration: none;
    color: black;
    font-family: "h-fonts", sans-serif, serif;
    font-optical-sizing: auto;
    font-size: 1.0em;
    line-height: 0.6em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    text-align: left;
    transition: background 250ms ease-in-out, 
                transform 150ms ease;
}

details[open] summary:after {
    content: '\02013'; /* Unicode character for en dash (-) */
}

details[closed] summary:after {
    /* content: '\02013'; Unicode character for en dash (-) */
    content: "+";
}


fieldset > button {
    display: inline-block;
    border: solid;
    border-radius: 0.5em;
    padding: 0.25em;
    margin: 0.0em;
    text-decoration: none;
    background-color: #ffcc99;
    border-color: #ffcc99;
    color: black;
    font-family: inherit;
    font-size: 1.0em;
    line-height: 0.6em;
    cursor: pointer;
    text-align: center;
    transition: background 250ms ease-in-out, 
                transform 150ms ease;
}

fieldset > span {
    display: block;
    text-align: center;
}

fieldset h3 {
    margin: 0.5em 5%;
}

footer {
    text-align: center;
    font-size: 1.0em;
    margin: 1.0em 5%;
}

@media (max-width: 370px) {
    h2 {
        margin-left: 1%;
        margin-right: 1%;
    }
}

@media (min-width: 370px) and (max-width: 505px) {
    .circles, .squares {
        top: 0.0em;
        /*height: 6.0em;*/
    }
    .overlayElement {
        top: 0.0em;
    }
    h2 {
        margin-left: 5%;
        margin-right: 5%;
    }

}
@media (min-width: 506px) and (max-width: 640px) {
    #contactTag {
        margin: 0.0em 0.0em 0.0em 0.0em;
    }
}
@media (min-width: 641px) {
    h2 {
        margin-left: 20%;
        margin-right: 20%;
    }
}