/* DESKTOP */
/* ///////////////////////////////////////////////////////////////////*/


*, *::before, *::after {
    box-sizing: border-box;
}

body {
    background-color: white;
    margin: 0;
    padding: 0;
}

/* FRAMEWORK */
/* ///////////////////////////////////////////////////////////////////*/

.main {
    height: 100vh;
    width: 100vw;
    overflow: hidden; 
}

.main-hflex {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100%; 
    align-items: flex-start;
}

.box-left {
    padding-left: 2rem;
    width: 50%;
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-shrink: 0;    
    position: sticky;  
    top: 0; 
}

.box-right {
    width: 50%;
    flex-grow: 1;      
    min-width: 0;      
    height: calc(100vh - 0rem); 
    overflow-y: auto;  
    overflow-x: hidden;
    padding-left: 2rem;
    padding-right: 2rem;
     
    -ms-overflow-style: none; 
    scrollbar-width: none;
}
.box-right::-webkit-scrollbar {
    display: none;
}

/* TYPOGRAPHY & TEXT STYLES */
h1 {
    font-family: "Gupter", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 6.5rem;
    line-height: 100%;
    color: black;
}

h2 {
    font-family: "Gupter", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 3rem;
}

h3 {
    font-family: "Gupter", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 3rem; 
}

h6 {
    font-family: "Arial", sans-serif;
    font-weight: bold;
    font-size: .9rem;
    text-transform: uppercase;
    line-height: 140%;
    margin-top: .2rem;
    margin-bottom: .2rem;
}
.date {
    width: 40%;
    text-align: right;
}

.yello {
    color: #B49C00;
}
.yello-italic {
    color: #B49C00;
    font-style: italic;
}
a {
  color: #B49C00;
  text-decoration: none;
}
.ref {
    color: black;
    text-decoration: underline;
    font-style: normal;
}
.content-link {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    color:black;
    text-decoration: none;
}
p {
    font-family: "Arial", sans-serif;
    font-weight: normal;
    font-size: 1rem;
    line-height: 160%;
}
.tiny-text {
    font-family: "Arial", sans-serif;
    font-weight: normal;
    font-size: .8rem;
    line-height: 160%;
    text-align: center;
}
blockquote {
    font-family: "Arial", sans-serif;
    font-weight: normal;
    font-size: 1rem;
    line-height: 160%;
}
.poem {
    padding: 0%;
    font-family: "Arial", sans-serif;
    font-weight: normal;
    font-size: 1rem;
    line-height: 200%;
    text-align: left;
}

/* CONTENT SPACING */
/* ///////////////////////////////////////////////////////////////////*/

.header-content {
    margin-top: 8rem;
    width: 90%;
}

.subheader-text {
    width: 90%;
    margin-top: -1rem;
}
.blog-sub-wrap {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    justify-items: stretch;
    gap: 1rem;
    margin-top: -2rem;
    margin-bottom: 1rem;
}
.content-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 1rem;
    margin-bottom: 2rem;
}
.list-item {
    border-bottom: 1px solid black;
    margin-bottom: .5rem;
}

/* IMAGES */
/* ///////////////////////////////////////////////////////////////////*/

.rock-container {
    max-width: 50%;
}
.rock-image {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: -4rem;
    margin-left: -.5rem;
}
.blog-image {
    max-width: 60%;
    margin: 0 auto;
}
.blog-image img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 30px;
}
/* ANIMATION */
/* ///////////////////////////////////////////////////////////////////*/

.jiggle-image {
  display: inline-block;
  animation: jiggle 0.6s; 
  animation-delay: 3s; /* Adjust delay time here */
  animation-fill-mode: forwards; 
}
@keyframes jiggle {
  0% { transform: translate(0, 0) rotate(0deg); }
  15% { transform: translate(-4px, 2px) rotate(-2deg); }
  30% { transform: translate(4px, -2px) rotate(2deg); }
  45% { transform: translate(-3px, -1px) rotate(-1deg); }
  60% { transform: translate(3px, 2px) rotate(1deg); }
  75% { transform: translate(-1px, 1px) rotate(-1deg); }
  90% { transform: translate(1px, -1px) rotate(0deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

/* -------------------------------------------------------------------*/
/* MOBILE */

@media screen and (max-width: 1350px) {
    h2 {
     font-size: 2.5rem;
   }
    .blog-sub-wrap {
    margin-top: -1.5rem;
    }
}
@media screen and (max-width: 1320px) {
   h1 {
    font-size: 5.5rem;
   }
}

@media screen and (max-width: 1200px) {
   h1 {
    font-size: 5rem;
    } 
}

@media screen and (max-width: 1030px) {
    .main {
        height: auto;
        overflow: visible; 
    }
    .main-hflex {
        flex-direction: column;
        height: auto;
        gap: 4rem;
    }
    .box-left {
        width: 100%;
        height: 100vh;
        position: relative; /* Reverts desktop sticky behavior so it scrolls away */
        padding-left: 2.5rem;
        padding-right: 2.5rem; /* Added balancing padding for mobile screens */
    }
    .box-right {
        width: 100%;
        height: auto;
        overflow-y: visible; /* Prevents nested internal scrolling on mobile */
        margin-top: 2rem;
    }
    .rock-container {
        max-width: 45%;
    }
    .header-content {
        margin-top: 8rem;
        width: 80%;
    }
    .blog-image {
        max-width: 100%;
        margin: 0 auto;
    }
    .blog-image img {
    border-radius: 12px;
    }
}

@media screen and (max-width: 850px) {
    .rock-container {
        max-width: 65%;
    }
    .header-content {
        margin-top: 8rem;
        width: 100%;
    }
    h3 {
        font-size: 2rem;
    }
}

@media screen and (max-width: 515px) {
    h1 {
        font-size: 4rem;
    }
    h6 {
        font-size: .8rem;
    }
    p {
        font-size: .9rem;
    }
    blockquote {
    font-size: .9rem;
}
    .poem {
        font-size: .9rem;
    }
    .ref {
        font-size: .9rem;
    }
    .header-content {
        position: relative;
        width: 100%;
    }
    .box-left {
        width: 100%;
        height: 80vh;
        position: relative; /* Reverts desktop sticky behavior so it scrolls away */
        padding-left: 1.5rem;
        padding-right: 1.5rem; /* Added balancing padding for mobile screens */
    }
    .box-right {
        padding-right: 1.5rem;
        padding-left: 1.5rem;
    }
}
@media screen and (max-width: 515px) {
    h1 {
        font-size: 3.5rem;
    }
    h2 {
        font-size: 2.5rem;
    }
    .blog-sub-wrap {
        margin-top: -1rem;
    }
}