* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Roboto', sans-serif;
}

html {
	height: 100%;
	width: 100vw;
}

body {
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 30px;
	color: white;
	background: linear-gradient(to right, rgb(169, 166, 237), rgb(15, 204, 128));
}

header {
	width: 100%;
	display: flex;
	justify-content: flex-end;
	padding: 15px;
	background-color: darkslategrey;
}

main {
	height: 100%;
	width: 100%;
	max-width: 900px;
	display: flex;
	justify-content: center;
}

main p {
	display: flex;
    align-items: center;
}

fieldset {
	height: 100%;
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 60px;
	padding: 30px;
	border: none;
}

button {
	cursor: pointer;
	border: none;
}

.switch-container {
	align-self: flex-end;
}

.button-container {
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 60px;
}

.button-container button {
	width: 100%;
	max-width: 300px;
	aspect-ratio: 1 / 1;
	border-radius: 150px;
	font-size: 35px;
	transition: background 0.5s;
}

@media only screen and (max-width: 700px) {
	fieldset {
		gap: 30px;
		padding: 15px;
	}
	.button-container {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 30px;
	}
	.button-container button {
		max-width: 150px;
	}
}

.button-container button.on
{
	background-color: #008000b3;
}

.button-container button.on:hover
{
	background-color: #008000;
}

.button-container button.off
{
	background-color: #ff0000b3;
}

.button-container button.off:hover
{
	background-color: #ff0000;
}





/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #008000b3;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:hover
{
	background-color: #008000;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: #ffffffb3;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:hover:before {
	background-color: #ffffff;
}

input:checked + .slider {
  background-color: #ff0000b3;
}
input:checked:hover + .slider {
  background-color: #ff0000;
}


input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.access-span
{
    display: inline-block;
    vertical-align: sub;
}