/* ---------------- CSS RESET ---------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Mabry pro", sans-serif;
}
/* --------------- CSS RESET END ------------- */


/* ---------- GLOBAL CLASS SECTION ----------- */
.Green {
    background: #23A094 !important;
}

.Pink {
    background: #FF90E8 !important;
}

.Red {
    background: #E2442F !important;
}

.White {
    background: #FFFFFF !important;
}

.Yellow {
    background: #FFC900 !important;
}

.gray-bg {
    background: #D9D9D9;
}

input[ng-disabled="true"] {
    cursor: not-allowed !important;
}

button[disabled="disabled"] {
    cursor: not-allowed !important;
}

.card-layout {
    position: relative;
    border: 3px solid black;
    box-shadow: 5px 5px 0px #000000;
    background: #ffffff;
    width: auto;
    max-height: 400px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
}

.action-buttons-layout {
    border-radius: 0 !important;
    border: 2px solid black !important;
    box-shadow: 5px 5px 0px #000000;
}

.task-container, .note-container, 
.task-view-container, .create-task-container,
.note-view-container, .create-note-container,
.users-container {
    position: relative;
    width: 100%;
    background: #D9D9D9;
    min-height: 100vh;
}

.add-button {
    position: fixed;
    bottom: 20px;
    right: 45px;
}

.add-button i {
    text-decoration: none;
    font-size: 4rem;
    font-weight: 100 !important;
    background-color: white;
    border-radius: 50%;
    color: black;
}

.add-button i:hover {
    color: black;
}

input[id="title"], input[id="title"]:focus,
textarea[id="description"], textarea[id="description"]:focus,
input[id="deadline"], input[id="deadline"]:focus,
input[id="status"], input[id="status"]:focus,
select[id="color"], select[id="color"]:focus,
select[id="status"], select[id="status"]:focus,
textarea[id="content"], textarea[id="content"]:focus {
    border-radius: 10px;
    border: 3px solid black;
}

.task-view-form, .create-task-form,
.note-view-form, .create-note-form {
    background: #23A094;
    border: 3px solid black;
    box-shadow: 5px 5px 0 black;
    width: 75%;
}

.task-view-form label, .create-task-form label,
.note-view-form label, .create-note-form label {
    font-weight: 400;
    font-size: 25px;
    line-height: 20px;
    letter-spacing: 0.05em;
    margin: 15px auto;
}

.task-view-form button, .task-view-form button:hover, .task-view-form button:disabled, 
.create-task-form button, .create-task-form button:hover,
.note-view-form button, .note-view-form button:hover, .note-view-form button:disabled,
.create-note-form button, .create-note-form button:hover {
    border: 2px solid black;
    box-shadow: 3px 3px 0 black;
    border-radius: 5px;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0.05em;
    margin: 0 5px;
}

.create-task-title, .create-note-title {
    letter-spacing: 0.05em;
    font-size: 2.5em;
}

.logout-modal, .delete-modal {
    border: 3px solid black !important;
    box-shadow: 5px 5px 0px #000000;
}
/* ------- GLOBAL CLASS SECTION END -------- */


/* ------------ NAVBAR SECTION ------------- */
.top-navbar {
    display: flex;
    width: 100%;
    list-style-type: none;
    margin-bottom: 0;
    border-bottom: 4px solid black;
    flex-wrap: wrap;
}

.top-navbar li {
    display: inline-block;
    font-weight: 400;
    font-size: 18px;
    line-height: 18px;
    letter-spacing: 0.05em;
    margin: 30px 0 0;
}

.top-navbar li a{
    text-decoration: none;
    color: black;
    border-left: 4px solid black;
    padding: 27px 70px;
    transition: display 0.5s ease-in-out;
}

.top-navbar li a:hover {
    background-color: #FF90E8;
}

.top-navbar li .burger-menu {
    display: none;
    margin-right: 45px;
    box-shadow: 2px 2px 0 black;
}

.top-navbar li button .bx-menu {
    font-size: 1.5rem;
}

#title-header {
    font-weight: 500;
    line-height: 40px;
    letter-spacing: 0.1em;
    transform: translateY(-10px);
    padding-left: 30px;
}

#logout-button {
    transform: translateY(-5px);
}

.bx-log-out-circle {
    font-size: 1.5rem;
}
/* ---------- NAVBAR SECTION END ----------- */


/* ---------- LOGIN FORM SECTION ----------- */
.first-row {
    border-bottom: 4px solid black;
}

#login-title {
    font-weight: 400;
    font-size: 35px;
    line-height: 35px;
    letter-spacing: 0.05em;
    text-align: center;
    margin: 50px 0;
    padding: 10px 0;
}

.login-form {
    transform: translateY(10%);
}

.login-form-layout {
    border-left: 4px solid black;
    background-color: #FFC900;
    height: 100vh;
    width: 100%;
}

.username-password-label {
    font-weight: 400;
    font-size: 25px;
    line-height: 25px;
    letter-spacing: 0.05em;
    margin: 20px 0;
}
/* -------- LOGIN FORM SECTION END --------- */


/* --------- REGISTER FORM SECTION --------- */
#username, #password, #firstname, #lastname, #email, #confirm-password {
    border-radius: 10px !important;
    border: 3px solid black;
    background-color: white;
}

input[type="submit"], input[type="submit"]:focus, input[type="submit"]:active {
    background: #23A094;
    border: 3px solid #000000;
    box-shadow: 5px 5px 0px #000000;
    border-radius: 10px;
    width: 100%;
}

input[type="submit"]:hover{
    background: #FF90E8;
    border: 3px solid #000000;
    color: black;
}

#register-title {
    font-weight: 400;
    font-size: 35px;
    line-height: 35px;
    letter-spacing: 0.05em;
}

.register-page-layout {
    position: relative;
    background: #FFC900;
    height: 100vh;
}

.register-page-layout label {
    font-weight: 400;
    font-size: 25px;
    line-height: 25px;
    letter-spacing: 0.05em;
}

.back-button {
    color: black;
    border: 3px solid black;
    padding: 0.7em;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 2px 2px 0px #000000;
    background-color: #FF90E8;
}

.back-button:hover {
    background: #23A094;
}

.back-button a {
    color: black;
    text-decoration: none;
}

.back-button a:hover {
    color: inherit;
}

.back-button a i {
    font-size: 1.5rem !important;
}
/* ------- REGISTER FORM SECTION END ------- */


/* --------- LANDING PAGE LEFT SIDE -------- */
.landing-page-intro {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100vh;
    width: 100%;
}

.text-container {
    position: absolute;
    top: 350px;
    left: 100px;
    text-align: center;
    margin: 50px auto;
    width: 75%;
    background: #FFFFFF;
    border: 3px solid black;
    border-radius: 10px;
    box-shadow: 5px 5px 0px #000000;
}

.text-layout {
    font-weight: 500;
    font-size: 45px;
    line-height: 45px;
    text-align: center;
    letter-spacing: 0.1em;
}

.first-note {
    width: 223px;
    height: 220px;
    left: 740px;
    top: 192px;
    background: #FF90E8;
}

.second-note {
    width: 246px;
    height: 233px;
    left: 70px;
    top: -10px;
    background: #FFC900;
}

.first-task {
    width: 239px;
    height: 235px;
    left: -6px;
    top: 609px;
    background: #23A094;
}

.second-task {
    width: 248px;
    height: 256px;
    left: 577px;
    top: 751px;
    background: #E2442F;
}

.image-layout {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    border: 3px solid black;
}

.image-layout:hover {
    box-shadow: 5px 5px 0px #000000;
}

.image-layout #image-title {
    font-weight: 500;
}

.image-layout #content {
    text-align: center;
}
/* ------- LANDING PAGE LEFT SIDE END ------ */


/* ---------- SIGN UP HERE SECTION --------- */
.sign-up-here-layout {
    position: relative;
    width: 100%;
    background-color: #FF90E8;
    overflow: hidden;
}

.sign-up-here-layout h2 {
    font-weight: 500;
    font-size: 45px;
    line-height: 45px;
    letter-spacing: 0.1em;
}

.sign-up-here-layout a {
    display: inline-block;
    width: 299px;
    height: 48px;
    background: #23A094;
    border: 3px solid #000000;
    box-shadow: 5px 5px 0px #000000;
    border-radius: 10px;
    text-align: center;
    color: black;
    font-weight: 400;
    font-size: 20px;
    letter-spacing: 0.1em;
    margin: 15px auto;
}

.sign-up-here-layout a:hover {
    text-decoration: none;
    color: black;
    background: #FFC900;
}

.sign-up-here-image-layout {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    border: 3px solid black;
}

.sign-up-here-image-layout hr {
    width: 80%;
    border: 2px solid black;
}

#sign-up-here-image-title {
    font-weight: 400;
    font-size: 25px;
    line-height: 25px;
    letter-spacing: 0.05em;
}

.sign-up-here-first-note {
    width: 299px;
    height: 294px;
    left: 1700px;
    top: 243px;
    background: #23A094;
}

.sign-up-here-second-note {
    width: 199px;
    height: 194px;
    left: 838px;
    top: 817px;
    background: #FFC900;
}

.sign-up-here-third-note {
    width: 268px;
    height: 257px;
    left: -55px;
    top: 197px;
    background: #FFC900;
}

.sign-up-here-first-task {
    width: 268px;
    height: 257px;
    left: 1569px;
    top: 730px;
    background: #E2442F;
}

.sign-up-here-second-task {
    width: 268px;
    height: 257px;
    left: 29px;
    top: 751px;
    background: #FFFFFF;
}
/* --------- SIGN UP HERE SECTION END -------- */


/* --------------- TASK SECTION -------------- */
.button-container {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    margin: auto;
}
/* ------------- TASK SECTION END ------------ */


/* ------------ TOAST ALERT SECTION ---------- */
.toast-alert {
    position: absolute; 
    top: 10px; 
    right: 1%;
    z-index: 1;
    border: 2px solid black !important;
    box-shadow: 3px 3px 0px #000000 !important;
    opacity: 1 !important;
}

.toast-header-warning {
    background: #E2442F !important;
    color: #000000 !important;
}

.toast-alert-warning {
    background: #E2442F !important;
}

.toast-header-success {
    background: #23A094 !important;
    color: #000000 !important;
}

.toast-alert-success {
    background: #23A094 !important;
}
/* ---------- TOAST ALERT SECTION END --------- */


/* ---------- LOADING BLOCK SCREEN ------------ */
.landing-page-backdrop {
    height: 100vh;
    width: 100%;
    background: radial-gradient(circle, transparent 25%, #ffffff  26%),linear-gradient(45deg, transparent 46%, #000000 47%, #000000 52%, transparent 53%), 
    linear-gradient(135deg, transparent 46%, #000000 47%, #000000 52%, transparent 53%);
    background-size: 1em 1em;
    background-color: #ffffff;
    opacity: 0.85;
    z-index: -1;
}

.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.7);
}

.loader {
    --size: 90px;
    display: flex;
    column-gap: 40px;
}
   
.box {
    width: var(--size);
    height: var(--size);
    background: #23A094;
    animation: rotate 2s infinite;
    border: 3px solid #000000;
}
   
.box:nth-child(2) {
    animation-delay: 0.25s;
    background: #FF90E8;
}
   
.box:nth-child(3) {
    animation-delay: 0.5s;
    background: #FFC900;
}
   
@keyframes rotate {
    50% {
        transform: rotate(180deg)
    }
}
/* -------- END OF LOADING BLOCK SCREEN -------- */


/* ----------- PAGINATION SECTION -------------- */
.pagination .page-item a {
    color: #000000 !important;
    border: 2px solid black;
    font-weight: 500;
    box-shadow: 3px 3px 0 black;
}

.pagination .active-page a {
    background-color: #23A094 !important;
    color: #FFFFFF !important;
}
/* --------- PAGINATION SECTION END ------------ */


/* ----------- EMPTY PAGE SECTION -------------- */
.image-container {
    max-width: 700px;
}

.responsive-title {
    font-size: 2.5rem;
    text-align: center;
}
/* --------- EMPTY PAGE SECTION END ------------ */


/* ---------- MEDIA QUERIES SECTION ------------ */
@media(max-width: 1200px) {
    .text-container {
        left: 70px;
        top: 250px;
    }
    .first-note {
        left: 400px;
        top: 50px;
    }
    .second-note {
        left: -10px;
    }
    .second-task {
        left: 360px;
        top: 651px;
    }
    .sign-up-here-first-note {
        left: 1015px;
    }
    .card-layout {
        max-height: 600px;
        height: 490px;
    }
    .image-container {
        max-width: 700px;
    }
}

@media(max-width: 992px) {
    .sign-up-here-first-note {
        left: 850px;
    }
    .sign-up-here-second-note {
        left: 438px;
    }
    .sign-up-here-first-task {
        left: 769px;
    }
    .text-container {
        left: 60px;
        top: 250px;
    }
    .first-note {
        left: 290px;
        top: -10px;
    }
    .second-note {
        left: -10px;
        top: 15px;
    }
    .second-task {
        left: 240px;
        top: 651px;
    }
    .first-task {
        left: -30px;
    }
    .card-layout {
        max-height: 600px;
        height: 480px;
    }
    .image-container {
        max-width: 600px;
    }
}

@media(max-width: 768px) {
    .login-form {
        transform: translateY(-10%);
    }
    .login-form-layout {
        border: 4px solid black;
        border-bottom: 0;
    }
    .sign-up-here-first-note {
        left: 615px;
    }
    .sign-up-here-second-task {
        left: -9px;
    }
    .sign-up-here-third-note {
        left: -125px !important;
    }
    .sign-up-here-layout {
        border: 4px solid black;
        border-top: 0;
    }
    .landing-page-intro {
        border: 4px solid black;
        border-top: 0;
        border-bottom: 0;
    }
    .text-container {
        left: 95px;
        top: 250px;
    }
    .first-note {
        left: 560px;
    }
    .second-task {
        left: 520px;
    }
    .card-layout {
        max-height: 600px;
        height: 400px;
    }
    .top-navbar {
        padding-left: 0; 
    }
    .top-navbar li a{
        display: block;
        border-top: 4px solid black;
        border-left: 0;
        padding: 27px 356px;
    }
    .top-navbar .nav-links {
        margin: 0;
    }
    .top-navbar li .burger-menu {
        display: block;
    }
    .image-container {
        max-width: 500px;
    }
}

@media(max-width: 576px) {
    .sign-up-here-first-note {
        left: 415px;
        top: -10px;
    }
    .sign-up-here-third-note {
        left: -165px !important;
    }
    .sign-up-here-layout {
        border: 4px solid black;
        border-top: 0;
    }
    .landing-page-intro {
        border: 4px solid black;
        border-top: 0;
        border-bottom: 0;
    }
    .text-container {
        left: 70px;
    }
    .first-note {
        left: 360px;
    }
    .second-task {
        left: 330px;
    }
    .card-layout {
        max-height: 600px;
        height: 380px;
    }
    .top-navbar li a{
        padding: 27px 261px;
    }
    .image-container {
        max-width: 400px;
    }
    .task-view-form, .create-task-form,
    .note-view-form, .create-note-form {
        width: 100%;
    }
}

/* surface duo */
@media(max-width: 540px) {
    .top-navbar li a{
        padding: 27px 243px;
    }
    .sign-up-here-second-note {
        top: 600px;
        left: 238px;
    }
    .second-task {
        left: 300px;
        top: 540px;
    }
}

/* iphone xr */
@media(max-width: 414px) {
    .top-navbar li a{
        padding: 27px 180px;
    }
    .text-container {
        left: 45px;
        top: 230px;
    }
    .first-note {
        left: 280px;
    }
    .second-note {
        left: -100px;
        top: 15px;
    }
    .second-task {
        left: 280px;
        top: 650px;
    }
    .first-task {
        left: -60px;
    }
    .sign-up-here-third-note {
        left: -185px !important;
        top: 10px;
    }
    .sign-up-here-second-note {
        left: 288px;
        top: 550px;
    }
}

/* s20 ultra */
@media(max-width: 412px) {
    .top-navbar li a{
        padding: 27px 178px;
    }
}

/* pixel 5 */
@media(max-width: 393px) {
    .top-navbar li a{
        padding: 27px 169px;
    }
}

/* iphone 12 pro */
@media(max-width: 390px) {
    .top-navbar li a{
        padding: 27px 167px;
    }
}

/* iphone se */
@media(max-width: 375px) {
    .top-navbar li a{
        padding: 27px 160px;
    }
    .text-container {
        top: 170px;
    }
    .first-note {
        top: -50px;
    }
    .second-note {
        left: -150px;
        top: -35px;
    }
    .first-task {
        left: -80px;
        top: 550px;
    }
    .second-task {
        left: 230px;
        top: 580px;
    }
    .sign-up-here-third-note {
        top: -10px;
    }
}

/* galaxy s8+ */
@media(max-width: 360px) {
    .top-navbar li a{
        padding: 27px 152px;
    }
}

/* galaxy fold */
@media(max-width: 280px) {
    .top-navbar li a{
        padding: 27px 113px;
    }
}
/* -------- MEDIA QUERIES SECTION END ---------- */
