@font-face {
  font-family: "caslon-antique";
  src: url("caslon-antique.regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

*,
*::before,
*::after {
  box-sizing: custom-border;
  margin: 0;
  padding: 0;
}

/* note -- :ROOT IS USED TO DENOTE GLOBAL VARIABLES IN CSS TO ENSURE THEY'RE AVAILABLE THROUGHOUT THE ENTIRE DOCUMENT */
:root {
  --goya-navy: rgba(29, 34, 45);
  --goya-teal: rgba(19, 48, 44);
  --goya-olive: rgba(104, 95, 15);
  --goya-red: rgba(219, 44, 5);
  --goya-gold: rgba(175, 113, 13);
}

.site-title {
  text-shadow: 0px 0px 0 rgb(208, 78, 174), 0.5px 0.5px 0 rgb(224, 35, 92),
    1px 1px 0 rgba(175, 113, 13), 1.5px 1.5px 0 rgb(219, 204, 219),
    2px 2px 0 rgb(34, 229, 167);
  font-family: "caslon-antique";
  font-weight: 1;
  text-transform: lowercase;
  font-size: calc(2rem + 5vh);
  text-align: center;
  color: var(--goya-teal);
  letter-spacing: 1rem;
  margin: 40px 0 -65px 0;
}

body {
background-color: #e5e5f7;
opacity: 1;
background-size: 100%;
background-image: url(/blog/images/tie-dye-background.jpg);
}

a {
  text-decoration: none;
  font-family: "caslon-antique", Arial, Helvetica, sans-serif;
  color: var(--goya-red);
}

a:hover {
  color: var(--goya-gold);
  font-style: oblique;
}
b {
  font-family: "caslon-antique", Arial, Helvetica, sans-serif;
  color: var(--goya-gold);
}

/* note -- UNORDERED LISTS CUSTOMIZATION: HIDES ORIGINAL CIRCLE AND SHRINKS STRAWBERRY IMAGE  */

ul {
  list-style: none;
}

.link-list li {
  padding-left: 15px;
  background: url(strawbypixel.gif) no-repeat left center;
  background-size: 10px 10px;
}

.main-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-content: center;
  align-items: flex-start;
}

.main-wrapper {
  flex: auto;
  flex-direction: column;
  max-width: 45rem;
  min-width: 30rem;
  padding: 10px;
  margin: 90px 10px 50px 30px;
  background-color: rgba(7, 8, 12, 0.87);
  border-style: ridge;
  border-color: rgba(235, 122, 179, 0.854);
  border-width: 2px;
  font-family: "caslon-antique", Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
  color: white;
}

.horizontal-container {
  padding-block: 5px;
  display: flex;
  overflow: hidden;
  user-select: none; 
  max-width: 900px;
  background-color: rgba(7, 8, 12, 0.87);
  border-style: ridge;
  border-color: rgba(235, 122, 179, 0.854);
  border-width: 2px;
  font-family: "caslon-antique", Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
  color: white;
  gap:2rem;
  margin: 50px;
}

.horizontal-container ul {
  list-style: none;
  display: flex;
  flex-shrink: 0;
  min-width: 100%;
  justify-content:space-between;
  align-items: center;
  animation: scroll 20s linear infinite;
}

@keyframes scroll {
  from {
    transform: translateX(-100%)
  }
}

.horizontal-container ul,li {
  list-style: none;
}

.side-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 10em;
  padding: 20px;
  margin: 90px 30px 50px 10px;
  background-color: rgba(7, 8, 12, 0.87);
  border-style: ridge;
  border-color: rgba(235, 122, 179, 0.854);
  border-width: 2px;
  font-family: "caslon-antique", Arial, Helvetica, sans-serif;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
}

.main-secondary-container {
  padding: 20px 10px;
  margin: 5px;

}

 .index-photos+span{
  font-size: 15px;
  font-style: italic;
  background-color: rgba(104, 95, 15, 0.2);
  padding: 0 5px;
  margin-bottom: 15px;
  border: rgba(104, 95, 15, 0.2) 1px solid;
}

img.index-photos {
width: 200px;
}

.index-container :not(img) {
  display: flex;
  flex-direction:column;
  margin: 22px 0 0 0;
}

span.index-photos {
  border: red 2px solid;
  display: flex;
  width:fit-content;
  flex-direction: row;
} 

.index-container img {
  margin-top: 15px;
}

.index-container img, .index-photos {
  border: rgba(104, 95, 15, 0.2) 5px solid;
  align-self: center;
}

/* TITLE PAGE OF EACH CONTAINER */
.header-container {
  text-align: left;
  font-family: "caslon-antique", Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: calc(1rem + 2vh);
  padding: 10px 10px 2px 10px;
  color: rgba(219, 44, 5, 0.75);
}

.header-container-cats {
  text-align: center;
  font-family: "caslon-antique", Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: calc(4rem + 2vh);
  /* padding: 10px 10px 2px 10px; */
  color: rgba(194, 15, 15, 0.571);
  margin-bottom: -100px;
}

.sidebar-content {
  flex: inherit;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  font-style: bolder;
  font-family: "caslon-antique", Arial, Helvetica, sans-serif;
  color: var(--goya-red);
  font-family: "caslon-antique", Arial, Helvetica, sans-serif;
}

.sidebar-content > a > img {
  position: inline flex;
  margin-left: 5px;
}

.sideButton {
  background-color: rgba(194, 80, 167, 0.86); /* Green background */
  border: none; /* Remove borders */
  color: white; /* White text */
  padding: 5px 10px; /* Add some padding */
  text-align: center; /* Center the text */
  text-decoration: none; /* Remove underline */
  display: block; /* Display as inline-block */
  font-size: 18px; /* Increase font size */
  margin: 4px 2px; /* Add some margin */
  border-radius: 3.5px; /* Rounded corners */
  font-family: "caslon-antique";
}

.sideButtonContainer li {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 10px 0;
  background: initial;
  padding-left: initial;
}

.sideText {
  font-size: 1rem;
  line-height: 0.9;
  font-style: bolder;
  font-family: "caslon-antique", Arial, Helvetica, sans-serif;
  color: var(--goya-red);
  display: none;
}

#please-note {
  color: var(--goya-gold);
}

.title {
  color: var(--goya-red);
}

.big-paragraph-space {
  margin-bottom: 20px;
  border: none;
}

.small-paragraph-space {
  margin-bottom: 5px;
  border: none;
}

.horizontal-line {
  border: none;
  border-bottom: 2px solid rgba(220, 95, 126, 0.572);
  margin: 20px 0;
}

/* Add hover effect */
.sideButton:hover {
  background-color: #e2e2e2;
}

/* IMAGES & PIXELS*/
.pfp {
  flex: auto;
  justify-content: center;
  align-items: center;
  width: 100px;
  margin: 0px 0px 15px 0px;
}

.pfp:hover {
  animation-name: spin;
  animation-duration: 2s;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

#img-resize {
  width: 200px;
  margin: 0 0 15px 0;
  border: ridge var(--goya-teal) 5px;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-auto-rows: auto;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.grid-container::div {
  overflow: auto;
}

#photo1 {
  grid-column: 2 / 3;
}

#photo2 {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}

#photo4 {
  grid-column: 4 / 5;
}

#photo5 {
  grid-column: 5 / 6;
}

.img-1 {
  border-right: rgba(104, 95, 15, 0.2) solid 5px;
  border-bottom: rgba(104, 95, 15, 0.1) solid 5px;
}

/* Ensures photos remain the proper width while in grid */
.grid-item img {
  max-width: 100%;
}

.img-1:hover {
  border: var(--goya-red) 1.5px solid;
}

.img-cats {
  max-width: 100%;
}

.img-cats:hover {
  border-color: rgba(219, 44, 5, 0.75);
  border-style: groove;
  border-width: 2px;
}

.gallery-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 5px;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
}

#enlarged-photo {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.8);
  border: solid var(--goya-teal) 5px;
  border-radius: 50px;
}

#enlarged-photo img {
  max-width: 80vw;
  max-height: 80vh;
  height: auto;
  display: block;
  border-radius: 50px;
}

#enlarged-photo button {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--goya-red);
  border-radius: 10px;
  border: solid var(--goya-teal) 2px;
  font-family: "caslon-antique", Arial, Helvetica, sans-serif;
  padding: 10px;
}

@media (max-width: 768px) {
  .main-container {
    flex-direction: column-reverse;
    flex: auto;
    justify-content: center;
    align-items: center;
    margin-top: 100px;
  }

  .main-wrapper {
    margin: 10px 10px 50px 10px;
  }

  .side-wrapper {
    flex: auto;
    flex-direction: column;
    margin: 10px 10px 10px 10px;
    max-width: 45rem;
    padding: 10px;
  }

  .sidebar-content hr, .sidebar-content img {
    display: none;
  }
  
  .title-grid img {
    display:none;
  }

  .pfp {
    display: none;
  }

  .sideText {
    font-size: 1rem;
    display: contents;
  }

  .sideButtonContainer {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }

  .grid-container {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-container div {
    overflow: hidden;
  }

  #photo1 {
    grid-column: 1 / 2;
  }

  #photo2 {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
  }

  #photo4 {
    grid-column: 1 / 2;
  }

  #photo5 {
    grid-column: 2 / 3;
  }
}

#journal-content > p {
  margin: 20px;
  font-family: "caslon-antique", Arial, Helvetica, sans-serif;
  font-weight: lighter;
  font-size: larger;
}

#journal-content > h2 {
  margin: 20px;
  font-family: "caslon-antique", Arial, Helvetica, sans-serif;
  font-size: 30px;
  color: var(--goya-gold);
}

#journal-content > .horizontal-line {
  border: none;
  border-bottom: 2px solid rgba(218, 85, 3, 0.854);
  margin: 20px 0;
}

#journal-content > #date-set {
  font-size: small;
  font-style: italic;
}

.volty-face {
  scale: 0.5;
  transform: rotate(-30deg);
  grid-column: 1 / 2;
  margin-top: -140px;
  margin-left: -140px;
  position: absolute;
}

.second-volty-face {
  scale: 0.5;
  transform: rotate(-30deg);
  grid-column: 1 / 2;
  margin-top: -140px;
  margin-left: -140px;
  display: none;
  position: absolute;
}

.title-grid:hover .second-volty-face {
  display: block;
}

.title-grid {
  position: absolute;
  display: grid;
  grid-template-columns: repeat(6, 100px);
  grid-template-rows: auto;
  height: fit-content;
  width: fit-content;
}

.title-grid div {
  overflow: hidden;
}

.pfp-2 {
  position: relative;
  display: grid;
  grid-template-columns: 100px 100px;
  /* grid-template-rows: auto;
  height: fit-content;
  width: fit-content; */
}

.grid-item3 {
  margin-left: 50px;
  display: block;
  grid-column: 1 / 2;
}

.pfp-2:hover .speech-bubble {
  display: block;
  grid-column: 2 / 3;
  margin-top: -100px;
  margin-left: -50px;
}

footer, a {
  flex: auto;
  align-content: end;
  margin-bottom: 0;
 
 
  color: rgb(220, 149, 180);
  text-shadow: #000000 2px 2px 2px;
  font-weight: 800;
}

.footer-container {
   display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  align-content: end;
  margin-bottom: 10px;
}

.joke {
  max-width: 50px;
}

.strikeout {
  text-decoration: line-through;
  font-size: 1rem;
}