* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    --accent: #499652;
}

body {
    background-image: url("../graphics/bg-main.jpg");
    background-size: cover;
    background-attachment: fixed;
}

.parent {
    height: 100vh;
    display: grid;
    grid-template-columns: 290px minmax(700px,auto) 350px;
    gap: 20px;
}

/* --- [ CONSTANTS ] ---- */

p {font-family: 'Protest Riot'}
h2, h3 {font-family: 'Chelsea Market'}

.column {
    position: relative;
}

.row {
    display: grid;
    gap: 20px;
    margin-top: 40px;
}

.cbox {
    background-color: white;
    padding: 10px;
    border: solid black 2px;
    box-shadow: 8px 8px;
}

/* --- [ ✦ ] ---- */

.divider {
    height: 20px;
    margin: 30px 0;
}

.divider img {
    object-fit: contain;
    width: 100%;
}

.flipped {
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
}

/* --- [ ✦ ] ---- */

.flower {
    position: absolute;
}

.red {
    top: -18px;
    left: -13px;
    transform: rotate(10deg);
}

.red2 {
    left: 100px;
    transform: translate(-50%, -50%) scaleX(-1);
}

.blue {
    left: -15px;
    top: -12px;
}

/* --- [ ✦ ] ---- */

.hbg {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
}

.htext {
    color: white;
    font-size: 2em;

    letter-spacing: 6px;
    font-family: Chelsea Market;
    white-space: nowrap;

    filter: drop-shadow(2px 0 black)
    drop-shadow(-2px 0 black)
    drop-shadow(0 6px black)
    drop-shadow(0 -2px black);
}

/* --- [ MIDDLE COLUMN ] ---- */

.container {
    height: 100vh;

}

.rowcontainer {
    padding: 15px;
}


/* --- [ HEADER ] ---- */

.header {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 30px;
}

.header img {
    object-fit: contain;
    width: 100%;
}

.footer {
    text-align: center;
    font-size: 10px;
    color: #010f0c;
    margin: 50px 0;
    padding: 5px 0;
}

/* --- [ FIRST ROW ] ---- */

.first {
    grid-template-columns: 1fr 3.5fr;
    margin-top: 10px;
}

/* --- [ ✦ ] ---- */

.icon {
    height: 60%;
    position: relative;
}

.iconimg {
    height: 100%;
    width: 100%;
    background-color: black;
}

.iconimg img {
    object-fit: contain;
    height: 100%;
    width: 100%;
}

/* --- [ ✦ ] ---- */

.intro {
    font-family: Protest Riot;
    padding: 15px;
    position: relative;
}

.intro p {
    margin: 15px 0;
}

.warning {
    background-color: black; 
    color: white; 
    padding: 10px 15px;
    display: flex;
    align-items: center;
    
    font-family: "Jersey 15";
}

.warning p {
    margin: 8px 15px;
    font-family: "Jersey 15";
    font-size: 18px;
}

.warning i {
    display: inline-block;
    animation: moveRight 0.15s linear infinite alternate;
}

@keyframes moveRight {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(5px);
    }
}

/* --- [ SECOND ROW ] ---- */

.second {
    grid-template-columns: .5fr 3fr 1.5fr;
    height: 350px;
}
/* --- [ ✦ ] ---- */

.decor {
    position: relative;
}

.decorgrid {
    display: grid;
    grid-template-rows: repeat(3,1fr);
    gap: 12px;
}

.decorgrid img {
    width: 100%;
}

/* --- [ ✦ ] ---- */

.featuredbird {
    overflow-y: auto;
}

.featuredbird h2 {
    margin: 0 auto;
    color: white;
    background-color: black;
    padding: 10px;
}

.featuredbird h3, .featuredbird p {
    margin: 10px 0;
}

#birdimg {
    width: 100%;
    height: 150px;
    object-fit: cover;
    object-position: 100% 20%;
    border: solid 2px black;
    box-sizing: border-box;
}

.birdcredit p {
    background-color: black;
    color: white;
    margin-top: -10px;
    padding: 10px 5px 5px 5px;
    font-size: 10px;
    letter-spacing: 2px;
    text-align: right;
    font-family: 'Jersey 15';
}

.featuredbird a {
    color: black;
    text-decoration: none;
}

.birdcredit a {
    color: white;
    text-decoration: none;
}

.featuredbird a:hover {
    color: var(--accent);
}

/* --- [ ✦ ] ---- */

.status {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    height: 300px;
    
}

.status iframe {
    border: none;
    width: 100%;
    height: 100px;
    background-color: black;
}

.crowhead {
    height: 290px;
    width: 200px;
    margin-top: -5px;

    background-image: url(../graphics/crowhead.png);
    background-size: contain;
    background-repeat: no-repeat;

}

/* --- [ THIRD ROW ] ---- */

.third {
    grid-template-columns: 1fr 3fr;
    height: 200px;
}

/* --- [ ✦ ] ---- */

.guestbook {
    position: relative;
    padding-top: 25px;
    height: fit-content;
}

.guestbook h3 {
    font-size: 18px;
}

.guestimg {
    height: 150px;
    width: 100%;
    background-image: url(../graphics/crowbook.png);
    background-size: contain;
    background-repeat: no-repeat;
}

.guestimg:hover {
    background-image: url(../graphics/crowbook2.png);
}
.affiliates {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    position: relative;
    padding-top: 25px;
}

.affiliates h3 {
    font-size: 20px;
}

/* --- [ ✦ ] ---- */

.sitebuttons {
    overflow-y: auto;
    height: 200px;
}

.button-img {
    height: 31px;
    width: 88px;
}

/* --- [ ✦ ] ---- */

.webrings {
    background-color: transparent;
}


/* --- [ RIGHT COLUMN ] ---- */

.nav {
    height: 100%;
    width: 350px;
    position: fixed;
    bottom: 0;
}

/* --- [ ✦ ] ---- */

.gravestone {
    width: 350px;
    height: 400px;
    
    position: absolute;
    bottom: 0;
    right: 0;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    
    background-image: url('../graphics/gravestone.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/* --- [ ✦ ] ---- */

.links-container {
    height: 400px;
    gap: 10px;
    margin-top: 80px;
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.links-container h2 {
    font-size: 8px;
    letter-spacing: -0.6px;
}

.link {
    display: inline-block;
    width: 180px;
    text-align: center;
    color: #333333;
    text-decoration: none;
    padding: 10px 0; 
    transition: transform 0.1s ease-in-out, filter 0.1s ease-in-out;

    font-family: Chelsea Market;

    background-image: url('../graphics/linkbutton1.png'); 
    background-size: contain; 
    background-position: center;
    background-repeat: no-repeat;
}

.link:nth-child(1), 
.link:nth-child(3) { 
    background-image: url('../graphics/linkbutton2.png'); 
}

.link:hover {
    color: #000000;
    filter: brightness(1.3);
    transform: translateY(3px); 
    transition: transform 0.1s ease-out; 
}

/* --- [ ✦ ] ---- */

.crow {
    width: 200px;
    height: 200px;
    position: absolute;
    top: -173px;
    right: 75px;
    object-fit: cover;
    user-select: none;
    transform-origin: 50% 100%;
}

.crow-dance {
    animation: crow-bounce var(--crow-bounce-speed, 0.1s) infinite ease;
}

.tilt {
    transform: rotate(2deg) skewY(1deg);
    transition: transform 0.1s ease;
}

@keyframes crow-bounce {
    0%   { transform: skewX(0deg) scale(1);}
    20%  { transform: skew(5deg, -1deg) scale(1.05); }
    40%   { transform: skewX(0deg) scale(1);}
    60% { transform: skew(-8deg, 3deg) scale(1.05); }
    100% { transform: skewX(0deg) scale(1); }
}

/* --- LEFT COLUMN ---- */

.left {
    background: black; 
    position: relative;
    color: white;
}

.dashboard {
    background-color: black;
    height: 100%;
    width: 290px;
    position: fixed;
    bottom: 0;
}

/* --- [ ✦ ] ---- */

.bottompage {
    position: fixed;
    bottom: 10px;
    left: 26px;
}

.lastupdated {
    color: white;
    font-family: "Jersey 15";
    text-align: center; 
    margin: 0 auto;
    letter-spacing: 2px;

}

/* --- [ ✦ ] ---- */

#clock {
    background-color: black;
    font-family: "Jersey 15";
    display: flex;
    align-content: center;
    text-align: center;
    justify-content: center;

}

.time {
    font-size: 50px;
    display: flex;
}

.amsec {
    font-size: 16px;
    display: flex;
    flex-direction: column;
    margin: 10px 0 0 5px;
}

#local-second {
    letter-spacing: 2px;
}

#blink {
    display: none;
    animation: blink 1s infinite steps(1);
}

@keyframes blink {
      0% {
        opacity: 0;
      }
      50% {
        opacity: 1; 
      }
      100% {
        opacity: 0;
      }
    }

/* --- [ ✦ ] ---- */

.moon {
    background-color: black;
    height: 40px;
    position: relative;

    
    display: flex;
    justify-content: center;
    align-content: center;
}

.moon img {
    width: 50%;
    margin-top: 20px;
    object-fit: contain;
    position: absolute;
    
}

/* --- SCROLLBAR SECTION ---- */

/* FIREFOX */    
* {
    scrollbar-color: var(--accent) black;
}

  *::-webkit-scrollbar {
    width: 10px;
  }
  * {
    scrollbar-width: thin;
    scrollbar-color: var(--accent) black;
  }
  *::-webkit-scrollbar-track {
    background: black;
  }
  *::-webkit-scrollbar-thumb {
    background-color: var(--accent) ;
    border-radius: 0;
    border: 5px solid black;
  }