:root {
    --size-sm: clamp(32px, 4vw, 48px);
    --size-md: clamp(48px, 6vw, 72px);
}

* {
    font-size: clamp(14px, 2vw, 22px);
    padding: 0;
    margin: 0;
    font-family: 'Arial';
}

body {
    background-color: #fff;
}

nav {
    position: fixed;
    z-index: 10;
    top: 0;
    margin-top: 0;
    width: 100%;
    opacity: 1;
    transition: opacity 0.7s, top 0.7s;
}

.hidden {
    top: -20px;
    opacity: 0;
}

.nav-bar > li > a {
    color:white;
    text-decoration: none;
    font-size: 20px;
    display: inline-block;
    padding: 10px 20px;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    justify-content: center;
    background: #13082c;
}

content {
    position: absolute;
    top: 0;
    width: 100%;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: center;
}

input {
    background-color: #f5f6f7;
    border: none;
}

input:focus{
    outline: none;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

::placeholder {
    color:#a8a9ac;
}

::-ms-input-placeholder {
    color:#a8a9ac;
}

button {
    font: inherit;
    border: none;
    border-radius: 5px;
    background-color: #d9dbdd;
    &:not(.disable):hover {
        background-color: #bcbec0;
        cursor: pointer;
    }
}

.calendar {
    margin: 50px 1vw 0px;
    width: clamp(280px, 35vw, 435px);
    background-color: #f5f6f7;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.header {
    background-color: #d9dbdd;
    height: var(--size-sm);
    line-height: var(--size-sm);
    padding: clamp(8px, 1vw, 16px);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
    &:not(.simple){
    display:grid;
    grid-template-columns: clamp(32px, 4vw, 50px) clamp(184px, 23vw, 286px) clamp(32px, 4vw, 50px);
    gap: 1vw;
    justify-content: center;
    }
}

.title {
    height: var(--size-sm);
}

.controls {
    width: var(--size-sm);
    height: var(--size-sm);
}

.row{
    justify-self: center;
    display:flex;
    justify-content: center;
}

.month{
    width: var(--size-md);
    height: var(--size-sm);
    margin: clamp(4px, 0.5vw, 8px);
    padding: 1px;
    background-color: #f5f6f7;
}

button.month:hover{
    background-color: #d9dbdd;
}

.day{
    width: var(--size-sm);
    height: var(--size-sm);
    margin: clamp(4px, 0.5vw, 8px);
    padding: 1px;
    border-radius:50%;
    background-color: #f5f6f7;
    &:not(.disable):hover {
        background-color: #d9dbdd;
    }
}

.today{
    color:#ff4b4b
}

.selected{
    color:#fff;
    background-color: #ff4b4b;
}

.marker{
    border-style: solid;
    border-color: #d9dbdd;
}

.report-container{
    margin-top: 50px;
    display: flex;
    align-items: flex-start;
    justify-content: left;
}

.report{
    width: clamp(175px, 20vw, 275px);
    background-color: #f5f6f7;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    margin: 0vw 1vw;
}

.entry{
    position: relative;
    width: clamp(157.5px, 18vw, 247.5px);
    height: var(--size-sm);
    line-height: var(--size-sm);
    margin: clamp(4px, 0.5vw, 8px);
    display: grid;
    justify-self: center;
    border-bottom-style:dashed;
    border-bottom-color: #d9dbdd;
    border-bottom-width: clamp(0.5px, 0.15vw, 1px);
    &:not(.null){
        grid-template-columns: clamp(87.5px, 10vw, 137.5px) clamp(70px, 8vw, 110px);
        gap: 1vw;
    }
}

.null{
    color:#a8a9ac;
}

.editing{
    color:#636364;
}

.time-container{
    height: var(--size-sm);
    overflow: hidden;
}

.time{
    width: clamp(18px, 2.25vw, 26px);
    overflow: hidden;
}

.footer{
    display: flex;
    justify-content: center;
    padding: 0vw 0vw clamp(4px, 0.5vw, 8px) 0vw;
}

.edit{
    width: clamp(78.75px, 9vw, 123.75px);
    height: clamp(14px, 2vw, 22px);
    font-size: clamp(10px, 1.5vw, 16.5px);
    margin: 0.25vw;
}

.delete{
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    color:#636364;
    top: 0vw;
    left: clamp(146.6px, 16.75vw, 230.3px);
    width: clamp(14px, 2vw, 22px);
    height: clamp(14px, 2vw, 22px);
    font-size: clamp(10px, 1.5vw, 16.5px);
    border-radius: 50%;
    z-index: 1;
}

@media screen and (max-width: 700px) {
    .weekly{
        display: none;
    }
}