@font-face {
    font-family: 'TekoLight';
    src: url('./assets/fonts/teko-light.woff2') format('woff2'),
         url('./assets/fonts/teko-light.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'TekoBold';
    src: url('./assets/fonts/teko-bold.woff2') format('woff2'),
         url('./assets/fonts/teko-bold.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'TekoMed';
    src: url('./assets/fonts/teko-medium.woff2') format('woff2'),
         url('./assets/fonts/teko-medium.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Teko';
    src: url('./assets/fonts/teko-regular.woff2') format('woff2'),
         url('./assets/fonts/teko-regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'TekoSemB';
    src: url('./assets/fonts/teko-semibold.woff2') format('woff2'),
         url('./assets/fonts/teko-semibold.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}


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

* {
    scrollbar-width: thin;
    scrollbar-color: tomato #222F3E;
}

input, button {
    border: none;
}

*::-webkit-scrollbar {
    width: 8px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #222F3E;
}

::-webkit-scrollbar-button {
    width: 0px;
    height: 0px;
}
::-webkit-scrollbar-thumb {
    background: tomato;
}

::selection {
    background-color: transparent;
    color: white;
}

html {
    --font-fam: 'TekoSemB', sans-serif;
    --color-lgt: rgba(255, 255, 255, .6);
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: max-content;
    background-color: #222F3E;
    color: whitesmoke;
}

.titleBloc {
    height: 90px;
    display: flex;
    align-items: center;
    margin: 25px 0;
}

h1 {
    font-family: var(--font-fam);
    font-weight: 600;
    font-size: 3.5em;
}

h2 {
    position: absolute;
    top: 110px;
    font-family: var(--font-fam);
    font-weight: 400;
    z-index: 1;
}

.group-btn {
    position: relative;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    height: 60px;
    width: 470px;
    background-color: #1d2835;
    border-radius: 50px;
}

.group-btn button {
    z-index: 10;
    font-family: var(--font-fam);
    font-size: 1.2em;
    color: var(--color-lgt);
    background-color: transparent;
    cursor: pointer;
    width: 150px;
    height: 50px;
    border: none;
    border-radius: 50px;
    transition: all 370ms ease-in-out;
}

.group-btn button.active {
    color: whitesmoke; 
}

.group-btn .back-btn {
    position: absolute;
    height: 50px;
    width: 150px;
    border-radius: 50px;
    z-index: 1;
    transition: all 300ms ease-in-out;
}
.group-btn .anim1 {
    left: 5px;
    background-color: #e74c3c;
}
.group-btn .anim2 {
    left: 160px;
    background-color: #2ecc71;
}
.group-btn .anim3 {
    left: 315px;
    background-color: #3498db;
}

.horloge {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 70px 0;
    font-weight: bold;
    min-height: 310px;
    min-width: 310px;
    width: 100vw;
    height: 100vw;
    max-width: 450px;
    max-height: 450px;
    border-radius: 50%;
    font-size: 24px;
    background: linear-gradient(145deg, #1f2a38, #243242);
    box-shadow:  20px 20px 60px #1d2835,
                -20px -20px 60px #273647;
}

.progress-bar {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 400px;
    height: 400px;
    border-radius: 50%;
}

.time {
    font-family: var(--font-fam);
    font-size: 4.5em;
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 375px;
    height: 375px;
    border-radius: 50%;
    background-color: #1d2835;
}

.mins, .secs {
    padding-top: 15px;
    line-height: 80px;
}

.time .point {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    height: 80px;
    width: 15px;
    margin: 0 5px;
}

.time .point div {
    width: 10px;
    height: 10px;
    background-color: whitesmoke;
    border-radius: 2px;
}

.setting {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 1.6em;
    height: 50px;
    width: 50px;
    border-radius: 50%;
    cursor: pointer;
    color: var(--color-lgt);
}

.setting svg {
    fill: rgba(255, 255, 255, .6);
    height: 70%;
    width: 70%;
    border-radius: 50%;
    box-shadow: 0 0 15px 5px rgba(29, 40, 53, .3);
}

.setting:hover svg {
    fill: #F5F5F5;
    text-shadow: 0 0 4px rgba(255, 255, 255, .6);
    transform: scale(1.1);
}

.setting:active svg {
    transform: scale(.9);
}

#play_pause {
    cursor: pointer;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #243242;
    height: 55px;
    width: 150px;
    border-radius: 100px;
    z-index: 1;
    border: none;
    bottom: 100px;
}

#play_pause:active {
    transform: scale(.95);
}

#play_pause svg {
    height: 50%;
    fill: whitesmoke;
}

.modale {
    z-index: 1000;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #273647;
    width: 40%;
    min-width: 320px;
    height: 500px;
    height: max-content;
    padding: 15px 20px 20px 20px;
    border-radius: 30px;
    font-family: var(--font-fam);
}

.modale h3 {
    padding-left: 25px;
    font-size: 2.5em;
    margin-bottom: -10px;
}

.modale form h4 {
    font-weight: 500;
    padding-left: 25px;
    font-size: 1.5em;
    margin-bottom: 20px;
}

.modale form label {
    font-size: 2em;
    font-weight: 500;
    padding-left: 25px;
    margin-top: 12px;
    margin-bottom: -12px;
}

.modale form input {
    height: 40px;
    border-radius: 50px;
    border-radius: 0 20px 20px 20px;
    margin: 0 25px;
    padding: 0 25px;
    font-size: 1.2em;
    font-weight: 600;
}

.modale form input:focus {
    border: 2px solid #3498db;
}

.modale form {
    display: flex;
    flex-direction: column;
}

.modale form button {
    cursor: pointer;
    height: 45px;
    margin: 50px 25px 5px 25px;
    border-radius: 50px;
    box-shadow: 0 0 3px rgba(29, 40, 53, .3);
    background-color: #e74c3c;
    color: white;
    font-family: var(--font-fam);
    font-size: 1.8em;
    padding-top: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modale form button:active {
    transform: scale(.95);
}

.close_modale {
    z-index: 900;
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, .3);
}

#block_click {
    position: absolute;
    z-index: 1000;
    background-color: transparent;
    height: 100%;
    width: 100%;
    border-radius: 50px;
}

@media screen and (max-width: 480px) {
    .group-btn {
        height: 60px;
        width: 410px;
    }

    .group-btn button {
        width: 130px;
        height: 50px;
    }

    .group-btn .back-btn {
        height: 50px;
        width: 130px;
    }
    .group-btn .anim1 {
        left: 5px;
    }
    .group-btn .anim2 {
        left: 140px;
    }
    .group-btn .anim3 {
        left: 275px;
    }

    .time {
        font-size: 3.5em;
        width: 300px;
        height: 300px;
    }

    .progress-bar {
        width: 320px;
        height: 320px;
    }

    .horloge {
        max-width: 380px;
        max-height: 380px;
        font-size: 22px;
    }

    #play_pause {
        bottom: 90px;
    }
}

@media screen and (max-width: 410px) {
    .group-btn {
        height: 60px;
        width: 350px;
    }

    .group-btn button {
        width: 110px;
        height: 50px;
    }

    .group-btn .back-btn {
        height: 50px;
        width: 110px;
    }
    .group-btn .anim1 {
        left: 5px;
    }
    .group-btn .anim2 {
        left: 120px;
    }
    .group-btn .anim3 {
        left: 235px;
    }

    .time {
        font-size: 3.5em;
        width: 300px;
        height: 300px;
    }

    .progress-bar {
        width: 320px;
        height: 320px;
    }

    .horloge {
        max-width: 365px;
        max-height: 365px;
        font-size: 22px;
    }
}

@media screen and (max-width: 360px) {
    .group-btn {
        height: 50px;
        width: 290px;
    }

    .group-btn button {
        font-size: 1em;
        width: 90px;
        height: 40px;
    }

    .group-btn .back-btn {
        height: 50px;
        width: 90px;
    }
    .group-btn .anim1 {
        height: 40px;
        left: 5px;
    }
    .group-btn .anim2 {
        height: 40px;
        left: 100px;
    }
    .group-btn .anim3 {
        height: 40px;
        left: 195px;
    }

    .time {
        font-size: 3em;
        width: 260px;
        height: 260px;
    }

    .progress-bar {
        width: 275px;
        height: 275px;
    }

    .horloge {
        max-width: 310px;
        max-height: 310px;
    }

    h2 {
        font-size: 1.4em;
        top: 90px;
    }

    #play_pause {
        bottom: 65px;
        width: 130px;
    }
}

.none {
    display: none;
    visibility: hidden;
}