@font-face {
    font-family: Samurai;
    src: url("../resources/CFSamuraiBob.ttf");
}

body, html {
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 100%;
    margin: 0;
    padding: 0;
    height: 100%;
    background-color: black;
    overflow: auto;
    transition: padding-top 0.3s ease;
}

.homenav {
    color: whitesmoke;
    font-weight: bold;
}

.navbar {
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.navbar .collapse {
    background-color: transparent;
}

.card-custom {
    border: 2px solid #c50000;
    display: flex;
    flex-direction: column;
    background-color: #c50000;
}

.card-custom .card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    color: whitesmoke;
}

.card-custom .card-text {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-custom .btn {
    margin-top: auto;
}

.card img{
    width: 100%;
    height: auto;
    max-width: 250px;
    display: block;
    margin: 0 auto;
}

.divider-line {
    width: 2px;
    background-color: #c50000;
    height: 100%;
}

.intro-text {
    text-align: center;
}

.intro-text h1 {
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: whitesmoke;
}

.intro-text p {
    font-size: 1.2rem;
    color: whitesmoke;
}

.row {
    align-items: stretch;
}

.mb-4 {
    margin-bottom: 1rem;
}

.col-lg-5 {
    height: auto; 
}

.header-container {
    background-color: #c50000;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    margin-bottom: 20px;
    color: white;
    border-radius: 4px;
}

.header-container h3 {
    margin: 0;
    font-size: 1.5rem;
}

.cardtekst {
    font-family: Samurai;
    font-size: 50px;
    margin-bottom: -15px;
    margin-top: -20px;
    text-align: center;
}

.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #212529;
    color: white;
    border-radius: 5px;
    text-decoration: none !important;
    font-weight: bold;
    border: 2px solid #212529 !important;
}

.button:hover {
    background-color: white !important;
    color: #212529 !important;
    border: 2px solid #212529 !important;
}

.button:active {
    background-color: white !important;
    color: #212529 !important;
    border: 2px solid #212529 !important;
}

.vacaturerol {
    font-weight: bold;
}


.navbar-toggler-icon {
    background-image: none;
    color: white;
}

.navbar-toggler-icon::before {
    content: "\2630";
    color: white;
    font-size: 1.5rem;
}

/* Vacatureprofiel */
.vacature-container {
    background-color: white;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    margin-bottom: 30px;
    max-width: 1200px;
    overflow: hidden;
    color: black;
} 

.vacature-image {
    width: 100%;
    margin: 0;
}

.vacature-image img {
    width: 100%;
    height: 250px !important;
    object-fit: cover;
}

.vacature-details {
    padding: 20px;
}

.vacature-details h1 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.vacature-details p {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.back-button a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #c50000;
    color: white;
    border-radius: 5px;
    text-decoration: none !important;
    font-weight: bold;
    border: #212529;
}

.back-button a:hover {
    background-color: whitesmoke;
    color: black;
}


/* Alert */
.alert-container {
    margin-bottom: 20px;
}

/* Styling for success and error alerts */
.alert {
    position: relative;
    padding: 15px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}




/* Ensure no wrapping below 396px */
@media (max-width: 396px) {
    .navbar {
        padding: 0.5rem 1rem;
    }

    .navbar-brand img {
        max-width: 180px;
    }
}

@media (max-width: 1000px) {
    .col-lg-5, .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

