@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Arsenal+SC:ital,wght@0,400;0,700;1,400;1,700&display=swap');

*{
    margin: 0;
    padding: 0;
    font-family: "Quicksand", sans-serif;
    opacity: 1;
}

body {
    background-color: azure;
    background-image: url('https://blog.lookback.com/hubfs/art_of_notetakingV02.png');
    background-size: cover; /* Ensures the image covers the entire background */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    background-attachment: fixed;
    height: 100%;
    width: 100%;
}

.auth-main{
    display: block;
    position: absolute;
    width: 60%;
    height: 90%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: .95;
    background-color: azure;
}

.auth-main-header{
    width: 100%;
    height: 50px;
    display: inline-block;
}

#logo{
    padding: 10px;
    height: 40px;
    width: 40px;
    float: left;
}

#subnote-title{
    padding: 10px 0px;
    font-family: "Arsenal SC", sans-serif;
    font-size: 30px;
    justify-content: center;
    float: left;
}

.auth-main h2{
    margin-top: 30px;
    text-align: center;
    font-size: 40px;
}

h3, #instrction{
    margin-top: 10px;text-align: center;
    font-size: 30px;
    color: rgb(67, 67, 67);
    margin-bottom: 20px;
}

h3{
    text-align: center;
}

#instruction{
    text-align: left;
    width: 90%;
    margin: 3% 5%;
}


#email-input, #password-input, #input, #name, #username, #email-username-input{
    margin: 20px 0px;
    width: 85%;
    position: relative;
    text-align: left;
    font-size: 30px;
    left: 50%;
    border: 0px;
    padding: 10px 20px;
    transform: translate(-50%, 0);
    background-color: lightgray;
}

.auth-main #login-text{
    position: relative;
    width: 90%;
    margin: 10px 0px;
    left: 50%;
    transform: translate(-50%, 0);
    top: 0%;
    font-size: 30px;
}

#link{
    text-decoration: none;
    color: rgb(255, 111, 8);
}

#create-account-continue, #create-profile-continue, #verify-otp-continue, #login-continue, #back{
    float: right;
    padding: 20px 20px;
    font-size: 30px;
    border: 0px;
    background-color: black;
    color: white;
    margin: 30px 5%;
}

/* Dropdown container */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown button */
.dropbtn {
    background-color: #4CAF50;
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

.gender{
    
    margin: 20px 0px;
    width: 90%;
    position: relative;
    text-align: left;
    font-size: 30px;
    left: 50%;
    border: 0px;
    transform: translate(-50%, 0);
}

#gender{
    appearance: none; /* Remove the default arrow */
    -webkit-appearance: none; /* For Safari */
    -moz-appearance: none; /* For Firefox */
    width: 69%;
    padding: 10px 20px;
    position: relative;
    text-align: left;
    font-size: 30px;
    border: 0px;
    background-color: lightgrey;
}

.main-header{
    display: inline-block;
    position: absolute;
    width: 70%;
    height: 70px;
    top: 10%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: .95;
    background-color: azure;
}

.search-container {
    display: inline-block;
    position: absolute;
    top: -5px;
    left: 48%;
    width: 400px;
    margin: 20px auto;
}

.search-input {
    float: left;
    width: 310px;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 20px;
    border: 0px;
    background-color: #d6d6d6;
}

.search-button {
    float: right;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    background-color: rgb(255, 111, 8);
    border: none;
    cursor: pointer;
}

.search-icon {
    width: 20px;
    height: 20px;
    margin: 10px;
}

.user{
    position: relative;
    top: 5px;
    left: 93%;
    margin: 10px;
    height: 40px;
    width: 40px;
    margin: 10px;
    background-color: black;
    border-radius: 20px;
}

.user-icon{
    position: relative;
    width: 40px;
    height: 40px;
    top: -125%;
}

.main-body{
    display: inline-flex;
    position: absolute;
    width: 70%;
    height: 81%;
    top: 17.5%;
    left: 50%;
    transform: translate(-50%, 0%);
    opacity: .95;
}

/*
.categories{
    flex: 3;
    height: 100%;
}

#add-category{
    display: inline-block;
    position: relative;
    background-color: rgb(255, 111, 8);
    width: 100%;
    height: 50px;
    border-radius: 4px;
    margin-bottom: 10px;
}

#add-category-image{
    float: left;
    width: 35px;
    height: 35px;
    padding: 8px 5px;
}

#add-category-title{
    margin-top: 12px;
    font-size: 20px;
    color: white;
}

.my-categories{
    position: relative;
    background-color: azure;
    width: 100%;
    height: 88.5%;
    overflow-y: scroll;
}
*/

#all-notes{
    display: inline-flex;
    position: relative;
    height: 50px;
    width: 100%;
}

.notes{ 
    display: inline-block;
    flex: 11;
    height: 100%;
    background-color: azure;
    overflow-y: scroll;
}

#add-note{
    border: none;
    position: absolute;
    bottom: 30px;
    right: 50px;
    width: 80px;
    height: 80px;
    border-radius: 20px;
    z-index: 1000;
    background-color: rgb(255, 111, 8);
}

#add-note-image{
    align-content: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.no-notes{
    display: block;
    position: relative;
    width: 350px;
    height: 350px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#no-note-icon{
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 100%;
    background-color: red;
    top: 35%;
    left: 50%; 
    transform: translate(-50%, -50%);
}

#no-note-text{
    position: absolute;
    width: 200px;
    height: 200px;
    color: #000;
    border-radius: 100%;
    top: 95%;
    left: 50%; 
    transform: translate(-50%, -50%);
}

.note-form{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%);
    background-Color: #fff;
    width: 600px;
    padding: 20px;
    box-Shadow: 0 0 10px rgba(53, 53, 53, 0.1);
    z-index: 1000;
}

#title-input{
    display: block;
    border: none;
    font-size: 20px;
    width: 96.5%;
    padding: 10px;
    font-weight: 600;
    margin-bottom: 20px;
}

/*
#categories-select{
    display: block;
    width: 100%;
    margin-bottom: 20px;
    padding: 5px;
    font-size: 20px;
    font-weight: 600;
}
*/

#save-button, #cancel-button{
    background-color: black;
    color: aliceblue;
    font-size: 20px;
    width: 100px;
    border: none;
    height: 50px;
    float: right;
}

.note {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    width: 270px; /* Adjust width as needed */
    height: 250px; /* Adjust height as needed */
    overflow: hidden;
    background-color: rgba(255, 127, 80, 0.644);
    padding: 10px;
    margin: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.note h3,
.note p,
.note .note-content {
    margin: 5px 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.note .note-content {
    height: 50px;
    flex-grow: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.note .category,
.note .created-at {
    font-size: 0.8em;
    color: #3c3c3c;
}