@import './styles/system.css';
@font-face {
    font-family: 'CursedTimerUlil';
    src: url('./fonts/CursedTimerUlil-Aznm.ttf') format('truetype');
}

* {
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    background-color: #deeae2;
}

.container {
    position: relative;
    display: flex;
    flex-direction: row;
    gap: var(--space-xl);
    justify-content: space-around;
    align-items: center;
    border: 2px solid #fffeff;
    border-radius: var(--radius-md);
    max-width: 575px;
    height: 385px;
    margin: 0 auto;
    margin-block: 0;
    background-color: #18254e;
    padding: var(--space-md);
}

h3 {
    color: #f7f4f3;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    text-align: center;
    font-size: var(--text-3xl);
}
.scoreboard {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
}
.scoreboard .score {
    color: #f8506c;
    font-family: 'CursedTimerUlil', monospace;
    font-size: 90px;
    background-color: #080001;
    display: block;
    border-radius: var(--radius-sm);
    text-align: center;
    align-content: center;
    width: 155px;
    height: 120px;
}
.container .timer {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'CursedTimerUlil', monospace;
    font-size: var(--text-3xl);
    color: #f8506c;
    background-color: #080001;
    border-radius: var(--radius-sm);
    width: 150px;
    height: 100px;
}

.buttons {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    font-size: var(--text-lg);
}
.buttons > button {
    border-radius: var(--radius-sm);
    background-color: transparent;
    border-color: #9aabd8;
    color: #9aabd8;
    font-family: 'CursedTimerUlil', monospace;
    aspect-ratio: 1;
    width: 48px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.buttons > button:hover {
    background-color: rgba(154, 171, 216, 0.15);
    box-shadow: var(--shadow-sm);
}

.controls-section {
    display: flex;
    justify-content: space-around;
    align-items: center;
    border: 2px solid #fffeff;
    border-radius: var(--radius-md);
    max-width: 575px;
    height: 80px;
    margin: 0 auto;
    margin-top: var(--space-md);
    background-color: #18254e;
    padding: var(--space-md);
}

.controls-section > button {
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    border: none;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    cursor: pointer;
    font-family: 'CursedTimerUlil', monospace;
    font-size: var(--text-lg);
    color: #f7f4f3;
    background-color: #9aabd8;
}

.controls-section > button:hover {
    background-color: #b4c2e7;
    color: #e4e4e4;
    box-shadow: var(--shadow-lg);
    transform: translateY(2px);
}

/* combo buttons */
.timer-control {
    display: flex;
    flex-direction: row;
    gap: 0;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.timer-control button {
    padding: var(--space-sm) var(--space-md);
    border-radius: 0;
    border: none;
    transition: var(--transition-normal);
    cursor: pointer;
    font-family: 'CursedTimerUlil', monospace;
    font-size: var(--text-lg);
    color: #f7f4f3;
    background-color: #9aabd8;
    border-right: 2px solid #fffeff;
}

.timer-control button:first-child {
    border-top-left-radius: var(--radius-md);
    border-bottom-left-radius: var(--radius-md);
}

.timer-control button:last-child {
    border-top-right-radius: var(--radius-md);
    border-bottom-right-radius: var(--radius-md);
    border-right: none;
}

.scoreboard .score.winning {
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
    outline-color: rgb(136, 248, 80);
    outline-style: solid;
    outline-width: 2px;
    outline-offset: 4px;
}
