h1 {
    color: white;
}

   /* CSS for fixed header */
   header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgb(0, 0, 60);
    color: #fff;
    z-index: 1000; /* Ensures the header stays on top */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.header-left {
    display: flex;
    align-items: center;
    flex-grow: 1;
    
}

.header-left img {
   border-radius: 40px;
}

.header-right {
    display: flex;
    align-items: center;
}

.header-right img {
    margin-left: 10px;
}

/* CSS for banner */
.banner {
    margin-top: 60px; /* Adjust based on header height */
    text-align: center;
    padding: 50px 20px;
    background: url('https://via.placeholder.com/1200x400') no-repeat center center;
    background-size: cover;
    color: black;
}

.main-container {
    background-color: rgb(0, 0, 60);
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 15px;
}

.vacancy {
    border: 1px solid rgb(0, 0, 60);
    background-color: white;
    color: rgb(0, 0, 60);
    padding: 15px;
    margin: 10px;
    border-radius: 5px;
    text-align: center;
    flex: 1 1 calc(50% - 20px);
    box-sizing: border-box;
}

.vacancy h3,
.vacancy p {
    color: rgb(0, 0, 60);
}

.vacancy button {
    background-color: rgb(0, 0, 60);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.vacancy button:hover {
    background-color: white;
    color: rgb(0, 0, 60);
    border: 1px solid rgb(0, 0, 60);
}

.vacancy-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 15px;
}

footer {
    background-color: rgb(0, 0, 60);
    color: #fff;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left, .footer-center, .footer-right {
    display: flex;
    align-items: center;
}

.footer-left i, .footer-center i, .footer-right i {
    margin-right: 10px;
}

@media (max-width: 768px) {
    .vacancy {
        flex: 1 1 100%;
    }
     
    .main-container {
        width: 90%;
    }

    footer {
        flex-direction: column;
        align-items: center;
    }

    .footer-left, .footer-center, .footer-right {
        margin-bottom: 10px;
    }
}
