@import url('https://fonts.googleapis.com/css2?family=Comfortaa&display=swap');

* {
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    height: 100%;
}


body {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    font-family: "Arial", sans-serif;
}


/*Header*/
header {
    width: 100%;
    background-color: #635FFE;
}
header nav {
    min-height: 70px;
}

/*Content*/

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1 1 auto;
    margin: auto auto 50px;
    max-width: 1320px;
    width: 100%;
    gap: 50px;
    font-family: "Arial", sans-serif;
}
.calendar__header{
    font-size: 30px;
}
@media (max-width: 768px) {
    .calendar__header{
        font-size: 20px;
    }
}
.free-time__box{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.free-time__item{
    padding: 10px;
    background-color: #569AFD;
    width: 80px;
    height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
    border-radius: 10px;
}
.free-time__item--blue{
    background-color: #635FFE;
    color: white;
    cursor: pointer;
}
.free-time__item--red{
    background-color: #c4c4c4;
    color: black;
}
.form__alert{
    display: none;
}
.events__box{
    display: flex;
    flex-direction: column;
}

.events__item{
    display: flex;
    justify-content: space-between;
    gap: 20px;
}
.events__item--body{
    display: flex;
    gap: 20px;
    padding-top: 20px;
}
.events__item--1{
    display: flex;
    flex-direction: column;
    font-size: 14px;
}
.events__item--2{
    display: flex;
    gap: 20px;
    align-items: center;
}
.calendar__date{
    cursor: pointer;
}
.calendar__loader{
    position: absolute;
    top: 50%;
    right: 50%;
    z-index: 10;
}

.profile__copy-link{
    font-size: 12px;
}
.profile__info img{
    max-width: 100%;
}

.calendar__delete{
    border: none;
    background-color: #569AFD;
    color: white;
    padding: 2px 5px 2px 5px;
    border-radius: 0 0 0 .65em;
}
.events__time{
    display: inline-block;
    padding: .35em .65em;
    font-size: .75em;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0 0 .65em 0;
}
#users__archive .user__archive-up{
    display: flex;
    justify-content: space-between;
}
.form-check-input.user__telegram-check{
    position: absolute;
    top: 50%;
    right: 50px;
    margin: 0;
    z-index: 100;
}
.form__name{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.free-time__item--link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100; /* Чтобы ссылка была поверх других элементов */
    cursor: pointer;
}
/*Footer*/
