/*
Login Page styles start
*/
* {
    box-sizing: border-box;
}
body {
    background-color: white;
}
.login {
    background-color: #ffffff;
    box-shadow: 0 0 9px 0 rgba(43, 62, 110, 0.8);
    margin: 100px auto;
}
.login h1 {
    text-align: center;
    color: #5b6574;
    font-size: 24px;
    padding: 20px 0 20px 0;
    border-bottom: 1px solid #dee0e4;
}
.login form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 20px;
}
.login form label[type="login-type"] {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: var(--main-bg-color);
    color: #ffffff;
}
.login form input[type="password"], .login form input[type="text"] {
    width: 310px;
    height: 50px;
    border: 1px solid #dee0e4;
    margin-bottom: 20px;
    padding: 0 15px;
}
.login form button[type="submit"] {
    width: 100%;
    padding: 15px;
    margin-top: 20px;
    background-color: var(--main-bg-color);
    border: 0;
    cursor: pointer;
    font-weight: bold;
    color: #ffffff;
    transition: background-color 0.2s;
}
.login form button[type="submit"]:hover {
  background-color: #2868c7;
  transition: background-color 0.2s;
}

#error-message {
    width: 100%;
    display: inline-block;
    font-weight: bold;
    font-size: 24px;
    color: #cf1d1d;
    margin: 20px;
    text-align: center;
}

/*
Login Page style ends
*/

label {
    display: flex;
    justify-content: start;
    align-items: center;
    width: auto;
    height: 50px;
    color: var(--main-bg-color);
}

input[type="text"], input[type="password"], input[type="email"] {
    width: 100%;
    height: 50px;
    border: 2px solid #888b8f;
    margin-bottom: 20px;
    padding: 0 15px;
}

input[type="checkbox"] {
    width: 100%;
    height: 40px;
    border: 2px solid #888b8f;
    padding: 0 15px;
}

button {
    width: 120px;
    height: 60px;
    padding: 15px;
    margin-top: 20px;
    background-color: var(--main-bg-color);
    border: 0;
    cursor: pointer;
    font-weight: bold;
    color: #ffffff;
    transition: background-color 0.2s;
}


/*
Nav Bar style starts
*/
:root {
    --main-bg-color: #004d80;
    --nav-link-bar-color: #00ff00b0;
}
.navbar,
.offcanvas-header {
    background-image: linear-gradient(to bottom, rgba(0, 77, 128, 0.25), rgba(0, 77, 128, 1));
    /* background-color: var(--main-bg-color); */
}

.navbar-brand {
    margin-left: 20px;
}


.navbar-toggler {
    border: none;
    font-size: 1.25rem;
    background-color: white;
}

.btn-close {
    border: none;
    font-size: 1.25rem;
    background-color: white;
}

.navbar-toggler:focus,
.btn-close:focus {
    box-shadow: none;
    outline: none;
    background-color: white;
}

.nav-link {
    color: #cac8c7;
    font-weight: 500;
    position: relative;
}


.nav-link::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #00ff00b0;
    visibility: hidden;
    transition: 0.3s ease-in-out;

}

.nav-link.hover::before,
.nav-link.active::before {
    width: 100%;
    visibility: visible;
    color: #ffffff;
}

@media (min-width: 992px) {
    .navbar-nav {
        --bs-nav-link-hover-color: white;
        --bs-navbar-active-color: white;
    }
}
/*
Nav Bar Styles ends
*/

/*
Font styles start
*/

h6,
p,
body {
    font-family: Verdana, sans-serif;
    font-size: 1em;
    line-height: 1.50rem;
}

h1 {
    font-family: Georgia, serif;
    font-size: 3em;
    text-align: center;
    color: var(--main-bg-color);
}

h2 {
    font-family: Georgia, serif;
    font-size: 2.5em;
    text-align: center;
    color: var(--main-bg-color);
}

h3 {
    font-family: Georgia, serif;
    font-size: 2.25em;
    color: var(--main-bg-color);
}

h4 {
    font-family: Georgia, serif;
    font-size: 2em;
    color: var(--main-bg-color);
}

h5 {
    font-family: Verdana, sans-serif;
    font-size: 1.25em;
    text-align: left;
    color: var(--main-bg-color);
}

a {
    font-family: Georgia, serif;
    font-size: 1em;
    line-height: 1.50rem;
    color: var(--main-bg-color);
}

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

/*
Create Blog styling
*/
.create-blog form input {
    width: 100%;
    padding: 12px 20px;
    margin: 2px 0;
    box-sizing: border-box;
}

.create-blog form #content {
    width: 100%;
    height: 500px;
    padding: 1rem;
    border: 1px solid #333;
    border-radius: 5px;
    background-color: white;
    overflow: scroll;
}

.center {
    text-align: center;

}

