p{
    font-family: "Spectral", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 15pt;
}

body {
    margin: 0%;
    padding: 0%;
    cursor: url(img/wandcur.png), auto;
}

#indbody {
    
    color: white;
    background: linear-gradient(
      -45deg, 
      #5240c9, 
      #8A2BE2, 
      #5141b8, 
      #09095f);
    background-size: 400% 400%;
    animation: mysticalShift 20s ease infinite;
    height: 100vh;
    cursor: url(img/wandcur.png), auto;
}

@keyframes mysticalShift {
    0% {
        background-position: 0% 50%; /* Start top-left */
    }
    50% {
        background-position: 100% 50%; /* Shift to bottom-right */
    }
    100% {
        background-position: 0% 50%; /* Return to start */
    }
}

#backgif {
    position: fixed;
    opacity: 0.2;
    top: 0;
    left: 0;
    width: 100vw; 
    height: 100vh;
    z-index: -1; 
    overflow: hidden;
}

#backgif img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    transform: rotate(180deg) scale(1.2); /* Use scale(1.6) or higher for full coverage */
    transform-origin: center center;
}

#indhead, #tathead, #hpheaddiv, #modheaddiv {
    z-index: 100;
}

#indhead {
    background-color: black;
    position: fixed;
    top: 0%;
    right: 0%;
    left: 0%;
    border: 2px rgb(0, 0, 0) solid;
    width: 100%;
    height: 10%;
    display: flex;
    flex-direction: row;
    color: white;
    transition: ease-in-out 0.8s;
}

#titlediv {
    flex-shrink: 1;
    text-align: center;
    
}

#indhead:hover {
    background-color: white;
    color: black;
}

#tathead {
    background-color: #395873;
    position: fixed;
    top: 0%;
    right: 0%;
    left: 0%;
    border: 2px #262f40 solid;
    width: 100%;
    height: 10%;
    display: flex;
    flex-direction: row;
    color: #f3b23e;
    transition: ease-in-out 0.8s;
}

#tathead:hover {
    background-color: #f3b23e;
    color: #395873;
}

#hpheaddiv {
    background-color: #f7b25e;
    position: fixed;
    top: 0%;
    right: 0%;
    left: 0%;
    border: 2px #f27804 solid;
    width: 100%;
    height: 10%;
    display: flex;
    flex-direction: row;
    color: #f25f29;
    transition: ease-in-out 0.8s;
}

#hpheaddiv:hover {
    background-color: #f25f29;
    color: #f2e2c4;
}

#modheaddiv {
    background-color: #deb54b;
    position: fixed;
    top: 0%;
    right: 0%;
    left: 0%;
    border: 2px #523040 solid;
    width: 100%;
    height: 10%;
    display: flex;
    flex-direction: row;
    color: #523040;
    transition: ease-in-out 0.8s;
    opacity: 1;
}

#modheaddiv:hover {
    background-color: #523040;
    color: #deb54b;
}

#title {
    font-family: "Sancreek", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 30pt;
    white-space: nowrap;
}

#splashsub {
    font-family: "Spectral", serif;
    font-weight: 600;
    font-style: normal;
    font-size: 25pt;
}

#nav {
    display: flex;
    flex-direction: row;
    height: 80%;
    align-items: right;
    margin-left: 28%;
}

#navpic {
    height: 100%;
    width: auto;
    margin-right: 15%;
    margin-top: 3%;
    margin-bottom: 3%;
}

#ttnav {
    margin-right: 15px;
}

#hpnav {
    margin-right: 15px;
}

#modnav {
    margin-right: 0;
}

#home {
    margin-right: 35%;
    margin-left: 2%;
}

#homepic {
    height: 100%;

}

#splashcont {
    display: flexbox;
    padding-top: 7%;
    height: 80%;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
}

#splashtit {
    text-align: center;
    height: 10%;
    margin-bottom: 5%;
}

#splashbutts {
    display: flex; 
    flex-direction: row;
    justify-content: space-between; 
    text-align: center;
}

#splashsec1, #splashsec2, #splashsec3 {
    width: 33.333%; 
    padding: 0 10px; 
    box-sizing: border-box;
}

#splashsec1 p, #splashsec2 p, #splashsec3 p {
    margin-top: 5px; 
    font-size: 14pt; 
    font-style: italic;
}

#tat-card-link, #hp-card-link, #mod-card-link {
    
    display: block;
    position: relative; 
    width: auto;
    max-width: 400px;       
    height: 600px;      
    margin: 0 auto 10px auto;
    transition: transform 0.3s ease-out;
    cursor: pointer;
}

#tat-card-link img, #hp-card-link img, #mod-card-link img {
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%; 
    height: 100%; 
    transition: opacity 0.8s ease-in-out;
}


.hover-img {
    opacity: 0; 
}


#tat-card-link:hover .default-img,
#hp-card-link:hover .default-img,
#mod-card-link:hover .default-img {
    opacity: 0; 
}

#tat-card-link:hover .hover-img,
#hp-card-link:hover .hover-img,
#mod-card-link:hover .hover-img {
    opacity: 1; 
}

#tat-card-link:hover, #hp-card-link:hover, #mod-card-link:hover {
    /* Gentle scale up */
    transform: scale(1.15); 
    
}

#ttcont {
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
    text-align: center;
    padding-top: 8%;
    color: #fcefb9;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
}

#tatbody {
    background-color: #131d32;
    background: linear-gradient(
      -45deg, 
      #184040, 
      #1761b0, 
      #033e33, 
      #070758);
    background-size: 400% 400%;
    animation: mysticalShift 20s ease infinite;
    height: 100vh;
    
}

#tthead {
    text-align: center;
    height: 15%;
    padding: 0 10px; 
    box-sizing: border-box;
    font-family: "Rye", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 25pt;
}

#tatsubhead {
    font-family: "Rye", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 30pt;
}

#ttbody {
    display: flex;
    flex-direction: row; 
    align-items: flex-start; 
    padding: 20px 10px; 
    gap: 10%;
    box-sizing: border-box;
}

#ttside {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; 
}

#ttextdiv {
    text-align: left; 
    padding: 0; 
}

#smpicdiv {
    display: flex;
    flex-direction: row;
    justify-content: space-between; 
    align-items: center; 
    margin-top: 20px; 
    padding: 0 10px;
    box-sizing: border-box;
}

#ttlgpic {
    margin-left: 5%;
    margin-top: 3%;
    max-width: 35%;
    height: auto;
    flex-shrink: 0;
}

#smttpic1 {
    width: 30%; 
    max-width: 100%;
    height: auto;
}

#smttpic2 {
    width: 30%; 
    max-width: 100%;
    height: auto;
}

#smttpic3 {
    width: 30%; 
    max-width: 100%;
    height: auto;
}

#hpbody {
    color: #f25f29;
    background: linear-gradient(
      -45deg, 
      #066e12, 
      #072b13, 
      #39260d, 
      #054413);
    background-size: 400% 400%;
    animation: mysticalShift 20s ease infinite;
    height: 100vh;
}


#hpcont {
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
    text-align: center;
    padding-top: 8%;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
}

#hphead {
    text-align: center;
    height: 15%;
    padding: 0 10px; 
    box-sizing: border-box;
    font-family: "Alkatra", system-ui;
    font-optical-sizing: auto;
    font-weight: auto;
    font-style: normal;
    font-size: 25pt;
}

#hpsubhead {
    font-family: "Alkatra", system-ui;
    font-optical-sizing: auto;
    font-weight: auto;
    font-style: normal;
    font-size: 20pt;
}

#hpsub {
    font-family: "Alkatra", system-ui;
    font-optical-sizing: auto;
    font-weight: auto;
    font-style: normal;
    font-size: 30pt;
}

#hpbodycont {
    display: flex;
    flex-direction: row; 
    align-items: flex-start; 
    padding: 20px 10px; 
    gap: 5%;
    box-sizing: border-box;
}

#hpside {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; 
    padding-left: 5%;
}

#hptextdiv {
    text-align: left; 
    padding: 0; 
}

#hpsmpicdiv {
    display: flex;
    flex-direction: row;
    justify-content: space-between; 
    align-items: center; 
    margin-top: 20px; 
    padding: 0 10px;
    box-sizing: border-box;
}

#hplgpic {
    margin-left: 5%;
    margin-top: 1%;
    max-width: 35%;
    height: auto;
    flex-shrink: 0;
}

#smhppic1 {
    width: 30%; 
    max-width: 100%;
    height: auto;
}

#smhppic2 {
    width: 30%; 
    max-width: 100%;
    height: auto;
}

#smhppic3 {
    width: 30%; 
    max-width: 100%;
    height: auto;
}

#modpage {
    color: #f2f2f2;
    background: linear-gradient(
      -45deg, 
      #523040, 
      #7e2850, 
      #c3025c, 
      #3b021d);
    background-size: 300% 300%;
    animation: mysticalShift 20s ease infinite;
    height: 100vh;
}


#modcont {
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
    text-align: center;
    padding-top: 8%;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
}

#modhead {
    text-align: center;
    height: 15%;
    padding: 0 10px; 
    box-sizing: border-box;
    font-family: "MedievalSharp", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 25pt;
}

#modsubhead {
    font-family: "MedievalSharp", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 30pt; 
}

#modbody {
    display: flex;
    flex-direction: row; 
    align-items: flex-start; 
    padding: 20px 10px; 
    gap: 10%;
    box-sizing: border-box;
}

#modside {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; 
}

#modtextdiv {
    text-align: left; 
    padding: 10px; 
}

#modsmpicdiv {
    display: flex;
    flex-direction: row;
    justify-content: space-between; 
    align-items: center; 
    margin-top: 20px; 
    padding: 0 10px;
    box-sizing: border-box;
}

#modlgpic {
    margin-left: 5%;
    margin-top: 1%;
    max-width: 35%;
    height: auto;
    flex-shrink: 0;
}

#modsmpic1 {
    width: 30%; 
    max-width: 100%;
    height: auto;
}

#modsmpic2 {
    width: 30%; 
    max-width: 100%;
    height: auto;
}

#modsmpic3 {
    width: 30%; 
    max-width: 100%;
    height: auto;
}

#footer {
    display: flex;
    flex-direction: column; 
    align-items: center; 
    text-align: center; 
    width: fit-content;
    color: white;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 10px 0;
    margin-top: 25%;
}

#symb {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 5px; 
}

#symb img {
    height: 100px;
    width: auto;
    margin: 0 10%;
}

#symb img:hover {
    transform: scale(1.4);
}

#expl {
    max-width: 90%;
    padding: 0 20px;
}

#wand {

    max-width: 100px;
    height: auto;
}

#footexp {
    font-size: 12pt;
}