@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root{
    --primary-color: #f90a39;
    --text-color: #1d1d1d;
    --bg-color: #f1f1fb;
}

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

body{
    background-color: #fff;
    user-select: none;
}

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

.calender{
    width: 100%;
    max-width: 600px;
    padding: 20px 30px;
    border-radius: 10px;
    background-color: var(--bg-color);
}

.container .header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid #ccc;
}

.container .header .month{
    display: flex;
    /* justify-content: center; */
    align-items: center;
    font-size: 25px;
    font-weight: 600;
    color: var(--text-color);
}

.calender .header .btns{
    display: flex;
    gap: 10px;
}

.calender .header .btns .btn{
    width: 50px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    background-color: var(--primary-color);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    @media (max-width: 600px) {
        width: 40px;
        height: 30px;
    }
}

.container .header .btns .btn:hover{
    background-color: #db0933;
    transform: scale(1.09);
}

.weekdays{
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.weekdays .day{
    width: calc(100% / 7 - 10px);
    text-align: center;
    font-size: 16px;
    font-weight: 600;
}

.days{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.days .day{
    width: calc(100% / 7 - 10px);
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 400;
    color: var(--text-color);
    background-color: #fff;
    cursor: pointer;
    transition: all .3s ease-in-out;
}

.days .day:not(.next):not(.prev):hover{
    background-color: var(--primary-color);
    color: #fff;
    transform: scale(1.1);
}

.days .day.today{
    background-color: var(--primary-color);
    color: #fff;
}

.days .day.next,
.days .day.prev{
    color: #ccc;
}