/*
 * Copyright (c) 2021 - 2025 the ThorVG project. All rights reserved.

 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:

 * The above copyright notice and this permission notice shall be included in all
 * copies or substantial portions of the Software.

 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */

 * {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html, body {
	height: 100%;
}

body {
	color: #484848;
	background-color: #f6f6f6;
	font: 15px/1.5 'Open Sans', sans-serif;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	display: flex;
	flex-flow: row nowrap;
	user-select: none;
	-webkit-user-select: none;
}

a {
	text-decoration: none;
	color: inherit;
	cursor: pointer;
	transition: all 0.4s ease;
}

::selection {
	color: #fff;
	background: #1ba1c7;
}

hr {
	border: 0;
	border-bottom: 1px solid #e5e7ec;
}

section {
	flex: 1 1 0;
	display: flex;
	flex-flow: column nowrap;
	position: relative;
	overflow: hidden;
}

.label-text {
  display: flex;
  align-items: center;
  gap: 10pt;
  color: white;
  font-size: 14pt;
}

#button-container {
	position: absolute;
	top: 20px;
	right: 20px;
	display: flex;
	gap: 10px;
}

#info-text {
  position: absolute;
  bottom: 10pt;
  right: 10pt;
  width: 500pt;
  font-size: 10pt;
  color: white;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 8pt;
  border-radius: 5pt;
  font-family: sans-serif;
}

.switch {
  position: relative;
  display: inline-block;
  display: flex;
  align-items: center;
  width: 46pt;
  height: 20pt;
}

.switch-label {
  display: flex;
  align-items: center;
  gap: 10pt;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background-color: #2196F3;
  transition: .4s;
  border-radius: 34pt;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18pt; width: 18pt;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:not(:checked) + .slider {
  background-color: #ccc;
}

input:not(:checked) + .slider:before {
  transform: translateX(26pt);
}

input:checked + .slider:before {
  transform: translateX(0);
}