body, html {
  height: 100%;
  font-family: "Inconsolata", sans-serif;
  /* background-image: url('photos/Background-texture.jpg');
  background-size: cover;
  background-position: center; 
  background-repeat: no-repeat;
  background-attachment: fixed;  */
  background-color: #decbb7ff;
  text-align: center;
}

/* body {
  cursor: url('photos/Side-rose-cursor.png'), default; 
   cursor image must be less than 128x128
} */

/* Colour pallete:
--lavender-mist: #f7f0f5ff;
--pale-oak: #decbb7ff;
--grey-olive: #8f857dff;
--stone-brown: #5c5552ff;
--deep-mocha: #433633ff; */

/* header?! */
#header {
  margin-top: 70px;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  background-color: #6f5e53ff;
  text-align: center;
  border-radius: 10px;
  padding: 10px;
}

.mobile-title {
  display: none;
}

@media (max-width: 600px) {
  .desktop-title {
    display: none;
  }
  .mobile-title {
    display: inline;
  }
}


.typewriter {
  display: inline-block;
  overflow: hidden;
  border-right: .15em solid #d1daff;
  white-space: nowrap;
  max-width: 0;
  letter-spacing: .15em; 
  animation: 
    typing 5s steps(40, end) forwards, /* Typing animation */
    blink-caret .75s step-end 5s; /* Blinking cursor animation */
  animation-fill-mode: forwards;
}

@keyframes typing {
  from { max-width: 0 }
  to { max-width: 100% }
}

@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: #d1daff; }
}


.outside-border {
  color: #f7f0f5ff;
  height: fit-content;
  max-width: 750px;
  background-color: #8f857dff;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 15px 20px -5px;
  text-align: left;
  border-radius: 10px;
  margin-left: auto;
  margin-right: auto;
  padding: 20px 20px;
}

.horizontal-text-container {
  color: #f7f0f5ff;
  height: fit-content;
  max-width: 750px;
  background-color: #6f5e53ff;
  /* box-shadow: rgba(0, 0, 0, 0.25) 0px 15px 20px -5px; */
  text-align: left;
  border-radius: 10px;
  margin-left: auto;
  margin-right: auto;
  padding: 10px 40px;
}

.title {
  color: #d1daff;
}

.caption {
  color: #c2c2c2;
}

/* contact me... */
#contact-me {
  margin-bottom: 10px;
  display: flex;
  gap: 20px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.contact-link p {
  margin: 0;
}

.contact-link:hover img {
  transform: scale(1.05);
  transition: 0.2s ease;
}

.contact-link:hover p {
  color: #d1daff;
  transition: 0.2s ease;
}


/* on smaller screens */
@media (max-width: 600px) {
  #header {
    margin-top: 20px;
    padding: 1rem;
  }

  h1 {
    font-size: 1.4rem;
  }
}



/* MY SPIN CUBE HEADER LOL */

.cube {
  /* display: inline-block; */
  display: flex; 
  position: relative;
  width: 140px;
  height: 1.2em;
  perspective: 800px;
  transform-style: preserve-3d;
  animation: cubeSpin 8s infinite ease-in-out;

  transform-origin: center center;

  margin-left: auto;
  margin-right: auto;
  font-size: 1.4rem;
  color: #f7f0f5ff;
}

.cube .face {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;

  margin-left: auto;
  margin-right: auto;
}

/* cube faces */
.cube .face:nth-child(1) {
  transform: rotateX(0deg) translateZ(0.6em);
}
.cube .face:nth-child(2) {
  transform: rotateX(90deg) translateZ(0.6em);
}
.cube .face:nth-child(3) {
  transform: rotateX(180deg) translateZ(0.6em);
}
.cube .face:nth-child(4) {
  transform: rotateX(270deg) translateZ(0.6em);
}

/* cube rotation */
@keyframes cubeSpin {
  0%, 15%   { transform: rotateX(0deg); }
  25%, 40%  { transform: rotateX(-90deg); }
  50%, 65%  { transform: rotateX(-180deg); }
  75%, 90%  { transform: rotateX(-270deg); }
  100%      { transform: rotateX(-360deg); }
}

