﻿:root {
    --main-color: #023047;
    --secondary-color: #CC9D00; /* Green */
    --secondary-accent-color: #DEFFEF;
    --accent-color: #EBEBFF; /* Red */
    --background-color: #F3F3FF; /* Light Gray */
    --accent-background-color: #FDFDFF; /* Light Gray */
    --text-color: #2c3e50; /* Dark Gray */
    --text-grayishcolor: #2E2E31;
}

* {
    box-sizing: border-box;
}

html {
    padding: 0;
    margin: 0;
    height: 100%;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: #fff;
    font-size: 15px;
    position: relative;
    min-height: 100vh;
}

.slideshow {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: slideShow 50s infinite;
}

    .slide:nth-child(1) {
        background-image: url('/Content/images/background1.jpg');
        animation-delay: 0s;
    }

    .slide:nth-child(2) {
        background-image: url('/Content/images/background2.jpg');
        animation-delay: 10s;
    }

    .slide:nth-child(3) {
        background-image: url('/Content/images/background3.jpg');
        animation-delay: 20s;
    }

    .slide:nth-child(4) {
        background-image: url('/Content/images/background4.jpg');
        animation-delay: 30s;
    }

    .slide:nth-child(5) {
        background-image: url('/Content/images/background5.jpg');
        animation-delay: 40s;
    }

@keyframes slideShow {
    0% {
        opacity: 0;
    }

    8% {
        opacity: 0.2;
    }

    25% {
        opacity: 0.3;
    }

    33% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}


a {
    text-decoration: none;
}

button {
    cursor: pointer;
}

/*Navbar Styling*/
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 50px;
    background-color: transparent;
    height: 70px;
}

.navlogo {
    width: 120px;
    padding: 0 0px;
}

.navright a, .loginbutton {
    background-color: var(--main-color);
    color: #fff;
    padding: 10px 20px;
    border-radius: 3px;
    border: none;
}

    .navright a:hover, .loginbutton:hover {
        background-color: var(--secondary-color);
    }
/*Main Area Styling*/
.content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.centercontet {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #ccc;
    padding: 50px 0;
    border-radius: 7px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    width: 35%;
    background-color: #fff;
    min-height: 60vh;
}

.loginarea {
    width: 80%;
}

.top-side {
    display: flex;
    border-bottom: 1px solid #ccc;
}

.topsidemage {
    width: 80%;
    margin: 0px auto;
    padding: 10px 0 20px 0;
}

.loginbox-header h1 {
    margin: 10px auto;
    text-align: center;
    font-size: 1.5rem;
    color: var(--main-color);
}

/*Form Styling*/
.loginform {
    margin: 20px 0;
}

.inputerror {
    color: red;
    display: none;
    font-size: 0.9rem;
}
/*Footer Styling*/
footer {
    color: var(--main-color);
    text-align: center;
    padding: 5px 0;
    background-color: transparent;
    opacity: 1;
}

.form-group {
    display: flex;
    flex-direction: column;
    color: var(--text-grayishcolor);
    margin: 10px 0;
}

.form-input {
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 7px 15px;
    font-size: 1rem;
}

.form-input:focus {
    outline: none;
    border: 1px solid #898686;
}

.form-group p{
    margin:0;
    padding: 0;
}

.captcharea {
    display: flex;
    align-content: center;
    margin: 10px auto;
    gap: 20px;
    background-color: #E1E1E1;
    width: 100%;
    justify-content: center;
    padding: 10px;
}

    .captcharea img {
        border: 1px solid #ccc;
        width: 50%;
    }

    .captcharea button {
        padding: 7px 15px;
        border: none;
        background-color: var(--main-color);
        border-radius: 3px;
        color: #fff;
        margin: auto;
    }

        .captcharea button:hover {
            background-color: var(--secondary-color);
        }

.loginbutton {
    width: 70%;
    margin: 10px auto;
}

footer p {
    font-size: 0.9rem;
    margin: 5px;
    padding: 0;
}

.alert {
    border-radius: 4px;
    padding: 8px;
    text-align: center;
    margin: 10px auto;
}

.alert-success {
    background-color: #d0ffd7;
    color: #093500;
    border: 1px solid #093500;
}

.alert-error {
    background-color: #fec4c4;
    color: #790101;
    border: 1px solid #790101;
}


@media (max-width: 768px) {
    .navbar {
        padding: 10px 20px;
        border-bottom: 1px solid #ccc;
    }

    .navlogo {
        width: 200px;
    }

    .navright {
        font-size: 0.8rem;
    }

    .centercontet {
        width: 90%;
        border-radius: 3px;
    }

    .topsidemage {
        width: 200px;
    }
}
