:root {
    --main: #3c0060;
    --light: #a25bcd;
}

* { box-sizing: border-box; }
body { margin: 0; }
button, [type="submit"] { cursor: pointer; }

.main-c { color: #3c0060; }
.main-bg { background: var(--main); }
.light-c { color: var(--light); }
.light-bg { background: var(--light); }
.white-c { color: white; }
.white-bg { background: white; }

.main-b { border: 1px solid var(--main); }

.w-a { width: auto; }
.w-100 { width: 100%; }
.w-50 { width: 50%; }

.d-b { display: block; }
.d-i-b { display: inline-block; }
.d-i { display: inline; }

.tac { text-align: center; }
.tal { text-align: left; }
.tar { text-align: right; }


#control-panel {
    margin: 20px 0;
}
#control-panel .wrapper {
    padding: 10px 15px;
    border-radius: 10px;
    box-shadow: 0px 0px 14px 3px var(--main);
}

#control-panel h1 {
    margin: 0 0 10px 0;
}

#control-panel #title-input {
    width: calc(100% - 22px);
    margin-left: 0;
    margin-right: 0;
}

#control-panel input {
    padding: 5px 10px;
    margin: 13px 11px;
    border: none;
    border-radius: 5px;
    width: 150px;
    box-shadow: 0px 0px 11px 2px var(--main);
}

#hours-input, #minutes-input, #seconds-input {
    font-size: 40px;
    color: var(--main);
}

#start-button {
    transition: 0.5s background;
    position: relative;
}#start-button:hover, #start-button:focus {
    background: var(--main);
    color: white;
}#start-button:active {
    top: 2px;
}


.counter:not(body) {
    font-weight: bold;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--main);
    align-content: space-around;
    display: none;
    z-index: 999;
}

.counter-title {
    font-size: 50px;
    color: white;
}

.counter-time {
    color: white;
    font-size: 250px;
    margin: 50px 0;
    text-shadow: 6px 5px 0 green;
}

.counter-time .colon {
    position: relative;font-size: 200px;
    bottom: 37px;
}

.counter-count span {
    font-size: 75px;
    color: white;
}.counter-count span:first-of-type {
    font-size: 100px;
}

.clock {
    position: fixed;
    bottom: 30px;
    right: 25px;
    font-size: 90px;
    z-index: 999;
    color: white;
    background: var(--main);
    border-radius: 100px;
    padding: 5px 25px;
    box-shadow: 0px 0px 14px 3px white;
}
