        body,html {
            font-family: 'Montserrat', sans-serif;
            display: flex;
            justify-content: center;
            margin: 0;
            padding: 0;
            width: 100%;
            height: 100%;
        }

        body{
            padding-top: 100px;
            padding-bottom: 100px;
            height: fit-content;
        }

        #c-link-d{
            display: flex;
        }

        #c-link, #c-link:active{
            background-color: #f73e3e;
            color: white;
            text-transform: uppercase;
            text-decoration: none;
            padding: 15px;
            border-radius: 5px;
            font-family: 'Montserrat', sans-serif;
            font-weight: 600;
            font-size: 18px;
            transition-duration: 1s;
        }

        #c-link:hover{
            background-color: #b52a2a;
            transform: color;
        }


        .container{
            background-color: rgba(255,255,255,0.8);
            padding:50px;
            width: 83%;
            height: fit-content;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .button-6 {
            align-items: center;
            background-color: #FFFFFF;
            border: 1px solid rgba(0, 0, 0, 0.1);
            border-radius: 5px;
            box-shadow: rgba(0, 0, 0, 0.02) 0 1px 3px 0;
            color: rgba(0, 0, 0, 0.85);
            cursor: pointer;
            display: inline-flex;
            font-family: 'Montserrat', sans-serif;
            font-size: 16px;
            font-weight: 600;
            justify-content: center;
            margin: 0;
            padding: 15px;
            position: relative;
            text-decoration: none;
            transition: all 250ms;
            user-select: none;
            -webkit-user-select: none;
            touch-action: manipulation;
            vertical-align: baseline;
            width: auto;
        }

        .button-6:hover,
       {
            border-color: rgba(0, 0, 0, 0.15);
            box-shadow: rgba(0, 0, 0, 0.1) 0 4px 12px;
            color: rgba(0, 0, 0, 0.65);
        }

        .button-6:hover {
            transform: translateY(-1px);
        }

        .button-6:active {
            background-color: #F0F0F1;
            border-color: rgba(0, 0, 0, 0.15);
            box-shadow: rgba(0, 0, 0, 0.06) 0 2px 4px;
            color: rgba(0, 0, 0, 0.65);
            transform: translateY(0);
        }

        .back-button {
            position: fixed;
            top: 10px;
            left: 10px;
            z-index: 9999;
            border-radius: 10px;
            background-color: #f0f0f0;
        }

        .back-button2 {
            position: fixed;
            top: 10px;
            right: 10px;
            z-index: 9999;
            border-radius: 10px;
            background-color: #f0f0f0;
        }

        .modal{
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            filter: blur(5px);
            opacity: 0.6;
            justify-content: center;
            align-items: center;
            backdrop-filter: blur(5px); /* Размытие фона */
            z-index: -999;
        }

        .container > div{
            margin-bottom: 20px;
        }


#college-name{
                text-align: center;
                font-weight: bold;
                font-size: 25px;
            }

#college-address{
                font-size: 20px;
            }

#href-button{
    display: flex;
}




table tr td{
    height: 47px;
}

#filters{
    width: 100%;
    display: inline-flex;
}

#filters select, input, button{
    padding: 10px;
    margin-right: 10px;
    font-family: 'Montserrat', sans-serif;
}

#filters select option{
    padding: 10px;
    font-family: 'Montserrat', sans-serif;
}



.spec_card{
    border-radius: 10px;
    border: 2px solid #fff;
    background-color: rgba(255,255,255,0.7)
}

a{
    color: black;
}

a:hover {
  /* Цвет при наведении */
  color: black;
}

a:visited {
  /* Цвет посещённой ссылки */
  color: black;
}

a:active {
  /* Цвет ссылки при клике */
  color: black;
}

#description{
    background-color: rgba(255,255,255, 0.7);
    width: 100%;
    padding: 10px;
    border-radius: 10px;
}

#description h2, #college-description{
    margin: 5px;
}

/* Стили для строк таблицы */
table tr td {
    min-height: 0px;
    height: auto;
    transition: all 0.3s ease;
}

/* Скрытая строка */
.spec_card {
    display: none; /* Полностью убираем строку */
    opacity: 0;
    border:none;
    transform: scaleY(0);
    transform-origin: top;
    background-color: #F0F0F0 !important; /* Серый фон */
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    background-color: #ffffff; /* Фон белый */
}

/* Открытая строка */
.spec_card.open {
    display: table-row;
    border: none;
    border-collapse: collapse; /* Восстанавливаем строку */
    opacity: 1;
    transform: scaleY(1);
}

/* Контент внутри строки */
.spec_card > td > div {
    opacity: 0;
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
    overflow: hidden;
}

/* Контент при открытии */
.spec_card.open > td > div {
    opacity: 1;
}

.spec_card_td{
    padding: 20px !important;
    border: none;
    text-align: left !important;
}