@font-face {    font-family: "Agency FB";    src: local("./Agency_FB.ttf");}
@font-face {    font-family: "Agency FB";    src: url("./Agency_FB.ttf");}
@import url("https://fonts.googleapis.com/css2?family=Bai+Jamjuree:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;1,200;1,300;1,400;1,500;1,600;1,700&display=swap");

:root {
	--brand: #fff7ae;
	--bgGrey: #575757;
}

#body-parent {
    background-color: #121212;
    padding-bottom: 50px;
}

.backButton {
	background-color: #191919;
	border: 2px solid var(--brand);
	border-radius: 8px;
	color: var(--brand);
	padding: 12px 16px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-size: 16px;
}

.backButton a {
	color: var(--brand);
	text-decoration: none;
}

.backButton a:hover {
	color: var(--brand);
	text-decoration: none;
}

.title {
  margin-top: 300px;
}

.container {
  @media only screen and (max-width: 600px) {
    display: table-row;
    height: 50%;
    width: 100%;
    overflow-y: scroll;
  }

  @media only screen and (min-width: 601px) {
    height: 100%;
    width: 50%;
  }

}

.title h1 {
    font-family: Agency FB;
    font-style: normal;
    font-weight: bold;
    letter-spacing: 2px;
    font-size: 48px;
    line-height: 96px;
    /* identical to box height */
    text-align: center;
    color: #FFF7AE;

    @media only screen and (max-width: 600px) {
      font-size: 40px;
    }
}

.title p {
    margin-top: 30px;
    font-family: Bai Jamjuree;
    font-style: normal;
    font-weight: normal;
    font-size: 20px;
    line-height: 30px;
  
    color: #FFFFFF;
  
    text-align: center;
}

.row-sec {
    margin-top: 200px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.3s ease-out;
}

.row-sec h1 {
    font-family: Agency FB;
    font-style: normal;
    font-weight: normal;
    font-size: 36px;
    line-height: 72px;

    color: #FFF7AE;
}

.row-sec p {
    margin-top: 30px;
    font-family: Bai Jamjuree;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 27px;

    color: #FFFFFF;
}

.conclusion-row {
    margin-bottom: 300px;
}

.fade-in {
    opacity: 1;
    transform: translateY(0px);
  }
  
  #sketch {
    position: fixed;
    top: 5%;
    right: 0;
    z-index: -100;
  }


.sticky {
  position: fixed;
  top: 70%;
  right: 5%;
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.3s ease-out;
}

.stick-slide {
  opacity: 1;
  transform: translateY(0px);
}

/* Slide design by Ren Zheng */
/* Range slider */

.sliderContainer {
	margin-top: 32px;
	margin-bottom: 32px;
	align-items: center;
	display: flex;
	gap: 10px;
}

.sliderLabel {
	color: white;
}

input[type="range"] {
	-webkit-appearance: none;
	width: 240px;
	height: 6px;
	background: #575757;
	border-radius: 5px;
	outline: none;
	transition: background 0.3s;
	position: relative;
}

input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 20px;
	height: 20px;
	background: #fff7ae;
	border: none;
	border-radius: 50%;
	cursor: pointer;
	position: relative;
	box-shadow: none;
}

input[type="range"]::-moz-range-thumb {
	width: 20px;
	height: 20px;
	background: #fff7ae;
	border: none;
	border-radius: 50%;
	cursor: pointer;
	box-shadow: none;
}

input[type="range"]::-moz-range-progress {
	background: #fff7ae;
	height: 6px;
	border-radius: 5px;
}

input[type="range"]::-ms-fill-lower {
	background: #fff7ae;
	border-radius: 5px;
}

datalist {
	display: flex;
	justify-content: space-between;
	color: white;
	width: 70%;
}

datalist option {
	font-size: 0.8rem;
}

/* Checkbox */
input[type=checkbox] {
	display: none;
}

input[type=checkbox] + label.btn{
	padding: 10px 15px;
	margin: 5px 10px;
	display: inline-block;
	text-transform: uppercase;
	font-weight: 600;
	outline: none;
	position: relative;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
	background: #FFF7AE;
	color: #000;
	-webkit-transition: none;
	-moz-transition: none;
	transition: none;
	border: none;
	border-radius: 0;
	cursor: pointer;
}

  
/* ToggleGroup */
.ToggleGroup {
	display: flex;
	position: relative;
	background: var(--bgGrey);
	border-radius: 24px;
	padding: 5px;
	/* width: 200px; */
	justify-content: space-between;
	margin-top: 32px;
	margin-bottom: 32px;
}

.ToggleGroup input {
	display: none;
}

.ToggleGroup label {
	color: white;
	flex: 1;
	text-align: center;
	padding: 8px;
	border-radius: 20px;
	cursor: pointer;
	transition: background 0.3s, color 0.3s;
}

.ToggleGroup input:checked + label {
	background: var(--brand);
	color: black;
	font-weight: bold;
}

.ToggleGroup a {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 0;
}

/* ToggleGroup override bootstrap */
label {
	display: inline-block;
	margin-bottom: 0 !important;
}


/* Switch Component */
.switch {
	position: relative;
	display: inline-block;
	min-width: 50px;
	height: 24px;
}

.switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.handle {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: var(--bgGrey);
	transition: 0.4s;
	border-radius: 34px;
}

.handle:before {
	position: absolute;
	content: "";
	height: 18px;
	width: 18px;
	left: 3px;
	bottom: 3px;
	background-color: #cccccc;
	transition: 0.4s;
	border-radius: 50%;
}

/* background when enabled */
input:checked + .handle {
	background-color: var(--brand);
}

/* handle when enabled */
input:checked + .handle:before {
	transform: translateX(26px);
	background-color: #756800;
}

.switchContainer {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 8px;
	margin-bottom: 8px;
}

.switchContainer span {
	color: white;
}

/* override bootstrap code that adds margin to the switch body and makes labels misaligned */
label {
	display: inline-block;
	margin-bottom: 0 !important;
}

.square {
  float: left;
  height: 30px;
  width: 30px;
  margin-bottom: 5px;
  margin-right: 15px;
  clear: both;
}

.positive {
  background-color: rgb(213, 94, 0);
}
.neutral {
  /* background-color: rgb(240, 228, 66); */
  border: rgb(240, 228, 66) solid 3px;
}

.pink {
	border: rgb(204, 121, 167) solid 3px;
}
.negative {
  background-color: rgb(86, 180, 233);
}

.toggle {
  background-color: #515045 !important; 
  border-color: #FEF8BF !important;
  color: #FEF8BF !important;
}

.slide_ticks {
	width: 100%;
	display: flex;
	justify-content: space-between;
}