* {
    font-family: Helvetica, Arial, sans-serif;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body {
    user-select: none;
    align-items: center;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}


/* HEADER CONTAINER */

#headerContainer {
    z-index: 99;
    position: fixed;
    top: 0;
    width: 100vw;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-weight: 600;
    background-color: white;
    border-bottom: 1.5px solid #b3b3b3;
    box-shadow: 0 0 5px grey;   
}

header {
    flex-grow: 1;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-weight: bold;
    padding-left: 9px;
}

#menuButton {
    cursor: pointer;
    width: 38px;
    height: 38px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    background-color: white;
    border: none;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown > .unopen {
    display: none;
}

#menuContainer.dropdown > .open {
    z-index: 10;
    position: absolute;
    width: 200px;
    background-color: #404040;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 5px grey;
    animation: slideRight 0.25s;
}

@keyframes slideRight {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

.dropdown > .open > a {
    text-decoration: none;
    color: white;
    font-size: 16px;
    font-weight: normal;
    padding: 20px;
    border-bottom: 1px solid white;
}




/* HELP, RESET GIVEUP BUTTONS */

#helpButton.howToPlay, #reset, #giveUp {
    cursor: pointer;
    width: 24px;
    min-width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    border: none;
    margin-right: 12px;
}

#helpButton.howToPlay img, #reset img, #giveUp img {
    width: 100%;
    height: auto;
    display: block;
}

#reset.hidden, #giveUp.hidden {
    display: none;
}



/* MAIN */

main {
    margin-top: 40px;
    flex-grow: 1;
    height: calc(100vh - 70px); /*70px is the hehght of header + footer */
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}



/* INDICATOR CONTAINER */

#indicatorContainer {
    width: 90vw;
    max-width: 360px;
    font-size: 12px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin: 24px 0;
}



/* Time section */ 

#timeContainer {
    margin-right: auto;
    width: 75px;
}

#timeContainer.hidden {
    display: none;
}

#timeLabel {
    width: 55px;
    text-align: center;
}

#timeAndPause {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

#timeBox {
    width: 48px;
    height: 30px;
    border: 1px solid darkgray;
    margin-top: 6px;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#pauseButton {
    cursor: pointer;
    display: inline-flex;
    flex-direction: row;
    margin: 0 0 0 8px;
    padding: 0;
}

#pauseButton > div {
    width: 4px;
    height: 12px;
    background-color: #666666;
    margin: 0 3px 0 0;
}


/* Reveal Section */

#revealContainer {
    margin: auto;
}

#availableLabel {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

#revealButton {
    cursor: pointer;
    margin-top: 6px;
    padding: 10px 20px;
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
    height: 36px;
    font-size: 12px;
    font-weight: 600;
    font-family: Arial, Helvetica, sans-serif;
    width: fit-content;
    justify-self: center;
    display: flex;
    justify-content: center;
    align-items: center; 
    color: black;
}

.revealButtonActive {
      background-color: #DDA0DD;
    
}

.revealButtonClicked {
    background-color: #edd2ed;
    box-shadow: 0 0 10px #6f2a6f;        
}


/* Removing all code no longer relevent now that I have removed Wait for Reveal - 24-01-12 /*

/* 

.revealButtonInactive {
    color: white;
    background-color: #DCDCDC;
}

.inactiveRevealButtonClicked {
    animation-name: shake;
    animation-duration: 0.4s;
}

.revealButtonActivated {
    animation: glow 8s;
}

@keyframes glow {
    0% {
        box-shadow: 0 0 50px yellow;
    }
} */



/* Score Section */

#scoreContainer {
    margin-left: auto;
    width: 75px;
}

#scoreContainer.hidden {
    display: none;
}

#scoreLabel {
    text-align: center;
    margin-left: auto;
    width: 48px;
}

#scoreBox {
    margin-top: 6px;
    margin-left: auto;
    width: 48px;
    height: 30px;
    font-size: 15px;
    border: 1px solid darkgray;
    display: flex;
    justify-content: center;
    align-items: center;
}
    
#scoreBox.minus10 {
    background-color: red;
    color: white;
    font-weight: bold;
}



/* MESSAGE CONTAINER */

#messageContainer.hidden {
    color: white;
}

#messageContainer {
    flex-grow: 1;
    width: 90vw;
    max-width: 360px;
    min-height: 48px;
    height: 24px;
    line-height: 20px;
    font-size: 15px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.alertMessage {
    color: red;
}

.winningMessage {
    color: goldenrod;
    font-size: 20px;
    font-weight: bold;
}

#showStats {
    cursor: pointer;
    background-color: #404040;
    color: white;
    padding: 10px 20px;
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
    height: 36px;
    font-size: 12px;
    font-family: Arial, Helvetica, sans-serif;
    width: fit-content;
    justify-self: center;
    display: flex;
    justify-content: center;
    align-items: center; 
}



/* EVERYTHING RELATED TO THE TILES */

#tileContainer.hidden {
    display: none;
}

#tileContainer {
    flex-grow: 0;
    flex-shrink: 0;
    margin: 24px auto;
    display: grid;
    grid-template: repeat(5, 1fr) / repeat(5, 1fr);
    width: 90vw;
    max-width: 340px;
    min-width: 200px;
    height: 90vw;
    max-height: 340px;
    min-height: 200px;
    align-self: center;
}

.tile {
    cursor: pointer;
    user-select: none;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    font-weight: bold;
    background-color: white;
    border: 1px solid black;
    border-radius: 15%;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    margin: 4px;
}

.fixedTile {
    cursor: not-allowed;
    background-color: #e6e6e6;
}

.fixedTileClicked {
    animation-name: shake;
    animation-duration: 0.4s;
}

@keyframes shake {
    0% {transition: all 0.1s;
        transform: translateX(-5px);
    }
    25% {transition: all 0.1s;
        transform: translateX(10px);
    }
    50% {transition: all 0.1s;
        transform: translateX(-10px);
    }
    75% {transition: all 0.1s;
        transform: translateX(5px);
    }
}

.flipped {
    animation-name: flippity;
    animation-duration: 0.6s;
}

@keyframes flippity {
    0% {transition: all 0.3s;
        transform: rotate(10deg);
        background-color: #ffa500;
        border: 2px solid #805300;
    }
    50% {transition: all 0.3s;
        transform: rotate(-10deg);
    }
    100% {
        transition: all 0s;
        background-color: white;
        border: 1px solid black;
    }
}

.isWord {
    background-color: lightgreen;
    border: 2px solid #116e11;
    z-index: 2;
}

.winTilesState {
    transition: all 2s;
    transform: rotateY(360deg);
    box-shadow: 0 0 20px lightgreen;
    z-index: 5;
}

.clicked {
    background-color: #ffa500;
    border: 2px solid #805300;
    z-index: 4;
}

.swappable {
    background-color: #add8e6;
    border: 2px solid #1e5162;
    z-index: 3;
}

.revealed {
    cursor: not-allowed;
    background-color: #DDA0DD;
    border: 2px solid #5e225e;
    z-index: 6;
}



/* EMPTY CONTAINER */

#emptyContainer {
    flex-grow: 1;
    width: 90vw;
    max-width: 360px;
    height: 44px;
}



/* POPUP CONTAINER */

#popUpContainer.hidden {
    display: none;
}

#popUpContainer.visible {
    z-index: 7;
    position: absolute;
    top: auto;
    left: auto;
    width: 80vw;
    max-width: 300px;
    background-color: #f2f2f2;
    box-shadow: 0 0 20px gray;
    text-align: left;
    line-height: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: left;
    justify-content: center;
}

#popUpContainer.visible h3 {
    padding: 12px 0;
}

#popUpContainer > div {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
}

#popUpContainer > div > button {
    cursor: pointer;
    background-color: #404040;
    color: white;
    padding: 10px 20px;
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
    height: 36px;
    font-size: 12px;
    font-weight: 600;
    font-family: Arial, Helvetica, sans-serif;
    width: 100px;
    justify-self: center;
    display: flex;
    justify-content: center;
    align-items: center; 
    margin: 0 auto 0;
}



/* OPENING GAME CONTAINER*/

#openingGameContainer.hidden {
    display: none;
}

#openingGameContainer.visible {
    position: absolute;
    top: 20px;
    left: 0;
    z-index: 8;
    width: 100vw;
    height: 100vh;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideUp 0.5s;
}

#insideOpeningGameContainer {
    max-width: 400px;
    background-color: white;
    padding: 24px;
    display: flex;
    flex-direction: column;
    border-top: 2px ridge lightgray;
    box-shadow: 0 0 10px gray;
}

#insideOpeningGameContainer h3 {
    padding: 12px 0 6px 0;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 18px;
}
    
#insideOpeningGameContainer p {
    font-size: 16px;
    padding-bottom: 6px;
    margin: 0;
}

#insideOpeningGameContainer > div {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 0;
    margin: 0; 
}

#insideOpeningGameContainer > div > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;   
}

#insideOpeningGameContainer img {
    width: 160px;
    height: 160px;
    margin: 0 0 0 15px;
}

#openingGameContainer.visible #buttonsContainer {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
} 

#openingGameContainer.visible .button {
    cursor: pointer;
    text-decoration: none;
    background-color: #404040;
    color: white;
    padding: 10px 20px;
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
    height: 36px;
    font-size: 12px;
    font-family: Arial, Helvetica, sans-serif;
    width: 130px;
    justify-self: center;
    display: flex;
    justify-content: center;
    align-items: center; 
}



/* INSTRUCTIONS CONTAINER */

#instructionsContainer.hidden {
    display: none;
}
  
#instructionsContainer.visible {
    position: absolute;
    top: 60px;
    z-index: 10;
    width: 100vw;
    max-width: 850px;
    background-color: white;
    border-top: 2px ridge lightgray;
    box-shadow: 0 0 10px gray;
    padding: 16px;
    animation: slideUp 0.5s;
}
  
@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}
  
#instructionsContainer.visible > button {
    cursor: pointer;
    position: relative;
    top: 0;
    right: 0;
    float: right;
    font-size: larger;
    color: black;
    background-color: white;
    border: none;
    object-fit: cover;
}
  
#instructionsContainer.visible > h3 {
    padding: 12px 0;
}

#instructionsContainer.visible > p {
    padding: 6px 0;
    font-size: 16px;
    line-height: 24px;
}

#instructionsContainer.visible div {
    display: flex;
    justify-content: center;
}
  
#instructionsContainer.visible img {
    width:80vw;
    max-width: 300px;
    padding: 6px 0;
}

#instructionsContainer.visible #scoringRules {
    display: flex;
    flex-direction: column;
}

#instructionsContainer.visible #scoringRules > p {
    font-size: 14px;
    line-height: 20px;
    padding: 4px;
}

#instructionsContainer.visible #backButton {
    cursor: pointer;
    background-color: #404040;
    color: white;
    padding: 10px 20px;
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
    height: 36px;
    font-size: 12px;
    font-weight: 600;
    font-family: Arial, Helvetica, sans-serif;
    width: fit-content;
    justify-self: center;
    display: flex;
    justify-content: center;
    align-items: center; 
    margin: 0 auto 24px;
}

#revealLetterButtonInInstructions {
    margin-top: 30px;
    margin-bottom: 6px;
    padding: 7px 15px;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    height: 30px;
    font-size: 12px;
    font-weight: 600;
    font-family: Arial, Helvetica, sans-serif;
    width: fit-content;
    justify-self: center;
    display: flex;
    justify-content: center;
    align-items: center; 
    color: black;
    background-color: #DDA0DD;
}
  
/* PAUSE CONTAINER*/
  
#pauseContainer.hidden {
    display: none;
}
    
#pauseContainer.visible {
    position: absolute;
    top: 40px;
    left: 0;
    z-index: 8;
    width: 100vw;
    height: 100vh;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideUp 0.5s;
}

#insidePauseContainer {
    width: 100vw;
    max-width: 400px;
    background-color: white;
    padding: 24px;
    display: flex;
    flex-direction: column;
    background-color: #f2f2f2;
    border-top: 2px ridge lightgray;
    box-shadow: 0 0 10px gray;
}

#insidePauseContainer h3 {
    padding: 12px 0 0 0;
}

#insidePauseContainer p {
    font-size: 16px;
    line-height: 24px;
    margin: 12px 0;
}

#insidePauseContainer div {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

#insidePauseContainer .button {
    text-decoration: none;
    cursor: pointer;
    background-color: #404040;
    color: white;
    padding: 10px 20px;
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
    height: 36px;
    font-size: 12px;
    font-family: Arial, Helvetica, sans-serif;
    width: 130px;
    justify-self: center;
    display: flex;
    justify-content: center;
    align-items: center; 
    margin: auto;
}



/* SETTINGS CONTAINER */

#settingsContainer.hidden {
    display: none;
}

#settingsContainer {
  position: absolute;
  top: 40px;
  bottom: 30px;
  left: 0;
  width: 100%;
  background-color: white;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
}

#settingsContainer > div {
    padding: 24px;
    border-top: 2px ridge lightgray;
    background-color: #f2f2f2;
    box-shadow: 0 0 10px gray;
}

#settingsContainer > div > h2 {
    margin: 24px 0;
    font-size: 20px;
}

#settingsContainer > div  > div {
    padding: 30px 0;
    border-top: 1px solid grey;
    border-bottom: 1px solid grey;
}

#settingsContainer > div  > div > p {
    margin: 12px auto;
}

#settingsContainer > div  > div > form {
    display: flex;
}

#settingsContainer > div  > div > form > label{
    padding: 0 15px 0 6px;
}


#settingsContainer #done {
    text-decoration: none;
    cursor: pointer;
    background-color: #404040;
    color: white;
    padding: 10px 20px;
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
    height: 36px;
    font-size: 12px;
    font-family: Arial, Helvetica, sans-serif;
    width: 100px;
    justify-self: center;
    display: flex;
    justify-content: center;
    align-items: center; 
    margin: 30px auto 15px;
}


/* GAME OVER CONTAINER */

#gameOverContainer.hidden { 
    display: none;
}

#gameOverContainer.visible { 
    position: absolute;
    top: 60px;
    z-index: 9;
    width: 100vw;
    max-width: 420px;
    min-height: 80vh;
    background-color: white;
    border-top: 2px ridge lightgray;
    border-bottom: 2px ridge lightgray;
    box-shadow: 0 0 10px gray;
    font-size: 15px;
    line-height: 24px;
    text-align: center;
    padding: 0;
    animation: slideUp 1s;
}

#closeButtonGameOverContainer {
    cursor: pointer;
    position: absolute;
    font-weight: bolder;
    font-size: 20px;
    top: 16px;
    right: 20px;
}

#bottomCloseGameOverContainer {
    cursor: pointer;
    margin: 15px auto 70px;
    background-color: #404040;
    color: white;
    padding: 10px 20px;
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
    height: 36px;
    font-size: 15px;
    font-family: Arial, Helvetica, sans-serif;
    width: fit-content;
    justify-self: center;
    display: flex;
    justify-content: center;
    align-items: center; 
}

/*Result Container*/

#resultContainer {
    margin: 50px 16px 0;
    padding: 12px;
    background-color: #e6ffe6;
    border-radius: 5%;
    font-size: 13px;
}

#resultContainer h3 {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    margin: 16px 0 0;
}

#resultSummary {
    font-size: 15px;
    display: grid;
    grid-template-rows: 1fr 1fr;
    grid-template-columns: 1fr 1fr 1fr;
    justify-content: center;
    align-items: center;
}

.resultValue {
    justify-self: center;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
}

#gameOverContainer.visible #streakContainer {
    display: flex;
    justify-content: space-between;
    margin: 16px 0;
}

#currentStreakIcon, #maxStreakIcon {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 50px;
    height: 50px;
    margin: 8px 0;
}

#gameOverContainer.visible #streakContainer > div > div {
    display: flex;
    justify-content: center;
}

#currentStreakValue, #maxStreakValue {
    font-weight: bold;
    font-size: 18px;
}

#currentStreakBadge, #maxStreakBadge {
    font-weight: bold;
}


#gameOverContainer #shareResult.visible {
    cursor: pointer;
    margin: 30px auto 12px;
    background-color: #00b300;
    color: white;
    padding: 10px 20px;
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
    height: 36px;
    font-size: 15px;
    font-family: Arial, Helvetica, sans-serif;
    width: fit-content;
    justify-self: center;
    display: flex;
    justify-content: center;
    align-items: center; 
}

#gameOverContainer #shareResult.hidden {
    display: none;
}

#gameOverContainer #quoteMessage {
    padding: 0 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#gameOverContainer.visible #quoteButton {
    cursor: pointer;
    color: purple;
    background-color: white;
    border: none;
    font-weight: bold;
    text-decoration: underline;
}

#gameOverContainer #newGameIn {
    display: flex;
    justify-content: center;
    align-items: center;
}

#gameOverContainer #newGameIn #countdownTimer {
   font-size: 20px;
   font-weight: bold;
   color: purple;
}



#gameStatsContainer {
    margin: 16px 16px 50px 16px;
    padding: 16px;
    background-color: rgb(230, 230, 230);
    border-radius: 5%;
    font-size: 13px;
}

#titleGameStats {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    margin: 8px 0;
}

#totalStatsContainer, #averageStatsContainer, #bestStatsContainer {
    display: flex;
    justify-content: space-between;
    text-align: center;
}

#subtitleGameStats {
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    margin: 12px 0 6px 0;
}

.valueBox {
    width: 80px;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    padding: 8px;
    margin-bottom: 12px;
}

#statsExplanationLink {
    color: black;
    padding: 24px 0 24px;
}



/* PRIZE CONTAINER */

#prizeContainer.hidden {
    display: none;
}

#prizeContainer.visible {
    z-index: 15;
    position: fixed;
    top: 40px;
    left: 0;
    bottom: 30px;
    background-color: white;
    display: flex;
    justify-content: center;
    width: 100vw;
    animation: slideUp 1s;
}

#prizeContainer.visible > #prizeContainerFrame.weekday {
    position: relative;
    height: 100%;
    width: 100%;
    background: radial-gradient(circle at top left, #0066cc, transparent),
                radial-gradient(circle at top right,  #adebad, transparent),
                radial-gradient(circle at bottom left, #29a329, transparent),
                radial-gradient(circle at bottom right, #99ccff, transparent);
    background-blend-mode: screen;
    cursor:text;
    user-select: text;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 420px;
    padding: 0;
    margin: 0;
}

#prizeContainer.visible > #prizeContainerFrame.weekend {
    position: relative;
    height: 100%;
    width: 100%;
    background: radial-gradient(circle at top left, #FFC107, transparent),
                radial-gradient(circle at top right, #FF69B4, transparent),
                radial-gradient(circle at bottom left, #00BFFF, transparent),
                radial-gradient(circle at bottom right, #7CFC00, transparent);
    background-blend-mode: screen;
    cursor:text;
    user-select: text;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 420px;
    padding: 0;
    margin: 0;
}

#prizeContainer.visible > #prizeContainerFrame.weekday div {
    font-family: 'Palatino Linotype', 'Book Antiqua', serif; 
    font-size: 18px;
    font-weight: 500;
    line-height: 25px;
    margin: 12px;
    text-align: left;
}

#prizeContainer.visible > #prizeContainerFrame.weekend div {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif; 
    font-size: 18px;
    font-weight: 500;
    line-height: 25px;
    margin: 12px;
    text-align: left;
}

#prizeContainer.visible button {
    position: absolute;
    top: 0;
    right: 0;
    margin: 18px 18px 0 auto;
    font-size: larger;
    color: black;
    background-color: transparent;
    border: none;
    object-fit: cover;
}

#prizeContainer.visible h6 {
    cursor:text;
    user-select: text;
    font-family: 'Palatino Linotype', 'Book Antiqua', serif; 
    font-size: 19px;
    padding-left: 12px;
    font-weight: 500;
    text-align: left;
    margin: 12px;
}

#prizeContainer.visible a {
    font-size: 16px;
    text-underline-offset: 8px;
    color: black;
    font-family: 'Palatino Linotype', 'Book Antiqua', serif; 
    display: flex;
    justify-content: left;
    align-items: center;
    padding-top: 12px;
    padding-bottom: 48px;
    
}
    
/* Start of code for creating Copy Quote - 24-01-12 */

#prizeContainer.visible #CopyQuoteButton {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    margin: auto;
    background-color: black;
    color: white;
    padding: 10px 18px;
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
    height: 32px;
    font-size: 13px !important;
    font-family: Arial, Helvetica, sans-serif !important;
    width: fit-content;
    justify-self: center;
    display: flex;
    justify-content: center;
    align-items: center; 
}

#prizeContainer.visible #copyQuoteMessageContainer.hidden {
    display: none;
}

#prizeContainer.visible #copyQuoteMessageContainer.visible {
    position: absolute;
    top: 40%;
    background-color: wheat;
    border: #805300;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    border: black;
    padding: 20px;
    width: 350px;
}

#prizeContainer.visible #copyQuoteMessageContainer.visible div {
    text-align: left;
}

#prizeContainer.visible #copyQuoteMessageContainer.visible #buttonCloseCopyQuoteMessageContainer {
    cursor: pointer;
    position: absolute;
    top: 0;
    right: 0;
    padding: 6px;
}

/* End of code for creating Copy Quote */



/* SHARE CONTAINER */

#shareContainer.hidden {
    display: none;
}

#shareContainer.visible {
    z-index: 15;
    position: absolute;
    top: 100px;
    width: 100vw;
    max-width: 400px;
    padding: 30px 35px;
    background-color: white;
    box-shadow: 0 0 10px gray;
}

#shareContainer.visible #closeShareContainer {
    cursor: pointer;
    position: absolute;
    font-weight: bolder;
    font-size: 20px;
    background-color: white;
    top: 20px;
    right: 20px;
    padding-bottom: 16px;
    border: none;
}

#shareContainer.visible h3 {
    font-size: 18px;
    margin: 30px auto 40px;
}

#shareContainer.visible h4 {
    font-size: 16px;
    margin: 20px auto 6px;
}

#directShareBox {
    display: flex;
    justify-content: space-between;
    padding-bottom: 24px;
} 

#indirectShareBox {
    display: flex;
    justify-content: space-evenly;
    padding-bottom: 24px;
} 

#directShareBox > div, #indirectShareBox > div {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}

#shareContainer.visible p {
    margin-top: 6px;
    margin-bottom: 12px;
    font-size: 14px;
}

/*#copyResult {
    cursor: pointer;
    margin: 40px auto 12px;
    background-color: purple;
    color: white;
    padding: 10px 20px;
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
    height: 36px;
    font-size: 15px;
    font-family: Arial, Helvetica, sans-serif;
    width: fit-content;
    justify-self: center;
    display: flex;
    justify-content: center;
    align-items: center; 
}*/

#shareContainer.visible #messageCopied {
    text-align: center;

}


/* FOOTER */

footer {
    position: fixed;
    bottom: 0;
    width: 100vw;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 0.7rem;
    background-color: white;
    border-top: 1.5px solid #b3b3b3;
    box-shadow: 0 0 5px grey; 
    z-index: 99;
}