* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Signika negative';
}

#clock {
    border: 2px dashed black;
    height: 300px;
    width: 500px;
    margin: 140px auto;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    background-color: #9cf2d7;
    border-radius: 20px;
}

h1 {
    margin-bottom: 40px;
    font-size: 2.2rem;
    margin-top: -10px;
}

.time {
    font-size: 3rem;
    text-align: center;
    height: 70px;
    width: 70px;
}


#addDay {
    text-align: center;
    font-size: 40px;
    position: relative;
    top: 5px;
}

.timeBox {
    border-radius: 5px;
    background-color: rgb(224, 43, 11);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 2px solid black;

}

.caption {
    text-align: center;
    font-size: 0.8rem;
    margin-top: -9px;
    margin-bottom: 6px;
}

#clock-content {
    display: flex;
}

@media (max-width: 527px) {
    #clock {
        width: 400px;
    }

    .setT {
        width: 16vw;
    }

}

@media (max-width: 415px) {
    #clock {
        width: 380px;
    }
}

@media (max-width: 395px) {
    #clock {
        width: 360px;
    }
}

@media (max-width: 370px) {
    #clock {
        width: 345px;
    }
}

#set {
    display: flex;
    gap: 15px;
    margin: 25px;
}

.setT {
    border: 1px solid rgb(236, 152, 152);
    border-radius: 3px;
    height: 30px;
}

#setAlarm {
    border: none;
    background-color: rebeccapurple;
    color: white;
    width: 150px;
    height: 30px;
    border-radius: 6px;
    font-size: 1.2rem;
}

.showBox {
    border-radius: 3px;
    background-color: rgb(97, 13, 233);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid black;
    margin: 2px;
}
.showTime {
    font-size: 1.9rem;
    text-align: center;
    height: 40px;
    width: 40px;
}

#display {
    padding: 18px;
}

#clockImg img {
    height: 200px;
}

.tmp {
    transform: scale(0.88);

}

.img {
    transform: scale(1.2);
}