* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    width: 100vw;
    height: 100vh;
    background: #262626;
    overflow: hidden;
}

.alpha-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.selectButtons {
    display: flex;
    gap: 80px;
    position: fixed;
    top: 20px;
}

.selection {
    font-size: 30px;
    color: white;
    background: none;
    border: none;
    opacity: 0.2;
    transition: .5s;
}

.selection:hover {
    cursor: pointer;
}

#clockChangeDigital {
    opacity: 1;
}

#the-session {
    position: absolute;
    right: 20;
    top: 15vh;
    color: #ff004f;
    width: 94%;
    text-align: right;
    font-size: 6vw;
    text-shadow: 20px 20px 50px rgba(0, 0, 0, 0.5);
}

#the-day {
    position: absolute;
    left: 20;
    bottom: 15vh;
    color: #ff004f;
    width: 94%;
    text-align: left;
    font-size: 6vw;
    text-shadow: 20px 20px 50px rgba(0, 0, 0, 0.5);
}

/*-----------------------Digital Clock-------------------------*/

.inner-digital-clock {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.inner-digital-clock .time-boxes {
    font-weight: 100;
}

#the-clock {
    color: white;
    font-size: 19vw;
    text-shadow: 20px 20px 50px rgba(0, 0, 0, 0.5);
}

/*-----------------------Analog Clock-------------------------*/

.analog-clock {
    width: 600px;
    height: 600px;
    border: 5px solid #ff004f;
    border-radius: 50%;
    position: relative;
    box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.5);
    display: none;
}

.analog-clock::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 11;
}

.hand {
    --rotaion: 0;
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform-origin: bottom;
    transform: translateX(-50%) rotate(calc(var(--rotation) * 1deg));
    width: 40px;
    height: 40%;
    background: #ff004f;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.hour {
    width: 15px;
    height: 30%;
    background: white;
}

.minute {
    width: 8px;
    height: 37%;
    background: white;
}

.second {
    width: 5px;
}

.number {
    --rotate: 0;
    width: 100%;
    height: 100%;
    font-size: 40px;
    color: white;
    position: absolute;
    text-align: center;
    padding: 5px;
    transform: rotate(var(--rotation));
}

.number1{--rotation: 30deg;}
.number2{--rotation: 60deg;}

.number3{
    display: flex;
    align-items: center;
    justify-content: right;
    padding-right: 7px;
}

.number4{--rotation: 120deg;}
.number5{--rotation: 150deg;}

.number6{
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.number7{--rotation: 210deg;}
.number8{--rotation: 240deg;}

.number9{
    display: flex;
    align-items: center;
    justify-content: left;
    padding-left: 7px;
}

.number10{--rotation: 300deg;}
.number11{--rotation: 330deg;}

/*-----------------------Stopwatch-------------------------*/

.stop-watch {
    display: none;
}

.inner-stop-watch {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stop-watch .stopwatch-box {
    font-weight: 100;
}

#stopWatchBox {
    color: white;
    font-size: 19vw;
    text-shadow: 20px 20px 50px rgba(0, 0, 0, 0.5);
}

.buttons {
    display: flex;
    gap: 100px;
}

.buttons button {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    font-size: 40px;
    color: white;
    background: transparent;
    border: 1px solid #ff004f;
    transition: .5s;
}

.buttons button:hover {
    cursor: pointer;
    background: white;
    color: #ff004f;
}

#pause {
    display: none;
}

/*----------------------Mobile Responsiveness---------------------------*/

@media only screen and (min-width: 1920px) {
    .analog-clock {
        width: 800px;
        height: 800px;
    }
}

@media only screen and (max-width: 1024px) {
    #the-session {
        top: 35vh;
    }

    .analog #the-session {
        top: 20vh;
    }

    #the-day {
        bottom: 35vh;
    }
    
    .analog #the-day {
        bottom: 20vh;
    }

    .stopwatch #the-session {
        top: 25vh;
    }

    .stopwatch #the-day {
        bottom: 30vh;
    }

    .inner-stop-watch {
        gap: 40px;
    }

    .inner-stop-watch .buttons button:hover {
        background: transparent;
        color: white;
    }
}

@media only screen and (max-width: 600px) {
    .selectButtons {
        gap: 27px;
    }

    .selection {
        font-size: 20px;
    }

    .analog-clock {
        width: 350px;
        height: 350px;
    }

    .inner-stop-watch {
        gap: 20px;
    }

    .inner-stop-watch .buttons {
        gap: 50px;
    }

    .inner-stop-watch .buttons button {
        font-size: 30px;
        width: 60px;
        height: 60px;
    }
}

@media only screen and (max-width: 320px) {
    .inner-stop-watch .buttons button {
        font-size: 20px;
        width: 40px;
        height: 40px;
    }

    .selection {
        font-size: 15px;
    }

    .analog-clock {
        width: 260px;
        height: 260px;
    }
}

@media only screen and (max-height: 600px) {
    #the-session {
        top: 20vh;
    }

    #the-day {
        bottom: 20vh;
    }

    .analog-clock {
        width: 450px;
        height: 450px;
    }

    .stopwatch #the-session {
        top: 10vh;
    }
}