
html {
  scroll-behavior: smooth;
}
body {
  padding: 30px;
  margin-top: 0px!important;
}

.card {
  background-color: #fff;
}

a:hover, a:visited, a:link, a:active {
  text-decoration: none !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}

.card-top-title {
    font-size: 4rem;
    margin:.67em 0px;
    color: #E88C4A; 
    background-image: linear-gradient(45deg, #E88C4A 82%, #E07A37 38%, #D86825 73%, #CC5613 73%); 
    background-clip: text; 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
    font-weight: 700;
    font-family: Patrick Hand SC,sans-serif;
}

.title {
    color: #E88C4A; 
    background-image: linear-gradient(45deg, #E88C4A 82%, #E07A37 38%, #D86825 73%, #CC5613 73%); 
    background-clip: text; 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
    font-weight: 700;
    }
    button {
      font-family: Verdana, Geneva, Tahoma, sans-serif;
    }

    ul,li,p, .f-v {
      font-family: Verdana, Geneva, Tahoma, sans-serif;
    }
    .f-300 {
        font-weight: 300!important;
    }
    /* Vibrate animation */
    @keyframes vibrate {
      0% { transform: translateX(0); }
      25% { transform: translateX(-2px); }
      50% { transform: translateX(2px); }
      75% { transform: translateX(-2px); }
      100% { transform: translateX(0); }
    }


    .tabs input[type=text],
    .tabs input[type=password] {
      display: block;
    }

    .gsi-material-button {
      -moz-user-select: none;
      -webkit-user-select: none;
      -ms-user-select: none;
      -webkit-appearance: none;
      background-color: WHITE;
      background-image: none;
      border: 1px solid #747775;
      -webkit-border-radius: 4px;
      border-radius: 4px;
      -webkit-box-sizing: border-box;
      box-sizing: border-box;
      color: #1f1f1f;
      cursor: pointer;
      font-family: 'Roboto', arial, sans-serif;
      font-size: 14px;
      height: 40px;
      letter-spacing: 0.25px;
      outline: none;
      overflow: hidden;
      padding: 0 12px;
      position: relative;
      text-align: center;
      -webkit-transition: background-color .218s, border-color .218s, box-shadow .218s;
      transition: background-color .218s, border-color .218s, box-shadow .218s;
      vertical-align: middle;
      white-space: nowrap;
      min-width: 100%;
    }
    
    .gsi-material-button .gsi-material-button-icon {
      height: 20px;
      margin-right: 12px;
      min-width: 20px;
      width: 20px;
    }
    
    .gsi-material-button .gsi-material-button-content-wrapper {
      -webkit-align-items: center;
      align-items: center;
      display: flex;
      -webkit-flex-direction: row;
      flex-direction: row;
      -webkit-flex-wrap: nowrap;
      flex-wrap: nowrap;
      height: 100%;
      justify-content: center;
      position: relative;
      width: 100%;
    }
    
    .gsi-material-button .gsi-material-button-contents {
      -webkit-flex-grow: 0;
      flex-grow: 0;
      font-family: 'Roboto', arial, sans-serif;
      font-weight: 500;
      overflow: hidden;
      text-overflow: ellipsis;
      vertical-align: top;
    }
    
    .gsi-material-button .gsi-material-button-state {
      -webkit-transition: opacity .218s;
      transition: opacity .218s;
      bottom: 0;
      left: 0;
      opacity: 0;
      position: absolute;
      right: 0;
      top: 0;
    }
    
    .gsi-material-button:disabled {
      cursor: default;
      background-color: #ffffff61;
      border-color: #1f1f1f1f;
    }
    
    .gsi-material-button:disabled .gsi-material-button-contents {
      opacity: 38%;
    }
    
    .gsi-material-button:disabled .gsi-material-button-icon {
      opacity: 38%;
    }
    
    .gsi-material-button:not(:disabled):active .gsi-material-button-state, 
    .gsi-material-button:not(:disabled):focus .gsi-material-button-state {
      background-color: #303030;
      opacity: 12%;
    }
    
    .gsi-material-button:not(:disabled):hover {
      -webkit-box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
      box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
    }
    
    .gsi-material-button:not(:disabled):hover .gsi-material-button-state {
      background-color: #303030;
      opacity: 8%;
    }
    

    input[type="range"] {
      -webkit-appearance: none;
      width: 100%;
      height: 10px;
      border-radius: 5px;
      background: linear-gradient(to right, blue 0%, blue 50%, green 50%, green 100%);
      outline: none;
      transition: background 0.15s;
    }
    
    input[type="range"]::-webkit-slider-runnable-track {
      width: 100%;
      height: 10px;
      border-radius: 5px;
      background: linear-gradient(to right, blue 0%, blue 50%, green 50%, green 100%);
    }
    
    input[type="range"]::-moz-range-track {
      width: 100%;
      height: 10px;
      border-radius: 5px;
      background: linear-gradient(to right, blue 0%, blue 50%, green 50%, green 100%)!important;
    }
    
    .blurred-text {
      filter: blur(4px);
      cursor: pointer;
      transition: filter 0.3s ease;
    }




/* Main Styles */

$fz-quotes: 15.625em;

.quote {
  width: 100%;
  background-color: $clr-bg;
  color: $clr-text;
  font-size: clamp(0.5rem, 0.5rem + 2vw, 1rem);
  line-height: 1.5;
  padding: 2em;
  padding-top: max(2em, $fz-quotes / 4);
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
  -webkit-align-content: center;
      -ms-flex-line-pack: center;
          align-content: center;
  gap: 1em;
  isolation: isolate;

	&::before {
		content: '\201E';
		font-size: $fz-quotes;
		font-family: Arial, sans-serif;
		line-height: 0;
		color: $clr-text-quotes;
		position: absolute;
		z-index: -1;
		top: -1%;
		left: 2.5%;
	}
}

.author {
  font-style: italic;
  font-weight: 300;
  font-size: 1.25em;
}



/* Quote Body Styles */

.quote {
	& > * {
		width: 100%;
	}

  & > .body {
  	font-size: 1.5em;
	}
}



/* Tooltip Styles */

.tooltip {
  padding: 0.15em 0.3em;
  background-color: $clr-bg-tooltip;
  cursor: pointer;
	transition: background-color 0.5s ease-out;

  &:is(:hover, :focus, :focus-within) {
		background-color: darken($clr-bg-tooltip, 10%);
		
		& > .body {
			visibility: visible;
  		opacity: 1;
		}
	}
	
	& > .body {
		width: min(80vw, 300px);
		visibility: hidden;
		opacity: 0;
		font-size: (1em / 1.5);
		background-color: $clr-text;
		color: $clr-bg-tooltip;
		position: absolute;
		left: 50%;
		top: 50%;
		-webkit-transform: translate(-50%, -50%);
			 -moz-transform: translate(-50%, -50%);
				-ms-transform: translate(-50%, -50%);
				 -o-transform: translate(-50%, -50%);
						transform: translate(-50%, -50%);
		-webkit-transition: all 0.5s ease-out;
				 -o-transition: all 0.5s ease-out;
			 -moz-transition: all 0.5s ease-out;
						transition: all 0.5s ease-out;

		
		& .container {
			display: block;
			max-height: 50vh;
			overflow: auto;
			
			& > * {
				display: block;
				padding: 0.5em 1em;
			}
		}
		
		& .icon-listen {
			position: absolute;
			top: 0.25em;  
			padding: 1em;
			display: inline-block;
			width: 0;
			height: 0;
			background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg" fill="rgb(' + red($clr-bg-tooltip) + ',' + green($clr-bg-tooltip) + ',' + blue($clr-bg-tooltip) + ')"><path d="M18,29a1,1,0,0,1-.57-.18l-10-7A1,1,0,0,1,7,21V11a1,1,0,0,1,.43-.82l10-7a1,1,0,0,1,1-.07A1,1,0,0,1,19,4V28a1,1,0,0,1-.54.89A1,1,0,0,1,18,29ZM9,20.48l8,5.6V5.92l-8,5.6Z"/><path d="M8,22H4a3,3,0,0,1-3-3V13a3,3,0,0,1,3-3H8a1,1,0,0,1,1,1V21A1,1,0,0,1,8,22ZM4,12a1,1,0,0,0-1,1v6a1,1,0,0,0,1,1H7V12Z"/><path d="M18,21V19a3,3,0,0,0,2.12-5.12l1.42-1.42A5,5,0,0,1,18,21Z"/><path d="M26.48,25.48a1,1,0,0,1-.71-.29,1,1,0,0,1,0-1.42,11,11,0,0,0,0-15.54,1,1,0,1,1,1.42-1.42,13,13,0,0,1,0,18.38A1,1,0,0,1,26.48,25.48Z"/><path d="M23.65,22.65a1,1,0,0,1-.7-.29A1,1,0,0,1,23,21a7,7,0,0,0,0-9.9,1,1,0,0,1,1.41-1.41,9,9,0,0,1,0,12.72A1,1,0,0,1,23.65,22.65Z"/></svg>');
			background-repeat: no-repeat;
			-webkit-background-size: 60% 60%;
				 -moz-background-size: 60% 60%;
					 -o-background-size: 60% 60%;
							background-size: 60% 60%;
			background-position: center;
			-webkit-transition: all 0.25s ease-out;
					 -o-transition: all 0.25s ease-out;
				 -moz-transition: all 0.25s ease-out;
			transition: all 0.25s ease-out;
			cursor: pointer;
			
			&:is(:hover, :focus) {
				-webkit-transform: scale(1.1);
					 -moz-transform: scale(1.1);
						-ms-transform: scale(1.1);
						 -o-transform: scale(1.1);
								transform: scale(1.1);
				opacity: 0.8;
			}
			
			&:active {
				-webkit-transform: scale(1);
					 -moz-transform: scale(1);
						-ms-transform: scale(1);
						 -o-transform: scale(1);
								transform: scale(1);
				opacity: 1;
			}
		}
		
		& .pronunciation {
			position: relative;
		}
		
		& .text {
			color: $clr-text;
			background-color: $clr-bg-tooltip;
			padding: 0.75em 1em;
		}
	}
}



/* Media Queries */

@media (hover: none) and (pointer: coarse) {
  .tooltip > .body::before {
    content: 'Click/tap anywere outside to disappear';
    font-size: 0.5em;
    line-height: 1;
    text-align: center;
    display: block;
    padding: 1em;

  }
}

.menu-flex {
  margin-top: 0px;
  display:flex;
  align-items: center;
}

@media (min-width: 400px) {
  .frame {
    width: 400px;
    height: 400px;
    margin-left: -200px;
  }
  
  .tooltip {
    position: relative;

    & > .body {
			top: initial;
			bottom: -webkit-calc(100% + 4em);
			bottom: -moz-calc(100% + 4em);
			bottom: calc(100% + 4em);
			left: -webkit-calc(50% + min(90vw, 50px) / -2);
			left: -moz-calc(50% + min(90vw, 50px) / -2);
			left: calc(50% + min(90vw, 50px) / -2);
			-webkit-transform: unset;
				 -moz-transform: unset;
					-ms-transform: unset;
					 -o-transform: unset;
							transform: unset;
		
			
			&::after {
				content: '';
				width: 0;
				height: 0;
				border-top: 0.5em solid $clr-bg-tooltip;
				border-right: 0.5em solid transparent;
				border-bottom: none;
				border-left: 0.5em solid transparent;
				position: absolute;
				top: initial;
				right: initial;
				left: 50%;
				-webkit-transform: translateX(-50%);
					 -moz-transform: translateX(-50%);
						-ms-transform: translateX(-50%);
						 -o-transform: translateX(-50%);
								transform: translateX(-50%);
			}
			
			
		}
		
		&:is(:hover, :focus, :focus-within) > .body {
			bottom: -webkit-calc(100% + 0.75em);
			bottom: -moz-calc(100% + 0.75em);
			bottom: calc(100% + 0.75em);
		}
  }
}

.tooltip:hover {
  color:#0b74d5;
  text-decoration: underline;
}


.container-text {
  position: relative;
}


.overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 10px 15px;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
}

.overlay:hover {
  display: none;
}

.noun {
  color: rgba(255, 180, 50, 0.75); /* Soft orange */
}

.pronoun {
  color: rgba(255, 220, 90, 0.75); /* Soft yellow */
}

.verb {
  color: rgba(90, 165, 255, 0.75); /* Soft blue */
}

.adjective {
  color: rgba(170, 90, 240, 0.75); /* Soft purple */
}

.adverb {
  color: rgba(180, 180, 180, 0.75); /* Soft grey */
}

.preposition {
  color: rgba(110, 110, 110, 0.75); /* Darker grey */
}

.conjunction {
  color: rgba(170, 150, 110, 0.75); /* Soft brown */
}

.interjection {
  color: rgba(130, 50, 20, 0.75); /* Soft red */
}


main {
  margin-top: 30px;
}

.card-settings {
  background-color: #fff;
  height: 18rem;
}


.table-view {
  display: block;
}

.card-view {
  display: none;
}
.pricing-group {
  display:flex;
  justify-content:center;
  gap:50px;
}

.pricing-rec {
  scale: 1.1;
  z-index: 10
}
.pricing-arrow {
  position:absolute;border:none;transform:rotate(120deg);position:absolute;top:3%;left:46%
}
.best-value {
  position:absolute;border:none;transform:rotate(40deg);position:absolute;top:9.5%;left:58%;z-index: 12;scale:1.5
}


@media only screen and (max-width: 600px) {

  nav div {
    margin: 0px;
  }
  .menu-flex {
    display:inline;
  }

  main {
    margin-top: 10px;
  }
  .paper {
    padding: 0.5rem;
  }
  .arrow-groups {
    display: none;
  }

  .menu-title {
    font-size:1.2rem
  }

  .p-mobile-none {
    padding: 0;
  }

  .p-lr-mobile-none {
    padding: 10px 0px;
  }

  .card-settings {
    height: auto;
  }
  .hide-mobile {
    display: none;
  }

  .f-12 {
    font-size: 12px;
  }

  .table-view {
    display: none;
  }

  .card-view {
    display: flex;
  }
  .w-m-100 {
    width: 100%;
  }
  .pricing-rec {
    scale: 1;
    z-index: 10
  }
  .pricing-arrow {
    position:absolute;border:none;transform:rotate(120deg);position:absolute;top:2%;left:46%
  }

  .best-value {
    position:absolute;border:none;transform:rotate(40deg);position:absolute;top:20%;left:80%;z-index: 12;scale:1.5
  }
}