.title {
    margin-bottom: 20px;
    text-align: center;
    color: #1f3e7a;
}

.space-def {
    width: 100%;
    padding: 0px 180px;
}

.card-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-family: "Roboto Condensed", sans-serif;
    font-optical-sizing: auto;
    font-weight: weight;
    font-style: normal;
}

.card-year {
    width: 100%;
}

.card {
    width: calc(150% - 20px) !important;
    min-height: 200px !important;
    margin: 15px auto !important;
    background-color: #1f3e7a !important;
    color: #ffffff !important;
    cursor: pointer;
    max-width: 100% !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    background-color: #252850 !important;
    transform: translateY(-10px);
}

.card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.25rem;
    text-align: center;
}

.card-text {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.card-link {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9rem;
    color: #3498db;
    text-decoration: none;
}

.card-link:hover {
    text-decoration: underline;
}

@media screen and (max-width: 768px) {

    .space-def {
        width: 100%;
        padding: 0px 10px;
    }

    .row-cols-2 {
        display: flex;
        justify-content: center;
        gap: 10px;
        padding: 0 10px;
    }

    .col {
        width: calc(50% - 5px);
        max-width: calc(50% - 5px);
        display: flex;
        justify-content: center;
    }

    .card {
        width: 100%;
        margin-bottom: 10px;
    }
}

@media screen and (min-width: 769px) {
    .card{
        margin-left: 15px;
        margin-right: 15px;
    }
}