/* Remove animations for folks who set their OS to reduce motion.
 1. Immediately jump any animation to the end point
 2. Remove transitions & fixed background attachment
 See: https://github.com/mozdevs/cssremedy/issues/11
*/
@media (prefers-reduced-motion: reduce) {

  *,
  ::before,
  ::after {
    animation-delay: -1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    background-attachment: initial !important;
    scroll-behavior: auto !important;
    transition-delay: 0s !important;
    transition-duration: 0s !important;
  }
}

/* Hide only visually, but have it available for screenreaders: h5bp.com/v */
.visually-hidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

section.resume-section {
  display: flex;
  padding-top: 2rem;
  padding-bottom: 2rem;
  padding-left: 1rem;
  padding-right: 1rem;
  max-width: 75rem;
}

section.resume-section .resume-section-content {
  width: 100%;
}

@media (min-width: 768px) {
  section.resume-section {
    min-height: min-content;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}

@media (min-width: 992px) {
  section.resume-section {
    padding-left: 3rem;
    padding-right: 3rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}

::selection {
  color: #fff;
  background-color: var(--bs-primary);
}

ul {
  list-style-type: circle;
}

.post {
  position: relative;
  padding: 0;
  text-align: left;
  margin: 3em 0;
}

.day-date {
  display: none;
}

.post-title {
  margin: .5em 0;
  line-height: 1.17;
  font-size: 2.8em;
}

@media (max-width: 320px) {
  .post-title {
    font-size: 1.8em;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.post-title a {
  text-decoration: none;
}

.post h3,
.post h4,
.post h5,
.post h6 {
  font-weight: normal;
  font-variant: small-caps;
  margin: 1.5em 0 0.5em;
}

.post-infos {
  margin-bottom: 8em;
  padding: 0;
  font-size: 0.875em;
  display: table;
  width: 100%;
  height: auto;
  border: 1px solid #e9ecef;
  background: #f8f9fa;
}

.dc-post .post-infos {
  margin-bottom: 2em;
}

p.post-info span {
  margin-right: 1em;
  white-space: nowrap;
}

.post-content img,
.post-excerpt img {
  border: 1px solid #ced4da;
  max-width: 96%;
  padding: 2px;
}

blockquote {
  font-size: 0.9em;
  line-height: 1.33;
  quotes: "“""”";
  margin-top: 1.7777778em;
  font-style: italic;
}

blockquote:before,
blockquote:after {
  margin-top: 0;
  font-size: 3em;
  display: block;
  line-height: .25;
  color: #dcdcdc;
  margin-bottom: 0;
}

blockquote:before {
  content: open-quote;
  float: left;
  margin-right: .25em;
}

blockquote:after {
  content: close-quote;
  text-align: right;
}

blockquote p:first-child {
  margin-top: 0;
}

@media (min-width: 768px) {

  .post-content img,
  .post-excerpt img {
    max-width: 100%;
  }
}

img.smiley {
  border: none;
  padding: 0;
}

.permalink a {
  padding-left: 20px;
}

.post-content,
.post-excerpt {
  font-size: 1.2em;
}

.post-content p,
.post-excerpt p {
  font-size: 1em;
}

.post-content ul,
.post-content ol {
  font-size: 1.2em;
}

.post-content ul,
.post-content ol {
  margin: .5em 0;
  font-size: inherit;
}

.post-content li {
  margin: .5em 0;
  font-size: inherit;
  list-style-type: inherit;
}

.footnotes {
  font-size: .875em;
}

.footnotes h4 {
  font-variant: normal;
  font-weight: bold;
}

.read-it {
  margin: 0 0 1em;
  font-size: 1.5em;
}

.post-info-co {
  font-size: 0.8em;
  font-style: italic;
  padding-right: .5em;
  max-width: 80%;
}

.post-info-co a {
  text-decoration: none;
  padding-right: 1em;
  padding-left: 0;
}

ul.post-tags-list {
  list-style-type: none;
  padding: 0;
}

ul.post-tags-list li {
  display: inline;
  margin-right: 1em;
  color: #495057;
}

.dc-tags .tag0,
.tags .tag0 {
  font-size: 85%;
}

.dc-tags .tag10,
.tags .tag10 {
  font-size: 90%;
}

.dc-tags .tag20,
.tags .tag20 {
  font-size: 95%;
}

.dc-tags .tag30,
.tags .tag30 {
  font-size: 100%;
}

.dc-tags .tag40,
.tags .tag40 {
  font-size: 105%;
}

.dc-tags .tag50,
.tags .tag50 {
  font-size: 110%;
}

.dc-tags .tag60,
.tags .tag60 {
  font-size: 115%;
}

.dc-tags .tag70,
.tags .tag70 {
  font-size: 120%;
}

.dc-tags .tag80,
.tags .tag80 {
  font-size: 125%;
}

.dc-tags .tag90,
.tags .tag90 {
  font-size: 130%;
}

.dc-tags .tag100,
.tags .tag100 {
  font-size: 135%;
}

#attachments {
  margin: 3em 0;
}

#attachments ul,
#attachments li {
  list-style-type: none;
  margin: 0;
  padding: 0;
  font-size: 1.2em;
}

#comments,
#ping-url,
#comment-form,
#comments-feed {
  color: #212529;
  clear: both;
}

#comment-form,
#ping-url {
  padding: 1em;
  margin-top: 1em;
  color: #212529;
  border: 1px solid #e9ecef;
}

#pr {
  padding: 1em;
  border: 1px dashed #e9ecef;
  margin-bottom: 1em;
}

#comments h3,
#ping-url h3,
#pr h3,
#comment-form h3 {
  margin-top: 2em;
  color: #868e96;
}

#comment-form h3,
#ping-url h3 {
  margin-top: 0;
}

#comments>ul {
  margin-left: .2em;
  padding-left: 0;
  list-style-type: none;
}

.comment,
.ping {
  clear: left;
  margin-left: 0;
  border-top: 1px solid #e9ecef;
}

.comment-info {
  padding-bottom: .2em;
  line-height: 1.25;
  color: #495057;
}

#comments .me {
  border: 1px solid #e9ecef;
  border-radius: 5px;
  padding: 0.5em 0 0 0.5em;
  margin: 1em;
}

#comments {
  font-size: 1em;
  color: #343a40;
}

#comments dl {
  font-size: 1.2em;
  margin: 3em 1em;
}

#comments dd {
  margin-left: 1.2em;
  color: #495057;
  font-size: 0.875em;
}

#post-comments,
#pings,
#attachments,
#pr {
  padding-top: 3em;
}

.field {
  margin-bottom: 1em;
}

.field label {
  display: block;
  font-size: .875em;
  color: #868e96;
  text-indent: 6px;
}

.field input,
.field textarea {
  display: block;
  font-size: 100%;
  border: 1px solid #ced4da !important;
  padding: 4px;
  background: #fff;
  border-radius: 3px;
}

.field textarea {
  padding: .5em 1em;
}

.field input:focus,
.field textarea:focus {
  background: #fff;
}

#c_content {
  width: 95%;
  padding: 4px;
}

.form-help {
  margin-top: 0;
  font-style: italic;
}

#comments-feed {
  margin-top: 2em;
}

#search p {
  background: #fff;
  border: 1px solid #e9ecef;
  vertical-align: middle;
  padding: 0;
  display: inline-block;
}

#search input {
  margin: 0;
  border: none;
  background: transparent;
}

#q:focus,
#q:hover {
  background: #fff;
}

#search .submit {
  background-color: var(--bs-primary);
  color: #fff;
  vertical-align: top;
  font-variant: small-caps;
  height: 2em;
  -webkit-transition: all .3s ease-in-out;
  -moz-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
  font-weight: bold;
}

#search .submit:focus {
  background: var(--bs-primary);
}

#search .submit:hover {
  background: #495057;
}

ul.post-tags-list {
  list-style-type: none;
  padding: 0;
}

ul.post-tags-list li {
  display: inline;
  margin-right: 1em;
  color: #495057;
}

ul.post-tags-list li a {
  color: #495057;
}

#search.widget p {
  max-width: 20rem;
}

button.preview,
button.submit {
  border: none;
  padding: 5px 10px;
  text-transform: uppercase;
  -webkit-transition: all .3s ease-in-out;
  -moz-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
  color: #fff;
  background-color: var(--bs-primary);
  font-weight: bold;
}

button.preview:hover,
button.submit:hover {
  color: #fff;
  background-color: #495057;
}

.dc-search em {
  font-weight: bold;
}

.dc-search em:before {
  content: '"';
}

.dc-search em:after {
  content: '"';
}

.img-profile {
  object-fit: cover;
  width: 15rem;
  height: 15rem;
}

/* COLOR SWITCHER */

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

a:hover, a:focus, a:active {
  filter: brightness(50%);
  color: var(--bs-primary);
}

.social-icons .social-icon:hover {
  background-color: var(--bs-primary);
}

.dev-icons .list-inline-item i:hover {
  color: var(--bs-primary);
}

.bg-primary {
  background-color: var(--bs-primary) !important;
}

.text-primary {
  color: var(--bs-primary) !important;
}

#content a:hover {
  filter: brightness(50%);
}

::selection {
  color: #fff;
  background-color: var(--bs-primary);
}

#search .submit {
  background-color: var(--bs-primary);
}

#search .submit:focus {
  background: var(--bs-primary);
}

button.preview,
button.submit {
  background-color: var(--bs-primary);
}

#sideNav a:hover, #sideNav a:active, #sideNav a:focus {
  color: #fff;
  filter: brightness(100%);
}

a[href$=jpg], a[href$=jpeg], a[href$=jpe], a[href$=png], a[href$=gif] {
  filter: none !important;
}

.social-icons a:hover {
  color: #fff;
  filter: brightness(100%);
}