.section-rector {
    position: relative;
}

#feedback_rector {
    height: 500px;
    margin-bottom: 16px;
    margin-top: -60px;
    padding: 0;
}

#feedback_rector .row {
    padding: 0;
    margin: 0;
}

#feedback_rector .background_img {
    background: url(/local/templates/kemgik/images/footer/bg_0.svg);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    z-index: -1;
    padding: 0;
    margin: 0;
    margin-bottom: -30px;
}

#feedback_rector .background_img_1 {
    background: url(/local/templates/kemgik/images/footer/bg_3.svg);
    background-repeat: no-repeat;
    background-position: 55% 130%;
}

.container_border {
    width: 350px;
    height: 295px;
    padding: 50px;
    transform: rotate(330deg);
    background: white;
    display: flex;
    justify-content: center;
    bottom: -100px;
    border: 5px solid transparent;
    border-image: linear-gradient(270deg,#097dc0 0,#ffba00 100%);
    border-image-slice: 1;
    position: relative;
}

.rector_block {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.container_hr hr {
    width: 65%;
    border: 2px solid transparent;
    border-image: linear-gradient(90deg,#097dc0 0,#ffba00 100%);
    border-image-slice: 1;
    background: none;
    height: 0px;
    margin: 0;
    clear: both;
    position: absolute;
    right: 0;
    top: 104px;
    z-index: -1;
}

h2.hr {
    display: inline-block;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    font-family: Spectral;
    font-style: normal;
    font-weight: 700;
    font-size: 38px;
    color: #000000;
    margin-bottom: 40px;
} 

h2.hr:after {
    content: '';
    display: block;
    margin-top: -0.2em;
    border: 2px solid #000;
}

.rector-name {
    margin-bottom: 20px;
}

#feedback_rector .rector-name p {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 600;
    font-size: 24px;
    line-height: 22px;
    letter-spacing: 0.045em;
    color: #000000;
}

.new_button .glow-on-hover {
    width: 230px;
    height: 40px;
    border: 0;
    outline: 0;
    background: none;
    cursor: pointer;
    position: relative;
    z-index: 0;
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg,#097dc0 0,#ffba00 100%);
    border-image-slice: 1;
}

.new_button .glow-on-hover:before {
    content: '';
    border: 1px solid transparent;
    border-image: linear-gradient(90deg,#097dc0 0,#ffba00 100%);
    border-image-slice: 1;
    position: absolute;
    top: -1px;
    left: -1px;
    background-size: 100%;
    z-index: -1;
    width: 230px;
    height: 40px;
    animation: glowing 20s linear infinite;
    opacity: 0;
    transition: opacity .3s ease-in-out;
}

.new_button .glow-on-hover:hover:before {
    content: '';
    border: 1px solid transparent;
    border-image: linear-gradient(90deg,#097dc0 0,#ffba00 100%);
    border-image-slice: 1;
    position: absolute;
    top: -1px;
    left: -1px;
    background-size: 100%;
    z-index: -1;
    width: 230px;
    height: 40px;
    animation: glowing 20s linear infinite;
    opacity: 1;
    transition: opacity .3s ease-in-out;
}

.new_button .glow-on-hover a {
    color: #000;
    text-decoration: none;
    font-family: Raleway;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
}

.new_button .glow-on-hover:after {
    z-index: -1;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: transparent;
}

.new_button .glow-on-hover:active {
    color: #0000;
}

.text_block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    transform: rotate(30deg);
}

@media screen and (max-width: 424px) {
    #feedback_rector {
        height: 400px;
        margin-bottom: 0px;
        margin-top: -60px;
        padding: 5px;
    }
    #feedback_rector .row {
        padding: 5px;
        margin: 5px;
    }

    #feedback_rector .background_img_1 {
        background: none;
        background-repeat: no-repeat;
        background-position: 55% 130%;
    }
    .rector_block {
        display: flex;
        flex-direction: row;
        justify-content: center;
    }
    .container_border {
        width: 230px;
        height: 240px;
        padding: 20px;
        transform: rotate(0deg);
        background: white;
        display: flex;
        justify-content: center;
        bottom: -75px;
        border: 5px solid transparent;
        border-image: linear-gradient(270deg,#097dc0 0,#ffba00 100%);
        border-image-slice: 1;
        position: relative;
    }
    .text_block {
        display: flex;
        flex-direction: column;
        justify-content: center;
        transform: rotate(0deg);
    }
    #feedback_rector .rector_block h2.hr {
        font-size: 1.5rem;
    }
    #feedback_rector .rector-name p {
        font-size: 20px;
    }
}

@media (min-width: 425px) and (max-width: 575px) {
    #feedback_rector {
        height: 400px;
        margin-bottom: 0px;
        margin-top: -60px;
        padding: 5px;
    }
    #feedback_rector .row {
        padding: 5px;
        margin: 5px;
    }

    #feedback_rector .background_img_1 {
        background-position: right center;
        z-index: -1;
    }
    .rector_block {
        display: flex;
        flex-direction: row;
        justify-content: center;
    }
    .container_border {
        width: 230px;
        height: 240px;
        padding: 20px;
        transform: rotate(0deg);
        background: white;
        display: flex;
        justify-content: center;
        bottom: -75px;
        border: 5px solid transparent;
        border-image: linear-gradient(270deg,#097dc0 0,#ffba00 100%);
        border-image-slice: 1;
        position: relative;
    }
    .text_block {
        display: flex;
        flex-direction: column;
        justify-content: center;
        transform: rotate(0deg);
    }
    #feedback_rector .rector_block h2.hr {
        font-size: 1.5rem;
    }
    #feedback_rector .rector-name p {
        font-size: 20px;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    .container_border {
        width: 330px;
        height: 300px;
        padding: 30px;
        bottom: -150px;
    }
    #feedback_rector .rector_block  h2.hr {
        font-size: 30px;
    }
    #feedback_rector .rector-name p {
        font-size: 22px;
    }
    .new_button .glow-on-hover {
        width: 160px;
        height: 50px;
    }
    .new_button .glow-on-hover:before {
        width: 160px;
        height: 50px;
    }
    .new_button .glow-on-hover:hover:before {
        width: 160px;
        height: 50px;
    }
    #feedback_rector .background_img {
        background: url(/local/templates/kemgik/images/footer/bg_0.svg);
        background-size: 600%;
        background-repeat: no-repeat;
        z-index: -1;
        margin-bottom: -190px;
    }
    #feedback_rector .background_img_1 {
        background-position: 0;
        z-index: -1;
    }
    .container_hr hr {
        top: 460px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    #feedback_rector {
        height: 500px;
        margin-bottom: -41px;
        margin-top: -54px;
        padding: 0;
    }
    .rector_block {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
    }
    #feedback_rector .rector_block  h2.hr {
        font-size: 30px;
    }
    #feedback_rector .rector-name p {
        font-size: 22px;
    }
    .new_button .glow-on-hover {
        width: 160px;
        height: 50px;
    }
    .new_button .glow-on-hover:before {
        width: 160px;
        height: 50px;
    }
    .new_button .glow-on-hover:hover:before {
        width: 160px;
        height: 50px;
    }
    .container_border {
        width: 290px;
        height: 250px;
        padding: 45px;
        transform: rotate(310deg);
        background: white;
        display: flex;
        justify-content: center;
        bottom: -101px;
        border: 5px solid transparent;
        border-image: linear-gradient(270deg,#097dc0 0,#ffba00 100%);
        border-image-slice: 1;
        position: relative;
    }
    .text_block {
        display: flex;
        flex-direction: column;
        transform: rotate(50deg);
        align-items: center;
        justify-content: center;
    }
    .container_hr hr {
        top: 112px;
        width: 75%;
    }
    .rector_img {
        right: 0;
        position: absolute;
    }
    #feedback_rector .background_img {
        background-size: 300%;
        margin-bottom: -182px;
    }
}

@media (min-width: 1024px) and (max-width: 1199px) {
    #feedback_rector .background_img {
        background-size: 300%;
        margin-bottom: -182px;
    }
}

@media screen and (max-width: 767px) {
    .rector_img {
        display: none;
    }
}