body {
    font-family: 'Anton', sans-serif;
    background: linear-gradient(to bottom, #e40013, #ff0080, #6a00cd);
    margin: 0;
    padding: 0;
    color: #fff;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #c30010;
    padding: 10px;
    z-index: 1000;

    /* Replace border-bottom with 3 horizontal lines: black, blue, black */
    background-image: linear-gradient(
        to bottom,
        black 0,
        black 2px,
        #3689fd 2px,
        #3689fd 6px,
        black 6px,
        black 8px
    );
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: 100% 8px;

    display: flex;
    justify-content: center;
    align-items: center;
}

.blog-link {
    position: absolute;
    left: 20px;
    color: white;
    text-decoration: none;
    font-size: 2em;
    text-shadow:
    -2px -2px 0 black,  /* top-left */
     0px -2px 0 black,  /* top */
     2px -2px 0 black,  /* top-right */
     2px  0px 0 black,  /* right */
     2px  2px 0 black,  /* bottom-right */
     0px  2px 0 black,  /* bottom */
    -2px  2px 0 black,  /* bottom-left */
    -2px  0px 0 black; 
}

.blog-link:hover {
    text-decoration: underline;
}
.shop-link {
  position: absolute;
  right: 40px;
  color: white;
  text-decoration: none;
  font-size: 2em;
  text-shadow:
    -2px -2px 0 black,  /* top-left */
     0px -2px 0 black,  /* top */
     2px -2px 0 black,  /* top-right */
     2px  0px 0 black,  /* right */
     2px  2px 0 black,  /* bottom-right */
     0px  2px 0 black,  /* bottom */
    -2px  2px 0 black,  /* bottom-left */
    -2px  0px 0 black;  /* left */
}

.shop-link:hover {
  text-decoration: underline;
}

header a {
    text-decoration: none !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    display: inline-block;
}

header a:hover,
header a:focus,
header a:active {
    text-decoration: none !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

header h1 {
    margin: 0;
    color: white;
    font-size: 3.75em;
    text-shadow:
    -2px -2px 0 black,  /* top-left */
     0px -2px 0 black,  /* top */
     2px -2px 0 black,  /* top-right */
     2px  0px 0 black,  /* right */
     2px  2px 0 black,  /* bottom-right */
     0px  2px 0 black,  /* bottom */
    -2px  2px 0 black,  /* bottom-left */
    -2px  0px 0 black;  /* left */
    text-decoration: none !important;
    cursor: pointer;
    position: relative;  /* needed to offset */
    left: -14px; 
}

main {
    padding: 100px 20px 50px;
}

.index-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.welcome {
    font-size: 2.5em;
}

.centered-title {
    text-align: center;
    margin: 20px 0 10px 0;
    color: #ffbf01;
    font-size: 2em;
    text-shadow:
    -2px -2px 0 black,  /* top-left */
     0px -2px 0 black,  /* top */
     2px -2px 0 black,  /* top-right */
     2px  0px 0 black,  /* right */
     2px  2px 0 black,  /* bottom-right */
     0px  2px 0 black,  /* bottom */
    -2px  2px 0 black,  /* bottom-left */
    -2px  0px 0 black;  /* left */
}

h1, .title {
    color: #ffbf01;
    text-shadow:
    -2px -2px 0 black,  /* top-left */
     0px -2px 0 black,  /* top */
     2px -2px 0 black,  /* top-right */
     2px  0px 0 black,  /* right */
     2px  2px 0 black,  /* bottom-right */
     0px  2px 0 black,  /* bottom */
    -2px  2px 0 black,  /* bottom-left */
    -2px  0px 0 black;  /* left */
}

.padded-text {
    padding: 10px 35px;
    font-size: 1.2em;
}

footer {
    background-color: #c30010;
    padding: 5px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;

    /* Replace border-top with 3 horizontal lines: black, blue, black at the top */
    background-image: linear-gradient(
        to bottom,
        black 0,
        black 2px,
        #3689fd 2px,
        #3689fd 6px,
        black 6px,
        black 8px
    );
    background-repeat: no-repeat;
    background-position: top;
    background-size: 100% 8px;
}

footer p {
    font-size: 1.2em;
    text-shadow:
    -2px -2px 0 black,  /* top-left */
     0px -2px 0 black,  /* top */
     2px -2px 0 black,  /* top-right */
     2px  0px 0 black,  /* right */
     2px  2px 0 black,  /* bottom-right */
     0px  2px 0 black,  /* bottom */
    -2px  2px 0 black,  /* bottom-left */
    -2px  0px 0 black;  /* left */
    margin: 0;
}

footer button {
    margin-top: 5px;
    padding: 6px 15px;
    background-color: #ffbf01;
    border: none;
    color: #333;
    font-size: 1em;
    cursor: pointer;
}

footer button:hover {
    background-color: #ff1493;
}

.row {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.rightcolumn {
    order: 1;
}

.header {
    order: 2;
}

.leftcolumn {
    order: 3;
}

.leftcolumn {
    flex: 2;
}

.rightcolumn {
    flex: 1;
}

.card {
    position: relative;
    background-color: #d9ffeb;
    color: #ffb92c;
    border-radius: 20px;
    border: 8px solid #b05a1c; /* Brown middle border */
    outline: 2px solid black;  /* Outer black line */
    box-shadow: inset 0 0 0 2px black,  /* Inner black line */
                0 0 15px rgba(255, 255, 255, 0.1); /* Soft shadow */
    margin-bottom: 20px;
    padding: 20px;
}

.picturetext {
    color: #ffb92c; /* Main text color */
    font-size: 0.5em;
    text-shadow:
        -1px -1px 0 #000,
         1px -1px 0 #000,
        -1px  1px 0 #000,
         1px  1px 0 #000;
}

/* Pull title and description closer to top */
.card h2, 
.card h5 {
    margin-top: 0;
    padding-top: 0;
}

.card a {
    color: inherit;
    text-decoration: none;
}

.card a:hover,
.card a:focus,
.card a:active {
    color: inherit;
    text-decoration: none;
}

.about-me {
    background: linear-gradient(#fefae0, #f5deb3); /* parchment-like background */
    border: 8px solid #5e3b1d; /* deep carved wood tone */
    outline: 2px solid #1e1e1e; /* dark outer edge */
    box-shadow:
        inset 0 0 5px rgba(0, 0, 0, 0.4), /* depth inside */
        0 0 20px rgba(94, 59, 29, 0.5);   /* soft wood glow */
    border-radius: 10px;
    padding: 5px;
    font-style: sans-serif;
    color: #2e1e0f; /* deep brown text */
    text-align: center;
}

.card h2 {
    color: #ff8800;
    font-size: 2.5em;
    margin-bottom: 15px;
    text-shadow:
    -2px -2px 0 black,  /* top-left */
     0px -2px 0 black,  /* top */
     2px -2px 0 black,  /* top-right */
     2px  0px 0 black,  /* right */
     2px  2px 0 black,  /* bottom-right */
     0px  2px 0 black,  /* bottom */
    -2px  2px 0 black,  /* bottom-left */
    -2px  0px 0 black;  /* left */
}

.card h5 {
    color: #ffb92c;
    font-size: 1.4em;
    margin-bottom: 15px;
    text-shadow:
    -2px -2px 0 black,  /* top-left */
     0px -2px 0 black,  /* top */
     2px -2px 0 black,  /* top-right */
     2px  0px 0 black,  /* right */
     2px  2px 0 black,  /* bottom-right */
     0px  2px 0 black,  /* bottom */
    -2px  2px 0 black,  /* bottom-left */
    -2px  0px 0 black;  /* left */
}

.card h6 {
  position: absolute;
  top: 10px;
  right: 10px;
  color: #3aadeb;
  font-size: 1.1em;
  margin: 0;
  text-shadow:
    -1px -1px 0 black,
     0px -1px 0 black,
     1px -1px 0 black,
     1px  0px 0 black,
     1px  1px 0 black,
     0px  1px 0 black,
    -1px  1px 0 black,
    -1px  0px 0 black;
}

.fakeimg {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    padding: 8px;
    background: #ca0707ce;
    box-shadow: 0 0 0 2px #000000;
}

.fakeimg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow:
      0 0 2px 2px #000000;
    align-items: center;
    }

.card p {
    font-size: 1.3em;
    line-height: 1.5;
}

.picturetext-off {
    text-shadow: 
        -0.5px -0.5px 0 #fff,
        0   -0.5px 0 #fff,
        0.5px -0.5px 0 #fff,
        0.5px  0   0 #fff,
        0.5px  0.5px 0 #fff,
        0    0.5px 0 #fff,
        -0.5px  0.5px 0 #fff,
        -0.5px  0   0 #fff;
}

/* New style for your blog page header h2 */
.header h2 {
    color: #ffbf01;
    text-shadow:
    -2px -2px 0 black,  /* top-left */
     0px -2px 0 black,  /* top */
     2px -2px 0 black,  /* top-right */
     2px  0px 0 black,  /* right */
     2px  2px 0 black,  /* bottom-right */
     0px  2px 0 black,  /* bottom */
    -2px  2px 0 black,  /* bottom-left */
    -2px  0px 0 black;  /* left */
}

@media (max-width: 768px) {
    .row {
        flex-direction: column;
    }

    .leftcolumn,
    .rightcolumn {
        flex: 1;
    }

    header h1 {
        font-size: 3em;
    }

    .header h2 {
        font-size: 2em;
    }

    footer {
        font-size: 1em;
    }

    .post-link {
        color: inherit;
        text-decoration: none;
        display: inline-block; /* ensures block behavior but keeps styling */
    }

    .post-link:hover,
    .post-link:focus,
    .post-link:active {
        color: inherit;
        text-decoration: none;
        outline: none;
    }

    .custom-alert-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 105, 180, 0.85); /* bright pink overlay */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  font-family: 'Anton', sans-serif;
}

.custom-alert-box {
  background: linear-gradient(45deg, #ff0080, #6a00cd, #ffbf01);
  border-radius: 15px;
  padding: 30px 40px;
  text-align: center;
  color: white;
  font-size: 1.8em;
  text-shadow: 2px 2px 5px black;
  box-shadow: 0 0 20px #ff0080;
  max-width: 300px;
}

.custom-alert-box button {
  margin-top: 20px;
  padding: 10px 25px;
  font-size: 1em;
  font-weight: bold;
  background: #ffbf01;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  color: #333;
  transition: background-color 0.3s ease;
}

.custom-alert-box button:hover {
  background: #ff1493;
  color: white;
}

}
