:root {
    --dark-color: #024000;
    --accent-color: #027000;
    --ligth-gray-color: #F2F2F2;
    --ligth-blue-color: #098EC6;
}

/*
var(--dark-color);
var(--accent-color);
var(--ligth-gray-color);
var(--ligth-blue-color);
*/

html,
.root {
    font-size: 16px;
    line-height: 16px;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    height: 100%;
    margin: auto;
    background-color: var(--ligth-gray-color);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1em;
    line-height: 1.25em;
}

#dome {
    margin-bottom: 200px;
}

h1 {
    word-break: break-word;
    font-style: normal;
    font-weight: normal;
    font-size: 1.625em;
    line-height: 2em;
    margin: 0;
}

h2 {
    word-break: break-word;
    font-style: normal;
    font-weight: normal;
    font-size: 1.375em;
    line-height: 2em;
    margin: 0;
}

h3 {
    word-break: break-word;
    font-style: normal;
    font-weight: normal;
    font-size: 1.125em;
    line-height: 1.25em;
    margin: 0;
}

b {
    font-weight: 100;
}

label {
    font-style: normal;
    font-size: 1.125em;
    line-height: 1.25em;
    margin: 0;
}

a {
    word-break: break-word;
    font-style: normal;
    font-weight: normal;
    font-size: 1em;
    line-height: 1.25em;
    margin: 0;
    text-decoration: none;
    color: var(--ligth-blue-color);
}

p {
    word-break: break-word;
    font-style: normal;
    font-weight: normal;
    font-size: 1em;
    line-height: 1.25em;
    margin: 0;
}

.flex {
    display: flex;
}

.flex-box {
    display: flex;
    flex-flow: row wrap;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.content-container {
    margin-top: 24px;
    margin-left: 16px;
    margin-right: 16px;
    padding: 24px;
    overflow: hidden;
    background-color: #ffffff;
    border-radius: 8px;
}

.center {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.button,
button {

    background-color: var(--accent-color);
    border: none;
    border-radius: 15px;
    box-shadow: 0 9px #666; 

    color: white;
    padding: 22px 22px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1em;
    width: 100%;
    cursor: pointer;
}

.button:hover, button:hover {
    opacity: 0.8;
}

.button:active, button:active {
  background-color: #3e8e41;
  box-shadow: 0 5px #999;
  transform: translateY(4px);
}

/* Center the image and position the close button */
.imgcontainer {
    text-align: center;
    margin: 0 0 40px 0;
    position: relative;
}

img.avatar {
    width: 40%;
    border-radius: 50%;
}


/* Input fields */
input[type=text],
input[type=password] {
    width: 100%;
    padding: 16px 16px;
    margin-top: 6px;
    margin-bottom: 24px;
    display: inline-block;
    border: 2px solid var(--accent-color);
    box-sizing: border-box;
    border-radius: 8px;
    font-size: 1.25em;
}

/* Progress-Bar Module */
progress[value] {
    /* Reset the default appearance */
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 24px;
}

progress[value]::-webkit-progress-bar {
    border-radius: 8px;
    background: var(--ligth-gray-color);
}

progress[value]::-webkit-progress-value {
    border-radius: 8px;
    background: var(--accent-color);
}

progress[value]::-moz-progress-bar {
    border-radius: 8px;
    background: var(--accent-color);
}

/* Time Picker Module */
input[type=time] {
    border: none;
    border-radius: 8px;
    outline: 2px solid var(--accent-color);
    padding: 8px;
    color: var(--dark-color);
    font-size: 1em;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.25em;
    width: 180px;
    margin-bottom: 20px;
}

/* Hour */
input[type=time]::-webkit-datetime-edit-hour-field {
    border-radius: 15%;
    padding: 19px 13px;
}

/* Minute */
input[type=time]::-webkit-datetime-edit-minute-field {
    border-radius: 15%;
    padding: 19px 13px;
}

/* AM/PM */
input[type=time]::-webkit-datetime-edit-ampm-field {
    background-color: var(--accent-color);
    border-radius: 15%;
    color: #fff;
    padding: 19px 13px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

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

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: var(--accent-color);
}

input:focus + .slider {
  box-shadow: 0 0 1px var(--accent-color);
}

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%;
}


@media only screen and (min-width: 480px) {

    .content-container {
        margin-top: 24px;
        margin-left: auto;
        margin-right: auto;
        padding: 24px;
        max-width: 480px;
        overflow: hidden;
        background-color: #ffffff;
        border-radius: 8px;
    }
}
