.tab {
    background-color: #ffffff;
    border: 0;
    font: 500 22px "Solway", serif;
    padding: 6px 8px;
    margin: 0;
    border-bottom: 4px solid transparent;
}

.tab[aria-selected="true"] {
    color: var(--cl-accent);
    border-bottom: 4px solid var(--cl-accent);
}

.tab:hover {
    background-color: var(--bk-accent);
    border-bottom: 4px solid var(--cl-accent);
    color: var(--cl-accent);
}

[role="tabpanel"]:not(.is-hidden) {
    display: flex;
}

[role="tabpanel"].is-hidden {
    display: none;
}

.tab-wrapper {
    margin-block: 2em;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 1em;
    box-shadow: 0 6px 6px 0 rgba(160, 160, 160, 0.2);
}

@media only screen and (width > 1000px) {
    .tab-wrapper {
        gap: 4em;
    }
}

section.information {
    padding-top: 1em;
    margin-bottom: 0em;
    justify-content: center;

    .gallery {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(3, 1fr);
        background-color: var(--cl-light-grey);
        gap: 3px;

        p {
            margin-top: 0;
            margin-bottom: 0;
            background-color: var(--bk-primary);
            padding: 1em;
            margin: -1px;
        }

        &.small{
            border-color: rebeccapurple;
            grid-template-columns: repeat(2, 1fr);
            grid-template-rows: repeat(2, 1fr);
        }
    }
}

@media only screen and (width > 1000px) {
    .information {
        .info {
            display: flex;
            flex-direction: row;
            gap: 1em;
            
            h3{
                min-width: 12em;
            }

            .left{
                max-width: 40em;
            }

            img, video{
                min-width: 15em;
            }

            p.small{
                margin: 0em;
            }
        }
    }

    section.information {
        margin-bottom: 5em;
    }
}

@media only screen and (width > 800px) {
    .information {
        .info {
            display: flex;
            flex-direction: row;
            gap: 2em;
            margin: 1em 0em 3em;
            align-items: top;
            
            h2{
                min-width: 12em;
                margin-bottom: 0;
            }

            .left{
                max-width: 40em;
            }

            img, video{
                min-width: 15em;
            }

            p.small{
                margin: 0em;
            }
        }
    }
}

@media only screen and (width <= 800px){
    .info{
        img{
            display: none;
        }
    }
}

.apply {
    padding-bottom: 4em;
    background-color: var(--bk-accent);
    text-align: center;

    h1{
        margin-top: 2em;
    }

    button{
        margin-bottom: 2em;
    }
}

details {
    p.muted{
        margin: 0em;
    }

    summary{
        font-family: "Solway", serif;
        font-size: 22px;
        font-weight: 700;
        color: var(--cl-primary);
        margin: 0;
    }
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.questions {
    display: flex;
    flex-direction: row;
    justify-content: center;
}