@charset "UTF-8";
/*
Theme Name: DC2026
Theme URI: https://dancrum.me
Author: Dan Crum
Author URI: https://dancrum.me
Description: Wordpress version of my website
Tags: accessibility-ready, one-column, two-columns, custom-menu, featured-images, microformats, sticky-post, threaded-comments, translation-ready
Version: 2026
Requires at least: 5.2
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v3 or Later
License URI: https://www.gnu.org/licenses/gpl.html
Text Domain: DC2026
*/
@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@200;400;600;700&family=Poppins:wght@300;500;700&family=Yellowtail&display=swap");
/* Animations */
/* Nav Background Animation - Scrolls repeating dot pattern */
@keyframes nav-bg-animation {
  from {
    background-position: 0% 0%;
  }
  to {
    background-position: 48px 48px;
  }
}
/* Main Page Background Animation - Scrolls background gradient */
@keyframes background-animation {
  from {
    background-position: 0% center;
  }
  to {
    background-position: 200% center;
  }
}
/* Hero Logo SVG Animation - Draws logo */
@keyframes logo-animation {
  0% {
    stroke-dashoffset: 1830;
  }
  15% {
    stroke-dashoffset: 1815;
  }
  35% {
    stroke-dashoffset: 1131;
  }
  80% {
    stroke-dashoffset: 699;
  }
  100% {
    stroke-dashoffset: 0;
  }
}
/* Text Animations Keyframes */
@keyframes fadeUpAni {
  from {
    opacity: 0;
    transform: translateY(50%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fadeUp {
  opacity: 0;
  animation: fadeUpAni 0.5s ease-in-out 1 normal forwards;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  width: 100vw;
  height: 100svh;
  background-color: #000;
  overflow: hidden;
  font-family: "Poppins";
}
body[data-nav=true] #nav #navBackground {
  animation: nav-bg-animation 1.5s linear infinite;
}
body[data-nav=true] #navLabel {
  left: min(321px, 100vw - 64px);
}
body[data-nav=true] #pageContent {
  left: min(350px, 100vw - 35px);
}

h1, h2, h3, h4 {
  font-family: "Nunito";
  text-transform: uppercase;
  color: #fff;
}

p {
  font-family: "Poppins";
  line-height: 1.75;
  color: #fff;
}

a {
  color: #f55959;
  text-decoration: none;
}
a:hover {
  color: #d34545;
  text-decoration: underline;
}

.button {
  display: inline-block;
  padding: 0.9rem 1.25rem;
  border: 1px solid;
  border-radius: 0.5rem;
  font-family: "Nunito";
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none !important;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.25s ease-out;
}

.primary-button {
  background-color: #f55959;
  border-color: #f55959;
  color: #fff;
}
.primary-button:hover {
  background-color: #d34545;
  border-color: #d34545;
  color: #fff;
}

.secondary-button {
  background-color: transparent;
  border-color: transparent;
  color: #fff;
}
.secondary-button:hover {
  background-color: #f55959;
  border-color: #f55959;
  color: #fff;
}

.accent {
  display: inline-block;
  font-family: "Yellowtail";
  font-weight: 400;
  font-size: 1.6em;
  color: #f55959;
  text-transform: none;
  transform: rotate(-5deg) translate(-16px, 6px);
}

nav {
  position: relative;
  height: 100%;
  width: 100%;
  padding: 60px;
}
nav #navBackground {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 8%, transparent 9%);
  background-position: 0% 0%;
  background-size: 48px 48px;
  background-repeat: repeat;
  z-index: -1;
  transition: all 1000ms ease-in-out;
}
nav svg {
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 30px;
  width: 25px;
  margin: 20px 0 0 3px;
}
nav ul:hover li a {
  opacity: 0.3;
  filter: blur(2px);
}
nav ul:hover li a:hover {
  opacity: 1;
  filter: blur(0px);
}
nav ul:hover ~ #navBackground {
  opacity: 0.75;
}
nav ul li {
  display: block;
  margin-bottom: 0.25rem;
  font-family: "Nunito";
  font-weight: 500;
  font-size: 3em;
  letter-spacing: 1px;
  opacity: 1;
  transition: all 200ms ease-in-out;
}
nav ul li a, nav ul li a:hover {
  color: #fff;
  text-decoration: none;
}

#navLabel {
  position: fixed;
  display: block;
  padding: 10px 10px 0;
  background: #000;
  top: 80px;
  left: -28px;
  font-family: "Poppins";
  font-weight: 300;
  text-transform: uppercase;
  color: #fff;
  font-size: 1.3em;
  letter-spacing: 0.15em;
  line-height: 1;
  border-radius: 5px 5px 0 0;
  transform: rotate(90deg);
  transition: left 500ms cubic-bezier(0.51, -0.21, 0.57, 1.21);
  z-index: 2;
  cursor: pointer;
}
@media (min-width: 500px) {
  #navLabel {
    left: -5px;
  }
}
#navLabel:before {
  content: "";
  display: block;
  position: absolute;
  left: -5px;
  bottom: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-color: transparent transparent #000 transparent;
  border-width: 0 0 26px 5px;
}
#navLabel:after {
  content: "";
  position: absolute;
  bottom: 0;
  right: -5px;
  border-style: solid;
  border-color: transparent transparent #000 transparent;
  border-width: 0 5px 26px 0;
}

#pageContent {
  animation: background-animation 15s linear infinite;
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100vh;
  padding: 1.5rem;
  overflow-y: auto;
  background-image: linear-gradient(to right, #3a2246, #541818, #3a2246);
  background-size: 200%;
  transition: left 500ms cubic-bezier(0.51, -0.21, 0.57, 1.21);
  scroll-behavior: smooth;
}
@media (min-width: 500px) {
  #pageContent {
    width: calc(100% - 24px);
    padding: 3rem;
    left: 24px;
  }
}
#pageContent::-webkit-scrollbar {
  width: 12px;
}
#pageContent::-webkit-scrollbar-track {
  background-color: rgba(0, 0, 0, 0.1);
  box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.5);
}
#pageContent::-webkit-scrollbar-thumb {
  background-color: #f55959;
  border-radius: 6px;
}

footer#footer {
  max-width: 1200px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  margin: 4rem auto 0;
  padding: 0.5rem 0 0;
  color: rgba(255, 255, 255, 0.4);
  font-family: "Poppins";
  font-weight: 300;
}
footer#footer p {
  color: rgba(255, 255, 255, 0.4);
}

#hero {
  height: calc(100svh - 100px);
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 50px;
  border-radius: 25px;
  padding-bottom: 125px;
}
#hero h1 {
  font-size: 5em;
  text-align: center;
  line-height: 0.9;
  color: #fff;
  position: relative;
  text-transform: none;
}
#hero h1 div {
  display: inline-block;
}
#hero svg {
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 30px;
  stroke-dasharray: 1830;
  stroke-dashoffset: 1830;
  animation: logo-animation 0.6s ease-in-out 1 normal forwards;
  width: 200px;
  margin-bottom: 20px;
}
@media (hover: none) {
  #hero svg {
    width: 120px;
  }
}

header.header {
  display: flex;
  flex-direction: row;
  width: 80%;
  max-width: 1200px;
  margin: 0 auto 3rem;
}
@media (min-width: 500px) {
  header.header {
    width: 100%;
  }
}
header.header svg {
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 40px;
  width: 60px;
  margin-bottom: 20px;
}
header.header a {
  text-decoration: none;
}
header.header h1 {
  color: #fff;
  font-size: 2.2rem;
  font-weight: 600;
  margin: -4px auto 0 1rem;
  line-height: 1;
  text-transform: uppercase;
}
header.header p {
  color: rgba(255, 255, 255, 0.5);
  margin: 0 auto 0 1rem;
}

.about {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 100%;
  max-width: 1000px;
  padding-top: 10rem;
  margin: 0px auto 10rem;
  gap: 40px;
  --pic-size: 260px;
  --pic-img-size: 290px;
}
@media (min-width: 500px) {
  .about {
    --pic-size: 300px;
    --pic-img-size: 330px;
  }
}
@media (min-width: 769px) {
  .about {
    flex-direction: row;
    gap: 100px;
  }
}
@media (min-width: 1025px) {
  .about {
    --pic-size: 400px;
    --pic-img-size: 430px;
  }
}
.about .about__copy {
  margin: 0 0 0 auto;
  position: relative;
}
.about .about__copy h2 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: center;
}
@media (min-width: 500px) {
  .about .about__copy h2 {
    font-size: 2.5rem;
    text-align: left;
  }
}
.about .about__copy p {
  color: #fff;
  font-size: 1.25em;
  font-weight: 300;
  margin-bottom: 20px;
}
.about .about__photo {
  position: relative;
  width: var(--pic-size);
  min-width: var(--pic-size);
  height: var(--pic-size);
  margin: 0 auto;
  background: linear-gradient(#f55959, #d34545);
  border-radius: calc(var(--pic-size) / 2);
  border: 5px solid #fff;
  box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.5);
}
.about .about__photo .photo-wrapper {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: -moz-fit-content;
  height: fit-content;
  border-radius: 0 0 calc(var(--pic-size) / 2) calc(var(--pic-size) / 2);
  overflow: hidden;
}
.about .about__photo .photo-wrapper img {
  width: var(--pic-img-size);
  height: auto;
  vertical-align: bottom;
}

#portfolio {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  gap: 2rem;
  flex-wrap: wrap;
}

.portfolio__card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1/1.25;
  padding-inline: 3rem;
  border: 1px solid rgba(255, 255, 255, 0);
  border-radius: 1.5rem;
  box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.6);
  transition: transform 0.5s ease-out;
  text-decoration: none;
  cursor: pointer;
}
@media (min-width: 500px) {
  .portfolio__card {
    aspect-ratio: 8/5;
  }
}
@media (min-width: 1025px) {
  .portfolio__card {
    width: calc(50% - 1rem);
  }
}
.portfolio__card.light {
  color: #fff;
}
.portfolio__card.light p {
  font-weight: 300;
}
.portfolio__card.dark h3, .portfolio__card.dark p {
  color: #181818;
  mix-blend-mode: color-burn;
}
.portfolio__card.dark p {
  font-weight: 400;
}
.portfolio__card:after {
  content: "";
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(transparent 30%, rgba(255, 255, 255, 0.1));
  mix-blend-mode: color-dodge;
  opacity: 0;
  transition: all 0.5s ease-out;
}
.portfolio__card:hover {
  transform: perspective(1000px) rotateX(5deg);
  box-shadow: 0px 20px 15px -15px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.25);
  text-decoration: none;
}
.portfolio__card:hover:after {
  content: "";
  opacity: 1;
}
.portfolio__card h3 {
  font-family: "Nunito";
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1.75rem;
  letter-spacing: 1px;
  text-align: center;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}
.portfolio__card p {
  font-family: "Poppins";
  line-height: 1.4;
  max-width: 300px;
  text-align: center;
  opacity: 0.7;
}
.portfolio__card img {
  width: 200px;
  height: auto;
  margin-bottom: 1.75rem;
}

.type-portfolio {
  position: relative;
  max-width: 1200px;
  border-radius: 2rem 2rem 0 0;
  overflow: hidden;
  margin: 0 auto;
}
.type-portfolio .featured-image {
  position: absolute;
  width: 100%;
  -webkit-mask-image: linear-gradient(rgb(0, 0, 0) 20%, rgba(0, 0, 0, 0.15) 70%, transparent);
          mask-image: linear-gradient(rgb(0, 0, 0) 20%, rgba(0, 0, 0, 0.15) 70%, transparent);
  z-index: 1;
}
.type-portfolio .featured-image img {
  width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
}
.type-portfolio .entry-content {
  z-index: 2;
  position: relative;
  padding-top: 18vh;
  width: 100%;
  margin: 0 auto;
}
@media (min-width: 500px) {
  .type-portfolio .entry-content {
    padding-top: 40vw;
  }
}
@media (min-width: 1025px) {
  .type-portfolio .entry-content {
    padding-top: 550px;
    width: 90%;
  }
}
.type-portfolio .entry-content h1 {
  text-align: center;
}
.type-portfolio .entry-content h1 a {
  font-size: min(7.6vw, 3.5rem);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.type-portfolio .entry-content .tag-links {
  text-align: center;
  display: block;
  margin: 0 auto 3rem;
  font-family: "Poppins";
  font-size: 1rem;
  color: #fff;
}
.type-portfolio .entry-content .tag-links a {
  color: #f55959;
  text-decoration: none;
  text-transform: lowercase;
}
.type-portfolio .entry-content .tag-links a:hover {
  color: #fff;
}
.type-portfolio .entry-content .tag-links a.post-edit-link {
  margin-left: 1rem;
}
.type-portfolio .entry-content .tag-links a.post-edit-link:before {
  content: "·";
  color: #fff;
  padding-right: 1rem;
}
.type-portfolio .entry-content h2 {
  font-size: min(7vw, 2.25rem);
}
.type-portfolio .entry-content .screen-preview {
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1rem;
}
.type-portfolio .entry-content .screen-preview-inner {
  overflow-y: scroll;
  aspect-ratio: 3/5;
}
@media (min-width: 500px) {
  .type-portfolio .entry-content .screen-preview-inner {
    aspect-ratio: 16/9;
  }
}
.type-portfolio .entry-content .screen-preview-inner img {
  width: 100%;
  height: auto;
}
.type-portfolio .entry-content .wp-block-group-is-layout-grid img {
  border-radius: 1rem;
}
.type-portfolio .button.primary-button {
  margin: 4rem auto 0;
  display: block;
  width: -moz-fit-content;
  width: fit-content;
}
.type-portfolio .wp-block-icb-image-compare {
  border-radius: 1rem;
  overflow: hidden;
}
.type-portfolio .wp-block-icb-image-compare .icb-label {
  font-family: "Nunito";
  text-transform: uppercase;
  letter-spacing: 1px;
}
.type-portfolio .wp-block-icb-image-compare .icb-default-icon {
  border-radius: 50%;
}

.scrim {
  background-color: rgba(0, 0, 0, 0.8) !important;
}

#portfolio-blurb {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
#portfolio-blurb h2 {
  color: #fff;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
}
#portfolio-blurb .wrapper {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
#portfolio-blurb .button {
  margin: 2rem 0 0 auto;
}

form.contact {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1.5rem;
  flex: 1;
  color: #fff;
}
form.contact p {
  width: 100%;
}
@media (min-width: 500px) {
  form.contact p {
    width: calc(50% - 0.75rem);
  }
  form.contact p:has(label.fullwidth) {
    width: 100%;
  }
}
form.contact p:has(input.button) {
  width: 100%;
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
}
form.contact label {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  font-family: var(--copy-font);
  font-size: 0.75rem;
  width: 100%;
}
form.contact label span {
  width: 100%;
}
form.contact label input, form.contact label textarea {
  width: 100%;
  font-size: 1rem;
  padding: 1rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: var(--copy-font);
}
form.contact label textarea {
  height: 200px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  line-height: 1.5;
}
form.contact #secondary-telephone {
  display: none;
}
form.contact .button {
  margin-left: auto;
  margin-right: 0;
}

#contact-popover {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80vw;
  max-width: 1000px;
  height: -moz-fit-content;
  height: fit-content;
  border-radius: 2rem;
  border: none;
  padding: 100px;
  background-image: linear-gradient(#3a2246, #541818);
  color: #fff;
  text-align: left;
}
#contact-popover::backdrop {
  background-color: rgba(0, 0, 0, 0.8);
}
#contact-popover .wrapper {
  display: flex;
  flex-wrap: wrap;
}
#contact-popover h2 {
  font-size: 2rem;
  text-transform: uppercase;
  margin-bottom: 2rem;
  width: 100%;
}
#contact-popover p {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  line-height: 1.75;
  width: 100%;
}
#contact-popover p.email, #contact-popover p.telephone {
  width: 50%;
}
#contact-popover p span {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.6);
  mix-blend-mode: color-dodge;
  margin-bottom: 0.25rem;
}
#contact-popover p.msg-warning {
  margin-top: 4rem;
  font-size: 1rem;
  text-align: right;
}
#contact-popover .button-wrapper {
  text-align: right;
  width: 100%;
}
#contact-popover .button-wrapper .primary-button {
  margin-left: 1.5rem;
  margin-right: 0;
}

.contact-blurb {
  max-width: 1200px;
  margin: 5rem auto 0;
}
.contact-blurb h2 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 2rem;
  text-align: center;
}
.contact-blurb .contact {
  max-width: 1000px;
  margin: 0 auto;
}

#contact {
  max-width: 1200px;
  margin: 0 auto;
  gap: 3rem;
}
#contact .snippet h2 {
  font-size: 2.5rem;
  color: #fff;
}
#contact .snippet p {
  color: #fff;
  font-size: 1rem;
  font-weight: 300;
}
#contact .snippet a svg {
  width: 50px;
  height: auto;
  margin-top: 3rem;
}
#contact .snippet a svg path {
  fill: #f55959;
}
#contact .snippet a:hover svg path {
  fill: #fff;
}

.content-wrapper {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}
.content-wrapper h1 {
  font-size: 3rem;
  line-height: 1.1;
  margin-bottom: 2rem;
  text-align: center;
}

body.home .content-wrapper {
  max-width: none;
}

.about-img {
  margin: 2.5rem auto;
  text-align: center;
}
.about-img img {
  padding: 1rem;
  background-color: #fff;
  transform: rotate(1deg);
  box-shadow: 2px 2px 6px 0px rgba(0, 0, 0, 0.5);
}
.about-img figcaption {
  color: #fff;
  margin-top: 1rem;
}/*# sourceMappingURL=style.css.map */