.container {
    border: 10px solid lightblue;
    background: white;
    width: 100%; 
    height: 100%;
    overflow-y: scroll;
    position: relative;
}

.grid-item {
    padding: 10px;
    display: inline-block;
    text-align: center;
    margin: 10px;
    border: 2px solid transparent;
}

.grid-item.green-border {
    border: 5px solid green;
}

.grid-item.blue-border {
    border: 5px solid blue;
}

.grid-item.red-border {
    border: 5px solid red;
}

.grid-item.black-border {
    border: 5px solid black;
}

.grid-item.transparent-black-background {
    background-color: rgba(0, 0, 0, 0.3); 
}

.icon {
    margin: 10px;
}


.week-container{
    margin: 10px;
}
.week-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
}
.name-day{
    background: lightgray;
    padding: 10px;
    font-size: 14px;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
}

.day-card {
    background-color: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 2px solid #ddd;
    flex-direction: row; 
    align-items: center;  
    justify-content: center;
}
.person-image {
    width: 80px; 
    height: auto;  
    margin-right: 10px 0; 
}

.day-header {
    font-weight: bold;
    color: #555;
    margin-bottom: 5px;
}

.day-date {
    font-size: 14px;
    color: #777;
    margin-bottom: 10px;
}

.name-day, .grid {
    min-height: 50px;
}

.day-card.red-border {
    border-color: red;
}

.day-card.green-border {
    border-color: green;
}

.day-card.blue-border {
    border-color: blue;
}

 @media (max-width: 800px) {
    .week-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
    }
    .day-card {
        min-width: 130px;
        min-height: 130px; 
    }
    .person-image {
        max-width: 90px;
        max-height: 90px;
    }
}


@media (max-width: 550px) {
    .week-grid {
        grid-template-columns: 1fr;
        gap: 5px;
    }
    .day-card {
        min-width: 100%;
        min-height: 200px; 
    }
    .person-image {
        max-width: 80px;
        max-height: 80px;
    }
}

.sunday .day-header {
    color: red;
}

.sunday .day-date {
    color: red;
}

.not-sunday .day-header {
    color: darkblue;
}

.not-sunday .day-date {
    color: darkblue; 
}
.holiday .day-header {
    color: red; 
}

.holiday .day-date {
    color: red; 
}

.today {
    border: 2px solid #777;
}
.special-date {
    border: 2px solid purple;  
}