body {
  background-color: white;
  padding-top: 6rem;
}

.bx.bx-home,
.bx.bx-time-five,
.bx.bx-user-circle {
  font-size: 200%;
}

.navicons {
  display: flex;
  padding: 0;
  flex-direction: row;
  align-items: center;
  justify-content: space-evenly;
  width: 100%;
  height: 100%;
  color: black;
  text-align: center;
}

.login {
  margin-top: 15vh;
}

#name-goes-here,
#email-goes-here {
  font-size: 1.5rem;
  text-align: center;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

#name-goes-here {
  color: #1b263b;
}

#email-goes-here {
  color: #0d1b2a !important;
}

.toast {
  position: fixed;
  top: 12%;
  right: 2%;
  color: black;
  background-color: rgb(255, 255, 255, 0.9);
  padding: 0.2vw;
  border-radius: 5px;
  font-size: 2rem;
  width: auto;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-align: left;
}


@media only screen and (max-width: 644px) {

  .toast #name-goes-here {
    font-size: 1rem;
    color: #000000;
  }

  .toast #time-goes-here {
    font-size: 0.75rem;
    color: #000000;
   padding-left: 5vw;
  }
.toast{
  font-size: 1rem;
  width: auto;
}

}


.toast-header {
  background-color: rgb(255, 255, 255, 0.9);
}



@media only screen and (min-width: 645px) {

  .toast #name-goes-here {
  font-size: 1rem;
  color: #000000;
}
.toast #time-goes-here {
  font-size: 1rem;
  color: #000000;
}
.toast {
  font-size: 1rem;
  width: 40%;
}
}


#profilePhoto {
  background-color: #417ab8;
  margin: 10vw auto 0;
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
}

.me-auto {
  color: #000000;
}

.timerArea {
  background-color: #ffcc00;
  height: 70vh;
  margin: 10%;
}

.card-img-overlay {
  margin-top: 5%;
}

.custom-navbar,
.card {
  background-color: #f4f4f4;
}

.navbar {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.footer {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}
.custom-navbar,
.nav-item .nav-link,
.card-title,
.card-text,
.navbar-toggler {
  color: black !important;
}

.card {
  border: none;
}

.btn-custom {
  background-color: #4753b3;
}

.table-responsive{
border-radius: 20px;
}

.start-button {
  text-align: center;
  width: 100%;
  color: white;
}

.dropdown .btn-custom {
  border-color: transparent !important;
  margin-left: 2%;
}

.dropdown .dropdown-item:hover {
  background-color: #4753b3;
  color: white;
}

.preset-timer,
.countdownTimer {
  position: fixed;
  width: 90%;
  margin: 6rem 5% 0;
}

#addTimerButton {
  float: right;
  margin-right: 2%;
  background-color: transparent;
  font-size: 100%;
}

.icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 40px;
  border-radius: 40px;
  background-color: #417ab8;
}

.icon-circle i {
  font-size: 24px;
  color: white;
}

.navbar-brandft {
  margin-top: 5%;
}

.welcome-text {
  margin-bottom: 5%;
}

.friendsArea {
  padding: 0;
  text-align: center;
}

.form-label-friend {
  font-size: 4vw;
}

.friends-section {
  max-width: 800px;
  margin: 0 auto 100px;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.friends-section h1 {
  color: #417ab8;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.friends-section h3 {
  background-color: #417ab8;
  color: white;
  padding: 0.5rem;
  border-radius: 20px;
  font-size: 1.5rem;
  line-height: 1.2;
}

.friendsArea input,
.friendsArea button,
#addFriendButton {
  width: 100%;
  padding: 1rem;
  margin-top: 1rem;
  border-radius: 20px;
  border: 1px solid #000;
}

#addFriendButton {
  background-color: #417ab8;
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.2;
  padding: 0.7rem;
  border: none;
}

#pendingFriendsList,
#currentFriendsList {
  border-radius: 20px;
}

.list-group-item {
  padding: 1vw;
}

.preset-hours,
.preset-minutes,
.preset-seconds,
.study-preset-hours,
.study-preset-minutes,
.study-preset-seconds {
  font-size: 200%;
  display: inline;
}

.form-check-input {
  margin-top: 65%;
}

.form-check-label {
  margin-top: 62%;
}

.preset-name,
.study-preset-name {
  position: relative;
  text-align: left;
  left: 5px;
  top: 10px;
  font-size: 100%;
}

.timeContainer {
  white-space: nowrap;
}

.highlight-today {
  font-weight: bold;
  color: #3c49ff !important;
}

#friendsEvents {
  padding-top: 3%;
  padding-bottom: 40%;
  margin-left: 12px;
}

#upHours,
#upMinutes,
#upSeconds,
#downHours,
#downMinutes,
#downSeconds {
  border: 2px solid black;
  background-color: #f4f4f4;
  border-radius: 5px;
}

.event-dot {
  width: 10px;
  height: 10px;
  background-color: #989898;
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.friend-event-dot {
  width: 10px;
  height: 10px;
  background-color: #5d7db7;
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

#newEventButton {
  background-color: #417ab8;
  border-radius: 20px;
}

.top-shadow {
  box-shadow: 0 -0.5rem 1rem rgba(0, 0, 0, 0.15);
}

#startTimer{
  background-color: #417ab8;
  border-radius: 20px;
}

.index-card {
  width: 90%;
  max-width: 400px;
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

/* the fancy gradient on the index card */
.index-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(to right, #417ab8, #1B263B);
}

.index-card .card-title {
  font-size: 2rem;
  color: #1B263B;
  margin-bottom: 1rem;
}


.start-button .btn-custom {
  background-color: #417ab8;
  color: white;
  font-size: 1.2rem;
  padding: 0.75rem 2rem;
  border-radius: 20px;
}

.cancelTimer .btn{
  border-radius: 20px;
}


body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 250px;
  background: linear-gradient(to bottom, #417ab8, transparent);
  z-index: -1;
}

.mdl-card.mdl-shadow--2dp.firebaseui-container.firebaseui-id-page-sign-in {
  box-shadow: none;
}

.timerButtons {
  display: flex;
  justify-content: space-evenly;
  width: 100%;
  padding-left: 0.2rem;
  padding-top: 1rem;
  overflow: hidden;
}

.timerButtons a{
  color: white;
  background-color: #417ab8;
  border-radius: 20px;
  font-size: 0.9rem;
}

.duringTimerButtons .btn {
  border-radius: 20px;
}

.mdl-card.mdl-shadow--2dp.firebaseui-container.firebaseui-id-page-password-sign-in{
  box-shadow: none;
}

input[type="number"] {
  -moz-appearance: textfield;
  -webkit-appearance: none;
  appearance: none;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
#notifs {
  font-size: 8vw;
  margin-top: 5px;
  margin-right: 4vw;
  color: #000;
}

#notifslist {
  text-align: center;
  font-size: 2vw;
}

#notifslist h5 {
  font-size: 4vw;
}

.listitem {
  background-color: #417ab8;
  color: #ffffff;
  border-radius: 20px;
  padding: 1vw;
  font-size: 4vw;
  width: 30vw; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  text-align: center;
}

#text {
  font-size: 6vw;
  margin-right: 4vw; 
  text-align: left; 
  max-width: 60%;
}

.selected-cell {
  border: 2px solid #007bff;
  border-radius: 4px;
  background-color: rgba(0, 123, 255, 0.1);
  position: relative;
}

.event-details {
  display: none;
  padding: 10px;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-top: 5px;
  z-index: 100;
}

.event-details.active {
  display: block;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.modal-card {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1001;
  text-align: center;
  width: 90%;
  max-width: 400px;
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.modal-actions {
  display: flex;
  justify-content: space-evenly;
  margin-top: 1rem;
}

.modal-actions .btn-custom {
  border-radius: 20px;
  border: none;
  padding: 0.7rem 1.5rem;
  font-size: 1.2rem;
  color: white;
  background-color: #417ab8;;
}

.iconSection {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-direction: column;
  width: 100%;
  padding: 20px;
  margin: 0 auto;
  margin-top: 3rem;
}

.icon i {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

.iconContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.3s ease;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.iconContainer:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.iconContainer i {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

.iconContainer p {
  margin-top: 10px;
  font-size: 1.1rem;
  width: 80%;
  color: #333;
  transition: 0.3s ease;
}

.landingButton:hover {
  background-color: #769bc2;
  font-size: 140%;
  transition: 0.5s ease;
}

.landingButton {
  background-color: #417ab8;
}

.nav-link {
  border-radius: 5px;
}

.nav-link.active {
  font-weight: bold;
  font-size: 105%;
  border-radius: 5px !important;
  transition: 0.1s ease;
}

