.code {
  font-family: 'Fira Code', monospace;
  font-style: normal;
}

.container p {
  margin: 1em 0 0.25em;
}

.btn {
  white-space: nowrap;
  padding: 0;
}

.btn:active {
  box-shadow: none;
}

.hidden {
  display: none;
}

.text-right {
  margin-top: 0;
  white-space: nowrap;
  font-style: normal;
}

.text-right a {
  font-size: 0.8em;
}

#popup .links {
  margin-top: 1em;
}

.opt {
  height: 45px;
}

.opt.chooseData label {
  position: relative;
  bottom: 12px;
}

.opt.chooseData,
.opt.choosePass,
.opt.chooseFile,
.opt.switchExpire {
  display: none;
}

#copied {
  opacity: 0.0;
  visibility: "hidden";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  color: var(--white);
  background-color: var(--blue1);
  z-index: 3;
  position: absolute;
  top: calc(50% - 40px);
  left: calc(50% - 40px);
  box-shadow: 2px 2px var(--blackTrans);
  border-radius: 50%;
  font-size: 40px;
  pointer-events: none;
  position: fixed;
}

ul.noBullet {
  list-style-type: none;
}

ul.noBullet>li>a {
  color: var(--white);
}

ul.noBullet>li>a img {
  color: var(--white);
}

li {
  line-height: 1.25em;
  margin: 0 0 0.5em 0;
}

li img {
  position: relative;
  border-radius: 50%;
  background-color: var(--whiteTrans);
  box-shadow: 2px 2px var(--blackTrans);
  padding: 1px;
  top: -2px;
}

.favicon {
  position: relative;
  top: -2px;
  margin: 0 !important;
  width: initial !important;
}

.graphGroup {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  padding: 0 1em;
}

.graphGroup>* {
  flex: 1;
  flex-basis: 50%;
  max-width: 50%;
  padding: 0 1em;
}

/* Pages */

#resume div {
  overflow: visible;
}

.pubPhoto {
  overflow: hidden !important;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 240px;
  border-radius: 0.5em;
  box-shadow: 2px 2px var(--blackTrans);
  margin-bottom: 1em;
  max-height: 10vw;
  position: relative;
  transform: rotate(-3deg);
  margin-top: 6px;
}

.pubPhoto a:not(.reset),
.pubPhoto img {
  width: 100%;
  height: 100%;
}

.pubPhoto .reset {
  position: absolute;
  bottom: 0.2em;
  left: 0.2em;
  color: white;
  font-size: 0.8em;
}

.pubPhoto .reset svg {
  filter: drop-shadow(2px 2px var(--blackTrans));
}

.pubNoPhoto {
  text-align: center;
  display: block;
  padding: 1em 0 0.5em;
}

.tiny {
  font-size: 0.75em;
  margin-bottom: 1.5em;
  display: block;
}

.row {
  margin: 1em 0;
}

.row:not(:last-of-type) {
  border-bottom: 1px solid var(--whiteTrans);
}

/* Switch */

.switchPublic {
  position: relative;
  display: inline-block;
  width: 90px;
  height: 34px;
  margin-bottom: 0;
  bottom: -5px;
  margin-top: 0;
  margin-bottom: 0;
}

.switchPublic input {
  display: none;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ca2222aa;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 50%;
  z-index: 1;
}

input:checked+.slider {
  background-color: #2ab934aa;
}

input:focus+.slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked+.slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(55px);
}

.slider:after {
  content: 'Private';
  color: white;
  display: block;
  position: absolute;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 66%;
  font-size: 10px;
  font-family: Verdana, sans-serif;
  transition: left 0.25s;
}

input:checked+.slider:after {
  content: 'Public';
  left: 33%;
}

.previewBox {
  font-size: 0.75em;
  padding-right: 0.5em;
}

.previewBox input {
  width: 14px;
  height: 14px;
  box-shadow: none;
}

/* Page Transitions */
#splash,
#resume,
#popup {
  display: none;
}

@-moz-document url-prefix() {
  .opt.chooseData label {
    top: -6px;
  }
}

/* Popup */

#popup {
  font-size: initial;
  position: absolute;
  top: 8%;
  left: 20%;
  background-color: var(--white);
  color: var(--black);
  text-shadow: none;
  padding: 1em;
  border-radius: 1em;
  width: 400px;
  max-width: calc(100% - 2em);
  box-shadow: 2px 2px var(--blackTrans);
  z-index: 2;
}

#popup>a,
#popup p a,
#popup .tabGroup a {
  color: var(--blue);
  font-size: 1.25em;
}

#popup small a {
  font-size: 1em !important;
}

#popup a:hover,
#popup .btn:hover,
#popup #copyURL:hover {
  color: var(--blue4) !important;
}

#popup .fa-link {
  margin-right: 0.1em;
  font-size: 0.9em;
}

#popup img:not(.favicon) {
  margin-top: 1em;
  max-height: 400px;
  width: auto;
  max-width: calc(100% - 2px);
  border-radius: 0.5em;
  box-shadow: 2px 2px var(--blackTrans);
  margin-bottom: 2px;
}

#popup .preview {
  text-align: center;
  display: block;
}

#popup textarea {
  width: 100%;
  height: 40vh;
}

#data {
  resize: none;
}

#popup .links {
  display: block;
}

#popup .links a {
  color: var(--blue);
  margin-right: 0.5em;
  font-size: 0.8em;
  text-transform: lowercase;
}

#popup h3 {
  margin-bottom: 1em;
  margin: 0.25em 0.25em 0.75em;
}

#popup h3 small,
#popup h4 small {
  color: var(--black);
}

#popup h4 {
  margin-bottom: 0.5em;
}

#popup h5 {
  text-align: center;
  font-weight: bold;
}

#popup hr {
  border: 1px solid var(--blueLight);
  margin: 0.5em 0;
}

#popup small {
  line-height: 1.75em;
  display: block;
}

#popup small.truncate {
  /* word-break: break-all; */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Tabs */
.tabMenu {
  display: inline-block;
  width: 100%;
  margin: 0 0 0.5em;
  padding: 0;
}

.tabMenu li {
  text-indent: 0;
  padding: 0.45em;
  margin: 2px 2px 0.5em 2px;
  display: inline-block;
  background-color: #ffffff;
  box-shadow: 0 -5px 5px 0px rgba(240, 240, 240, 1);
  border-radius: 3px 3px 0 0;
  border-top: 2px solid #AAAAAA;
  border-left: 1px solid #f4f4f4;
  border-right: 1px solid #f4f4f4;
  cursor: pointer;
  font-weight: 500;
  text-align: center;
}

.tabMenu li.active {
  color: var(--blue3);
  font-weight: bold;
  border-top-color: var(--blue2);
}

.tabMenu li::before {
  display: block;
  content: attr(title);
  font-weight: bold;
  height: 0;
  overflow: hidden;
  visibility: hidden;
}

#popup h3 {
  max-height: 6em;
  overflow: hidden;
}

#popup textarea {
  max-height: calc(84vh - 230px);
}

.tabGroup>.tab {
  max-height: calc(84vh - 230px);
  overflow-x: hidden;
  overflow-y: scroll
}

#popup>p {
  max-height: calc(84vh - 230px);
  overflow-x: hidden;
  overflow-y: scroll
}

.tabGroup .tab:not(:first-child) {
  display: none;
}

@media only screen and (max-width: 500px) {

  ul.noBullet {
    padding: 0;
  }

  .previewBtn {
    display: none;
  }

  .previewBox {
    display: none;
  }

  .opt:not(.switchPublic) {
    height: 59px;
  }

  .opt.switchCustom,
  .opt.switchExpire {
    margin: 0.25em 0;
  }

  .opt.chooseData label {
    top: 0;
  }

  #popup {
    top: 0;
    left: 0;
    margin: 1em;
    width: 100%;
    max-height: calc(100vh - 2em);
  }

  #popup h3 {
    font-size: 1.5em;
  }

  #popup .favicon {
    max-height: 22px;
  }

  #popup img:not(.favicon) {
    max-height: 200px;
  }
}