.tabs:has(#curriculumTab:checked) ~ #curriculum {
    display: flex;
}

.tabs:has(#tuitionTab:checked) ~ #tuition {
    display: flex;
}

.tabs:has(#campsTab:checked) ~ #camps {
    display: flex;
}

.tabs.center{
    box-shadow: 0 6px 6px 0 rgba(160, 160, 160, 0.2);
}

.tab-wrapper {
    margin-top: 2em;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 1em;
    color: var(--cl-accent);

    input {
        visibility: hidden;
        position: absolute;
        &:checked {
            + label{
                color: var(--cl-accent);
                border-bottom: 4px solid var(--cl-accent);
            }
        }

        + label:hover{
            color: var(--cl-accent);
            border-bottom: 4px solid var(--cl-accent);
            background-color: var(--bk-accent);
        }

        + label{
            padding: 6px 8px;
            margin:0;
        }
    }
}

@media only screen and (width > 1000px) {
    .tab-wrapper {
        gap: 4em;
    }
}

section.information.center { 
    padding-top: 1em;
    display: none;
    margin-bottom: 0em;

    h2{
        text-align: 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{
                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;
            
            h3{
                min-width: 12em;
                margin-bottom: 0;
            }

            .left{
                max-width: 40em;
            }

            img{
                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;
    }
}