/* Import the fonts */
@import url('https://fonts.googleapis.com/css2?family=Karla:wght@400&family=Rubik:wght@900&display=swap');


:root {
    --header-font: white;
    --table-header-font: black;
    --cell-font: black;
    --cell-background: #B2B9DC;
    --cell-border: 2px solid white;
    --banner-background: #4857A0;
}


body {
    font-family: 'Karla', Arial, sans-serif; /* Use Karla-Regular as default */
    background-color: #ffffff;
    overflow: hidden; /* Prevent horizontal scroll */
}

.container-row {
    display: flex;
}

.form-section {
    width: 30%; /* Set the width of the sidebar */
    height: 100vh; /* Full height */
    background-color: var(--banner-background);
    box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    padding: 30px;
}


.results-section {
    width: 70%;
    display: flex;
    align-items: center;
}

.results {
    display: flex;
    flex-direction: column; /* Stack items vertically by default */
    align-items: center; /* Optional: Center items horizontally when stacked */
    justify-content: space-between;
    width: 100%;
  }

.result-image {
    max-height: 50vh;
    height: auto;
    width: auto;
    /* display: block; */
    margin-left: auto;
    margin-right: auto;
    margin-top: 2%;
    margin-bottom: 2%;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
}

.results-table-div {
    width: 50%;
    margin-left: 5%;
    margin-right: 5%;
}

.logo {
    display: flex;
    flex-direction: column; /* Stack items vertically by default */
    align-items: center; /* Optional: Center items horizontally when stacked */
    justify-content: space-between;
    width: 70%;
    margin-left: auto;
    margin-right: auto;
}

.logo-login {
    position: absolute;
    right: 10%; /* Align to the left */
    top: 50%; /* Center vertically */
    transform: translateY(-50%);
    width: 50vw;
}

.firebaseui-container {
    position: absolute;
    left: 10%; /* Align to the right */
    top: 50%; /* Center vertically */
    transform: translateY(-50%);
    width: 50vw; /* Scale responsively like .logo-login */
}

.logo-corner {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 15vw;
    z-index: 1000; /* Ensure it is on top of other elements */
}

.header {
    color: var(--header-font);
    font-family: 'Rubik'; /* Use Rubik-Black for titles */
}

.label {
    display: block;
    margin: 10px 0 5px;
    color: white;
    font-weight: 800;
}

.dropdown {
    border-radius: 5px;
    background: white;
    padding: 3px;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
}

.subtitle {
    font-size: 16px;
    color: lightgray;
}

@media (max-height: 633px) and (min-width: 700px) {
    .results {
        display: flex;
        flex-direction: row; /* Arrange items horizontally */
        justify-content: space-around;
      }

    .result-image {
        max-height: 80vh;
        height: auto;
        width: auto;
        margin-left: 5%;
        margin-right: 5%;
    }
}

@media (max-width: 1050px) {
    .firebaseui-container, .logo-login {
        position: static; /* Reset positioning */
        transform: none; /* Remove centering transform */
        width: 100%; /* Full width */
        margin: 0 auto; /* Center horizontally */
    }

    .firebaseui-container {
        margin-bottom: 20px; /* Add spacing between the two elements */
        margin-top: 10%; /* Add spacing between the two elements */
    }
}
