@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap');
@import "UI/checkbox.css";
@import "UI/button.css";
@import "UI/promo.css";
@import "UI/form.css";
@import "UI/dropdown.css";
@import "UI/modal.css";

:root {
    --break-background-color: #A8D1D1;
    --gray-color: #d7d7d7;
    --svg-color: #fff;
    --button-background-color: rgba(255, 255, 255, 0.2);
    --main-text-color: #fff;
    --dark-text-color: #565656;
    --button-shadowed-background-color: rgba(0, 0, 0, 0.1);
    --button-border-radius: 4px;
}

.promo-theme {
    --background-color: #DD4949;
}

.short-theme {
    --background-color: #68A7AD;
}

.long-theme {
    --background-color: #6E85B7;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    transition: background-color .5s ease;
}

body {
    margin: 0;
    padding: .75rem;
    background-color: var(--background-color);
    font-family: 'Roboto', sans-serif;
    color: var(--main-text-color);
}

a {
    text-decoration: none;
    color: var(--main-text-color);
}

main {
    width: 100%;
    max-width: 500px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hidden {
    display: none;
}

header {
    box-shadow: rgba(33, 35, 38, 0.4) 0px 10px 10px -10px;
    padding: .5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header > * {
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 0;
}

header > .left {
    gap: .5rem;
}

header h1 {
    display: none;
    font-size: 1.25rem;
}

svg {
    color: var(--svg-color);
    display: inline-block;
    vertical-align: top;
    width: 24px;
    height: 24px;
}

#timer-container {
    background-color: var(--button-background-color);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    border-radius: 4px;
}

#time {
    font-size: 5rem;
    font-weight: bold;
    letter-spacing: 1px;
}

#cur-promo-container {
    text-align: center;
}

#promo-count {
    color: var(--gray-color);
    cursor: pointer;
}

#promo-count:hover,
#promo-count:focus {
    text-decoration: underline;
}

#promo-name {
    font-size: 1.2rem;
}

#promos > .header {
    display: flex;
    justify-content: space-between;
    border-bottom: 2px solid var(--gray-color);
    padding-bottom: .5rem;
    margin-bottom: .5rem;
}

#promos > .header svg {
    filter: invert(100%) sepia(0%) saturate(3741%) hue-rotate(255deg) brightness(113%) contrast(101%);
}

#promos-list {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

#pause-container {
    position: relative;
    display: none;
}

.bottom-shadow {
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

@media (min-width: 500px) {
    header h1 {
        display: block;
    }

    #time {
        font-size: 8rem;
    }

    .hidden {
        display: inline;
    }
}