html {
  font-family: Oswald, sans-serif;
}

body {
  font-family: Oswald, sans-serif;
  background-color: #ededed;
  color: #201f1d;
  --primary-color: #ededed;
  --secondary-color: #ededed;
  --third-color: black;
  --inverse-color: #201f1d;
  --gray: #d3d3d3;
}

.dark-mode {
  font-family: Oswald;
  background-color: #201f1d;
  color: #ededed;
  --primary-color: #201f1d;
  --secondary-color: gray;
  --third-color: #ededed;
  --inverse-color: #ededed;
  --gray: gray;
}

.container {
  max-width: 500px;
  margin: auto;
  overflow: hidden;
}

legend {
  font-family: Oswald, sans-serif;
  display: block;
  padding-inline-start: 2px;
  padding-inline-end: 2px;
  border-width: initial;
  border-style: none;
  border-color: initial;
  border-image: initial;
  width: auto;
  margin-bottom: 0;
  font-size: 1rem;
}

h2 {
  font-family: Oswald, sans-serif;
  margin-block-start: 0px;
  margin-block-end: 0px;
  font-size: 1.5rem;
  font-weight: bold;
  line-height: normal;
}

h4 {
  font-family: Oswald;
  margin-top: 50px;
  margin-block-start: 10px;
  margin-block-end: 0px;
  font-weight: normal;
  font-size: 1rem;
  line-height: normal;
}

input {
  margin: 0;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1rem;
}

#location {
  margin-block-start: 5px;
  margin-block-end: 0px;
  font-weight: normal;
  font-size: 12px;
}

p {
  font-family: Oswald, sans-serif;
  display: block;
  margin-block-start: 0px;
  margin-block-end: 0px;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  margin-bottom: 10px;
  font-weight: normal;
}

.list-group-item {
  position: relative;
  display: block;
  padding: 0.75rem 1.25rem;
  margin-bottom: -1px;
  background-color: var(--primary-color);
  border: 1px solid var(--third-color);
}

.list-group-item-even {
  /*for weird bug with border radius */
  position: relative;
  display: block;
  padding: 0.75rem 1.25rem;
  margin-bottom: -1px;
  background-color: #a2a2a2;
  border: 1px solid var(--third-color);
}

.list-group-horizontal .list-group-item:last-child {
  border-top-right-radius: 0.25rem;
  border-bottom-right-radius: 0.25rem;
  border-bottom-left-radius: 0.25rem;
  border-top-left-radius: 0.25rem;
  margin-left: -30px;
  box-shadow: var(--inverse-color) 1px 1px 0 0, var(--inverse-color) 1px 1px;
}

body tr:nth-child(odd) {
  background-color: #a2a2a2;
}

/* logos */

.logo {
  /* default */
  width: 20px;
  height: 20px;
  object-fit: cover;
  object-position: 50% 50%;
  position: relative;
  padding: 8px 8px 8px 8px;
  box-sizing: content-box;
}

.work-logo {
  width: 75px;
  height: 75px;
  object-fit: cover;
  object-position: 50% 50%;
  position: relative;
  padding: 8px 8px 8px 8px;
  box-sizing: content-box;
  margin-left: -15px;
}

#github-logo {
  width: 20px;
  height: 20px;
}
#linkedin-logo {
  width: 20px;
  height: 20px;
}
#mail-logo {
  width: 20px;
  height: 20px;
}

/* Button */
.button-link {
  appearance: button;
  background-color: #201f1d;
  background-image: none;
  border: 1px solid;
  border-radius: 4px;
  box-shadow: var(--secondary-color) 4px 4px 0 0, #201f1d 4px 4px 0 1px;
  box-sizing: border-box;
  color: #f4f4f4;
  cursor: pointer;
  display: inline-block;
  font-family: Oswald, sans-serif;
  font-size: 10px;
  font-weight: 400;
  margin: 0 5px 10px 0;
  overflow: visible;
  padding: 8px 8px;
  text-transform: none;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  vertical-align: middle;
  white-space: nowrap;
  text-decoration: none;
  margin-right: 4px;
  margin-left: 4px;
  margin-top: 10px;
}

.button-link:focus {
  text-decoration: none;
}

.button-link:hover {
  text-decoration: none;
  box-shadow: #f4f4f4 2px 2px 0 0, #201f1d 2px 2px 0 1px;
  transform: translate(2px, 2px);
}

.button-link:active {
  box-shadow: rgba(0, 0, 0, 0.125) 0 3px 5px inset;
  outline: 0;
}

.button-link:not([disabled]):active {
  box-shadow: #f4f4f4 2px 2px 0 0, #201f1d 2px 2px 0 1px;
  transform: translate(2px, 2px);
}

@media (min-width: 768px) {
  .button-link {
    padding: 5px 5px;
  }
}

#job-date {
  font-family: Oswald, sans-serif;
  font-size: 0.4rem;
  z-index: 1;
  color: var(--inverse-color);
  background-color: var(--gray);
  border: 1px solid var(--inverse-color);
  border-radius: 4px;
  box-shadow: var(--inverse-color) 1px 1px 0 0, var(--inverse-color) 1px 0 1px;
  box-sizing: border-box;
  font-size: 14px;
  padding: 10px 10px 10px 10px;
  font-weight: 400;
  max-width: 130px;
  white-space: nowrap;
}

#job-mode {
  font-family: Oswald, sans-serif;
  background-color: var(--gray);
  font-size: 10px;
}

fieldset {
  font-family: Oswald, sans-serif;
  border: 1px solid;
  border-radius: 4px;
  margin-top: 25px;
  margin-bottom: 25px;
  padding: 0.35em 0.625em 0.75em;
}

#experience-fieldset {
  font-family: Oswald, sans-serif;
  padding-top: 20px;
  padding-bottom: 10px;
  padding-left: 10px;
  padding-right: 25px;
}

#work-experience {
  font-family: Oswald, sans-serif;
  margin-bottom: 25px;
}

#date-holder {
  border: 0px solid;
  vertical-align: middle;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -10px;
}

.job-title {
  font-family: Oswald, sans-serif;
  font-size: 1rem;
  font-weight: bold;
  margin-top: 5px;
  margin-left: 0px;
  margin-bottom: 10px;
}

.job-desc {
  font-family: Oswald, sans-serif;
  font-size: 0.8rem;
  margin-top: -5px;
  margin-left: 0px;
  margin-bottom: 10px;
}

.job-text-container {
  margin-left: 10px;
  margin-top: 4px;
}

legend {
  font-family: Oswald, sans-serif;
  font-size: 16;
  font-weight: bolder;
  margin-left: 32px;
}

table {
  border-collapse: collapse;
  width: 100%;
  border: 1px solid;
  border-radius: 4px;
}

.firstReg {
  font-weight: bold;
  font-size: 20;
}

/* Switch */

/* The switch - the box around the slider */
.switch {
  font-size: 17px;
  position: relative;
  float: right;
  margin-top: 8px;
  width: 40px;
  height: 20px;
  border: #000;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #2196f3;
  transition: 0.4s;
  border-radius: 30px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 10px;
  width: 10px;
  border-radius: 20px;
  left: 0.3em;
  bottom: 0.3em;
  background-color: yellow;
  transition: 0.4s;
}

.switch input:checked + .slider:before {
  background-color: white;
  border-radius: 20px;
}

.switch input:checked + .slider {
  background-color: var(--secondary-color);
}

.switch input:focus + .slider {
  box-shadow: 0 0 1px #2196f3;
}

.switch input:checked + .slider:before {
  transform: translateX(20px);
}

.textbox {
  border-radius: 4px;
  border: 1px solid;
  background-color: var(--secondary-color);
}

::placeholder {
  color: var(--third-color);
  opacity: 1;
  font-family: Oswald, sans-serif;
}

.custom-tooltip {
  font-family: Oswald, sans-serif;
}

.project-col {
  -ms-flex-preferred-size: 0;
  flex-basis: 0;
  -ms-flex-positive: 1;
  flex-grow: 1;
  max-width: 100%;
}

/* Project Card */
.card-text {
  font-family: Oswald, sans-serif;
  font-size: 0.8rem;
  margin-top: -5px;
  margin-left: 0px;
  margin-bottom: 10px;
}

.card-title {
  font-family: Oswald, sans-serif;
  font-size: 1rem;
  font-weight: bold;
  margin-top: 0px;
  margin-left: 0px;
  margin-bottom: 10px;
}

.card-body {
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  padding: 1rem;
  text-align: left;
  height: 200px;
}

.card {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: var(--primary-color);
  background-clip: border-box;
  border: 1px solid;
  border-radius: 0.25rem;
  margin-top: 20px;
  margin-bottom: 10px;
  margin-left: 5px; /* for alignment*/
  max-width: 100%;
  box-shadow: var(--inverse-color) 1px 1px 0 0, var(--inverse-color) 1px 1px;
}

#project-badge {
  font-family: Oswald, sans-serif;
  background-color: var(--gray);
  margin-bottom: 0;
  font-size: 10px;
}

.badge-container {
  margin-top: auto;
  margin-bottom: 0rem;
  position: absolute;
  bottom: 1rem;
  left: 1rem;
}

#card-title-span {
  color: rgb(0, 188, 47);
  animation-name: flicker;
  animation-duration: 3s;
  animation-timing-function: ease-in;
  animation-iteration-count: infinite;
}

a {
  color: var(--inverse-color);
  text-decoration: none;
}