html,body {
  overflow-y: hidden;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
  height: 100%;
  width: 100%;

  background-color: #0072bc;

  max-width: 1400px;
  max-height: 1700px;

  margin: 0 auto;

  position: absolute;
  top: 50%;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%);

  /* Disable text selection - when quickly tapping controls or letter it would also select text */
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

p {
  font-size: 17px; /*15*/
  color: green;
  font-weight: bold;
}

#aboutBG {
  display: none;
  
  position:fixed;
  padding-top:25px;
  padding-left: 20px;
  padding-right: 20px;

  margin:-10px;
  margin-left: -18px;
  top: 265px;

  height: 60%;
  width: 370px;

  background:rgba(0,0,0,1);

  text-align:center;

  border-style: solid;
  border-width: 3px;
  border-color: white;
  border-radius: 3px;

}

#aboutBG2 {
  display: none;
  
  position:fixed;
  padding:25px;
  padding-top: 0px;

  margin: -10px;
  margin-top: -25px;

  top: 385px;

  height: 60%;
  width: 370px;

  background:rgba(0,0,0,0);

  text-align:left;

  font-family: sans-serif;

}

#textTitle {
  color: #87CEEB; 
  font-size: 25px; 
  font-weight: bold; 
  text-decoration: underline overline; 
  background-color: rgb(238, 130, 238, 0.5); 
  text-shadow: -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000, 2px 2px 0 #000; 
  line-height:34px;
  border-top: 50px;
}

.textBody {

  font-family: sans-serif;
  font-weight: bold;
  color: white;
  line-height: 34px;
}

.textBodyStatsButton {
  display: inline-block;
  padding-top: 10px;
  
  font-weight: bold;
  color: white;
  line-height: 34px;
}

.dataGraphic {
  display: block;
  margin-top: 25px;
  font-size: 42px;
}

.multipleAttemptsText {
  display: inline-block;
  font-size: 26px;
  font-weight: bold;
  -webkit-text-stroke:1px black;
  color: red;
  background-color: white;
  padding-left: 7px;
  padding-right: 7px;

  margin-bottom: 7px;

  border-radius: 5px;

  border: 3px solid red;

}

.display_final_score {
  position: absolute;
  display: inline-block;
  font-family: sans-serif;
  font-size: 50px;
  color: white;
  font-weight: bold;

  text-align: center;

  padding: 10px 15px;

 /* padding-left: 15px;
  padding-right: 15px;
  padding-top: 10px;
  padding-bottom: 10px;
  */

  -webkit-text-stroke: 2.5px limegreen;

  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  line-height: 50px;

  border-radius: 5px;
  border: 5px solid limegreen;
  background-color: hsl(0, 0%, 23%);
}

#user {
  color: black;
  line-height: 23px;
  position: fixed;
  right: 10px;
  top: 5px;
  padding-right: 0;
  text-align: center;
  margin-top: 0;
}

#helpTextPointer {
  font-size: 45px;
  position: absolute;
  color: white;
  top: 60px;
  left: 400px;
  rotate: 270deg;
  transform: scaleX(-1);
}

#helpTextNext {
  font-size: 64px;
  position: absolute;
  color: yellow;
  text-align: center;
  max-width: 75px;

  margin: 5% auto;
  left: 111px;
  right: 0;
  top: 60%;
}

#helpTextPrev {
  font-size: 64px;
  position: absolute;
  color: yellow;
  text-align: center;
  max-width: 75px;

  margin: 5% auto;
  left: -111px;
  right: 0;
  top: 60%;
}

#helpTextNext p {
  position: absolute;
  color: white;
  margin-bottom: 5px;
  font-size: 23px;
  left: -40px;
  bottom: 50px;
}

#helpTextNext:hover {
  color: pink;
}

#helpTextPrev:hover {
  color: pink;
}

#helpText {
  /*alot of this gets changed later*/
  font-size: 33px;
  position: absolute;
  color: white;
  top: 5px;
  left: 350px;
  padding-right: 10px;
  white-space: pre-wrap;

  width: 360px;

  text-shadow: 2px 2px 0 #000, 2px 2px 0 #000, 2px 2px 0 #000, 2px 2px 0 #000;
}

h1 {
  font-size: 23;
}

.leadersAndStats {

  position: absolute;
  width: 100%;
  text-align: center;
  color: white;

}

#title {
  position: fixed;
  top: -15px;
  font-size: 42px;
  font-weight: bolder;
  text-shadow: -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000, 2px 2px 0 #000;

  -webkit-text-stroke: 1px yellow;
}

#leaders {

  font-family: sans-serif;

  position: fixed;
  margin: 5px auto;
  left: 0;
  right: 0;
  top: 7%;

  text-align: left;
  line-height: 40%;
  font-size: 23px;/*20px;*/

  border-radius: 12px;
  background: rgba(0, 0, 0, 0.81);
  padding-top: 5px;
  padding-left: 10px;
  width: 77%;
  height: 25%;

  max-width: 700px;

  white-space: nowrap;
  overflow-y: auto;

  border: 4px solid yellow;

  /*set display: none to 'hide' */ 
  display: none;
}

#leadersTotal {

  font-family: sans-serif;

  position: fixed;
  margin: 5px auto;
  left: 0;
  right: 0;
  top: 7%;

  text-align: left;
  line-height: 40%;
  font-size: 23px;/*20px;*/

  border-radius: 12px;
  background: rgba(0, 0, 0, 0); /* make bg transparent*/
  padding-top: 5px;
  padding-left: 10px;
  width: 77%;
  height: 25%;

  max-width: 700px;

  white-space: nowrap;
  overflow-y: auto;

  /*made border invisible because if I delete it, will offset size of div and all other elements*/
  border: 4px solid yellow; 

  /*set display: none to 'hide' */ 
  display: none;
}


.leadersSwitchButton {

    position: fixed;
    display: inline-block;
    color: white;

    font-size: 2.3vw;
    font-weight: bolder;
 
    margin-right: 5px;

    border: 4px solid yellow;
    border-radius: 2px;

    padding: 10px;
    border-radius: 4px;

    top: 0%;
    left: 50%;
    transform: translate(-50%, 0%);

    cursor: pointer;
}

@media (pointer: fine), (pointer: none) {
  /* desktop only */

  .leadersSwitchButton:hover {

    background-color: hsl(81, 81%, 64%);
    color: black;
    /*color: hsl(255, 100%, 90%);*/
    border: 4px solid hsl(265, 100%, 86%);

    text-shadow: -2px -2px 0 yellow, 2px -2px 0 yellow, -2px 2px 0 yellow, 2px 2px 0 yellow; 

  }
}

#stageSelect {

  font-family: sans-serif;

  display: none;

  position: fixed;
  margin: 5% auto;
  left: 0;
  right: 0%;
  top: 50%;

  text-align: center;
  line-height: 15%;

  border-radius: 12px;
  background: rgba(0, 0, 0, 0.5);
  padding-top: 10px;
  padding-left: 10px;
  width: 200px;
  height: 200px;

  white-space: nowrap;
  overflow-y: auto;

  border: 4px solid #FFFFFF;
}

.highLight {
  /*color: yellow;*/
  background-color: rgb(250,250,0, 0.555);
  font-family: sans-serif;

  text-shadow: -1px -1px 0 pink, 1px -1px 0 pink, -2px 2px 0 black, 2px 2px 0 black; 

  font-size: 37px;
  font-weight: bolder;
  line-height: 40px;

  padding-right: 10px;

  -webkit-text-stroke: 1px black;  

  border-left-style: solid;
  border-right-style: solid;
  border-color: powderblue;
  border-width: 5px;
  border-radius: 4px;

}

.highLightCPUName {
  color: orange;
}

.highLightGreen {
  position: relative;

  font-family: sans-serif;
  color: chartreuse;
  font-size: 20px;

  -webkit-text-stroke: 0.555px black;
}

.highLightAttempts {
  font-family: sans-serif;
  color: white;
  font-size: 25px;
  font-weight: bolder;

  -webkit-text-stroke: 1px hotpink;

}

.highLightBlue {
  color:  rgb(137, 207, 240);
}

.highLightBlueAttempts {
  color:  rgb(137, 207, 240);
  font-size: 25px;
}

#stats {

  display: none;

  position: fixed;
  margin: 5% auto;
  left: 0%;
  right: 0;
  top: 25%;

  text-align: left;

  background: rgba(0, 0, 0, 0.5);
  padding-top: 10px;
  padding-left: 10px;
  width: 50%;
  height: 20%;

  border-radius: 12px;
  border: 4px solid #FFFFFF;
}

.button {
  position: fixed;
  width: 100%;
  text-align: center;
  z-index: 999;
  color: white;
  transition-duration: 0.4s;
  cursor: pointer;
}

.button1 {
  color: white; 
  line-height: 23px;
  transition-duration: 0.23s;
  font-size: 23px;

}

@media (hover: hover) and (pointer: fine) {
  .button1 {
    color: hotpink;

    transition-duration: 0.23s;
    cursor: pointer;
  }
}

.button1:not(:hover){
  color: white;

}

#helpToggle1{
  z-index: 100;
  position: fixed;
  transform-origin: center center;

  background-color: hsl(350, 45%, 75%, 100%);
  color: white;

  text-align: center;

  font-size: 42px;

  margin: 5% auto; 
  left: 0;
  right: 0;
  bottom: 240px;

  border-radius: 7px;

  padding-top: 3px;
  width: 400px;
  height: 100px;

  border: 0.25vw solid #000000;

  cursor: pointer;
}

@media (hover: hover) and (pointer: fine) {
  #helpToggle1 {
    background-color: hsl(350, 65%, 75%, 100%);

    transition-duration: 0.23s;
    cursor: pointer;
  }
}

#helpToggle1:not(:hover){
  background-color: hsl(350, 45%, 75%, 100%);
}

#wrapper {
  overflow: hidden;
  transition: height 400ms;
  transform-origin: center center;

  background-color: hsl(230, 45%, 75%, 100%);
  color: white;

  border-radius: 7px;

  width: 555px;
  height: 200px;

  line-height: 42px;
  text-align: left;
  font-size: 32px;

  position: absolute;
  margin: 5% auto; 

  left: 0;
  right: 0;
  top: 80%;
  
  transform:translateX(-15%);

  border: 0.25vw solid #000000;
}

.startButton {
  position: absolute;
  background-color:  hsl(155, 81%, 32%, 100%);
  font-size: 32px;
  font-weight: bolder;
  color: #FFFFFF;

  text-shadow: 0 0 4px #000000, 0 0 2px #0000ff;

  width: 320px;
  height: 175px;
  text-align: center;
  transition-duration: 0.4s;
  text-decoration: none;
  overflow: hidden;
  cursor: pointer;

  padding-top: 5px;
  padding-bottom: 5px;

  /*border-radius: 7px;*/
  display: block;
  border-style: solid;
  border-width: 4px;
  border-color: ghostwhite;
  border-radius: 20px;
  line-height: 44px;
 
  top: 51%;
  left: 30%;
  transform: translate(-50%, -50%);
}

.startButton:after {
  content: "";
  background: #f1f1f1;
  display: block;
  position: absolute;
  padding-top: 300%;
  padding-left: 350%;
  margin-left: -20px !important;
  margin-top: -120%;
  opacity: 0;
  transition: all 0.8s
}

.startButton:hover {
  background-color:  hsl(155, 81%, 32%, 69%);
}

.startButton:active:after {
  padding: 0;
  margin: 0;
  opacity: 1;
  transition: 0s
}

.statsButton {
  position: absolute;
  background-color:  hsl(203, 85%, 52%, 100%);
  font-size: 32px;
  font-weight: bolder;
  color: #FFFFFF;

  text-shadow: 0 0 4px #000000, 0 0 2px #0000ff;

  width: 320px;
  height: 175px;
  text-align: center;
  transition-duration: 0.4s;
  text-decoration: none;
  overflow: hidden;
  cursor: pointer;

  padding-top: 5px;
  padding-bottom: 5px;

  /*border-radius: 7px;*/
  display: block;
  border-style: solid;
  border-width: 4px;
  border-color: ghostwhite;
  border-radius: 20px;
  line-height: 32px;
 
  top: 51%;
  left: 70%;
  transform: translate(-50%, -50%);

}


.statsButton:after {
  content: "";
  background: #f1f1f1;
  display: block;
  position: absolute;
  padding-top: 300%;
  padding-left: 350%;
  margin-left: -20px !important;
  margin-top: -120%;
  opacity: 0;
  transition: all 0.8s
}

.statsButton:hover {
  background-color:  hsl(203, 85%, 52%, 69%);
}

.statsButton:active:after {
  padding: 0;
  margin: 0;
  opacity: 1;
  transition: 0s
}


.close {
  /*position: absolute;
  right: 32px;
  top: 32px;
  width: 32px;
  height: 32px;
  opacity: 1;*/
  position: absolute;
  width: 32px;
  height: 32px;
  left: 48%;
  opacity: 1;

  top: 62%;
}
.close:hover {
  opacity: 0.5;
  cursor: pointer;
}
.close:before, .close:after {
  position: absolute;
  left: 0px;
  content: ' ';
  height: 33px;
  width: 6px;
  background-color: red;
}
.close:before {
  transform: rotate(45deg);
}
.close:after {
  transform: rotate(-45deg);
}

#careerMilestones {

  color: white;
  
  font-family: sans-serif, 'Helvetica', 'Arial';

  position: absolute;
  display: block;

  margin: 5% auto;
  margin-top: 3%;

  left: 0;
  right: 0;
  bottom: 0;
  top: 0;

  border-radius: 12px;
  border: 4px solid #FFFFFF;
  
  background-color: hsl(203, 85%, 52%, 100%);

  width: 780px;
  height: 555px;

  overflow: hidden;

}

@-moz-document url-prefix() {
 
    #careerMilestones { width: 1020px; }
 
}

#milestonesTitleFormat {
  /*this is for the career*/
  position: relative;
  display: block;

  left: 0;
  right: 0;
  bottom: 0;
  top: 0;

  width: auto;
  height: 250px;

  z-index: 1111;

  overflow: auto;

  text-align: center;
}

#milestonesBodyFormat {
  /*this is for the career*/
  position: relative;  /*absolute*/
  display: block;

  left: 0;
  right: 0;
  bottom: 0;
  top: 0;

  width: inherit;
  height: 60%;

  overflow: auto;

  text-align: center;

  padding-top: 20px;

  margin-top: -40px;
}

#milestonesBodyFormat2 {
  /*this is for the challenges*/
  position: relative;  /*absolute*/
  display: block;

  left: 0;
  right: 0;
  bottom: 0;
  top: 0;

  width: inherit;
  height: 60%;

  overflow: auto;

  text-align: center;

  padding-top: 20px;

  margin-top: -40px;
}

#milestonesBodyFormat3 {
  /*this is for the stats*/
  position: relative;  /*absolute*/
  display: block;

  left: 0;
  right: 0;
  bottom: 0;
  top: 0;

  width: inherit;
  height: 60%;

  overflow: auto;

  text-align: center;

  padding-top: 20px;

  margin-top: -40px;
}

/*. 
@media (pointer:none), (pointer:coarse) {
  /*MOBILE
  #milestonesBodyFormat {
    position: absolute;
    top: 200px;
    margin-top: 15px;
  }
  #milestonesBodyFormat2 {
    position: absolute;
    top: 200px;
    margin-top: 15px;
  }
  #milestonesBodyFormat3 {
    position: absolute;
    top: 200px;
    margin-top: 15px;
  }
}
*/

#milestonesTextTitle {
  color: white;
  font-size: 44px;

  padding-top: 2%;

  background-color: hsl(155, 81%, 32%, 100%);

  text-decoration: underline;

  text-align: center;

  text-shadow: -1px -1px 0 hotpink, 1px -1px 0 hotpink, -2px 2px 0 black, 2px 2px 0 black; 

}

#milestonesTextTitleExplanation {

  font-style: italic;
  font-weight: bold;
  font-size: 33px;

  padding-left: 10%;
  padding-right: 10%;

  color: hsl(60, 100%, 69%);

  text-shadow: 0 0 4px #000000, 0 0 2px #0000ff;

  background-color: hsl(155, 81%, 32%, 100%);

  border-bottom: 4px solid #FFFFFF;

  text-align: center;

}

.milestonesStatsTitles {

  position: relative;
  display: inline-block;

  padding:5px;

  margin-top: 20px;

  font-style: italic;
  font-weight: bold;
  font-size: 40px;

  text-shadow: 0 0 3px #000000, 0 0 3px #000000;

  border-right: 5px solid #FFFFFF;
  border-left: 5px solid #FFFFFF;

  text-align: center;

  border-radius: 4px;

}

.milestonesTotalTitle {

  position: relative;
  display: table;

  transform: translate(-50%, 0);
  left: 50%;

  padding:5px;

  margin-top: 10px;
  width: auto;

  font-style: italic;
  font-weight: bold;
  font-size: 40px;

  text-shadow: 0 0 3px #000000, 0 0 3px #000000;

  border: 5px solid yellow;

  text-align: center;

  border-radius: 4px;

}

.margin-adjustment {
  margin-left: 30px;
}

.statsTitleColor1 {
  background-color: hsl(265, 100%, 86%);
  color: hsl(59, 100%, 75%);

  text-shadow: -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000, 2px 2px 0 #000; 
}

.alternateColor1 {
  background-color: hsl(265, 100%, 86%);
  color: black;
  /*color: hsl(59, 100%, 75%);*/

  text-shadow: -2px -2px 0 hsl(88, 77%, 78%), 2px -2px 0 hsl(88, 77%, 78%), -2px 2px 0 hsl(88, 77%, 78%), 2px 2px 0 hsl(88, 77%, 78%); 
}

.alternateColor2 {
  background-color: hsl(88, 77%, 78%);
  color: black;
  /*color: hsl(255, 100%, 90%);*/

  text-shadow: -2px -2px 0 hsl(265, 100%, 86%), 2px -2px 0 hsl(265, 100%, 86%), -2px 2px 0 hsl(265, 100%, 86%), 2px 2px 0 hsl(265, 100%, 86%); 

}

.statsValueInput{
  position: absolute;
  display: block;

  padding-top: 0px;
  padding-left: 10px;
  padding-right: 10px;

  font-weight: bolder;
  font-size: 35px;

  /*I think I prefer to set sizes, oppose to auto*/
  width: 40px;
  height: 40px;

  border-right: 4px solid black;
  border-left: 4px solid black;

  text-align: center;

  border-radius: 4px;

}

@-moz-document url-prefix() {
 
    .statsValueInput { padding-top: 10px; }
 
}


.statsRows {
  position: absolute;
  display: block;

  margin-top:1.5%;

  font-weight: bold;
  font-size: 30px;

  width: auto;
  height: 10px;

  /*border-right: 4px solid black;*/
  /*border-left: 4px solid black;*/

  text-align: center;

  border-radius: 4px;

}



#milestonesTabStatsLink {

  position: relative;
  display: inline-block;

  padding:1%;

  /* this is for a left alignment
  margin-top: 2.5%;
  left: -37%;
  margin-left: -1.5%;
  */

  margin-left: 5%;
  margin-top: 1.5%;

  font-style: italic;
  font-weight: bold;
  font-size: 33px;

  /*color: hsl(155, 50%, 50%);*/
  color: white;

  text-shadow: 0 0 2px #000000, 0 0 2px #000000;

  background-color: hsl(38, 100%, 55.5%);

  border-top: 2px solid #FFFFFF;
  border-right: 2px solid #FFFFFF;
  border-left: 2px solid #FFFFFF;

  text-align: left;

  border-radius: 4px;

  cursor: pointer;
  transition-duration: 0.2s;

}

#milestonesTabStatsLink:hover {
  color: hotpink;
  background-color: hsl(35, 100%, 42%);   /* when click use (42,100%,23%) and yellow color */
}

#milestonesTabCareerLink {

  position: relative;
  display: inline-block;

  padding:1%;

  /* this is for a left alignment
  margin-top: 2.5%;
  left: -37%;
  margin-left: -1.5%;
  */

  margin-left: -1.5%;
  margin-top: 1.5%;

  font-style: italic;
  font-weight: bold;
  font-size: 33px;

  /*color: hsl(155, 50%, 50%);*/

  color: white;

  text-shadow: 0 0 2px #000000, 0 0 2px #000000;

  background-color: hsl(38, 100%, 55.5%);

  border-top: 2px solid #FFFFFF;
  border-right: 2px solid #FFFFFF;
  border-left: 2px solid #FFFFFF;

  text-align: left;

  border-radius: 4px;

  cursor: pointer;
  transition-duration: 0.2s;

}

#milestonesTabCareerLink:hover {
  color: hotpink;
  background-color: hsl(35, 100%, 42%);   /* when click use (42,100%,23%) and yellow color */
}

#milestonesTabChallengesLink {

  position: relative;
  display: inline-block;

  padding: 1%;

  /* this is for a left alignment
  margin-top: 2.5%;
  left: -37%;
  margin-left: -1.5%;
  */

  margin-left: -1.5%;
  margin-top: 1.5%;

  font-style: italic;
  font-weight: bold;
  font-size: 33px;

  /*color: hsl(155, 50%, 50%);*/
  color: white;

  text-shadow: 0 0 2px #000000, 0 0 2px #000000;

  background-color: hsl(38, 100%, 55.5%);

  border-top: 2px solid #FFFFFF;
  border-right: 2px solid #FFFFFF;
  border-left: 2px solid #FFFFFF;

  text-align: left;

  border-radius: 4px;

  cursor: pointer;
  transition-duration: 0.2s;

}

#milestonesTabChallengesLink:hover {
  color: hotpink;
  background-color: hsl(35, 100%, 42%);   /* when click use (42,100%,23%) and yellow color */
}



#milestoneAchievementContainer {
  display: inline-block;

  width: 325px;

  top: 0px;
  left: 0px;

  padding-right: 25px;

  margin-top: 10px;
  margin-left: 10px;
  margin-bottom: 20px;

  /*border-right: thick solid hotpink;*/

  margin-bottom: 25px;


}

#milestoneAchievementTitle{
  display: block;

  border-style: solid;
  border-width: 2px;
  border-color: ghostwhite;
  border-radius: 2px;
  
  color: hsl(40, 100%, 55%);
  background-color: hsl(203, 2%, 2%, 42%);
  font-weight: bolder;
  font-size: 33px;

  padding-left: 5px;
  padding-right: 5px;

  margin:5px;

  text-align: center;

}

#milestoneAchievementBox{
  display: block;
  position: relative;

  background-color: hsl(203, 98%, 99%, 81%);
  width: 100px;
  height: 100px;
  font-size: 80px;

  left: 33%;

  text-align: center;

  border-style: solid;
  border-width: 8px;
  border-color: hsl(155, 81%, 32%, 100%);
  border-radius: 4px;

  margin:5px;

}

#milestoneAchievementDescription {
  display: block;

  color: hsl(60, 100%, 69%);
  font-size: 28px;
  font-style: oblique;

  border-style: solid;
  border-width: 2px;
  border-color: ghostwhite;
  border-radius: 2px;

  padding-left: 5px;
  padding-right: 5px;

  text-align: center;

  background-color: hsl(203, 2%, 2%, 42%);

  margin:5px;

}


#lockID {
  z-index: 999;
  display: block;
  position: relative;
  top: 60px;

  opacity: 81%;
}

#checkMark {
  display: block;
  position: absolute;
  top: 12px;
  left: 1px;
  color: hsl(155, 81%, 32%, 100%);
  font-size: 30px;

  display: none;
}

#animationIcon {
  display: block;
  position: absolute;
  z-index: 999;
  top: 3px;
  right: 4px;
  color: hsl(334, 44%, 54%);
  font-size: 23px;
}

#backArrowButtonStatsPage {
  position: absolute;
  font-size: 50px;
  color: hsl(155, 81%, 32%, 100%);
  background-color: hsl(54, 89%, 64%);

  text-align: center;
  cursor: pointer;

  padding-top: 20px;
  padding-bottom: 5px;

  width: 100px;
  height: 50px;
  /*border-radius: 7px;*/
  display: block;
  border-style: solid;
  border-width: 4px;
  border-color: hsl(155, 81%, 32%, 100%);;
  border-radius: 4px;
  line-height: 32px;

  top: 60%;
  left: 52%;
  transform: translate(-50%, -50%);
 
}

#backArrowButtonStatsPage:hover {
  color: salmon;
}

#ribbon {
  position: absolute;
  margin: 0 auto 20px;
  padding: 10px 0px;
  text-align: center;
  background-color: #FF1A1A;

  width: 200px;

  left: -15px;
  top: 110px;

  font-size: 32px;

  -webkit-text-stroke: 1px blue;

  height: 10px;

  padding-bottom: 40px;

}

#ribbon::before, #ribbon::after {
  content: '';
  width: 80px;
  height: 100%;
  background-color: #B30000;

  /* position ribbon ends behind and slightly lower */
  position: absolute;
  z-index: -1;
  top: 20px;
  
  /* clip ribbon end shape */
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 25% 50%);

  /* draw and position the folded ribbon bit */
  background-image: linear-gradient(45deg, transparent 50%, #ff8080 50%);
  background-size: 20px 20px;
  background-repeat: no-repeat;
  background-position: bottom right;
}

#ribbon::before {
  left: -60px;
}

#ribbon::after {
  right: -60px;
  transform: scaleX(-1); /* flip horizontally */
}
