/*
 * Globals
 */
/* This defines the size and location of an object. In this case I used it for the logo on about.html */
.upsz {
  width: 240px;
  height: 240px;
  margin-top: 50px;
}

/* Used to fixed margin and location of the test section on test.html */
.mb-fix-200 {
  margin-bottom: 200px;
}

/* Used to set a margin on "Take me to the questions" on test.html*/
.m-fix {
  margin: 0px 0px 24px;
}

/* Used to set a margin on audio 2 to create space on test.html*/
.m-fix-audio {
  margin: 0px 15px 0px;
  margin-bottom: 10px;
}

/* Decides the location of the audio main on audio.html */
.mt-20 {
  margin-top: 20px;
}

/* This contains the values of font-size and font-weight of the text that uses this class. */
.lead2 {
  font-size: 1.25rem;
  font-weight: 300;
}

/* Decides the location from the bottom of a element */
.mb-fix {
  margin-bottom: 400px;
}

/* Decides the location from the bottom of a element */
.mb-fix1 {
  margin-bottom: 200px;
}

/* Decides the location from the bottom of a element and removes and overrides margin-bottom value. */
.mb-none {
  margin-bottom: 0rem;
}

/* Incase I use a background image */
#bgimg {
  background-image: url("");
  /* Using a royalty free and free for commercial use image that does not require permission nor attribution */
  background-repeat: no-repeat;
  background-size: cover;
  width: 100vw;
  height: 93vh;
  margin: 0;
  text-shadow: 0 .05rem .1rem rgba(0, 0, 0, .5);
  box-shadow: inset 0 0 5rem rgba(0, 0, 0, .5);
  opacity: 50%;
  /* Got 93vh so that the scrolling doesn't show and so the image will fit the browser no matter if you zoom out or make the window smaller */
}

/* Style  */
.bd-placeholder-img {
  font-size: 1.125rem;
  text-anchor: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

@media (min-width: 768px) {
  .bd-placeholder-img-lg {
    font-size: 3.5rem;
  }
}

/* Custom default button */
.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus {
  color: #333;
  text-shadow: none;
}

/*
 * Base structure
 */
body {
  text-shadow: 0 .05rem .1rem rgba(0, 0, 0, .5);
  box-shadow: inset 0 0 5rem rgba(0, 0, 0, .5);
}

.cover-container {
  max-width: 42em;
}

.container {
  margin-top: 20px;
}

/* Navbar Related */
.nav-masthead .nav-link {
  padding: .25rem 0;
  font-weight: 700;
  color: rgba(255, 255, 255, .5);
  background-color: transparent;
  border-bottom: .25rem solid transparent;
}

.nav-masthead .nav-link:hover,
.nav-masthead .nav-link:focus {
  border-bottom-color: rgba(255, 255, 255, .25);
}

.nav-masthead .nav-link+.nav-link {
  margin-left: 1rem;
}

.nav-masthead .active {
  color: #fff;
  border-bottom-color: #fff;
}

/* Image Related */
.img-logo {
  max-width: 28px;
  max-height: 28px;
  margin-top: 5px;
  margin-right: 4px;
}

/* Background Related */
.bg-mblue {
  background-color: #050A30;
}

/* Animation Related */
/* Fade in when page loads */
body {
  opacity: 1;
  transition-duration: 1s;
  transition-property: opacity;
}

body.fade {
  opacity: 0;
}

/* Take the test button pulse */
.pulse-default {
  color: rgba(0, 0, 0, 0.8);
  box-shadow: 0px 0px 20px 5px;
  animation: pulse-default 3.2s infinite;
}

.pulse-default:hover {
  color: rgba(0, 0, 0, 1) !important;
}

@-webkit-keyframes pulse-default {
  0% {
    -webkit-box-shadow: 0px 0px 20px 5px rgba(245, 245, 245, .8);
    color: rgba(0, 0, 0, 1);
  }

  70% {
    -webkit-box-shadow: 0px 0px 20px 5px rgba(245, 245, 245, 0);
  }

  100% {
    -webkit-box-shadow: 0px 0px 20px 5px rgba(245, 245, 245, .8);
    color: rgba(0, 0, 0, 1);
  }
}

@keyframes pulse-default {
  0% {
    -moz-box-shadow: 0px 0px 20px 5px rgba(245, 245, 245, .8);
    box-shadow: 0px 0px 20px 5px rgba(245, 245, 245, .8);
    color: rgba(0, 0, 0, 1);
  }

  70% {
    -moz-box-shadow: 0px 0px 20px 5px rgba(245, 245, 245, 0);
    box-shadow: 0px 0px 20px 5px rgba(245, 245, 245, 0);
  }

  100% {
    -moz-box-shadow: 0px 0px 20px 5px rgba(245, 245, 245, .8);
    box-shadow: 0px 0px 20px 5px rgba(245, 245, 245, .8);
    color: rgba(0, 0, 0, 1);
  }
}

/* Animation of text */
/* Take the test button increases sligthtly in size when you hover over it. */
.szinc {
  transition: transform .01s;
}

.szinc:hover {
  transform: scale(1.015);
}

/* Audio customization */
audio {
  width: 200px;
  height: 70px;
}

audio:hover {
  transform: scale(1.1);
  filter: drop-shadow(2px 3px 3px #333);
}

audio::-webkit-media-controls-time-remaining-display {
  display: none;
}
