body {
    background-color: #f8f9fa;
    font-family: "Rubik", sans-serif;
}

.alert {
    position: fixed;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1100; 
}

nav.navbar {
    width: 100%;
    height: 73px;
    background-color: black;
    display: flex;
    align-items: center;
    padding: 10px 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed; 
    top: 0; 
    left: 0; 
    z-index: 1000; 
}

.navbar .nav-icon {
    width: 200px;
    height: 60%;
    border-radius: 10%;
}

.navbar-nav {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    margin-left: 5px;
}

.navbar-nav .nav-item {
    margin: 0 6px;
}

.navbar-nav .nav-link {
    color: rgb(10, 168, 147);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s, background-color 0.3s;
}

.navbar-nav .nav-link:hover {
    color: rgb(218, 198, 198);
}


.container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.error-container {
    text-align: center;
    padding: 40px;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.error-code {
    font-size: 120px;
    color: #dc3545;
    margin-bottom: 10px;
}

.error-message {
    font-size: 24px;
    color: #343a40;
    margin-bottom: 30px;
}

.home-link {
    text-decoration: none;
    color: #fff;
    background-color: #007bff;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.home-link:hover {
    background-color: #0056b3;
}

@media (max-width: 768px) {
    nav.navbar {
        height: auto;
        padding: 10px;
    }

    .navbar .nav-icon {
        width: 150px;
        height: auto;
    }

    .navbar-nav {
        flex-direction: column;
        align-items: center;
    }

    .navbar-nav .nav-item {
        margin: 5px 0;
    }

    .mainBody {
        width: 90%;
        height: auto;
        margin-top: 15%;
        padding: 10px;
    }

    .customBtn {
        margin: 10px 0;
    }

    h1 {
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .mainBody {
        margin-top: 20%;
    }

    .customBtn {
        width: 80%;
    }

    h1 {
        font-size: 25px;
    }
    .alert{
        font-size: x-small;
        height: 40px;
        padding-top: 10px;
        width: 90%;
        margin-top: 60px;
        
    }
}
