@media(max-width: 1200px){
    .main1, .main2, .main3 {
    height: 83vh;
    }
}

@media(max-width: 992px){
    .main1, .main2, .main3 {
    height: 75vh;
    }
    .icon-item {
    margin: auto;
    }
    .calendar-container {
        margin-top: 0;
        padding: 5px 15px;
    }
    .calendar div {
    padding: 0px;
    }
    .calendar {
    grid-template-columns: repeat(7, 1fr);
    gap: 0px;
    }
    .calendar-header h2 {
    font-size: 1.1rem;
    }
    .calendar-header button {
    width: 30px;
    height: 30px;
    }
}
/* Planshet */
@media(max-width: 896px){
    table {
        font-size: 0.8rem;
    }
    .calendar-header h2 {
        font-size: 0.7rem;
    }
    .calendar div {
    padding: 4px;
    font-size: 0.6rem;
    }
    .calendar-header {
    margin-bottom: 5px;
    }
    .main2 {
    display: grid;
    justify-items: center;
    grid-template-rows: repeat(4, 1fr);
    grid-template-areas:
      "top  top"
      "h2text h2text"
      "center bottom";
    }
    .glass-block-top {
    grid-area: top;
    }
    .main2 table {
    grid-area: center;
    }
    .calendar-container {
    grid-area: bottom;
    }
    .calendar-header button {
    width: 30px;
    height: 30px;
    }

}

/*ipad vertical */
@media(max-width: 768px){
    .main1, .main2, .main3 {
    height: 88vh;
    }
    .icon-item {
    margin: auto;
    }
    .icon-item img {
        width: 1rem; /* Размер иконки соответствует размеру текста */
        height: 1rem;
    }
    table {
        background: none;
        border-radius: 5px;
        backdrop-filter: blur(10px);
        box-shadow: none;
    }
    .main2 {
    display: grid;
    justify-items: center;
    justify-content: center;
    grid-template-rows: repeat(8, 1fr);
    grid-template-areas:
      "top"
      "h2text"
      "center"
      "bottom";
    }
    .calendar div {
    padding: 10px;
    }
    .calendar-header h2 {
    font-size: 1rem;
    }
    table {
        font-size: 1rem;
    }
    .calendar-header button {
    width: 40px;
    height: 40px;
    }
}

@media(max-width: 480px){
    .nav {
        width: 180px;
        height: 40px;
        border-radius: 20px;
    }
    .main2 {
        display: grid;
        justify-items: center;
        grid-template-rows: repeat(4, 1fr);
        grid-template-areas:
        "top"
        "h2text"
        "center"
        "bottom";
    }
    .dot {
        width: 10px;
        height: 10px;
    }
    .dot.active {
        width: 18px;
        height: 18px;
    }
    .icon-item {
    margin: auto;
    }
    .main1, .main2, .main3 {
    padding: 15px;
    padding-top: 50px;
    padding-bottom: 40%;
    height: 100%;
    }
    .main1 {
    background: url('../bg/background1.png') no-repeat center center / 110%
    }
    .main2 {
    background: url('../bg/background2.png') no-repeat center center / 110%
    }
    .main3 {
    background: url('../bg/background3.png') no-repeat center center / 110%
    }
    .social img {
    width: 30px; /* Размер иконок */
    height: 30px;
    transition: transform 0.3s ease; /* Плавное увеличение при наведении */
    }
    table {
        font-size: 0.6rem;
        margin-top: -25px;
        background: none;
        border-radius: 5px;
        backdrop-filter: blur(10px);
        box-shadow: none;
    }
    .calendar div {
        padding: 10px;
        font-size: 1rem;
    }
    .calendar-header button {
    width: 30px;
    height: 30px;
    align-items: center;
    }
}

