/* Show it is fixed to the top */
body {
  min-height: 75rem;
}

/* nav bar here */
.navbar-profile-pic {
  width: 30px;
  height: 30px;
  border-radius: 25px;
}

.long-nav-bar {
  display: none;
}
.short-nav-bar {
  display: block;
}

.nav-link {
  color: white;
  font-weight: bold;
}

.nav-link a:link {
  text-decoration: none;
}

.nav-link a:visited {
  text-decoration: none;
}

.nav-link a:hover {
  text-decoration: none;
}

.nav-link a:active {
  text-decoration: none;
}

/* my calendar here */
.long-calendar {
  display: none;
}

.short-calendar {
  display: block;
}

/* index comes here */
.profile-pic {
  width: 35px;
  height: 35px;
  border-radius: 5px;
  margin-right: 10px;
}

.card-columns {
  column-count: 1;
}

/* horizontal scrolling flex box here */
.scrolling-wrapper-flexbox {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.a-card-flexbox {
  flex: 0 0 auto;
  border-style: solid;
  border-color: red;
  width: 125px;
  height: auto;
  padding: 8px;
  margin: 8px;
}

&::-webkit-scrollbar {
  display: none;
}

/* account comes here */
.account-profile-pic {
  width: 70px;
  height: 70px;
  border-radius: 5px;
  display: block; 
  margin: 0 auto;
}

/* Join Us modal */
.modal.modal-scrolling .modal-dialog {
    position: fixed;
    z-index: 1050;
}

.modal .modal-dialog.modal-bottom-right {
    bottom: 10px;
    right: 10px;
}

/* The snackbar - position it at the bottom and in the middle of the screen */
#snackbar {
    visibility: hidden; /* Hidden by default. Visible on click */
    min-width: 250px; /* Set a default minimum width */
    margin-left: -125px; /* Divide value of min-width by 2 */
    background-color: #333; /* Black background color */
    color: #fff; /* White text color */
    text-align: center; /* Centered text */
    border-radius: 2px; /* Rounded borders */
    padding: 16px; /* Padding */
    position: fixed; /* Sit on top of the screen */
    z-index: 1; /* Add a z-index if needed */
    left: 50%; /* Center the snackbar */
    bottom: 30px; /* 30px from the bottom */
}

/* Show the snackbar when clicking on a button (class added with JavaScript) */
#snackbar.show {
    visibility: visible; /* Show the snackbar */

/* Add animation: Take 0.5 seconds to fade in and out the snackbar. 
However, delay the fade out process for 2.5 seconds */
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

/* Animations to fade the snackbar in and out */
@-webkit-keyframes fadein {
    from {bottom: 0; opacity: 0;} 
    to {bottom: 30px; opacity: 1;}
}

@keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
}

@-webkit-keyframes fadeout {
    from {bottom: 30px; opacity: 1;} 
    to {bottom: 0; opacity: 0;}
}

@keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
}

/* media query here */
@media (min-width: 576px) {
    .card-columns {
      column-count: 1;
    }
    .long-nav-bar {
      display: none;
    }
    .short-nav-bar {
      display: block;
    }
    .long-calendar {
      display: none;
    }
    .short-calendar {
      display: block;
    }
}

@media (min-width: 768px) {
    .card-columns {
      column-count: 2;
    }
    .long-nav-bar {
      display: none;
    }
    .short-nav-bar {
      display: block;
    }
    .long-calendar {
      display: block;
    }
    .short-calendar {
      display: none;
    }
}

@media (min-width: 992px) {
    .card-columns {
      column-count: 3;
    }
    .long-nav-bar {
      display: block;
    }
    .short-nav-bar {
      display: none;
    }
    .long-calendar {
      display: block;
    }
    .short-calendar {
      display: none;
    }
}

@media (min-width: 1200px) {
    .card-columns {
      column-count: 3;
    }
    .long-nav-bar {
      display: block;
    }
    .short-nav-bar {
      display: none;
    }
    .long-calendar {
      display: block;
    }
    .short-calendar {
      display: none;
    }
}



