.main-nav {
    position: relative;
    display: block;
    width: 80%;
    margin: 0 auto;
}

.main {
    /* max-width: 1200px; */
    margin: 0 auto;
    margin-top: 100px;
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.search-form {
    display: flex;
    column-gap: 10px;
    align-items: center;
    margin-bottom: 20px;
}

.search {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.search-input {
    width: 100%;
    border: 1px solid #1f3f76;
    border-radius: 30px;
    background: #fff;
    outline: none;
    padding: 12px 20px;
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
}

.search-button {
    width: 40px;
    height: 40px;
    margin-left: -40px;
    padding: 19px;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
    border: none;
    background: #1f3f76 url('../../img/announcements/search.svg') no-repeat 40% center;
    cursor: pointer;

}

.create-link {
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    white-space: nowrap;
    font-size: 16px;
    border-radius: 25px;
    cursor: pointer;
    background: #103A84;
    color: #fff;
    transition: background 0.3s linear;
}

.create-link:hover {
    overflow: visible;
    background: #0d306d;
    transition: background 0.3s linear;
}

.create-link:active {
    background: #3e5e96;
}

.create-link > span {
    padding-right: 0px;
    max-width: 0;
    overflow: hidden;
    transition: max-width 0.3s cubic-bezier(0, 1, 0, 1);
}

.create-link:hover > span {
    padding-right: 5px;
    max-width: 500px;
    transition: max-width 0.3s cubic-bezier(1, 0, 1, 0);
}

.content {
    width: 100%;
}

.announ {
    display: flex;
    border-radius: 9px;
    max-width: 1000px;
    margin: 0 auto;
}

.announ:not(:last-child) {
    margin-bottom: 20px;
}

.announ-content {
    padding: 16px 27px;
    border-top-left-radius: 9px;
    border-bottom-left-radius: 9px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    width: 750px;
    min-height: 250px;
    background: #fff;
}

.top-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.top-info-text {
    color: #A3A4A6;
    font-size: 15px;
    font-style: normal;
}

.favourite-btn {
    background: none;
    border: none;
    outline: none;
    width: 20px;
    height: 20px;
    cursor: pointer;
    fill: #DBDBDB;
}

.favourite-svg > path {
    transition: fill .3s linear;
}

.favourite-btn:hover {
    fill: #bdbdbd;
}

.middle-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.middle-info > a {
    border-radius: 5px;
    transition: background 0.3s linear;
}

.announ-title {
    margin: 0;
    margin-bottom: 10px;
    color: #000;
    font-size: 36px;
    font-weight: 700;
    line-height: normal;
}

.announ-descr {
    margin: 0;
    margin-bottom: 10px;
    color: #000;
    font-size: 15px;
    font-weight: 300;
    line-height: normal;
    overflow: hidden;
}

.announ-descr-close {
    max-height: 250px;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
}

.announ-descr-open {
    max-height: 3000px;
    transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
}

.announ-btn {
    position: absolute;
    z-index: -10;
    padding: 0;
    margin-bottom: 20px;
    background: none;
    border: none;
    outline: none;
    color: #000;
    font-size: 15px;
    font-weight: 700;
    line-height: normal;
    cursor: pointer;
    align-self: flex-start;
    opacity: 0;
}

.announ-btn-active {
    position: relative;
    z-index: 1;
    opacity: 1;
}

.announ-bottom {
    display: flex;
    align-items: flex-start;
    /* justify-content: flex-start; */
}

.announ-author {
    display: flex;
    flex-wrap: nowrap;
    margin-right: 20px;
    font-weight: 400;
    font-size: 15px;
    line-height: 20px;
    color: #5A88FF;
}

.announ-files-list {
    max-width: 80%;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    row-gap: 10px;
    column-gap: 20px;
}

.announ-files-item {
    position: relative;
    padding: 6px 10px;
    border: 1px solid #103A84;
    border-radius: 3px;
}

.announ-files-link {
    color: #103A84;
}

.announ-files-link::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.announ-img {
    overflow: hidden;
    width: calc(100% - 750px);
    background: #103A84;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    border-top-right-radius: 9px;
    border-bottom-right-radius: 9px;
}

.load-btn {
    padding: 10px 30px;
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: none;
    outline: none;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    background: #103A84;
    color: #fff;
    transition: background 0.3s linear;
}

.load-btn:hover {
    background: #0d306d;
}

.load-btn:active {
    background: #3e5e96;
}

@media (max-width: 2000px){

    /* стили для xs-устройств */
    .flex {
        width: 80%;
        min-height: 9em;
        max-height: 15em;
        margin: 2%;
        border-radius: 8px;
    }

    .Fother {
        justify-content: center;
    }

    .IB{
        border-radius: 0 8px 8px 0;
    }
}