@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rock+Salt&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Architects+Daughter&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nothing+You+Could+Do&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Grape+Nuts&display=swap');

:root {
  --purple-color: #4E2683;
  --gold-color: #B4A269;
  --main-font: 'Fredoka', sans-serif;
  --heading-font: 'Architects Daughter', cursive;
  --main-border: 2px solid #B4A269;
}

* {
 margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-print-color-adjust: exact !important;
    overscroll-behavior-y: none;

}
 
@media print {
  .options {
    display: none;
  }

  .navigation {
    display: none;
  }

  .results {
    display: none;
  }

  .heading_2 {
    display: none;
  }

  .notice {
    display: none;
  }

  .footer {
    display: none;
  }

  .cbtext {
    display: none;
  }

  button {
    display: none;
  }

  #cbhs_image {
    content:url('https://v2-gpacalculator.kcx.repl.co/images/logo2.png');
  }

  #namesave {
    display: none;
  }
}

.main {
  background-color: white;
  width: 100%;
  height: 100%;
}

.textmain {
  justify-content: center;
  margin: auto;
  text-justify: center;
}

.heading {
  border: #B4A269 2px solid;
  position: center;
  font-size: 1.5em;
  width: 95%;
  height: 2em;
  border-radius: 10px;
  color: white;
  background-color: #4E2683;
  justify-content: center;
  text-align: center;
  margin: auto;
  line-height: 2em;
  font-family: 'Architects Daughter', cursive;
  font-weight: bold;
}

.heading_2 {
  border: #B4A269 2px solid;
  position: center;
  font-size: 1.5em;
  width: 95%;
  height: 2em;
  border-radius: 10px;
  color: white;
  background-color: #4E2683;
  justify-content: center;
  text-align: center;
  margin: auto;
  line-height: 2em;
  font-family: 'Architects Daughter', cursive;
  font-weight: bold;
}

.body-background {
  background-color: #333;
  -webkit-print-color-adjust: exact !important;
}

.body-background-light {
  background-color: #eeeeef;
  -webkit-print-color-adjust: exact !important;
}


.body-background::-webkit-scrollbar {
  display: none;
}

.body-background-light::-webkit-scrollbar {
  display: none;
}
/*
::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey; 
}
 
::-webkit-scrollbar-thumb {
  background: #B4A269; 
}

::-webkit-scrollbar-thumb:hover {
  background: #938558; 
}*/

.calc {
  border: #B4A269 2px solid;
  position: relative;
  font-size: 1em;
  width: 90%;
  border-radius: 10px;
  color: white;
  background-color: #4E2683;
  justify-content: center;
  text-align: center;
  font-family: 'Fredoka', sans-serif;
  height: auto;
  margin: 0 auto;
  padding: 7px;
  box-shadow: 0 6px 20px -5px rgba(0, 0, 0, 0.4);
}

.options {
  border: #B4A269 2px solid;
  position: relative;
  font-size: 1em;
  width: 90%;
  border-radius: 10px;
  color: white;
  background-color: #4E2683;
  justify-content: center;
  text-align: center;
  font-family: 'Fredoka', sans-serif;
  height: auto;
  margin: 0 auto;
  padding: 7px;
  box-shadow: 0 6px 20px -5px rgba(0, 0, 0, 0.4);
}
/*
.inputs {
  border: #B4A269 2px solid;
  justify-content: center;
  text-align: center;
  font-family: 'Fredoka', sans-serif;
  color: black;
  border-radius: 2em;
  background-color: white;
  outline: none;
  outline: none;
	
	width: 25%;
  -webkit-transition: width 0.35s ease-in-out;
  transition: width 0.35s ease-in-out;

  box-shadow: 0 6px 20px -5px rgba(0, 0, 0, 0.4);
}
*/

.inputsDrop {
  border: white 2px solid;
  justify-content: center;
  text-align: center;
  font-family: 'Fredoka', sans-serif;
  color: white;
  border-radius: 2em;
  background-color: #333;
  outline: none;
	
	width: 25%;

  box-shadow: 0 6px 20px -5px rgba(0, 0, 0, 0.4);
}

.inputs {
  border: white 2px solid;
  justify-content: center;
  text-align: center;
  font-family: 'Fredoka', sans-serif;
  color: white;
  border-radius: 2em;
  background-color: #333;
  outline: none;
	
	width: 25%;
  box-shadow: 0 6px 20px -5px rgba(0, 0, 0, 0.4);
}

.inputsA {
  border: white 2px solid;
  justify-content: center;
  text-align: center;
  font-family: 'Fredoka', sans-serif;
  color: black;
  border-radius: 2em;
  background-color: #3cff2e;
  outline: none;
	
	width: 25%;
  box-shadow: 0 6px 20px -5px rgba(0, 0, 0, 0.4);
}


.inputsDropA {
  border: white 2px solid;
  justify-content: center;
  text-align: center;
  font-family: 'Fredoka', sans-serif;
  color: black;
  border-radius: 2em;
  background-color: #3cff2e;
  outline: none;
	
	width: 25%;

  box-shadow: 0 6px 20px -5px rgba(0, 0, 0, 0.4);
}

.inputsB {
  border: white 2px solid;
  justify-content: center;
  text-align: center;
  font-family: 'Fredoka', sans-serif;
  color: black;
  border-radius: 2em;
  background-color: #f1ff2e;
  outline: none;
	
	width: 25%;
  box-shadow: 0 6px 20px -5px rgba(0, 0, 0, 0.4);
}


.inputsDropB {
  border: white 2px solid;
  justify-content: center;
  text-align: center;
  font-family: 'Fredoka', sans-serif;
  color: black;
  border-radius: 2em;
  background-color: #f1ff2e;
  outline: none;
	
	width: 25%;

  box-shadow: 0 6px 20px -5px rgba(0, 0, 0, 0.4);
}

.inputs:focus {
  /*outline: 2px #B4A269 solid;*/
  border: 2px #B4A269 solid;
}

.inputsDrop:focus {
  /*outline: 2px #B4A269 solid;*/
  border: 2px #B4A269 solid;
}

.inputsDrop:not(focus) {
  border: 2px white solid;
}
/*
.inputs:focus {
  width: 30%;
}

.inputs:not(:focus) {
  width: 25%;
}*/

input:checked {
  border: white 1px solid;
}

.inputs2 {
 width: 250px;
  border: #B4A269 2px solid;
  justify-content: center;
  text-align: center;
  font-family: 'Fredoka', sans-serif;
  color: white;
  border-radius: 2em;
  background-color: #4E2683; 
  box-shadow: 0 6px 20px -5px rgba(0, 0, 0, 0.4);
}

.results {
  border: white 2px solid;
  position: relative;
  font-size: 1em;
  width: 100%;
  border-radius: 10px;
  color: white;
  background-color: #4E2683;
  justify-content: center;
  text-align: center;
  font-family: 'Fredoka', sans-serif;
  height: auto;
  margin: 0 auto;
  padding: 7px;
  cursor: pointer;
  font-weight: bold;
  box-shadow: 0 6px 20px -5px rgba(0, 0, 0, 0.4);
}

.results:hover {
  background-color: #B4A269;
  color: white;
  opacity: 1;
  transition: 0.4s;
  /*font-size: 125%;*/
  border: white 2px solid;
}

.results:not(:hover) {
  background-color: #4E2683;
  border: 2px #B4A269 solid;
  transition: 0.25s;
}

.results:active {
  background-color: #4E2683;
  border: 2px #B4A269 solid;
  transition: 0.25s;
}

.control {
  border: white 2px solid;
  position: relative;
  font-size: 1em;
  width: 40%;
  border-radius: 10px;
  color: white;
  background-color: #4E2683;
  justify-content: center;
  text-align: center;
  font-family: 'Fredoka', sans-serif;
  height: auto;
  margin: 0 auto;
  padding: 7px;
  cursor: pointer;
  font-weight: bold;
}

.control:hover {
  background-color: #B4A269;
  color: white;
  opacity: 1;
  transition: 0.4s;
  border: white 2px solid;
}

.control:not(:hover) {
  background-color: #4E2683;
  border: 2px #B4A269 solid;
  transition: 0.25s;
}

.control:active {
  background-color: #4E2683;
  border: 2px #B4A269 solid;
  transition: 0.25s;
}

.cb {
  border: white 2px solid;
  position: relative;
  font-size: 1em;
  width: 100%;
  border-radius: 10px;
  color: white;
  background-color: #4E2683;
  justify-content: center;
  text-align: center;
  font-family: 'Fredoka', sans-serif;
  height: auto;
  margin: 0 auto;
  padding: 7px;
}

.notice {
  font-style: italic;
  font-size: 0.9em;
}

.subheading {
  text-decoration: underline white 2px;
  font-weight: bold;
  font-size: 1.2em;
  color: white;
}

.infotext {
  font-size: 1em;
  overflow-wrap: anywhere;
}

.last {
  background-color: white;
}



.container {
  width: 100%;
  height: 20vh;
  background: #4E2683;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

button {
  width: 270px;
  height: 40px;
  border: white 2px solid;
  outline: none;
  background: #4E2683;
  color: #fff;
  font-size: 22px;
  border-radius: 40px;
  text-align: center;
  box-shadow: 0 6px 20px -5px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.check-box {
  width: 80px;
  height: 40px;
  border-radius: 40px;
  box-shadow: 0 0 12px -2px rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 0;
  right: -40px;
  opacity: 0;
}

.check-box svg {
  width: 40px;
}

svg path {
  stroke-width: 6;
  stroke: white;
  stroke-dasharray: 34;
  stroke-dashoffset: 34;
  stroke-linecap: round;
}

.active {
  background: #B4A269;
  transition: 1s;
}

.active .check-box {
  right: 0;
  opacity: 1;
  transition: 1s;
}

.active p {
  margin-right: 90px;
  transition: 1s;
}

.active svg path {
  stroke-dashoffset: 0;
  transition: 1s;
  transition-delay: 1s;
}

.cbtext {
  font-weight: bold;
  font-family: 'Fredoka', sans-serif;
}

.cbtext:hover {
  background-color: #B4A269;
  color: white;
  opacity: 1;
  transition: 0.4s;
  border: white 2px solid;
}

.footer {
	background-color: #B4A269;
	width: 100%;
	color: white;
	text-align: center;
	justify-content: center;
  font-family: 'Fredoka', sans-serif;
  height: auto;
  margin: 0 auto;
  padding: 7px;
/*
  position: sticky;
  bottom: 0;
  z-index: 10;*/
}

input[type=radio] {
  -webkit-appearance: none;
 background-color: #fafafa;
	border: 2px solid #B4A269;

  box-shadow: 0 6px 20px -5px rgba(0, 0, 0, 0.4);
	
	padding: 6px;
	border-radius: 3px;
	display: inline-block;
	position: relative;

  bottom: .09em;
    vertical-align: middle; 
}

input[type=radio]:checked {
  background-color: #B4A269;
  transition: 0.4s;
}

input[type="radio"]:not(:checked) {
  background-color: #fafafa;
  transition: 0.4s;
}

input[type=checkbox] {
  -webkit-appearance: none;
 background-color: #333;
	border: 2px solid white;

  box-shadow: 0 6px 20px -5px rgba(0, 0, 0, 0.4);
	
	padding: 6px;
	border-radius: 3px;
	display: inline-block;
	position: relative;

  bottom: .09em;
    vertical-align: middle; 
}

input[type=checkbox]:checked {
  background-color: #B4A269;
  transition: 0.4s;
}

input[type="checkbox"]:not(:checked) {
  background-color: #333;
  transition: 0.4s;
}

hr.main {
  border: 3px solid #B4A269;
  border-radius: 20px;
  background-color: #B4A269;
  color: #B4A269;
}

progress[value] {
  -webkit-appearance: none;
   appearance: none;

  width: 250px;
  height: 20px;
}

progress[value]::-webkit-progress-bar {
  background-color: #4E2683;
  border: 2px white solid;
  border-radius: 10px;
  box-shadow: 0 6px 20px -5px rgba(0, 0, 0, 0.4);
}

progress[value]::-webkit-progress-value {
    background-color: #B4A269;
    border-radius: 10px; 
    background-size: 35px 20px, 100% 100%, 100% 100%;
}

option {
  background-color: #B4A269;
  color: white;
 
}

::selection {
  color: white;
  background: #B4A269;
}

.navigation {
   overflow: hidden;
  background-color: #B4A269;
  background-size: 35px 20px, 100% 100%, 100% 100%;
   box-shadow: 0 6px 20px -5px rgba(0, 0, 0, 0.4);

  position: sticky;
  top: 0;
  width: 100%;
  z-index: 30;
}

.navigation a {
  float: left;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
  font-family: 'Fredoka', sans-serif;
}

.navigation label {
  float: right;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
  font-family: 'Fredoka', sans-serif;
  font-weight: bold;
}


.navigation a:hover {
  background-color: #ddd;
  color: black;
}

.navigation a.active {
  background-color: #4E2683;
  color: white;
}

.navigation .icon {
  display: none;
}

@media screen and (max-width: 600px) {
  .navigation a:not(:first-child) {display: none;}
  .navigation a.icon {
    float: right;
    display: block;
  }
}

@media screen and (max-width: 600px) {
  .navigation label {display: none; }
  .navigation.responsive {position: relative;}
  .navigation.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .navigation.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}

.menu-bars {
 width: 35px;
  height: 5px;
  background-color: black;
  margin: 6px 0;
}

.inputsArea {
  border: #B4A269 2px solid;
  justify-content: center;
  text-align: center;
  font-family: 'Fredoka', sans-serif;
  color: black;
  border-radius: 2em;
  background-color: white;
  outline: none;

  box-shadow: 0 6px 20px -5px rgba(0, 0, 0, 0.4);
}

.overlay-main {
  position: fixed;
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
 /* background-color: rgba(0,0,0,1);*/
  background-color: #222;
  z-index: 2;
  cursor: pointer;
  opacity: 0;
  text-align: center;
  
  animation-name: fadein;
  animation-duration: 6s;
  transition-timing-function: linear;
}

@keyframes fadein {
  0% {
    opacity: 1;
  }
  25% {
    opacity: 1;
  }
  50% {
    opacity: 1;
  }
  75% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.overlay-text{
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 50px;
  color: #B4A269;
  transform: translate(-50%,-50%);
  -ms-transform: translate(-50%,-50%);
}

.overlay-text-2{
  font-size: 35px;
  font-style: italic;
  color: #4E2683;
}

.overlay-text-3{
  font-size: 25px;
  font-style: italic;
  color: white;
}

.overlay-main:active {
  opacity: 0;
  transition: 0.5s;
}

/* OPEN SOURCE LOADING ICON */
.lds-roller {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-roller div {
  animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  transform-origin: 40px 40px;
}
.lds-roller div:after {
  content: " ";
  display: block;
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  margin: -4px 0 0 -4px;
}
.lds-roller div:nth-child(1) {
  animation-delay: -0.036s;
}
.lds-roller div:nth-child(1):after {
  top: 63px;
  left: 63px;
}
.lds-roller div:nth-child(2) {
  animation-delay: -0.072s;
}
.lds-roller div:nth-child(2):after {
  top: 68px;
  left: 56px;
}
.lds-roller div:nth-child(3) {
  animation-delay: -0.108s;
}
.lds-roller div:nth-child(3):after {
  top: 71px;
  left: 48px;
}
.lds-roller div:nth-child(4) {
  animation-delay: -0.144s;
}
.lds-roller div:nth-child(4):after {
  top: 72px;
  left: 40px;
}
.lds-roller div:nth-child(5) {
  animation-delay: -0.18s;
}
.lds-roller div:nth-child(5):after {
  top: 71px;
  left: 32px;
}
.lds-roller div:nth-child(6) {
  animation-delay: -0.216s;
}
.lds-roller div:nth-child(6):after {
  top: 68px;
  left: 24px;
}
.lds-roller div:nth-child(7) {
  animation-delay: -0.252s;
}
.lds-roller div:nth-child(7):after {
  top: 63px;
  left: 17px;
}
.lds-roller div:nth-child(8) {
  animation-delay: -0.288s;
}
.lds-roller div:nth-child(8):after {
  top: 56px;
  left: 12px;
}
@keyframes lds-roller {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
