

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

body {
    font-family:Arial, Helvetica, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

html {
    height: 100%;
}

.wrapper {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}

#background {
    background-image: url("../mountains.jpg");
    width: 100%;
    min-height: 300%;
    position:absolute;
    transition: all 0.6s ease-in-out;
    background-position: center;
    background-attachment: fixed;
    background-size:cover;
    background-repeat: no-repeat;
}

#page {
    border: 2px solid rgba(255, 255, 255, 0.64);
    position: relative;
    width: 100%;
    max-width: 300px;
    margin-top: 10px;
    margin-bottom: 20px;
    padding: 15px 15px 15px 15px;
    color: #ffffff;
    border-radius: 20px;
    font-size: 30px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.29);
    transition: all 0.3s ease-in-out;
}

#page:hover {
    transition: all 0.3s ease-in-out;
    background: rgba(144, 201, 255, 0.29)
}

#pomodoro {
    border: 2px solid rgba(255, 255, 255, 0.64);
    position: relative;
    width: 100%;
    max-width: 350px;
    margin-bottom: 25px;
    padding: 25px 25px 25px 25px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.29);
    backdrop-filter: blur(7.7px);
    -webkit-backdrop-filter: blur(7.7px);


}

.btn-icon {
    border-radius: 20px;
    position: absolute;
    right: 0;
    width: 50px;
    display: flex;
    font-size: 24px;
    justify-content: center;
    color: #ffffff;
    padding-top: 10px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    border: 0px none;
}

#toggle-settings {
    top: 20px;
    right: 20px;
    height: 50px;
    border: 0px none;
}

#timer-progress {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.circle-timer {
    width: 270px;
    height: 270px
}

input[type=checkbox] {
    color: #ffffff;
    transform: scale(4)
}

h3 {
    color: #eeeeee;
    text-align: center;
    position: relative;
    width: 100%;
    font-size: 15px;
    font-weight: 200;
}

ul {
    text-align: center;
    align-content: center;
}

a {
    color: #eeeeee;
    text-align: center;
    position: relative;
    width: 100%;
    font-size: 15px;
    font-weight: 200;
}

.circle-background {
    stroke: #ffffff;
    stroke-width: 7;
    fill: none;
}

.circle-progress {
    stroke: #1984ff;
    stroke-width: 7;
    fill: none;
    stroke-linecap: round;
    stroke-dasharray: 283;
    transform-origin: 50% 50%;
    transform: rotate(-90deg)
}

#timer-time {
    fill: #ffffff;
}

#timer-pause, #timer-rest, #timer-focused {
    opacity: 0;
    fill: #ffffff;
    transition: all 0.3s ease-in-out;
}

#timer-sessions {
    fill: #ffffff;
    transition: all 0.3s ease-in-out;
}

body.settings-active #timer-settings {
    opacity: 1;
    visibility: visible;
}

#timer-focus {
    border-radius: 15px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease-in-out;
    max-width: 100%;
    width: 350px;
    fill: #000000;
    text-align: center;
    font-size: 20px;
    border: 0px none;
}

#timer-functions {
    height: 145px;
    position: relative;
}

#timer-buttons {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease-in-out;
    
}

#timer-buttons button {
    background-color: rgb(51, 116, 255);
    position: absolute;
    border: 0px none;
    cursor: pointer;
    width: 60px;
    height: 60px;
    display: block;
    font-size: 22px;
    border-radius: 100px;
    color: #ffffff;
}

#timer-settings {
    transition: all 0.3s ease-in-out;
    opacity: 0;
    visibility: hidden;
}

#close-settings {
    bottom: 460px;
    right: 0px;
    height: 80px;
    background: rgb(51, 116, 255)
}

#close-settings:hover {
    color: #ffffff;
}

#timer-form {
    border-radius: 20px;
    position: absolute;
    bottom: 190px;
    left: 0px;
    width: 100%;
    background: rgb(51, 116, 255);
    padding-top: 20px;
    padding-right: 20px;
    padding-left: 20px;
    z-index: 1;
}

.timer-line {
    display: flex;
}

/* .timer-line:first-child {
    margin-bottom: 20px;
} */

.timer-line {
    margin-bottom: 20px;
}

.timer-line * {
    font-size: 18px;
}

.timer-line label {
    width: 50%;
    color: #ffffff;
    padding: 10px 0 10px 0;
}

.timer-line input {
    width: 50%;
    color: #000000;
    background: #ffffff;
    margin-left: -2px;
    border-radius: 15px;
    border: 0px none;
    text-align: center;
}

body.timer-running #start {
    opacity: 0;
    visibility: hidden;
}

body.timer-running .circle-progress, body.rest-mode {
    transition: all 1s linear
}

body.timer-paused #start {
    opacity: 1;
    visibility: visible;
}

#pause svg, #start svg, #toggle-settings svg, #close-settings svg {
    transform: scale(1.5);
    margin-left: auto;
    margin-right: auto;
    display: block
}

body.timer-paused:not(.rest-mode) #timer-pause,
body.rest-mode #timer-rest,
body.rest-mode.timer-paused #timer-pause {
    opacity: 1;
    color: #ffffff;
}

body.rest-mode.timer-paused #timer-rest {
    opacity: 0;
}