/* General START */

/* variables */
:root {
    --color-1: #010125;
    --color-2: #010153;
    --color3: #e9e9e9;
    --color-4: #18d4a5;
    --color-5: #020281;
}

/* font import */
@font-face {
    font-family: Ubuntu;
    src: url(../fonts/Ubuntu/Ubuntu-Regular.ttf);
    font-weight: normal;
}

@font-face {
    font-family: Ubuntu;
    src: url(../fonts/Ubuntu/Ubuntu-Bold.ttf);
    font-weight: bold;
}

@font-face {
    font-family: Ubuntu;
    src: url(../fonts/Ubuntu/Ubuntu-Medium.ttf);
    font-weight: 600;
}

* {
    user-select: none;
    font-family: Ubuntu;
}

body {
    display: grid;
    place-items: center;
    min-height: 100vh;
    background-color: var(--color-1);
}

/* container */
.container {
    width: 500px;
    margin: 0 auto;

    text-align: center;
}

/* sections */
section {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-block: 50px;
}

.hide {
    display: none !important;
}

.currentPage {
    background-color: var(--color-5);
}

/* General END */

/* timer section START */

/* timer section inputs */
#timer-section input {
    outline: none;
    border: none;
    width: 70px;
    font-size: 60px;
    text-align: center;
    user-select: none;
    background-color: transparent;
    color: var(--color3);
}

#timer-section input::placeholder {
    color: var(--color3);
}

/* disabling input arrows */

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
/* Firefox */
input[type="number"] {
    -moz-appearance: textfield;
}

/* background circle */
#background-circle {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100%;
    width: 500px;
    height: 500px;
    border: 15px solid var(--color-4);
}

/* timer */
#timer {
    width: 200px;
    height: 200px;
    font-size: 50px;
    color: var(--color3);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* timer section END */

/* control section START */

/* control button */
#control-button i {
    cursor: pointer;
    font-size: 50px;
    color: var(--color3);
}

.animate {
    animation: shadow 1s infinite linear;
}

/* stopwatch spans */
#control-button span {
    color: #e9e9e9;
    font-weight: bold;
    cursor: pointer;
    margin-left: 10px;
}

#control-button span:hover {
    color: rgb(73, 73, 73);
}

/* setTimes */
#setTimes {
    color: var(--color3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
}

#setTimes ul {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

#deleteLocalStorage {
    cursor: pointer;
}

#deleteLocalStorage:hover {
    color: red;
}

/* control section END */

/* navigation START */
nav a {
    text-decoration: none;
    color: var(--color-4);
    padding: 10px;
    background-color: var(--color-2);
    border-radius: 10px;
}

nav a:hover {
    background-color: #6d6dec;
    transform: scale(1.1);
}

/* navigation END */
@keyframes shadow {
    0% {
        box-shadow: 0px 0px 0px 0px var(--color-4);
    }

    50% {
        box-shadow: 0px 0px 40px 0px var(--color-4);
        border-width: 25px;
    }
}

/* responsive */
@media only screen and (max-width: 500px) {
    .container {
        width: 400px;
    }

    #background-circle {
        width: 350px;
        height: 350px;
    }

    #timer {
        font-size: 30px;
    }

    #timer-section input {
        font-size: 30px;
        width: 50px;
    }
}

@media only screen and (max-width: 375px) {
    .container {
        width: 300px;
    }

    #background-circle {
        width: 270px;
        height: 270px;
    }
}
