.header {
    display: flex;
    /* justify-content: space-between; */
    align-items: center;
    height: 80px;
    padding: 0 1rem;
}
/* .search-form {
    margin-left: auto;
} */
.website-title {
    margin-right: auto;
}

.search-form {
    width: 300px;
    max-width: 60%;
    margin-right: 3rem;
}

.primary {
    padding: 1rem;
}

.secondary {
    padding: 1rem;
}

.secondary-a {
    background: white;
}

.secondary-b {
    color:white;
    background: #666;
}

.info-list {
    margin-bottom: 2em;
}

.footer {
    padding: 1rem;
    border-top: 1px solid lightgray;
    text-align: center;
}

.modal {
    display: none;
    top: 80px;
}

#modal-switch {
    margin-left: 14px;
    font-size: 28px;
}

#modal-switch:checked ~ .modal {
    display: flex;
}
label[for="modal-switch"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 1.3rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    /* background: red; */
}

label[for="modal-switch"]::before {
    content:"🍋";
    /* content: "⚑"; */
}

#modal-switch:checked ~ label[for="modal-switch"]::before {
    color: lime;
}

#modal-switch,
label[for="modal-switch"] span {
    overflow: hidden;
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    top: 0;
}

@media (min-width: 1024px) {
    .page {
        display: flex;
        flex-wrap: wrap;
    }
    .header {
        width: 100%;
    }
    .menu {
        width: 100%;
    }
    .secondary {
        width: 20%;
    }
    .secondary-a {
        order: 1;
        width: 20%;
    }
    .secondary-b {
        order: 3;
        width: 20%;
    }
    .primary {
        order: 2;
        width: 60%;
    }
    .footer {
        order: 4;
        width: 100%;
    }
}

@media (min-width: 1400px) {
    .primary {
        /* width: calc(100% - 600px); */
        /* flex: 1 1 auto; */
        flex: auto;
    }
    .secondary {
        width: 300px;
    }
}

