@font-face {
    font-family: vogueDupe;
    src: url(fonts/DubielPlain.ttf);
}

body {
    margin: 0;
    padding: 0;
    background: #E2C99E;
    font-family: Georgia, serif;
    perspective: 1000px;
}

h1 {
    text-align: center;
    font-family: vogueDupe;
    font-weight: normal;
    font-size: 3em;
    color: #414B9E;
}

#vogue-title {
    font-size: 80px;
    font-weight: bold;
    color: #414B9E;
    text-align: center;
    margin-top: 20px;
    text-shadow: 
    2px 2px 0 #E2C99E, 
4px 4px 0 white, 
6px 6px 0 #AA74A0;
    animation: spin 5s linear infinite;
    transform-style: preserve-3d;
    transform-origin: center;
    display: block;
}

@keyframes spin {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(360deg); }
}

.typewriter {
    width: 28ch;
    margin: 5px auto 0 auto;
    text-align: center;
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid #852736;
    font-size: 1.8rem;
    font-family: sans-serif;
    color: #852736;
    animation: typing 3s steps(28) forwards, blink .6s step-end infinite alternate;
}

@keyframes typing {
    from { width: 0; }
    to { width: 28ch; }
}

@keyframes blink {
    50% { border-color: transparent; }
}

.decor-divider {
    width: 100%;
    height: 180px;
    background-image: url("images/animation.gif");
    background-repeat: repeat-x;
    background-size: contain;
    margin-bottom: 30px;
}

#navBar {
    background-color: #414B9E;
    padding: 15px 25px;
    border-radius: 50px;
    width: 90%;
    max-width: 900px;
    margin: 20px auto 40px auto;
    display: flex;
    justify-content: center;
    gap: 30px;
}

#navBar a {
    color: #E2C99E;
    text-decoration: none;
    font-size: 18px;
    padding: 10px 20px;
    border-radius: 25px;
    transition: 0.3s;
}

#navBar a:hover {
    background-color: #AA74A0;
    transform: translateY(-2px);
}

.sectionBox {
    background-color: #9792CB;
    width: 85%;
    margin: 40px auto;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.15);
    color: white;
}

.sectionBox.alt {
    background-color: #AA74A0;
}

.flex-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.flex-text,
.flex-img {
    flex: 1;
    min-width: 320px;
}

.flex-img {
    display: flex;
    justify-content: center;
}
.flex-img img {
    max-width: 320px;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2);
    border: 8px solid #E2C99E;
}

.year-nav {
    background-color: #414B9E;
    color: #E2C99E;
    padding: 10px;
    text-align: center;
    font-weight: bold;
    border-radius: 20px;
    width: 80%;
    margin: 20px auto;
}

.readerBox {
    border: 6px solid #E2C99E;
    padding: 25px;
    background: white;
    width: 80%;
    margin: 40px auto;
    border-radius: 12px;
}

.colorGrid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 70%;
    margin: 0 auto;
}

.swatch {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #FFF;
    padding: 15px;
    border-radius: 10px;
    min-width: 180px;
    border: 2px solid #414B9E;
    transition: 0.2s;
}

.swatch:hover {
    transform: scale(1.15);
}

.sampleColor {
    width: 100%;
    height: 50px;
    border-radius: 6px;
    border: 1px solid #333;
}

.pattern {
    height:50px;
    width:auto;
}

.soft-gradient {
    background: linear-gradient(to bottom, 
#E2C99E 0%, 
#C8B4DE 40%, 
#AA74A0 100%
);
    min-height: 100vh;
    padding-top: 20px;
}

.imgExpand {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
    align-items: center;
    background-color: #f5e7ce;
    width: 85%;
    margin: 20px auto;
    padding: 1%;
    border-radius: 12px;
    border: 6px solid #E2C99E;
}

.imgExpand img {
    height: 300px;
    width: auto;
    padding: 15px;
    background: #ffffff;
    transition: 0.4s;
    border-radius: 12px;
    border: 4px solid #AA74A0;
}

.imgExpand img:hover {
    transform: scale(1.8);
}

.subnav {
    background-color: #414B9E;
    padding: 12px 20px;
    border-radius: 50px;
    width: 70%;
    margin: 20px auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.subnav a {
    color: #E2C99E;
    text-decoration: none;
    font-size: 1em;
    border-radius: 25px;
    padding: 8px 14px;
    transition: 0.3s;
}

.subnav a:hover {
    background-color: #AA74A0;
    transform: translateY(-1px);
}

.entry {
    background: white;
    border-radius: 12px;
    padding: 25px;
    width: 80%;
    margin: 40px auto;
    border: 6px solid #E2C99E;
    color: #852736;
    line-height: 1.6;
    font-size: 1.1rem;
}

.articleImg {
    font-style: italic;
    color: #AA74A0;
}
.mlcontain {
    margin-left: 42%;
    display: flex;

}
.mlcontain2 {
    text-align: center;
    padding: 20px;
    color: #852736;
}

.minilogo {
    height: 30px;
    width: auto;
    padding: 0;
    background: none;
    display: flex;
    margin-left: 5px;
    margin-top: 5px;
}

.title-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

code {
    color: #414B9E;
}
.about-row {
    text-align: center;
}

.about-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.about-card {
    background-color: #E2C99E;
    width: 280px;
    padding: 18px;
    border-radius: 15px;
    box-shadow: 0px 6px 18px rgba(0, 0, 0, 0.18);
    color: #414B9E;
}

.about-img {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 12px;
}

.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text {
    font-size: 1rem;
    line-height: 1.45em;
    color: #414B9E;
}
button{
  padding: 0.75rem 1.5rem;
  min-width: 120px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

}
#buttonDiv{
  display: flex;
  justify-content: center;
  align-items: center;
}
.svg {
    display: grid;
    place-items: center;
}
.animated {
  transform-origin: 100px 100px;
  animation: rotateValues 4s linear infinite;
  pointer-events: none;
}

.animated:hover {
  animation-play-state: paused;
}

#saw {
  pointer-events: visiblePainted;
}
@keyframes rotateValues {
  0%   { transform: rotate(0deg); }
  25%  { transform: rotate(20deg); }
  50%  { transform: rotate(0deg); }
  75%  { transform: rotate(-20deg); }
  100% { transform: rotate(0deg); }
}

.goop.blood {
    fill: #8D2424;
    stroke: #6F1212;
    transition: fill 0.2s ease-in-out;
}
.goop.zombie {
    fill: #248D2D;
    stroke: #1C4D09;
    transition: fill 0.2s ease-in-out;
}
.goop.off {
   opacity: 0;
}
.goop.on {
    opacity: 100;
}
#warning {
  display: flex;
  justify-content: center; 
  opacity: 0;
  }
