* {
    margin: 0;
    padding:0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;

}

body, html {
    overflow-x: hidden;
    background-color: ghostwhite;
    scroll-behavior: smooth;
}

button {
    cursor: pointer;
}

.mainBtn {
    outline: none;
    padding-block: 5px;
    padding-inline:15px;
    border: none;
    background: linear-gradient(to right, rgb(97, 9, 240) 0%, rgb(97, 9, 240) 50%, rgb(72, 25, 126) 50%, rgb(72, 25, 126) 100%);
    background-size: 200% 100%;
    transition: background-position 0.3s;
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 5px;
    width: 100%;
    transition: 400ms ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mainBtn:hover {
    background-position: -100% 0;

}

#signUpBtn {
    outline: none;
    padding-block: 5px;
    padding-inline:15px;
    background: transparent;
    border: 1px solid rgb(97, 9, 240) ;
    transition: 0.3s;
    color: rgb(97, 9, 240) ;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 5px;
    width: 100%;
    transition: 400ms ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

#signUpBtn:hover {
background:rgb(97, 9, 240) ;
color: white;
}



nav {
    width: 100dvw;
    height: 250px;
    /* background: linear-gradient(to right, hsl(268, 85%, 44%), hsl(39, 54%, 56%)); */
    background-color: rgb(94, 12, 201);
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    display: flex;
    justify-content: space-around;
    align-items: center;
}

nav > div:nth-child(1) {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 5px;
    padding-left: 10px;
}

nav > div:nth-child(1) h1 {
    font-size: 1.5rem;
    font-weight: 900;
    color: white;
}

nav > div:nth-child(2) {
    padding:20px;
    display: flex;
    gap:20px;
    flex-direction: row;
}



nav > div:nth-child(2) p {
    cursor: pointer;
    padding-inline: 20px;
}

.desktop {
    position: absolute;
    top:10px;
    left: 10px;
    color: white;
    opacity: 0.7;
    font-size: 0.7rem;
    cursor: pointer;
}


/* .dragDrop {
    display: flex; justify-content: center; align-items: center; flex-direction: row;font-size: 1.75rem; font-weight: 500; color: rgb(109, 109, 109);
  
} */


#task-button {
    color: white;
    transition:400ms ease-in-out;
    border: none;
    outline: 1px solid gainsboro;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;

}

#task-button:hover {
    background-color: white;
    color: rgb(94,12,201);
}

.floppyDisk {
    display: none;
}

.floppyDisk img {
    position: absolute;
    top:270px;
    right:15px;
    transition: 300ms ease-in-out;
    cursor: pointer;
}

.floppyDisk img:hover {
    transform: rotate(10deg)
}

.floppyDisk.transform {
    transform: rotate(10deg)
}


/* .underline-hover-effect {
    display: inline-block;
    position: relative;
  }
  
  .underline-hover-effect::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: rgb(255, 255, 255);
    transition: width 0.25s ease-out;
  }
  .underline-hover-effect:hover::before {
    width: 100%;
  } */

h5 {
    color: white;
}

i { 
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
}

.inputContainerHolder, .loginContainerHolder, .registerContainerHolder, .authOptionContainer {
    inset:0;
    width: 100%;
    height: 100%;
    position: fixed;
    background-color: rgba(0,0,0,0.5);
    /* display: grid;
    place-items: center; */
    display: none;
}

.inputContainer, .loginContainer, .registerContainer, .optionContainer {
    border-radius: 10px;
    height: 325px;
    width: 350px;
    top:50%;
    left:-100%;
    transform: translate(-50%, -50%);
    position: fixed;
    background-color: ghostwhite;
    padding-inline: 12px;
    padding-top: 15px;
    position: relative;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    flex-direction: column;
    animation: slide-right 700ms forwards; 
}

.form-group {
    position: relative;
    margin-bottom: 10px;
  }
  .form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s ease;
  }
  .form-group label {
    position: absolute;
    left: 12px;
    top: 12px;
    font-size: 14px;
    color: #777;
    transition: top 0.3s ease, font-size 0.3s ease, color 0.3s ease;
  }
  .form-group input:focus {
    border-color: rgb(94, 12, 201);
    outline: none;
  }
  .form-group input:focus + label,
  .form-group input:not(:placeholder-shown) + label {
    top: -6px;
    font-size: 12px;
    color: rgb(94, 12, 201);
    background-color: #ffffff;
    padding: 0 4px;
    border-radius: 4px;
    left: 8px;
  }

@keyframes slide-right {
    from {
        left: -100%; /* Start from the right */
    }
    to {
        left: 50%; /* Slide to the center */
    }
}



.inputContainer p:first-child, .loginContainer p:first-child, .registerContainer p:first-child, .optionContainer p:first-child {
    color: rgb(94, 12, 201);
    font-weight: 600;
    text-align: left;
    font-size: 1.25rem;
}

.inputContainer p:nth-child(2), .loginContainer p:nth-child(2), .registerContainer p:nth-child(2), .optionContainer p:nth-child(2) {
    text-align: left;
    font-size: 0.8rem;
    color: rgb(192, 192, 192);
    padding-bottom: 10px;
}

.inputContainer button, .loginContainer button, .registerContainer button, .optionContainer button {
  margin-top: 15px;
  width: 100%;
}

.closeBtn, .closeLoginBtn, .closeRegisterBtn, .closeOptionContainer {
    position: absolute;
    top:-10px;
    right:-10px;
    background-color: rgb(173, 173, 173);
    height: 30px;
    width: 30px;
   display: flex;
   justify-content: center;
   align-items: center;
   border-radius: 50%;
   cursor: pointer;
   transition:background-color 200ms ease-in-out;
}

.closeBtn:hover, .closeLoginBtn:hover, .closeRegisterBtn:hover, .closeOptionContainer:hover {
    background-color: #dc3545;
}


.closeBtn i, .closeLoginBtn i, .closeRegisterBtn i, .closeOptionContainer i {
    font-size: 0.8rem;
}

.loginGoBack, .registerGoBack {
    position: absolute;
    top:10px;
    left:10px;
   display: flex;
   justify-content: center;
   align-items: center;
   border-radius: 50%;
   cursor: pointer;
}

.loginGoBack i, .registerGoBack i {
    font-size: 1.75rem;
}




.custom-loader {
    display: none;
    width:20px;
    height:20px;
    border-radius:50%;
    background:conic-gradient(#0000 10%,#FFFFFF);
    -webkit-mask:radial-gradient(farthest-side,#0000 calc(100% - 4px),#000 0);
    mask: radial-gradient(farthest-side,#0000 calc(100% - 4px),#000 0);
    animation:s3 0.5s infinite linear;
  }


  .optionContainer button:nth-child(2) {
    background-color: transparent;
    color: rgb(94, 12, 201);
  }

  .userLoggedIn {
    display: none;
  }

  /* Container and Margins */
/* Container */
.custom-container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    margin-top: 4rem;
    margin-bottom: 1rem;
    min-height: 100vh;
}

/* Row */
.custom-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    height: 100vh;
    margin-right: -15px;
    margin-left: -15px;
}

/* Column */
.custom-col {
    position: relative;
    width: 100%;
    max-height: 100vh;
    max-width: 30%;
    box-shadow: 0 .125rem .25rem rgba(158, 142, 224, 0.5);
    background-color: #f8f9fa;
    margin: 0 0.5rem;
    padding-top: 100px;
    padding-inline:10px;
    overflow-y: scroll;
    scrollbar-width:thin;

}

/* Header */
.custom-header {
    padding: 10px;
    position: absolute;
    top:0;
    margin-left:-10px;
    width: 100%;
}

/* List */
.custom-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
}

/* Background Colors */
.custom-bg-primary {
    background-color: #85b6ff;
}
.custom-bg-warning {
    background-color: #ffdd76;
}
.custom-bg-success {
    background-color: #7bf798;
}

.todo-color {
    color: #85b6ff;;
}

.progress-color {
    color: #ffdd76;;
    display: inline-block;
}

.complete-color {
    color: #57ff7e;
    display: inline-block;
}


.custom-border-primary {
    border: none;
    border-left: 3px solid #3284ff;
}

.custom-border-warning {
    border: none;
    border-left: 3px solid #ffcb2e;
}

.custom-border-success {
    border: none;
    border-left: 3px solid #21fc54;
}

.custom-col .shadow {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}


.custom-card {
    border-radius: 0;
    width: 100%;
    margin-bottom: 1rem;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15); /* Shadow-sm equivalent */
    transition: transform 200ms ease-in-out;
    overflow: hidden;
}

.custom-card-body {
    padding: 1rem; /* px-3 py-3 equivalent */
    position: relative;
}

.custom-card-text {
    margin-bottom: .5rem; /* mb-2 equivalent */
}

.custom-card-time {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    font-size: 0.8rem;
}

.custom-card-progress-time {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    font-size: 0.8rem;
}

.custom-card-completed-time {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    font-size: 0.8rem;
}

.custom-card-title {
    font-weight: 500; /* fw-semibold equivalent */
    font-style: italic;
    font-size: 1rem;
}

.custom-card-description {
    font-weight: 400; /* font-weight-bold equivalent */
    font-size: 0.9rem;
    max-width: 90%;
}

.task-update {
    font-weight: 400;
    font-size: 0.8rem;
    width: 100%;
}

.task-update-main {
    font-weight: 600;
}

.custom-btn-delete {
    background: transparent;
    border: none;
    position: absolute;
    bottom:10px;
    right:10px;
}

.custom-btn-delete i{
    color: #dfdfdf;
    font-size: 1.3rem;
    outline: none;
    border: none;
    cursor: pointer;
    transition: 300ms ease-in-out;
}



.custom-btn-delete:hover i {
    border: none;
    outline: none;
    color: #dc3545;
}

@media(max-width:580px) {
    #task-button {
        font-size: 0.7rem;
    }
}

hr {
    margin-block:10px;
    background-color: gainsboro;
}

footer {
    min-height: 100px;
    padding:25px;
    background-color: rgb(94, 12, 201);
    width: 100%;
    line-height: 1.7;
    letter-spacing: 1px;
    color: white;
    position: relative;
}

.version {
    position: absolute;
    bottom:0px;
    left:-125px;
    font-size: 0.5rem;
    display: grid;
    place-items: center;
}

footer > div {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: row;
    margin: 15px auto;
    min-width: 350px;
    max-width: 500px;
}

footer > div p {
    max-width: 300px;
    font-size: 0.8rem;
}

footer img {
    margin-left: 50px;
    border-radius: 20px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

a {
    text-decoration: none;
    color: white;
}

label {
    cursor: pointer;
}

.activityIndicator {
    inset:0;
    width: 100%;
    height: 100%;
    position: fixed;
    display: none;
    place-items: center;
    background: rgba(0,0,0,0.5);
}

.registering, .deletingUser {
    display: none;
    place-items: center;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    position: fixed;
}


.custom-spinner {
    width:40px;
    height:40px;
    border-radius:50%;
    background:conic-gradient(#0000 10%,#FFFFFF);
    -webkit-mask:radial-gradient(farthest-side,#0000 calc(100% - 4px),#000 0);
    mask: radial-gradient(farthest-side,#0000 calc(100% - 4px),#000 0);
    animation:s3 0.5s infinite linear;
}

@keyframes s3 {to{transform: rotate(1turn)}}

.menu {
    position: relative;
    display: inline-block;
  }
  
  .menu__btn {
    /* cursor: pointer;
    background: linear-gradient(to bottom, rgb(97, 9, 240) 0%, rgb(72, 25, 126));
    color: rgb(255, 255, 255);
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); */
    background: linear-gradient(to right, rgb(97, 9, 240) 0%, rgb(97, 9, 240) 50%, rgb(72, 25, 126) 50%, rgb(72, 25, 126) 100%);
    background-size: 200% 100%;
    transition: background-position 0.3s;
    border: none;
    padding: 10px 20px;
    color: white;
    font-size: 16px;
    cursor: pointer;
  }

  .menu__btn:hover {
    background-position: -100% 0;
  }
  
  .menu__list {
    position: absolute;
    top: 75%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    transform-origin: center center;
    z-index: 999;
    padding-inline: 20px;
    padding-block:20px;
    margin: 0;
    list-style: none;
    background: linear-gradient(to bottom, rgb(97, 9, 240) 0%, rgb(72, 25, 126));
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    border-radius: 5px;
    min-width: 150px;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  .menu__list.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  
  .menu__list li {
    opacity: 0;
    font-size: 0.8rem;
    color: white;
    display: flex;
  }

  
  .menu__list.active li {
    animation: fadeIn 0.5s forwards;
  }
  
  /* .menu__list.active li:nth-child(1) {
    animation-delay: 0.1s;
  }
  
  .menu__list.active li:nth-child(2) {
    animation-delay: 0.3s;
  }
  
  .menu__list.active li:nth-child(3) {
    animation-delay: 0.5s;
  }

  .menu__list.active li:nth-child(3) {
    animation-delay: 0.7s;
  } */
  
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .menu__list li {
    margin-block: 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-evenly;
    flex-direction: row;
    font-weight: 500;
    font-size: 0.8rem;
  }


  .menu__list li i {
    font-size: 0.9rem;
    margin-left: 15px;
  }
  

  
  .underline-hover-effect {
    display: inline-block;
    padding-bottom: 0.25rem; /* defines the space between text and underline */
    position: relative;
  }
  
  .underline-hover-effect::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: rgb(202, 202, 202);
    transition: width 0.25s ease-out;
  }
  .underline-hover-effect:hover::before {
    width: 100%;
  }

  .userEmail {
    position: absolute;
    top:10px;
    right:10px;
    font-size: 0.7rem;
    color: white;
  }

  /* @media(max-width:850px) {

    nav {
        padding-right: 15px;
    }

    .menu__list {
        left:0%;
    }
    .custom-row {
        width: 100%;
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        flex-direction: column;
        border: 2px solid red;
        padding:0px;
    }

    .custom-col {
        min-width: 100%;
        min-height: 33%;
        max-height: 33%;
        display: flex;
        flex-direction: column;
        margin:0px;
    }
  } */