/* 
    Common CSS styles for all the files begins
*/
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400&display=swap');
body {
    background-color: #fff;
    /* CSS Todo 1: Roboto is a web delivered Google Font. 
    
                   Find and CSS @import it at the top of this file */
                   
    font-family: 'Roboto';
}


/* 
    Common CSS styles for all the files ends
*/



/* 
    CSS styles for Login and Signup pages begins
*/
#container{
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    grid-template-rows: 150px auto 100px;
    grid-gap: 5px;

    /* vh: viewport height */
    min-height: 100vh;
    
    /* vw: viewport width */
    width: 100vw;
}

#header-auth{
    background-color: #004F2E;
    font-size: 30px; 
    color: white;
    width: 100%;
    height: 100%;
    grid-column-start: 1;
    grid-column-end: 4;
    grid-row-start: 1;
    grid-row-end: 2;
    align-items: center;
    justify-content: center;
}

header h1
{
    /* CSS Todo 2: Make the header text larger than a normal h1 */
    header h1 {
        font-size: 150px; 
        text-align: center;
    }
    
    /* CSS Todo 3: Align the header text to the center both horizontally and vertically.
                   Modify its parent's CSS too if necessary. */
     display: flex;
     justify-content: center;
     align-items: center;
     
    
}

#main-left{
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 2;
    grid-row-end: 3;
}

#main-center{
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 2;
    grid-row-end: 3;
}

#main-right{
    grid-column-start: 3;
    grid-column-end: 4;
    grid-row-start: 2;
    grid-row-end: 3;
}
 
#footer-auth{
    background-color: black;;
    color: white;
    width: 100%;
    text-align: center;

    grid-column-start: 1;
    grid-column-end: 4;
    grid-row-start: 3;
    grid-row-end: 4;
}

.auth-form {
    margin-top: 60px;
    border: 4px solid #fefffe;
    border-radius: 20px;
    padding: 0px 20px 40px 20px;
    width: 100%;
    background-color: #b8b8b8;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    
}

input {
 
    float: right;
    
    
    
} 

input {
    margin-bottom: 10px;
    
    
    
}

.input-field {
    margin-bottom: 15px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
    
}

.center-btn {
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-btn {
    background-color: #f0f0f0; 
    color: #000000; 
    padding: 10px 20px; 
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px; 
}
.signup-link {
    background-color: #4CAF50; 
    color: #fff; 
    padding: 10px 20px; 
    border: none;
    border-radius: 5px;
    text-decoration: none; /* Remove underline from the link */
    transition: background-color 0.3s ease;
}

.signup-link:hover {
    background-color: #ff0000; 
    /* Darker green on hover; you can adjust this color */
}

    


    /* CSS Todo 7: Make sure the labels and input boxes have adequate space between them
                   and also have uniform distances from the boundary borders.*/
.footer-text {
    margin-top: 35px;
    font-size: 20px;
    
 }



/* CSS Todo 8: Make sure the <p> tags with class '.input-field' have adequate amount of spacing between them.*/

.footer-text{
    margin-top: 35px;
    font-size: 20px;
}

/* 
    CSS styles for Login and Signup pages ends
*/


/* 
    CSS styles for loginHistory.html begins
*/
#container-login-history{
    display: grid;
    grid-template-columns: 1fr 3fr 3fr 1fr;
    grid-template-rows: 150px auto 100px;
    grid-gap: 5px;
    width: 100%;
}

#header-login-history{
    background-color: #004F2E;
    color: white;
    text-align: center;
    width: 100%;
    height: 100%;
    grid-column-start: 1;
    grid-column-end: 5;
    grid-row-start: 1;
    grid-row-end: 2;
    display: grid;
    margin-right: 60px;
    
}

#main-left-login-history{
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 2;
    grid-row-end: 3;
}

#user-info{
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 2;
    grid-row-end: 3;
    justify-self: center;
}

#login-sessions{
    grid-column-start: 3;
    grid-column-end: 4;
    grid-row-start: 2;
    grid-row-end: 3;
    justify-self: center;
}

#main-right-login-history{
    grid-column-start: 4;
    grid-column-end: 5;
    grid-row-start: 2;
    grid-row-end: 3;
}
 
#footer-login-history{
    background-color: black;
    color: white;
    width: 100%;
    text-align: center;
    grid-column-start: 1;
    grid-column-end: 5;
    grid-row-start: 3;
    grid-row-end: 4;
}

.logout {
    font-size: 15px;
    color: white;
    border: 2px solid white;
    border-radius: 5px;
    text-decoration: none;
    padding: 7px;
    position: absolute;
    top: 20px;
    right: 20px;
}

#header-login-history h1{
    font-size: 300%;
    align-self: center;
    justify-self: center;
    width: 100%
}

.update-info {
    background-color: #ffffff;
    color: black;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 15px;
    display: inline-block;
    box-shadow: 2px 2px 5px black;
    /* CSS Todo 9: Add necessary styles for the edit page link to make it look like a button (see the reference photo) */
}

img{
    width: 100%;
    border: 1px solid #dedede;
    border-radius: 10px;
}

h2 {
    color: #004F2E;;
    font-size: 30px;
    margin-bottom: 20px;
}

section {
    color: #34495E;
    padding-right: 30px;
}

img{
    width: 100%;
    border: 1px solid #dedede;
    border-radius: 10px;
}

aside{
    padding-left: 30px;
    width: 100%;
}

#user-data{
    padding: 0px 0px 30px 20px;
    margin: 20px 0px;
    border: 1px solid #dedede;
    border-radius: 10px;
}

/* CSS Todo 10: Make sure the user name, date of birth and edit page link have adequate spacing between them and also 
from the boundary borders. */

.session {
    margin: 10px 0px;
    border: 1px solid #dedede;
    border-radius: 10px;
    width: 100%;
    color: #34495E;
    margin-left: 20px;
    padding-left: 10px;
}

/* 
    CSS styles for loginHistory.html ends
*/
