html,
body {
    margin: 0;
    display: flex;
    flex-direction: column;
    background: url('./media/background.jpg');
    background-color: #000;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    background-size:cover;
    color: white;
    font-family: 'Rubik', sans-serif;
}

.content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    padding-top: 2%;
    font-family: "Rubik", sans-serif;
    font-weight: 300;
}

.main-container {
    max-width: 900px;
    text-align: center;
    background: #222;
    padding: 30px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    margin-top: 2rem;
    margin-bottom: 1rem;
}


.card-container {
    max-width: 900px;
    text-align: center;
    background: #222;
    padding: 40px;
    padding-top: 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    margin-top: 1rem;
    margin-bottom: 8rem !important;
}

.navbar {
    box-shadow: 0 4px 6px rgba(255, 0, 0, 0.5);
    padding: 10px 0;
}

.navbar .navbar-brand i {
    margin-right: 10px;
    font-size: 1.5rem;
}

.nav-link {
    color: white;
    margin-right: 15px;
}

.nav-link:hover {
    color: red;
}

header {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    padding-bottom: 2%;
    font-family: "Rubik", sans-serif;
}

.card-img-top {
    height: 200px;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.card {
    transition: transform 0.3s ease-in-out;
    background-color: #111;
    color: white;
    height: 100%;
    display: flex;
    flex-direction: column;
    font-family: "Rubik", sans-serif;
}

.card-body {
    flex: 1;
}

.card:hover {
    transform: scale(1.05);
}

.btn-primary {
    background-color: red;
    border: none;
}

.btn-primary:hover {
    background-color: white;
    color: black;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #1a1a1a;
    color: white;
    padding: 8px;
    z-index: 100000; 
}

.skip-link:focus {
    top: 0;
}

footer {
    background-color: #000;
    color: white;
    padding: 5px 0;
    text-align: center;
    width: 100%;
    max-height: 4%;
    box-shadow: 0 -4px 6px rgba(255, 0, 0, 0.5);
    z-index: 1030;
    position: fixed;
    bottom: 0;
    left: 0;
}

@media (max-width: 992px) {

    .main-container,
    .card-container {
        max-width: 100%;
        padding: 20px;
        margin-top: 4rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .navbar .navbar-brand i {
        font-size: 1.2rem;
    }

    .nav-link {
        margin-right: 10px;
    }

    .card-img-top {
        height: 150px;
    }

    .main-container,
    .card-container {
        padding: 15px;
        margin-top: 4rem;
    }
}

@media (max-width: 576px) {
    .navbar .navbar-brand i {
        font-size: 1rem;
    }

    .nav-link {
        margin-right: 5px;
    }

    .card-img-top {
        height: 100px;
    }

    .main-container,
    .card-container {
        padding: 10px;
        margin-top: 4rem;
    }

    .navbar {
        flex-direction: column;
    }

    .navbar-nav {
        flex-direction: column;
        width: 100%;
    }

    .nav-link {
        text-align: center;
        padding: 10px 0;
    }
}