* {
    margin: 0;
  
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
  }
  
  :root {
    --delay: 0s;
    --body-background-color: #0b5793;
    --wrapper-background-color: #ececec;
    --card-color: #ffffff;
    --header-color: #0b5793;
    --header-text: #ffffff;
    --headerlinkhover:#21659c;
    --svg-logo-color: #ffffff;
    --leftsvg-logo: #0b5793;
    --leftsvg-logohover: #ffffff;
    --title-text: #234b6b;
    --button: #21659c;
    --button-text:  #ffffff;
    --inputBackground: #ffffff;
    --inputTextColor: #1a1b3c;
  
  
    }
    .darkmode{
    --body-background-color: #03051f;
    --wrapper-background-color: #0e0e23;
    --card-color: radial-gradient(circle, #1a2049 0%, #13162f 100%);
    --header-color: radial-gradient(circle, #141834 0%, #13162f 100%);
    --headerlinkhover: #abb5ff;
    --svg-logo-color: rgba(155,156,167,255);
    --leftsvg-logo: #9898a0;
    --leftsvg-logohover: #0b5793;
    --title-text: #9b9ca7;
    --button: #141530;
    --button-text:  #ffffff;
    --inputBackground:#ffffff;
    --inputTextColor: #9b9ca7;
    }
  * {
  outline: none;
  box-sizing: border-box;
  }
  
  body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    background-color: var(--body-background-color);
    color: #9b9ca7;
    cursor: default;
}

.wrapper {
  max-width: 1600px;
  background-color: var(--wrapper-background-color);
  display: flex;
  height: 100vh;
  overflow: hidden;
  margin: 0 auto;
}
  
  .left-side {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  align-items: center;
  padding: 100px 0 30px;
  -webkit-animation: left 1s var(--delay) both;
          animation: left 1s var(--delay) both;
  }
  .left-side svg {
  cursor: pointer;
  margin-left:6px;
  }
  .left-side svg + svg {
  margin-top: 34px;
  }
  .left-side a:last-child {
  margin-top: auto;
  }
  .left-side svg.active, .left-side svg:hover {
  color: #4255d4;
  }
  
  @-webkit-keyframes left {
  0% {
    transform: translateX(-30px);
    opacity: 0;
  }
  100% {
    opacity: 1;
    transform: none;
  }
  }
  
  @keyframes left {
  0% {
    transform: translateX(-30px);
    opacity: 0;
  }
  100% {
    opacity: 1;
    transform: none;
  }
  }
  @-webkit-keyframes top {
  0% {
    transform: translateY(-30px);
    opacity: 0;
  }
  100% {
    opacity: 1;
    transform: none;
  }
  }
  @keyframes top {
  0% {
    transform: translateY(-30px);
    opacity: 0;
  }
  100% {
    opacity: 1;
    transform: none;
  }
  }
  .main-container {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 25px;
  overflow: auto;
  padding-left: 0;
  }
  
  .button {
  display: flex;
  align-items: center;
  color: #9b9ca7;
  background: #1a1b3c;
  border: none;
  padding: 2px 12px;
  border-radius: 4px;
  margin-right: 20px;
  }
  .button svg {
  margin-left: 10px;
  width: 16px;
  }
  .user-box {
  margin-top: 25px;
  display: flex;
  }
  
  .user-box + .user-box {
  margin-top: 20px;
  }
  .user-box + .user-box .cards-wrapper {
  margin-left: 0;
  flex-grow: 1;
  max-width: none;
  }
  .user-box + .user-box .today {
  margin-left: 30px;
  }
  .user-box + .user-box .cards-header {
  padding: 20px 30px;
  justify-content: space-between;
  }
  .user-box .cards-header,
  .user-box .cards-view {
  display: flex;
  align-items: center;
  justify-content: center;
  }
  .user-box .cards-header svg,
  .user-box .cards-view svg {
  width: 24px;
  }
  .user-box .cards-header .title,
  .user-box .cards-view .title {
  margin: 0 16px;
  font-size: 15px;
  }
  .user-box .cards-header-date svg,
  .user-box .cards-view-date svg {
  width: 30px;
  }
  .user-box .cards-header .cards-button,
  .user-box .cards-view .cards-button {
  padding: 10px 16px;
  margin-right: 0;
  }
  .cards-button:hover {
  background-color: rgb(28,36,68);
  cursor: pointer;
  }
  .user-box .cards-header .cards-button svg,
  .user-box .cards-view .cards-button svg {
  width: 16px;
  margin: 0 2px 0 0;
  }
  .user-box .cards-header .date-wrapper,
  .user-box .cards-view .date-wrapper {
  display: flex;
  align-items: center;
  margin: auto;
  }
  .user-box .cards-header .date-wrapper .title,
  .user-box .cards-view .date-wrapper .title {
  margin: 0 16px;
  }
  
  .card {
  background: var(--card-color);
  box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
  padding: 40px 30px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  max-height: 430px;
  width: 100%;
  
  }
  .card .title {
  font-size: 16px;
  font-weight: bold;
  }
  .card .subtitle {
  font-size: 13px;
  line-height: 1.6em;
  }
  .card + .card {
  margin-left: 20px;
  }
.notes {
    max-height: 100vh;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 8px 16px 0px;
    margin-top: 1%;
    margin-left: 20%;
    margin-right: 20%;
}
.textarea-container {
  position: relative;
  display: inline-block;
}

textarea {
  padding: 20px;
  width: 100%;
  height: 400px;
  font-size: 16px;
  box-sizing: border-box;
}

.inputs-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 10px;
}
.textType {
  color: var(--inputTextColor);
  background: var(--inputBackground);
  border: none;
  font-size: 13px;
  padding: 10px 15px;
  box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
}

.textBox{
  resize: none;
}
.containerbtnup{
  display: flex; /* Magic starts here, turning your container into a flex container */
  justify-content: center; /* This centers the child horizontally */
  align-items: center; /* And this centers it vertically */
  flex-direction: row;
  gap: 5px;
}
.containerbtndown{
  display: flex; /* Magic starts here, turning your container into a flex container */
  justify-content: center; /* This centers the child horizontally */
  align-items: center; /* And this centers it vertically */
  flex-direction: row;
  gap: 50px;
}

.buttonRecord {
  padding: 10px 15px;
  background-color: #4255d4;
  color: #e7e8ea;
  border: none;
  width: 300px;
}
.buttonRecord:hover{
  background-color: #4f64eb;
  cursor:pointer;
}

.buttonStop {
  padding: 10px 15px;
  background-color: #4255d4;
  color: #e7e8ea;
  border: none;
  width: 300px;

}
.buttonStop:hover{
  background-color: #4f64eb;
  cursor:pointer;
}
.buttonSave {
  padding: 10px 15px;
  background-color: #4255d4;
  color: #e7e8ea;
  border: none;
  width: 300px;
}
.buttonSave:hover{
  background-color: #4f64eb;
  cursor:pointer;
}
.buttonUpload {
  padding: 10px 15px;
  background-color: #4255d4;
  color: #e7e8ea;
  border: none;
  width: 300px;

}
.buttonUpload:hover{
  background-color: #4f64eb;
  cursor:pointer;
}
audio{
  width: auto;
  margin-top: 10px;
}
.form-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 10px;
}

.form-columns {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Styling for the snackbar */
#snackbar {
  visibility: hidden; /* Hidden by default */
  min-width: 250px;
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 16px;
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 4px;
  font-size: 17px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  opacity: 0; /* Initially transparent */
  transition: opacity 0.5s ease, visibility 0s 0.5s;
}

/* Show the snackbar */
#snackbar.show {
  visibility: visible; /* Show snackbar */
  opacity: 1; /* Fully opaque */
  transition: opacity 0.5s ease;
}

.notice{
  margin-top: 5px;
  font-size: 15px;
}
  @keyframes fadeItIn {
    0% {
      background: rgb(28,36,68);
    }
    100% {
      background: #11132c;
    }
  }
  @-webkit-keyframes fly {
    40% {
      transform: translate(-6px, -6px);
    }
    60% {
      transform: translate(-12px, -2px);
    }
    100% {
      transform: translate(0px, 0px);
    }
  }
  
  @keyframes fly {
    40% {
      transform: translate(-6px, -6px);
    }
    60% {
      transform: translate(-12px, -2px);
    }
    100% {
      transform: translate(0px, 0px);
    }
  }
  
  
  .user-box > * {
    -webkit-animation: top 1s var(--delay) both;
            animation: top 1s var(--delay) both;
  }
@media (max-width: 1024px) {
  .notes {
    max-height: auto;
    margin-left: 10%;
    margin-right: 10%;
  }

}
@media (max-width: 900px) 
 {
  .textType {
    font-size: 11px;

  }
  .notes {
    max-height: auto;
    margin-left: 0%;
    margin-right: 0%;
  }
  textarea {
    height: 300px;
  }
  textarea {
    font-size: 14px;
  }
  
}
@media (max-width: 768px) 
 {
  .buttonRecord, .buttonStop{
    display: none;
  }
  .notice{
    font-size:11px;
  }
  textarea {
    font-size: 11px;
  }
}
@media (max-width: 425px) 
 {
  .textType {
    font-size: 9px;

  }
  textarea {
    height: 200px;
    font-size: 8px;

  }
 .buttonUpload, .buttonSave, .buttonRecord, .buttonStop{
  width: 150px;
  font-size: 9px;
 }
 .form-container {
  margin-bottom: 0px;
}
 .notice{
  font-size: 9px;
}
}
@media (max-width: 375px) 
 {

 .form-container{
  margin-left: 50px;
 }
 .form-container {
  margin-bottom: 0px;
}
 .notice{
  font-size: 9px;
}
}