﻿
/*Index_StyleSheet.css*/

@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

*, :after, :before {
    box-sizing: border-box;
    /*stops moving the form right-left on iPhone*/
    font-family: sans-serif;
}

* {
    box-sizing: border-box;
    /*stops moving the form right-left on iPhone*/
    font-family: sans-serif;
    margin: 0;
    padding: 0;
}



@media (prefers-reduced-motion:no-preference) {
    :root {
        scroll-behavior: smooth
    }
}

body {
    font-family: 'Poppins', sans-serif;

}

#id_securityCodeModal {
    display: none;
}


.toast-middle {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Custom CSS to change the background color of the toast body */
.toast-body {
    background-color: rgba(248, 215, 218, 1.0); /* Background color with opacity */
    color: #721c24; /* Change this color to match the text color */
}

.navbar {
    font-size: 1.3rem;
    font-weight: 600;
    top: 0;
    left: 0;
    /*max-width: 100%;*/ /* Optional: prevents overflowing beyond parent if needed */
    max-width: 1200px;
    margin: 0 auto;
}


.navbar-light .navbar-nav .nav-link {
    margin: 0 20px;
    color: black;
    transition: 0.3s ease;
}

    .navbar-light .navbar-nav .nav-link:hover,
    .navbar i:hover,
    .navbar-light .navbar-nav .nav-link.active,
    .navbar i.active {
        color: coral;
    }

.navbar i {
    font-size: 1.5rem;
    padding: 10px 15px 0 15px;
    cursor: pointer;
    font-weight: 500;
    transition: 0.3s ease;

}

/*#navbarSupportedContent {
    max-width: 500px;
}*/

#bar {
    font-size: 1.5rem;
    padding: 7px;
    /*cursor: pointer;*/
    font-weight: 500;
    transition: 0.3s ease;
    color: black;
}

    #bar:hover,
    #bar.active {
        color: black;
    }

/* Mobile Nav */
.navbar-light .navbar-toggler {
    border: none;
    outline: none;
}


body > div > div > nav > div > button:hover,
body > div > div > nav > div > button:focus {
    background-color: coral;
}



/*#bar:hover,
#bar:focus {
    background-color: coral;
}*/

.modal-custom-form {
    max-width: 720px;
    margin: 0 auto;
}

#navbarSupportedContent > ul {
    margin: 1rem;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: right;
}

    #navbarSupportedContent > ul > li > a {
        padding: 10px 0;
        margin-right: 0px;
    }




.mainPage {
    background-image: url("../Images/red-sports-car.jpeg");
    /*background-image: url("../Images/green_sports_car_smartphone_portrait.jpg");*/
    /*max-width: 100%;*/
    max-width: 1200px;
    height: 100vh;
    background-size: cover;
    background-position: top 60px center;
    /*positions the background image 60px from top and center*/
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.headerSetting {
    justify-content: space-between;
    align-items: flex-start;
}

.middleBox {

    font-family: Georgia, "Times New Roman", Times, serif;
}

/*.mainPage,
.navbarDiv nav {
        display: inline-block;  Ensures the container width matches its content 
    width: auto;  Automatically adjusts to content width 
    max-width: 1000px;  Adjust as needed 
    min-width: unset;  Optional: unset any minimum width
    max-width: 100%; Optional: prevents overflowing beyond parent if needed
    margin: auto; Optional: centers the container horizontally
}*/

/* Add this CSS to make the form transparent */
.login-transparent {
    background-color: transparent;
    border: none;
    padding: 0;
}

#btnSignIn {
    text-align: center;
    font-size: 24px;
    font-weight: 900;
    background-color: rgb(191,1,1);
    color: black;
    border: solid yellow;
    border-radius: 30px;
    padding: 10px;
    margin: 5px;
}

#showSelectedDatabase {
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    background-color: rgb(191,1,1);
    color: black;
    /*border: solid yellow;*/
    border-radius: 30px;
    margin: 5px;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 5px;
}
