@import "fonts/authentic-sans/authentic-sans.css";

/* elements */
a {
    color: black;
}

body {
    background-color: taupe;
    padding: 0;
    margin: 0;
    font-family: 'Authentic Sans';
    font-weight: 100;
    padding: 1rem;
}

em {
    font-weight: bold;
    font-style: normal;
}

h2 {
    text-align: center;
    margin: 0;
    font-weight: 300;
}

p {
    margin-bottom: 0;
}

ul {
    list-style: none;
    padding: 0;
}
/* layout */

iframe {
    height: 100vh;
}

@media only screen and (min-width: 800px) {
    .container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 4em;
        gap: 0px 0px;
        grid-auto-flow: row;
        grid-template-areas:
            "col1 col2"
            "footer footer";
        min-height: calc(100vh - 4rem);
    }

    iframe {
        height: 100%;
    }
}

.col-1 {
    grid-area: col1;
    display: grid;
    grid-template-rows: auto auto 1fr;
}

.col-1 section {
    padding: 1rem;
}

.col-2 {
    grid-area: col2;
    overflow: hidden;
    display: grid;
    grid-template-rows: 4rem 1fr;
}

.col-2 h2 {
    margin-top: 1rem;
}

.footer {
    grid-area: footer;
}

.rounded {
    border-radius: 1rem;
    border: 1px solid black
}

.sec-1 {
    overflow-y: auto;
    background-color: #ecec66;
}

.sec-2 {
    overflow-y: auto;
    background-color: #ccc;
}

.sec-3 {
    overflow-y: auto;
    min-height: 0;
}

/* Accordions */

label {
    cursor: pointer;
}

@media only screen and (min-width: 800px) {
    label {
        cursor: initial;
        pointer-events: none;
    }
}

input[type=radio] {
    display: none;
}

.accordion__content {
    max-height: 0;
    overflow-y: hidden;
    transition: max-height 0.5s ease;
}

.accordion__content:first-child {
    margin-top: 1rem;
}

@media only screen and (min-width: 800px) {
    .accordion__content {
        max-height: none;
    }
}

input[type=radio]:checked~.accordion__content {
    max-height: 80vh;
}