body {
    color: #fff !important;
    font-weight: 400 !important;
}

.navbar-brand {
    font-size: 30px;
    font-weight: 900;
}
.navbar-brand img {
    max-height: 100px;
}

.container {
    padding-bottom: 20px;
}

.container h1, .container h2 {
    font-weight: 900;
    margin-bottom: 40px;
}

.container label {
    font-weight: 700;
}

.container .table {
    color: #fff !important;
}

.container .text-muted {
    color: #fff !important;
}

.btn, .btn:hover {
    border: 0;
    border-radius: 0;
}

.alert-info {
    color: #fff;
    font-weight: 700;
    border-color: #fff;
    margin-bottom: 40px;
}

.alert-success {
    color: #ffffff !important;
    background-color: #3B898D !important;
    border-color: #3B898D !important;
    background-image: linear-gradient(to right, #3B898D, #A0CD61) !important;
}

.card {
    background-color: transparent;
}

.card:has(a.stretched-link):hover {
    filter: brightness(90%);
}

.modal .modal-header, .modal .modal-footer {
    font-weight: 900;
    color: white;
}

.list-group {
    color: #000 !important;
}

#agreement-form .form-row {
    align-items: flex-end;
}

ul#id_parent-options {
    list-style-type: none;
}

#portal-footer .powered-by {
    padding: 5px 0;
    background-color: #fff;
    color: #000;
}
#portal-footer .powered-by img {
    max-height: 30px;
    margin-left: 10px;
}

.portal-home-grid{
    position: relative;
    flex-grow: 1;
    min-height: 200px;
    display: grid;
    gap: 0.625rem;
    grid-gap: 0.625rem;
    padding: 0.625rem;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr;
    margin-bottom: 40px;
}

.portal-home-grid .card{
        aspect-ratio: 4/2;
    }



@media (min-width: 600px) {
    .portal-home-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
    }

    .portal-home-grid .card{
        aspect-ratio: 1;
    }
}

.portal-home-grid .flip-card-front h3{
    font-size: 3.5rem !important;
    font-weight: 900;
}

@media (min-width: 992px) {
    .portal-home-grid {
        grid-template-columns: 1fr 1fr 1fr 1fr;
        grid-template-rows: 1fr;
    }
}