body {
    padding: 0;
    margin: 0;
    background: #F1F2EB;
}
.navbar {
    background:#2b68a1;
    position: relative; 
    z-index: 3;
}
.navbar-brand {
    color: #fff;
    cursor: pointer; 
    margin-left: 20px;
    font-size: 1.8em; 
    display: block;
    white-space: normal;
    word-wrap: break-word;
}
.navbar-brand small {
    font-size: 0.8em; 
    color: #fff;
    display: block;
    white-space: normal;
    word-wrap: break-word;
}
.navbar-text {
    color: #fff;
    font-size: 1.2em;
    display: block;
    white-space: normal;
    word-wrap: break-word;
}
.nav-link {
    color: #fff;
    margin-right: 1em !important;
    font-size: 1.2em;
    display: normal;
    white-space: nowrap;
}
.nav-link:hover {
    color: #1f271b;
}
.navbar-collapse {
    justify-content: flex-end;
}
.navbar-toggler {
    margin-right: 20px;
}
.header {
    background-size: cover;
    background-position: center;
    position: relative;
}
.header-image {
    background-image: url("images/wejscie.jpeg");
}
.header-colour {
    background-color: #F1F2EB;
    min-height: 100%;
    min-width: 100%;
}
.overlay {
    position: absolute;
    min-height: 100%;
    min-width: 100%;
    left: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}
.custom-text {
    font-size: 2rem;
    text-align: center;
}
.custom-text ul {
    color: black;
    text-align: left;
    font-size: 1.7rem;
    line-height: 1.5;
    text-align: left;
    margin: 100px;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}
.custom-text n {
    color: #2b68a1;
    font-size: 1.7rem;
    margin-top: 100px;
    line-height: 1.5;
    text-align: center;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
    margin-bottom: 100px;
}
.custom-text r {
    color: black;
    font-size: 1.7rem;
    margin-top: 100px;
    line-height: 1.5;
    text-align: left;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
    margin-bottom: 100px;
    /* padding: 0 100px; */
}
.description {
	left: 50%;
	position: absolute;
	top: 30%;
	transform: translate(-50%, -55%);
    -ms-transform: translate(-50%,-50%);
	text-align: center;
    width: 80%;
    margin-bottom: 10px;
    z-index: 2;
}

.description h1 {
	color: #2b68a1;
}

.description p {
    margin-bottom: 10px;
	color: #fff;
	font-size: 2rem;
	line-height: 1.5;
    /* padding-top: 100px; */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}
.description r {
    color: black;
    font-size: 2rem;
    padding-top: 200px;
    line-height: 1.5;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
    margin-bottom: 10px;
}
.description ul {
    color: black;
    font-size: 1.7rem;
    line-height: 1.5;
    text-align: left;
    margin-top: 70px;
    margin-bottom: 70px;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}
.description n {
    color: #2b68a1;
    font-size: 1.7rem;
    line-height: 1.5;
    text-align: center;
    margin-top: 50px;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.btn {
    background: #2b68a1;
    color: #fff;
    border: 4px solid #2b68a1;
    padding: 10px 20px;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
    font-size: 1.5em;
}
.btn big {
    font-size: 2em;
}
.contact-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
.icon-box {
    font-size: 2rem;
    color: #007bff;
}
.text-left {
    margin-left: 65px;
}
.table {
    font-size: 1.5em;
    margin-top: 10px;

}
.dropdown-menu {
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words if necessary */
    width: 200px; /* Set the width of the dropdown menu */
}
.dropdown-menu .nav-link {
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words if necessary */
}
.table-striped tr {
    height: 100px; /* Adjust this value as needed */
}

.table-striped td, .table-striped th {
    vertical-align: middle; /* Center the text vertically */
}
.gallery img {
    cursor: pointer;
    transition: transform 0.3s ease;
}
.gallery img:hover {
    transform: scale(1.05);
}

.modal-dialog {
    max-width: 75vw; /* Max width relative to viewport */
}
.modal-body {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.modal-body img {
    max-width: 100%; /* Ensure it scales properly */
    max-height: 80vh; /* Prevents it from overflowing the screen */
    width: auto;
    height: auto;
    display: block;
    margin: auto;
}

/* Navigation Buttons */
.modal-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 20px;
    cursor: pointer;
    font-size: 24px;
    border-radius: 50%;
    z-index: 10;
    /* width: 50px; */
    /* height: 50px; */
}
.modal-btn-left {
    left: 10px;
}
.modal-btn-right {
    right: 10px;
}

@media (max-width: 768px) {
    .navbar {
        font-size: 14px; /* Smaller font for mobile */
        background:#2b68a1;
    }
    
    .header {
        height: 200px; /* Adjust for smaller screens */
        background-size: cover;
        background-position: center;
        position: relative;
        }

    .custom-text {
        font-size: 1.3rem;
        text-align: center;
    }
    .custom-text ul {
        color: black;
        text-align: left;
        font-size: 1.1rem;
        line-height: 1.5;
        text-align: left;
        margin: 0 auto;
        margin-top: 50px;
        margin-bottom: 80px;
        white-space: normal; /* Allow text to wrap */
        word-wrap: break-word; /* Break long words */
    }
    .custom-text n {
        color: #2b68a1;
        font-size: 1.3rem;
        margin-top: 100px;
        line-height: 1.5;
        text-align: center;
        white-space: normal; /* Allow text to wrap */
        word-wrap: break-word; /* Break long words */
        margin-bottom: 100px;
    }
    .description {
        left: 50%;
        position: absolute;
        top: 50%;
        /* padding-top: 200px; */
        transform: translate(-50%, -55%);
        text-align: center;
        width: 80%;
    }
    .description h1 {
        color: #2b68a1;
    }
    
    .description p {
        color: #fff;
        font-size: 1.3rem;
        line-height: 1.5;
        padding-top: 50px;
        white-space: normal; /* Allow text to wrap */
        word-wrap: break-word; /* Break long words */
    }
    .description r {
        color: black;
        font-size: 1.3rem;
        line-height: 1.5;
        padding-top: 300px;
        white-space: normal; /* Allow text to wrap */
        word-wrap: break-word; /* Break long words */
    }
    .description ul {
        color: black;
        font-size: 1.1rem;
        line-height: 1.5;
        text-align: left;
        white-space: normal; /* Allow text to wrap */
        word-wrap: break-word; /* Break long words */
    }
    .description n {
        color: #2b68a1;
        font-size: 1.1rem;
        line-height: 1.5;
        text-align: center;
        white-space: normal; /* Allow text to wrap */
        word-wrap: break-word; /* Break long words */
    }
    .btn {
        background: #2b68a1;
        color: #fff;
        border: 4px solid #2b68a1;
        padding: 10px 20px;
        text-decoration: none;
        display: inline-block;
        margin-top: 10px;
        font-size: 1.2em;
    }
    .btn big {
        font-size: 1.5em;
    }
    .table {
        font-size: 1em;
    }
}