
/* scrollbar obliterator for firefox */
html {
    overflow: auto;     /*if you have trouble for disappearing content, change this back to overflow: auto */
    overflow-x: none;
    scrollbar-width: none;
  }

  /* scrollbar obliterator for chrome */
::-webkit-scrollbar {
    display: none
}

body {
    width: 100%; 
	height: 100vh; 
    margin: 0px;
    border: 0px;
    background: url(bkg3.png);
    background-size: cover;
    background-position-x: center;
    background-repeat: no-repeat;
    background-attachment: fixed; 
}

#navbrrr {
    position: relative; 
    top: 0;
    width: 100%; 
    height: 15vh;
    max-height: 240px;
    min-height: 60px;
    background-color: rgb(85, 228, 80);
    z-index: 4; 
    border-bottom: 0.8vh solid rgb(85, 228, 80);
    box-shadow: 0 0 6px 0 rgba(32, 32, 32, 40%);
}

#dptv {
    position: absolute;
    left: 49.8%;
    top: 5%; 
    transform: translateX(-50%);
    width: 22vh;
    height: auto;
    margin: 0px -5px;
    min-width: 85px;
    z-index: 5;
    user-select: none;
}


#nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    justify-content: space-evenly;
    padding-left: 12%; 
    padding-right: 12%; 
    height: 100%;
    max-width: 100%;
    margin: 0px;
}


/* this is the container for the nav-links;
allows the hover animation to center properly */
.inactive {
    position: relative;
}

.active {
    position: relative;
}

/* this is the container for the DomepieceTV logo */
.cont2 {
    /*background-color: white;
    height: 5px; */
    width: 20vh;
    min-width: 80px;
}

.nav-link {
    position: relative;
    color: black;
    font-family: Lato, roboto, sans-serif;
    font-size: clamp(16px, 4vh, 40px);
    margin: 0px 9px;
    font-weight: bold;
    text-decoration: none;
    white-space: nowrap;
    z-index: 5;
    user-select: none;
}

#cont1-2 {      /* Give margins to DPTV logo */ 
    margin-right: 15px;
}

#cont1-3 {      /* Give margins to DPTV logo */
    margin-left: 15px;
}

#cont1-1 {      /* Evenly space with above margins */ 
    margin-right: 10px;
}

#cont1-4 {      /* Evenly space with above margins */
    margin-left: 10px;
}


/* navlink hover animation */

.inactive::before, .inactive::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5vh;
    height: 5vh;
    border: 0.8vh solid rgb(30, 204, 59);
    transform: translateX(-50%) translateY(-50%) scale(2.5) rotateZ(360deg);
    background: transparent;
    content: "";
    opacity: 0; 
    transition: all 0.5s;
    transition-timing-function: cubic-bezier(.74,.99,.72,.99);
    z-index: 1;
}
    
.inactive::after {
    border-width: 2px;
    transition: all 0.4s;
}
    
.inactive:hover::before {
    opacity: 1;
    transform: translateX(-50%) translateY(-50%) scale(1.0) rotateZ(45deg);
}
    
.inactive:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(-50%) scale(1.5) rotateZ(45deg);
}

/* on second thought, doesn't even look that good; have slow rotating diamond over active link instead  
// this is the slow rotation part 
//THERE IS SOMETHING IN THIS BLOCK \/ THAT'S OFFSETTING THE DIAMOND POSITION 
.cont1:hover::before {
    transform: inherit; 
    left: 39%;
    top: -20%; 
    rotate: 45deg;
    animation: rotation 10s infinite linear;
    animation-delay: 0.45s;
} 

// fuck whatever's going on here in particular 
.cont1:hover::after {
    transform: inherit; 
    left: 39%;
    top: -20%; 
    rotate: 45deg;
    animation: rotation 10s infinite linear;
    animation-delay: 0.45s;
} 

@keyframes rotation {
    from {
    }
    to {
      rotate: -359deg;
    }
}
*/



/* DPTV logo animation */

.cont2::before, .cont2::after {
    position: absolute;
    top: 53%;
    left: 49.65%;
    width: 18vh;
    height: 18vh;
    border: 2.5vh solid rgb(136, 255, 156);
    transform: translateX(-50%) translateY(-50%) scale(0.7);
    border-radius: 50%;
    background: transparent;
    content: "";
    opacity: 0;
    transition: all 0.2s;
    z-index: 1;
}
    
.cont2::after {
    border-width: 2px;
    transition: all 0.3s;
}

.cont2:hover::before {
    opacity: 1;
    transform: translateX(-50%) translateY(-50%) scale(1);
}
    
.cont2:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(-50%) scale(1.4);
}




/* backup of old hover animation 

.cont1::before, .cont1::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    border: 6px solid rgb(30, 204, 59);
    transform: translateX(-50%) translateY(-50%) scale(0.8);
    border-radius: 50%;
    background: transparent;
    content: "";
    opacity: 0;
    transition: all 0.3s;
    z-index: 1;
}
    
.cont1::after {
    border-width: 2px;
    transition: all 0.4s;
}
    
.cont1:hover::before {
    opacity: 1;
    transform: translateX(-50%) translateY(-50%) scale(1);
}
    
.cont1:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(-50%) scale(1.4);
}

*/


h1 {
    font-family: Poppins;
    font-size: clamp(12px, 3.5vh, 40px);
}

#MCH1 {
    text-align: center;
    margin-top: 6vh; 
}

.txxt {
    font-family: Poppins;
    /* font-size: 18px; */
    font-size: clamp(14px, 2.5vh, 18px); 
    font-weight: 400;
    color: black; 
    margin: 11vh 20vw;
}

/* disappears footer when screen too small */
@media screen and (min-height: 1px) and (max-height: 290px) {
    footer {
        visibility: hidden !important;
    }
}

p > a {
    text-decoration: none;
    color: green;
}

footer {
    color: gray;
    font-family: Poppins;
    font-size: 12px;
    bottom: 2%; 
    left: 50%; 
    transform: translateX(-50%);
    position: absolute;
    text-align: center;
    visibility: visible;
}


/* active link rotating diamond animation */

.active::before, .active::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5vh;
    height: 5vh;
    border: 0.8vh solid rgb(30, 204, 59);
    transform: translateX(-50%) translateY(-50%) rotateZ(45deg);
    content: "";
    z-index: 1;
    animation: rotation 11s infinite linear;
}

.active::after {
    width: 7.5vh;
    height: 7.5vh; 
    border-width: 3px; 
}

@keyframes rotation {
    from {
        transform: translateX(-50%) translateY(-50%) rotateZ(45deg);
    }
    to {
      transform: translateX(-50%) translateY(-50%) rotateZ(-314deg);
    }
}


/* Mobile Display //////////
////////////////////////////
//////////////////////////*/

#burger-container {
    position: relative;
    display: flex;
    flex-direction: column;
    user-select: none;
    width: 30px;
    height: 30px; 
    background-color: inherit;
    margin-left: auto;
    margin-right: 40px; 
    margin-top: -6.5vh;
    transform: translateY(-50%);
    visibility: hidden;
    z-index: auto;
}

#burger-container span {
    width: 30px;
    height: 3px; 
    margin-bottom: 5px;
    background-color: black;
    position: relative;
    border-radius: 3px;
    z-index: 1;
    transform-origin: 5px 0px;
    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}

#burger-container span:first-child {
  transform-origin: 0% 0%;
}

#burger-container span:nth-child(2) {
  transform-origin: 0% 100%;
}

#burger-toggle:checked ~ span {
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -2px);
  background-color: black;
}

#burger-container input:checked ~ span:nth-child(3) {
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

#burger-container input:checked ~ span:nth-child(4) {
  transform: rotate(-45deg) translate(0, -1px);
}

#burger-toggle {
    margin-left: -4px;
    margin-top: -4px;
    position: absolute;
    width: 36px;
    height: 30px;
    cursor: pointer;
    display: flex;
    opacity: 0;
    z-index: 2;
}

#mobile-menu {
    box-sizing: border-box;
    position: absolute;
    background-color: black;
    height: 100vh; 
    width: 100vw;
    box-shadow: 0 0 100px rgb(63, 63, 63);
    /* clip-path: inset(-100px 0px 0px 0px); */
    margin-left: calc(-100vw + 70px); 
    display: flex;
    justify-content: center;
    /* overflow: hidden; */
    margin-top: calc(7.2vh + 15px);
    transform-origin: 0% 0%;
    transform: translate(0%, 80vh);
    opacity: 0; 
    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0), opacity 0.5s, visibility 0.7s;
    z-index: 9;
    background: url(mm02.png);
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-position-x: center;
    background-position-y: 50%;
    background-repeat: no-repeat;
    background-attachment: fixed; 
    visibility: hidden; 
}

#mobile-menu::before {
    content: '';
    position: absolute;
    display: block;
    margin-top: 100vh;
    width: 100vw; 
    height: 2000px; 
    background-color: black;
}

#mobile-list {
    visibility: inherit;
    padding: 0;
    margin-top: 7vh;
    height: 70vh;
    width: 80vw;
    list-style: none;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: column;
    background-color: transparent;
    position: inherit;
    z-index: 0;
    transform: scale(1);
}

.mobile-link {
    display: block;
    font-family: poppins;
    font-weight: bold;
    font-size: clamp(14px, 4vh, 40px);
    background-color: inherit;
    text-align: center;
    cursor: pointer; 
    color: whitesmoke;
    text-decoration: none;
    position: inherit;
    z-index: inherit;
    transform: scale(1);
}

.mobile-link:hover {
    color: rgb(86, 86, 86);
    transition: .4s;
}

@media screen and (min-width: 300px) and (max-width: 758px) and (min-height: 400px) {
    /* #navbrrr {
        background-color: white;
    } */
    .nav-link, .cont1, .active, .inactive {
        display: none;
    }
    #burger-container {
        visibility: visible;
    }
}

#burger-toggle:checked ~ #mobile-menu {
    visibility: visible;
    box-sizing: border-box;
    position: absolute;
    background-color: black;
    height: 100vh; 
    width: 100vw;
    margin-left: calc(-100vw + 70px); 
/*    margin-top: clamp(24px, calc(15vh - 36px), 210px); */ 
/*    margin-top: -7.5vh; */
/*    margin-top: clamp(calc(60px + 0.8vh - 8.5vh - 15px), calc(15vh + 0.8vh - 8.5vh - 15px), calc(240px + 0.8vh - 8.5vh - 15px)); 
    margin-top: calc(15vh - 15px); */
    /*margin-top: clamp(calc(60px + 0.8vh -15px), calc(9.3vh + 45px), calc(9.3vh - 15px));
*/     margin-top: calc(7.2vh + 15px); 
    display: flex;
    justify-content: center;
    /* overflow: hidden; */
    transform: scale(1);
    z-index: 3;
    opacity: 1;
    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0), opacity 0.5s, visibility 0.7s;
}

/* disappears the mobile menu if left open during resizing */
@media screen and (min-height: 1px) and (max-height: 400px) {
    #mobile-menu {
        visibility: hidden !important;
    }
}

/* " */ 
@media screen and (min-width: 758px) {
    #mobile-menu {
        visibility: hidden !important;
    }
}








/* MC Creator Flexbox Work /
////////////////////////////
//////////////////////////*/

#card-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    /*background-color: darkgray;*/ 
    /* gap: 10px; */ 
}

.card {
    background-color: lightgreen;
    min-height: 200px; 
    min-width: 320px;
    max-width: 500px; 
    padding: 0px 10px 10px 10px;
    font-family: Poppins;
    font-size: 12px;
    flex-basis: 0;
    flex-grow: 1;
    margin: 10px;
}

.card-topper { 
    background-color: black;
    color: white;
    font-weight: bold;
    font-size: 20px;
    height: 50px; 
    width: calc(100% + 20px);
    margin-left: -10px;
    display: flex;
    align-items: center; 
    justify-content: center; 
}

.topper-text {
    z-index: 1;
}

input {
    border: 0; 
    font-family: Poppins;
}

.fullwidthinput {
    width: 100%; 
}



/* NEW float layout for cards 
#card-container {
    width: 100%;
    height: 100%; 
    background-color: darkgray;
}

.card {
    background-color: lightgreen;
    min-height: 200px; 
    min-width: 300px;
    flex-grow: 1;
    max-width: 500px; 
    padding: 0px 10px 10px 10px;
    font-family: Poppins;
    font-size: 12px;
    float: left;
    margin: 10px;
    position: relative; 
    vertical-align: middle;
}

.card-topper { 
    background-color: black;
    color: white;
    font-weight: bold;
    font-size: 20px;
    height: 50px; 
    width: calc(100% + 20px);
    margin-left: -10px;
    display: flex;
    align-items: center; 
    justify-content: center; 
}
*/






/* TOOL TIPZ ////////////////////
/////////////////////////////////
///////////////////////////////*/

/* INFO ICONS */ 

.topIcon {   /* This is the icon  */
    height: 28px; 
    width: auto; 
    position: relative;
}

.bottomIcon {
    width: 20px;
    height: auto;
    position: relative;
}

/* OLD ATTEMPT AT  */

/*
.card-topper:active::before {
    content: attr(data-primaryTooltip); 
    font-size: 24px; 
    color: white;
    height: 50px; 
    width: 50px; 
} 

.iconContainer {
    width: 30px;
    height: 30px; 
    position: relative;
    display: flex;
    align-content: center;
    align-items: center; 
}

.headerInfo {
    cursor: pointer;
    position: relative;
}

.tooltipText {
    width: 160px; 
    height: 200px; 
    background-color: gray;
    font-size: 12px; 
    color: black;
    text-align: justify;
    padding: 5px; 
    position: absolute;
    z-index: 99; 
    bottom: 200px; 
}
*/



/* List style tooltip */

.tipUL-top {
    margin: 0;
    padding: 0;
    display: flex;
}

.tipLI-top {
    position: relative; 
    list-style: none;
    width: 30px;
    height: 30px; 
    background-image: url(icon3.png);
    background-repeat: no-repeat;
    background-position: center; 
    background-size: cover;
    border-radius: 50%; 
    z-index: 1;
}

/*
.tipLI-top:hover {
    box-shadow: 0 0 0 4px rgb(30, 204, 59);
}
*/ 


/* before and after hover halo effect */

.tipLI-top::before {
    content: '';
    transition: 0.5s;
    width: 30px; 
    height: 30px; 
    border-radius: 50%;
    background-color: transparent;
    border: 0px solid transparent;
    position: absolute;
    z-index: 2;
    top: 48.2%;
    left: 53%; 
    transform: translateX(-50%) translateY(-50%) scale(0.4);
    visibility: visible; 
    opacity: 1;
}

.tipLI-top:hover::before {
    opacity: 1;
    transform: translateX(-50%) translateY(-50%);
    visibility: hidden;
    opacity: 0;
    z-index: 2;
    border: 3px solid rgb(300, 300, 300);
}

.tipLI-top::after {
    content: '';
    transition: 0.01s;
    width: 16.2px; 
    height: 16.2px; 
    border-radius: 50%;
    background-color: transparent;
    border: 8px solid black;
    position: absolute;
    z-index: 2;
    top: 49%;
    left: 52.5%; 
    transform: translateX(-50%) translateY(-50%) scale(1.0);
    visibility: visible; 
    opacity: 1;
}

.tipLI-top:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(-50%);
    visibility: hidden;
    opacity: 0;
}

.tipContent-top {
    z-index: 99;
    position: inherit;
    width: 280px; 
    background: #000;
    border-radius: 5px;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 10px; 
    padding-bottom: 10px;
    color: #fff; 
    font-family: Poppins;
    font-size: 11px; 
    font-weight: 200;
    text-align: justify;
    transition: 0.5s; 
    opacity: 0;
    visibility: hidden;
    transform: translateY(50%);
}

.tipLI-top:hover > .tipContent-top {
    visibility: visible; 
    opacity: 1; 
    transform: translateY(0%);
}

#tipContent-ND {
    top: 63px; 
    right: 241px; 
}

#tipContent-P {
    top: 65px;
    right: 208px;
    height: 340px;
    transform: translateY(20%);
}

.tipLI-top:hover > #tipContent-P {
    visibility: visible; 
    opacity: 1; 
    transform: translateY(0%);
}

#tipContent-D {
    top: 65px;
    right: 199px;
    /*height: 150px;*/
    height: 230px;
    padding-top: 20px;
    transform: translateY(20%);
}

.tipLI-top:hover > #tipContent-D {
    visibility: visible; 
    opacity: 1; 
    transform: translateY(0%);
}

.tipHeader {
    font-weight: bold;
    font-size: 11px;
    color: goldenrod;
}

.tipHeaderCenter {
    font-weight: bold;
    font-size: 12px;
    color: goldenrod;
    text-align: center !important;
    margin-bottom: -5px;
    margin-top: -8px;
    display: block;
}

.tipHeaderWide {
    font-size: 10px;
    font-weight: bold;
    color: goldenrod;
    text-align: center;
    display: block;
    margin-bottom: -1px;
    margin-top: -8px;
}

.tipBold {
    font-weight: bold;
}

/* Body tooltips */ 

.tipUL-bottom {
    margin: 0;
    padding: 0;
    display: flex;
    clear: both;
}

.tipLI-bottom {
    position: relative; 
    list-style: none;
    width: 12px;
    height: 12px; 
    background-image: url(icon2.png);
    background-repeat: no-repeat;
    background-position: center; 
    background-size: 180%;
    border-radius: 50%; 
    background-color: transparent;
    z-index: 5;
    margin-right: 5px;
    margin-left: 5px;
}

/* transition */ 

.tipContent-bottom {
    z-index: 99;
    position: relative;
    background: #000;
    border-radius: 5px;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 10px; 
    padding-bottom: 10px;
    color: #fff; 
    font-family: Poppins;
    line-height: 1.1;
    white-space: normal;
    font-size: 10px; 
    text-align: justify;
    transition: 0.5s; 
    opacity: 0;
    visibility: hidden;
    transform: translateY(35%);
    overflow: visible;
    display: table;
}

.tipLI-bottom:hover > .tipContent-bottom {
    visibility: visible; 
    opacity: 1; 
    transform: translateY(0%);
}

#tipContent-style {
    top: -56px; 
    right: 12px; 
    height: 132px;
    width: 128px;
    padding-top: 10px;
    z-index: 99;
}

#tipContent-block {
    top: -40px;
    left: -70px;
    width: 128px;
    height: 50px;
    padding-top: 10px;
    line-height: 1.3;
}

.tipHeaderLittle {
    text-align: center;
    color: goldenrod; 
    font-size: 10px;
    font-weight: bold;
    margin-bottom: -1px;
    margin-top: -4px;
}


/* MAIN CHARACTER CONCEPT CARD //
/////////////////////////////////
///////////////////////////////*/

#conceptCard {
    white-space: nowrap;
}

#nameHeader {
    font-weight: bold;
    font-size: 18px;
}

#MCname {
    font-size: 18px;
    background-color: inherit;
    width: 100%;
}

#nameSpan {
    display: inline-block;
    margin-top: 4px;
    width: 60%; 
}

#levelSpan {
    height: 60px;
    display: inline;
    float: right; 
    margin-top: -4px; 
    margin-left: 20px;
}

#MClevel {
    width: 54px; 
    text-align: center; 
    background-color: inherit;
}

#levelHeader {
    font-weight: bold;
    display: inline-block;
    text-align: left;
}

/*
#summarySpan {
    margin-top: -200px;
    background-color: aliceblue;
    height: 30px;
    display: inline-block;
}
*/ 

#summaryHeader{
    font-weight: bold;
    font-size: 14px;
    margin-top: -10px;
}

#MCsummary {
    background-color: inherit;
    width: 74%;
    margin-top: -10px;
    font-size: 14px;
}

#appearanceHeader {
    font-weight: bold;
    text-align: center;
    font-size: 14px;
}

#MCappearance {
    width: 92%; 
    background-color: white;
    font-size: 14px;
    font-family: Poppins;
    border: none;
    padding-top: 7px;
    padding-bottom: 7px;
    padding-left: 12px; 
    padding-right: 12px; 
    text-align: justify;
}

#backstoryHeader {
    font-weight: bold;
    text-align: center;
    font-size: 14px;
}

#MCbackstory {
    width: 92%;
    background-color: white;
    font-family: Poppins;
    font-size: 14px; 
    border: none; 
    padding-top: 7px;
    padding-bottom: 7px;
    padding-left: 12px; 
    padding-right: 12px; 
    text-align: justify;
}


/* BEGIN CSS-TRICKS CODE - https://css-tricks.com/the-cleanest-trick-for-autogrowing-textareas/ 

.grow-wrap {
    display: grid;
}

.grow-wrap::after {
    content: attr(data-replicated-value) " ";
    white-space: pre-wrap;
    visibility: hidden;
}

.grow-wrap > MCbackstory,
.grow-wrap::after {
    border: 0px;
    padding: 5px;
    font: Poppins;
    grid-area: 1 / 1 / 2 / 2;
}

END CSS-TRICKS CODE. ABOVE FOR CITATION, THANKS CSS TRICKS. */

textarea {
    resize: none;
}



/* NARRATIVE DRIVERS CARD ///////
/////////////////////////////////
///////////////////////////////*/

#showHeader {
    font-weight: bold;
    text-align: center;
    font-size: 13px;
    margin-bottom: -1px;
}

#MCshow {
    margin-top: -5px;
    text-align: center;
    background-color: inherit;
    font-size: 17px;
    font-weight: bold;
    display: block;
}

#MCA1Header {
    font-weight: bold;
    text-align: center;
    font-size: 12px;
}

#MCambition1 {
    margin-bottom: -5px;
    width: 90%; 
    padding-left: 5px;
    padding-right: 5px;
    text-align: center; 
}

#MCA1ValueSpan {
    margin-top: -20px;
    display: inline-block; 
    width: 100%; 
    position: relative;
    text-align: center;
    transform: translateX(-5%);
}

#MCambitionvalue1 {
    width: 60%;
    display: inline;
    padding-left: 5px;
    padding-right: 5px;
    /* background-color: inherit; */
}

#MCA2Header {
    font-weight: bold;
    text-align: center;
    font-size: 12px;
}

#MCambition2 {
    margin-bottom: -5px;
    width: 90%;
    padding-left: 5px;
    padding-right: 5px;
    text-align: center; 
}

#MCA2ValueSpan {
    margin-top: -20px;
    display: inline-block; 
    width: 100%; 
    position: relative;
    text-align: center;
    transform: translateX(-5%);
}

#MCambitionvalue2 {
    width: 60%;
    padding-left: 5px;
    padding-right: 5px;
    /* background-color: inherit; */
}

#crewHeader {
    font-weight: bold;
    text-align: center;
    font-size: 12px;
}

#MCcrewambition {
    margin-bottom: -5px;
    width: 90%; 
    padding-left: 5px;
    padding-right: 5px;
    text-align: center; 
}

#MCcrewambitionvalue {
    width: 60%;
    padding-left: 5px;
    padding-right: 5px;
}

#crewValueSpan {
    margin-top: -20px;
    display: inline-block; 
    width: 100%; 
    position: relative;
    text-align: center;
    transform: translateX(-5%);
}

#narrative-drivers > input[type=text] {
    background-color: black;
}


/* PRIMARIES CARD ///////////////
/////////////////////////////////
///////////////////////////////*/

#primariesCard {
    min-height: 380px; 
}

#primaryFlexContainer {
    display: flex; 
    justify-content: space-evenly;
    flex-wrap: wrap;
    align-items: flex-start;
    padding-top: 20px;
    padding-left: 30px;
    padding-right: 30px;
}

.primaryWrapper {
    text-align: center;
    height: 75px;
    min-width: 120px;
    max-width: 200px;
    flex-grow: 1;
    flex-shrink: 1;
    background-color: black;
    flex-basis: 0; /* This causes flexboxes to be equal size, not sized to their headers, which are of unequal width */
    display: flex;
    justify-content: center;
    align-items: center;
}

#strongWrapper {
    margin-right: 10px; 
    margin-bottom: 25px;
}

#strongHeader {
    margin-top: 12px;
    font-weight: bold;
    display: inline-block;
    font-size: 14px;
    color: white;
}

#MCstrong {
    width: 54px; 
    text-align: center; 
    background-color: inherit;
    color: white;
    display: inline-block;
    margin-top: 3px;
    margin-left: 15px; 
}

#fastWrapper {
    margin-left: 10px;
    margin-bottom: 25px;
}

#fastHeader {
    margin-top: 12px;
    font-weight: bold;
    display: inline-block;
    font-size: 14px;
    color: white;
}

#MCfast {
    width: 54px; 
    text-align: center; 
    background-color: inherit;
    color: white;
    display: inline-block;
    margin-top: 3px;
    margin-left: 15px;
}

#primaryBreak {     /*this is the only way to create a line break with flexbox */
    flex-basis: 100%;
}

#hardWrapper {
    margin-right: 10px;
}

#hardHeader {
    margin-top: 12px;
    font-weight: bold;
    display: inline-block;
    font-size: 14px;
    color: white;
}

#MChard {
    width: 54px; 
    text-align: center; 
    background-color: inherit;
    color: white;
    display: inline-block;
    margin-top: 3px;
    margin-left: 15px; 
}

#smartWrapper {
    margin-left: 10px;
}

#smartHeader {
    margin-top: 12px;
    font-weight: bold;
    display: inline-block;
    font-size: 14px;
    color: white;
}

#MCsmart {
    width: 54px; 
    text-align: center; 
    background-color: inherit;
    color: white;
    display: inline-block;
    margin-top: 3px;
    margin-left: 15px; 
}

#unusedPPLabel {
    margin-top: 15px;
    text-align: center;
    font-size: 14px;
    font-weight: bold; 
    margin-bottom: -5px;
    display: block; 
}

#unusedPP {
    font-weight: 400;
    vertical-align: center;
    font-size: 14px;
    margin-bottom: -5px;
}

#primaryStars {
    font-size: 28px;
    text-align: center;
    display: block;
    margin-top: 15px;
    margin-bottom: -20px;
}

#otherPP {
    text-align: center;
    margin-bottom: 1px; 
}

/*
#OPPflexContainer {
    display: flex; 
    justify-content: space-evenly;
    flex-wrap: wrap;
    align-items: flex-start;
    padding-left: 12px;
    padding-right: 12px;
}
*/

.OPPheader {
    font-weight: bold;
    font-size: 12px;
    margin-left: 8px;
}

.OPPtext {
    font-size: 13px;
    width: 180px; 
    height: 22px;
    margin-right: 6px;
    padding-left: 5px;
    padding-right: 5px;
}

.OPPdropdown {
    margin-right: 6px; 
    appearance: none;
    border: none;
    height: 24px;
    width: 60px;
    text-align: center;
    font-family: Poppins;
    background-color: white;
    font-size: 13px;
}

.OPPinput {
    width: 34px;
    height: 22px;
    text-align: right;
    font-size: 13px; 
}

#PPitemWrapper {
    margin-top: -8px;
    margin-left: 2px;
    width: 318px;
}

#PPspecialWrapper {
    margin-top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 318px;
    position: relative;
}

#PPmiscWrapper {    /* Never use float right if you can help it since it usually fucks up margin tuning. Instead, try: */
    margin-top: -5px;
    margin-left: auto;
    margin-right: 2px;
    width: 318px; /* Width needs to be declared for "margin-left: auto" & "margin-right: 8px" to properly send this element to the right of its container */ 
}


/* WEAPONS //////////////////////
/////////////////////////////////
///////////////////////////////*/


#weaponsCard {
    display: block;
}

.wpnFlexContainer {
    background-color: inherit;
    width: 98%;
    height: 100%;
    padding: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    row-gap: 3px;
}

.wpnNameDiv {
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: center;
    background-color: inherit;
    white-space: nowrap;
    height: 40px;
    flex-grow: 1;
    flex-basis: 0; 
    margin-bottom: 2px; /* this negates the unexplained negative 2px margin between row 1 and row 2 in the weapon flex container */
}

.wpnNameBanner {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgb(97, 183, 97); 
    height: 100%; 
    width: 99%;
}

.wpnButton {
    cursor: pointer;
    background-color: black;
    color: white;
    height: 30px;
    width: 30px;
    margin-right: 6px;
    font-size: 16px;
    font-weight: bold;
}

.wpnButton:hover {
    background-color: rgb(24, 24, 24);
}

.wpnButton:active {
    background-color: white;
    color: black;
}

.wpnHeader {
    font-weight: bold;
    font-size: 16px;
}

.wpnName {
    font-size: 16px;
    /*min-width: 210px; 
    max-width: 18em;*/
    margin-right: 6px;
    padding-left: 5px;
    padding-right: 5px;
    /* width: clamp(210px, auto, 18em); */
    width: 175px;
}

.wpnOffenseDiv {
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    /* background-color: rgb(120, 208, 120); */ 
    width: 150px;
    height: 30px;
    position: relative;
}

.wpnOffenseHeader {
    font-weight: bold;
    font-size: 14px;
    margin-right: -3px;
}

.wpnSpinner {
    margin-right: 3px;
    appearance: none;
    border: none;
    height: 23px;
    width: 38px;
    text-align: center;
    font-family: Poppins;
    background-color: white;
}

.wpnPlus {
    font-weight: bold;
    font-size: 14px;
}

.wpnBonus {
    margin-left: 3px;
    width: 24px;
    font-size: 14px;
    text-align: center;
    display: inline;
}

/*
.wpnLine1 {
    width: 100%;
    margin-top: 15px;
    margin-right: 3px;
    margin-left: 3px;
    height: 28px;
    white-space: nowrap;
    vertical-align: middle;
}
*/

.rangeWrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    background-color: inherit;
    width: 94px;
    height: 30px;
    position: relative;
}

.rangeHeader {
    font-weight: bold;
    font-size: 13.5px;
    margin-right:-3px;
}

.wpnRange {
    width: 36px;
    text-align: right;
    margin-right: 4px;
}

.gripWrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    background-color: inherit;
    width: 110px;
    height: 30px;
    position: relative;
    margin-right: -3px;
}

.gripHeader {
    font-weight: bold;
    font-size: 13.5px;
}

.wpnGrip {
    appearance: none;
    border: none;
    height: 23px;
    width: 64px;
    text-align: center;
    font-family: Poppins;
    font-size: 11px;
    background-color: white;
}

.blockWrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    background-color: inherit;
    width: 82px;
    height: 30px;
    position: relative;
    margin-right: 1px;
    margin-left: 5px;
}

.blockHeader {
    margin-left: -2px;
    font-weight: bold;
    font-size: 13.5px;
}

.wpnBlock {
    width: 34px;
    text-align: right;
    margin-right: 4px;
}

.styleWrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    background-color: inherit;
    width: 144px;
    height: 30px;
    position: relative;
    margin-left: -3px;
    margin-right: -2px;
}

.styleHeader {
    font-weight: bold;
    font-size: 13.5px;
    margin-left: -2px;
}

.wpnStyle {
    appearance: none;
    border: none;
    height: 23px;
    width: 105px;
    text-align: center;
    font-family: Poppins;
    font-size: 11px;
    background-color: white;
}

/*
.wpnLine2 {
    margin-right: 5px;
    margin-left: 5px;
}
*/ 

.wpnSubDivs {
    margin-top: 40px; 
}

.wpnDescripWrapper {
    margin-top: -1px;
    width: 100%;
    height: 63px; 
    background-color: inherit;
    /*
    background-color: rgb(182, 241, 182);
    */
    display: flex; 
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.wpnDescripHeader {
    font-weight: bolder;
    font-size: 12px;
    text-align: center;
}

.wpnDescrip {
    width: 94%;
    height: 36px; 
    border: none;
    font-family: Poppins;
    font-size: 12px;
    text-align: justify;
    padding-left: 5px; 
    padding-right: 5px; 
}


/* DEFENSE //////////////////////
/////////////////////////////////
///////////////////////////////*/

#defenseCard {
    min-height: 440px; 
}

#defenseTop {
    display: flex;
    align-items: center;        /* this aligns flex items vertically within the flex container: align-ITEMS */
    justify-content: center;
    height: 44px;
    width: 99.5%;
    background-color: transparent;
    margin-top: 10px;
}

#defenseBanner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90%;
    height: 44px;
    background-color: rgb(225, 255, 225);
}

#defenseHeader {
    font-weight: bold;
    font-size: 17px;
    margin-right: 8px;
}

#shieldWrapper {
    margin-top: 22px;
}

#shield {
    height: 34px;
    width: 36px;
    background-color: black;
    position: relative;
    border-top-left-radius: 5%;
    border-top-right-radius: 5%;
  }
#shield:after, #shield:before {
    content: '';
    position: absolute;
    top: 90%;
    left: 25%;
    margin-left: -8.3px;
    width: 0;
    height: 0;
    border-top: solid 20px transparent;
    border-left: solid 17.2px transparent;
    border-right: solid 18.2px black;
    border-bottom-right-radius: 90%;
}
#shield:before {
    transform: scaleX(-1);
    border-top: solid 20px transparent;
    border-left: solid 17px transparent;
    border-right: solid 18px black;
    margin-left: -9px; 
}

#eighter { /* meaning 8-point star; the symbol on the shield */
    background: rgb(160, 160, 160);
    width: 24px;
    height: 24px;
    position: relative;
    text-align: center;
    /* transform: rotate(20deg); */
    transform: rotate(0deg);
    right: -6px;
    top: -25px;
  }
  #eighter:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 24px;
    width: 24px;
    background: #fff;
    /* transform: rotate(135deg); */
    transform: rotate(45deg);
  }

  #firefoxFixer1 { /* firefox rendering bottom of shield with huge hole */
    margin-top: 19.5px;
    height: 27px;
    width: 36px;
    background-color: black;
    position: absolute;
    border-bottom-left-radius: 120%;
    border-bottom-right-radius: 120%;
    z-index: 0;
  }

  #firefoxFixer2 { /* firefox rendering bottom of shield with bottom point missing */
    margin-top: 32px;
    margin-left: 10px;
    height: 16px;
    width: 16px;
    background-color: black;
    position: absolute;
    border-radius: 45%;
    z-index: 0;
    transform: rotate(45deg);
  }

/*
#shield2 {
    height: 34px;
    width: 36px;
    background-color: #fff;
    position: relative;
    border-top-left-radius: 5%;
    border-top-right-radius: 5%;
  }
#shield2:after {
    content: '';
    position: absolute;
    top: 100%;
    left: 25%;
    margin-left: -9px;
    width: 0;
    height: 0;
    border-top: solid 15px #fff;
    border-left: solid 18px pink;
    border-right: solid 18px blue;
}
*/ 

/*
#defenseScore {                      YOUR ACTUAL DEFENSE SCORE IS HERE 
    position: absolute;
    width: 18px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    transform: rotate(-20deg) translateY(-8%) translateX(-50%) translateY(5%);
    background-color: transparent;
}
*/

#defenseScore {                                     /* YOUR ACTUAL DEFENSE SCORE IS HERE */ 
    position: absolute;
    width: 28px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    transform: translateX(-7%) translateY(-60%);
    background-color: transparent;
}

#priDefContainer {
    margin-top: 1px;
    width: 99%;
    height: 50px;
    background-color: inherit;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: space-evenly;
}

.priDefHeader {
    font-weight: bold;
    font-size: 14px;
}

.primaryDef {
    width: 20px;
    margin-left: 5px;
    margin-bottom: 15px;
    height: 29px;
    background-color: inherit;
    font-weight: bold;
    font-size: 14px;
    font-family: Poppins;
    text-align: left;
}

.priDefUnder {
    font-size: 12px;
    margin-top: -20px;
}

#dodgeUnder {
    margin-left: 7px;
}

#gritUnder {
    margin-left: -4px;
}

#grit {
    margin-left: 0px;
}

.gritSpacer {
    font-size: 3px;
}

#parryUnder {
    margin-left: -6px;
}

#parry {
    margin-left: 0px;
}

.priStackWrapper {
    display: flex;
    flex-direction: column;
    margin-right: 50px;
    width: 300px;
    height: 200px;
    background-color: inherit;
}

.priDefWrapper {
    margin-left: 5px;
    padding-left: 10px;
    width: 90px;
    height: 50px;
    background-color: inherit;
    display: flex;
    justify-content: center;
    align-items: center;
}

#lowerDefContainer {
    margin-top: -3px;
    margin-left: 2px;
    width: 99%;
    height: 160px;
    background-color: inherit;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    justify-content: space-evenly;
    row-gap: 3px;
    column-gap: 18px;
}

.lilDefContainer {
    background-color: inherit;
    min-width: 80px;
    width: 47%;
    display: flex;
}

.lilDefStack {
    display: block;
    align-content: center;
    background-color: inherit; 
    width: 80%;
    height: 40px;
    padding-right: 18px;
}

.lilDefDescrip {
    width: 100%;
    font-size: 12px;
    height: 20px;
    padding-left: 5px;
    padding-right: 5px;
    text-align: center;
}

.lilDefUnder {
    font-weight: bold;
    font-size: 11px;
    margin-top: 1px;
    text-align: center;
}

.lilDefInput {
    width: 36px;
    height: 20px;
    font-size: 12px;
    text-align: right;
    font-weight: bold;
}

#defenseBreak {
    flex-basis: 100%;
    min-width: 200px;
    height: 5px;
    background-color: inherit;
}

/*
.subDef {
    text-align: center;
    width: 30px;
    font-weight: bold;
}
*/

/*
#bottomContainerContainer {
    width: 100%;
    height: 136px;
    background-color: pink; 
    position: absolute;
}
*/

#containerContainerContainer {
    width: 100%;
    height: 1px;
    position: relative;
    z-index: 0;
}

#bottomTrickContainer {
    width: calc(100% + 20px);
    height: 154px;
    background-color: rgb(170, 255, 170);
    /* background-color: rgb(97, 183, 97); */
    /* background-color: rgb(104, 213, 104); */
    position: absolute; 
    z-index: 0;
    left: 50%;
    margin-top: 5px;
    transform: translateX(-50%);
}

#bottomDefContainer {
    margin-top: 20px;
    margin-left: 2px;
    margin-bottom: 5px;
    width: 99%;
    height: 120px;
    background-color: inherit;
    display: flex;
    flex-direction: row;
}

#merkContainer {
    width: 50%;
    height: 100%;
    background-color: black;
    /* background-color: rgb(104, 213, 104); */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    position: relative; /* pos had to be set to relative so that sizing child elements with % would be relative to parent and not viewport */
}

#merkHeader {
    font-size: 16px;
    font-weight: bold;
    color: white;
    min-height: 0;
    margin-top: 10px;
    position: relative;
    z-index: 2;
}

#merkBox {
    content:'';
    width: 60%;
    height: 45px;
    background-color: rgb(45, 45, 45);
    position: absolute;
    transform: translateX(-50%);
    left: 50%;
    margin-top: 21px; 
    z-index: 1;
}

#merk {
    font-size: 24px;
    color: white;
    min-height: 0;
    margin-top: -24px;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

#otherMerkHeader {
    font-size: 9px;
    color: white;
    margin-top: 0px;
    margin-left: -52px;
    margin-bottom: -2px;
}

#otherMerkWrapper {
    width: 100%;
    height: 20px;
    margin-bottom: 5px;
    background-color: inherit;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
}

#otherMerkDescrip {
    display: inline;
    height: 16px; 
    width: 54%;
    margin-right: 8px;
    padding-left: 5px; 
    padding-right: 5px; 
    text-align: center;
    font-size: 11px;
    color: white;
    background-color: rgb(18, 18, 18);
}

#otherMerkInput {
    display: inline;
    width: 40px;
    height: 16px; 
    text-align: right;
    color: white;
    background-color: rgb(18, 18, 18);
}

#OTContainer {
    width: 50%;
    height: 100%;
    background-color: white;
    justify-content: center;
    display: flex;
    position: relative; 
}

#OTHeaderWrapper {
    width: 100%; 
    display: flex;
    height: 54px;
    background-color: rgb(220, 220, 220);
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

#OTHeader {
    font-size: 15px;
    font-weight: bold;
    color: black;
    margin-top: 16px;
    margin-bottom: -18px;
}

#OTHeader2 {
    font-size: 15px;
    font-weight: bold;
    color: black;
}

#offenseTaken {
    font-size: 24px;
    color: black;
    width: 72px;
    text-align: center;
    top: 50%;
    left: 50%;
    position: absolute;
    transform: translateX(-40%);
    z-index: 2;
} 

input::placeholder {
    color: black;
}

#x1 {
    font-size: 26px;
    color: gray;
    transform: rotateZ(45deg) translateX(-50%);
    position: absolute;
    top: 40px;
    left: 15%; 
    z-index: 1;
    user-select: none;
}

#x2 {
    font-size: 26px;
    color: gray;
    transform: rotateZ(45deg) translateX(-50%);
    position: absolute;
    top: 40px;
    left: 81%;
    z-index: 1;
    user-select: none;
}

#OTunderline {
    height: 2px;
    width: 40px;
    background-color: transparent;
    position: absolute;
    left: 50%;
    top: 80%; 
    transform: translateX(-50%);
}

