@media screen and (min-width: 1921px) {
    body.compensate-for-scrollbar {
        margin-right: auto !important;
    }
}

/**
 * RWD PANEL
 */

@media screen and (min-width: 1361px) {
    .rwdPanel {
        display: none;
    }

    .rwdPanel-action-open,
    .rwdPanel-action-toggle {
        display: none !important;
    }
}

@media screen and (max-width: 1360px) {
    .rwdPanel {
        overflow-x: hidden;
        overflow-y: auto;
        position: fixed;
        z-index: 1000;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        background: #fff;
        transition-duration: 0.5s;
        transition-timing-function: ease;
        transition-property: transform, -webkit-transform, -ms-transform;
        /* Closed: */
        pointer-events: none;
        transform: translateY(100%);
        -webkit-transform: translateY(100%);
        -ms-transform: translateY(100%);
    }

    .langs-menu {
        display: none;
    }

    header.stickable .rwdPanel {
        z-index: -1;
    }

    .rwdPanel.active {
        pointer-events: all;
        transform: none;
        -webkit-transform: none;
        -ms-transform: none;
    }

    .rwdPanel-scrollLock body {
        position: fixed;
        width: 100%;
        overflow-y: scroll;
    }

    .header-bottom-center > #main-menu {
        display: none;
    }

    .lang-button {
        display: none;
    }

    .header-top-right .lang-rwd-button {
        margin-left: 19px;
        position: relative;

    }

    .header-top-right .lang-rwd-button:before {
        content: "";
        display: block;
        width: 1px;
        margin-top: 2px;
        position: absolute;
        left: -10px;
        margin-bottom: -2px;
        background: rgba(255, 255, 255, 0.1);
        height: 12px;
        top: 50%;
        transform: translateY(-50%);
    }
}

/**
 * RWD MENU
 */

.rwdMenu {
    font-size: 1rem;
}

.rwdMenu ul {
    display: block;
    width: 100%;
    padding: 0;
}

.rwdMenu:not(:first-child) > ul {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.rwdMenu + .rwdMenu > ul {
    border-top: none;
}

.rwdMenu ul ul {
    display: none;
    box-shadow: inset 0 3px 5px -1px rgba(0, 0, 0, 0.12);
    background-color: rgba(0, 0, 0, 0.1);
}

.rwdMenu li {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.rwdMenu li.slided {
    border-bottom: none;
}

.rwdMenu a {
    color: inherit;
}

.rwdMenu li > *:first-child {
    flex: 1 0 0px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    min-height: 46px;
    padding: 5px var(--container-padding);
    text-align: left;
    word-break: break-word;
    color: #000;
    border: none;
}

.rwdMenu li > *:first-child:hover {
    text-decoration: none;
}

.rwdMenu li.active > *:first-child {
    font-weight: 700;
    color: var(--color-secondary);
}

.rwdMenu > ul > li > *:first-child {
    text-transform: uppercase;
}

.rwdMenu > ul > li > ul {
    font-size: 0.875rem;
}

.rwdMenu > ul > li > ul > li > *:first-child {
    padding-left: calc(var(--container-padding) + 15px);
}

.rwdMenu > ul > li > ul > li > ul > li > *:first-child {
    padding-left: calc(var(--container-padding) + 30px);
}

.rwdMenu > ul > li > ul > li > ul > li > ul > li > *:first-child {
    padding-left: calc(var(--container-padding) + 45px);
}

.rwdMenu > ul > li > ul > li > ul > li > ul > li > ul > li > *:first-child {
    padding-left: calc(var(--container-padding) + 60px);
}

.rwdMenu > ul > li > ul > li > ul > li > ul > li > ul > li > ul > li > *:first-child {
    padding-left: calc(var(--container-padding) + 75px);
}

.rwdMenu li > *:first-child > .fa,
.rwdMenu li > *:first-child > .icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    font-size: 22px;
    flex-shrink: 0;
    margin: -9px 6px -9px -9px;
}

.rwdMenu li > *:first-child > .icon img {
    display: block;
    max-width: 100%;
    max-height: 100%;
}

.rwdMenu li > *:first-child > .caption {
    flex: 1 0 0;
}

.rwdMenu li > *:first-child > .caption * {
    display: inline-block;
}

.rwdMenu li > *:first-child > .caption ~ * {
    margin-left: 10px;
}

.rwdMenu .rwdMenu-count {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 2em;
    height: 2em;
    text-align: center;
    font-size: 14px;
    color: #000;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

.rwdMenu .user-nav li + li:before {
    display: none;
}

.cloneMenu-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 46px;
    padding: 0;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    border-top: none;
    border-right: none;
    border-bottom: none;
    border-left: 1px solid rgba(0, 0, 0, 0.04);
    background: rgba(0, 0, 0, 0.06);
}

.cloneMenu-toggle::before {
    content: "\f107";
    display: block;
    font-family: 'FontAwesome', sans-serif;
    transition: all 0.3s;
}

.cloneMenu-toggle.active::before {
    transform: rotateZ(180deg);
    -webkit-transform: rotateZ(180deg);
    -ms-transform: rotateZ(180deg);
}

.rwdPanel .social-list {
    margin: 15px 0;
    text-align: center;
}

/**
 * RWD BUTTON
 */

.rwdButton {
    float: right;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    margin: 0 0 0 0;
    font-size: 18px;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s;
    border-radius: 6px;
}

.rwdButton .animIcon {
    opacity: 0;
    position: absolute;
    top: 10%;
    left: 10%;
    right: 10%;
    bottom: 10%;
    width: auto;
}

.rwdButton > * {
    transition: all 0.5s;
}

.rwdButton.rwdPanel-action-toggle.active {
    color: #fff;
    background-color: var(--color-secondary);
}

.rwdButton .animIcon--close span {
    background-color: #fff;
}

.rwdButton:not(.active) > .animIcon--close {
    transform: scale(0.4);
    -webkit-transform: scale(0.4);
    -ms-transform: scale(0.4);
}

.rwdButton.active > .animIcon--close {
    opacity: 1;
}

.rwdButton.active > .animIcon--close ~ * {
    opacity: 0;
    transform: scale(0);
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
}

/* --------------- BREAKPOINTS --------------- */
@media screen and (max-width: 1780px) {
    .aboutCastle-content {
        padding: 0 19vw;
        text-align: center;
    }

    .contact-left {
        width: 35%;
    }
}

@media screen and (max-width: 1750px) {
    .text-rotated {
        font-size: 185px;
    }


    .btn-sm {
        padding: 5px 15px;
    }

    .logo {
        margin-right: var(--space-60);
    }

    .section-title {
        font-size: 58px;
    }
}

@media screen and (max-width: 1700px) {
    #main-menu > ul > li > a {
        padding: 5px;
    }
}

@media screen and (max-width: 1680px) {


    .section-title {
        font-size: 56px;
    }

    .header-top-left {
        margin-right: 10px;
    }

    .header-tel .caption {
        font-size: 13px;
    }

    .btn-sm {
        padding: 5px 10px;
    }

    .mainGallery-box {
        padding: 5px;
    }

    .mainGallery-list {
        margin: -5px;
    }
}

@media screen and (max-width: 1670px) {
    .contact-img {
        margin-right: calc(var(--container-padding) * -1);
    }

    .mainGallery-right {
        margin-right: calc(var(--container-padding) * -1);
    }
}

@media screen and (max-width: 1630px) {


    header .logo {
        width: 166px;
    }

    .header-top-left {
        width: 294px;
    }

    .header-btns {
        gap: 5px;
    }
}

@media screen and (max-width: 1550px) {
    header .logo {
        width: 140px;
    }

    .header-top-left {
        width: 260px;
    }

    .header-logo-bg img {
        height: 164px;
        transition-property: height, width;
        transition-duration: 500ms;
    }
}

@media screen and (max-width: 1500px) {
    .contact-left {
        width: 42%;
    }

    .text-rotated {
        font-size: 180px;
    }


    #main-menu > ul > li > a {
        font-size: 16px;
    }

    .header-top-right .langs-menu {
        padding-left: 10px;
        margin-left: 9px;
    }

    .header-bip {
        margin-right: 9px;
        padding-right: 10px;
    }

}

@media screen and (max-width: 1440px) {
    .text-rotated {
        font-size: 175px;
    }

    header .logo {
        margin-top: 0;
        margin-left: 0;
    }

    #main-menu li > ul > li {
        background-color: var(--color-primary);
    }

    #main-menu li > ul > li a {
        color: #fff;
    }

    .header-bottom {
        background-color: var(--color-primary);
    }

    #main-menu > ul > li > a {
        color: #fff;
    }

    .header-btns {
        gap: 20px;
    }

    .header-top-left {
        display: none;
    }

    .section-title {
        font-size: 52px;
    }

    .recommendedSlider-item-inner {
        font-size: 18px;
    }

    .contact-text h2 {
        font-size: 20px;
    }
}

@media screen and (max-width: 1280px) {
    #content .paper-background:last-child {
        margin-bottom: 0;
    }

    .news-main .section-header {
        padding-top: 0;
    }

    .text-rotated {
        font-size: 160px;
    }

    .mainGallery-list-wrapper {
        width: 100%;
    }


    #main-menu > ul > li > a {
        font-size: 15px;
    }

    header .logo {
        margin-right: 20px;
        width: 128px;
    }

    .mainGallery-box {
        width: 50%;
    }

    .section-title {
        font-size: 48px;
    }

    .big-text-wrapper {
        display: none;
    }

    .recommendedSlider-item {
        padding: 5px;
    }

    .recommendedSlider {
        margin: -5px;
    }

    .basicSection-downloads .download-item-inner {
        font-size: 14px;
    }

    .download-item-inner {
        font-size: 14px;
    }

    .news-box {
        padding: 5px;
    }

    .news-list {
        margin: -5px;
    }

    .mainGallery-caption {
        font-size: 19px;
    }
}

@media screen and (min-width: 1140px) {
    .mainsearch {
        top: 0 !important;
    }
}

@media screen and (max-width: 1139px) {
    #content .paper-background:last-child {
        margin-bottom: 60px;
    }

    .header-contact {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
        align-items: center;
    }


    .tile-item-inner {
        opacity: 1;
    }

    .contact-content {
        flex-direction: column-reverse;
    }

    .contact-left {
        width: 100%;
    }

    .floating-img {
        display: none;
    }

    .aboutCastle-content {
        padding: 0;
    }

    .mainGallery-caption {
        font-size: 18px;
    }

    .text-rotated {
        font-size: 145px;
    }

    .header-tel .caption {
        display: none;
    }

    .header-contact:after {
        content: "";
        display: block;
        width: 1px;
        margin-top: 2px;
        position: absolute;
        right: 0;
        margin-bottom: -2px;
        background: rgba(255, 255, 255, 0.1);
        height: 12px;
        top: 50%;
        transform: translateY(-50%);
    }

    .header-contact {
        position: relative;
        padding-right: 9px;
        margin: 0 9px;
    }

    .header-tel {
        height: 40px;
        width: 40px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 6px;
    }

    .header-tel .icon-wrapper {
        margin-right: 0;
    }

    .section-title {
        font-size: 44px;
    }

    .slick-arrow {
        width: 50px;
        height: 50px;
    }

    .recommendedSlider-item-inner {
        font-size: 16px;
    }

    .text table tr td {
        padding: 6px 10px;
    }

    #main-menu {
        display: none;
    }

    .langs-menu {
        display: none !important;
    }

    .rwd-hide {
        display: none;
    }

    .text img {
        max-width: 100% !important;
    }

    .container {
        width: 100%;
    }

    .article-image {
        margin-right: 25px;
        margin-bottom: 15px;
    }

    .lang .langs-menu-short {
        display: none;
    }

    .lang .langs-menu-long {
        display: block;
    }

    .mainsearch.rwdPanel .mainsearch-search {
        background-color: var(--color-primary);
    }

    .mainsearch.rwdPanel .dropdown-menu {
        position: static !important;
        width: 100%;
        box-shadow: none;
    }

    .mainsearch.rwdPanel .mainsearch-search,
    .mainsearch.rwdPanel .dropdown-menu {
        padding: 15px;
    }

    .mainsearch.rwdPanel .dropdown-menu .dropdown-search-li.all-search-results {
        margin-top: 15px;
    }

    .mainsearch.rwdPanel .form-element-container {
        width: calc(100% - 46px);
        flex-grow: 0;
    }

    .mainsearch.rwdPanel .mainsearch-submit {
        height: 46px;
    }

    .mainsearch.rwdPanel input,
    .mainsearch.rwdPanel .mainsearch-submit {
        border: none;
    }

    .footer-content {
        background: bottom center /cover;
        background-color: rgba(0, 0, 0, 0.4);
        position: relative;
        background-blend-mode: overlay;
    }

    .footer-content:after {
        content: "";
        width: 1807px;
        position: absolute;
        top: 0px;
        transform: translateX(-50%) scale(-1);
        pointer-events: none;
        left: 50%;
        /* right: 0; */
        height: 55px;
        background: url(../images/slider-mask.webp);
        background-repeat: no-repeat;
        background-size: 100% 100%;
        background-position: bottom left;
    }
}

@media screen and (max-width: 1000px) {

    .text-image {
        display: flex;
        float: none;
        justify-content: center;
        margin: 0 auto;
        margin-bottom: 30px;
    }

    .tile-item {
        padding: 5px;
    }

    .tile-title {
        font-size: 14px;
    }

    .tile-text {
        line-height: normal;
        font-size: 12px;
    }

    .tiles-list {
        margin: -5px;
    }

    #content {
        padding-top: 137px;
    }

    .header-contact {
        flex-grow: 0;
    }

    .mainGallery-caption {
        font-size: 16px;
    }

    .text-rotated {
        font-size: 135px;
    }

    .header-top-inner .header-btns {
        display: none;
    }

    .header-btns {
        justify-content: center;
        flex-wrap: wrap;
        margin-top: 20px;
        padding: 0 var(--container-padding) 20px var(--container-padding);
    }

    .header-btns .btn-white {
        border: 1px solid var(--color-primary);
    }

    .header-top-center {
        display: flex;
        flex-grow: 1;
        align-items: center;
        justify-content: flex-end;
    }

    .header-contact {
        margin-left: 0;
    }

    .section-title {
        font-size: 38px;
    }

    .downloads-list .download-item {
        padding: 4px;
    }

    .downloads-list {
        margin: -4px;
    }

    .recommendedSlider-item {
        width: 33.333%;
    }

    .recommendedSlider:not(.slick-initialized) .recommendedSlider-item:nth-child(n + 4) {
        display: none;
    }
}

@media screen and (max-width: 900px) {
    .section-header-wrapper + .basicSection > .text-center > .sectionText-img {
        margin: 0;
    }

    .text-rotated {
        font-size: 125px;
    }

    .logotype-slider:not(.slick-initialized) .logotype:nth-child(n + 4) {
        display: none !important;
    }

    .logotype {
        width: 33.333%;
    }

    .section-title {
        font-size: 33px;
    }

    .basicSection-downloads .download-item {
        width: 50%;
    }

    .news-box {
        width: 50%;
    }

    .footer-bar {
        text-align: center;
        padding: 13px 0;
        line-height: normal;
    }

    .footer-bar-links {
        padding-right: 0;
        margin-right: 0 !important;
    }

    .footer-bar-links:after {
        content: unset;
    }

    .footer-bar-content > * {
        float: none;
        display: inline-flex;
        vertical-align: middle;
    }

    .copyright-undicom {
        display: inline-flex !important;
    }

    .footer-bar-content.footer-bar-content > * {
        margin-left: 15px;
        margin-right: 15px;
    }

    .footer-bar .footer-bar-links {
        display: block;
        margin: -3px -8px;
    }

    .footer-bar .footer-bar-links:not(:last-child) {
        margin-bottom: 3px;
    }

    .footer-bar-links > li {
        margin: 3px 8px;
        line-height: 20px;
    }

    .copyright,
    .copyright-undicom {
        margin-top: 4px;
        margin-bottom: 4px;
        line-height: 20px;
    }

    .mainSlider-nav {
        bottom: 50px;
    }

    .mainSlider-slide-content {
        max-width: unset;
        width: 100%;
    }

    .mainSlider-slide-inner {
        padding-bottom: 20px;
    }

    .mainSlide-title {
        font-size: 60px;
    }

    .mainGallery-overlay {
        padding: 15px;
    }

    .jumbotron-text {
        font-size: 14px;
        line-height: 1.875;
        font-weight: 400;
    }

    .jumbotron-left {
        width: 70%;
    }

    .jumbotron-right {
        font-size: 24px;
        font-weight: 900;
        width: 30%;
        text-align: right;
    }

    .view-column {
        width: 50%;
    }
}

@media screen and (max-width: 767px) {
    .tile-item {
        width: 50%;
    }

    .basicSection-columns .column {
        width: 50%;
        padding: 10px
    }

    .basicSection-columns {
        margin: -10px;
    }

    .mainGallery-right {
        display: none;
    }

    .section-title {
        font-size: 30px;
    }

    .footer-content-inner {
        justify-content: center;
    }

    .footer-col a {
        font-size: 17px;
    }

    .mainSlide-title {
        font-size: 55px;
    }

    .text .table-responsive-wrapper {
        position: relative;
        padding-bottom: 40px;
        margin: 20px 0;
    }

    .text .table-responsive-wrapper::after {
        pointer-events: none;
        content: "";
        display: block;
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 45px;
        background-size: contain;
        background-position: right 15px center;
        background-repeat: no-repeat;
        background-image: url(../images/rwd-table-hand.png);
        -webkit-animation-name: rwd-hand-move;
        animation-name: rwd-hand-move;
        -webkit-animation-duration: 1.5s;
        animation-duration: 1.5s;
        -webkit-animation-iteration-count: infinite;
        animation-iteration-count: infinite;
        -webkit-animation-direction: alternate;
        animation-direction: alternate;
        -webkit-animation-timing-function: linear;
        animation-timing-function: linear;
    }

    .text .table-responsive {
        margin: 0;
        border: none;
    }

    .text table {
        margin: 0;
        min-width: 780px;
    }

    @keyframes rwd-hand-move {
        0% {
            transform: translateX(-30px);
        }
        100% {
            transform: translateX(0);
        }
    }
    @-webkit-keyframes rwd-hand-move {
        0% {
            transform: translateX(-20px);
        }
        100% {
            transform: translateX(0);
        }
    }
    .form .form-element-captcha .captcha-image-wrapper {
        margin-bottom: 15px;
    }
}

@media screen and (min-width: 706px) {
    footer .show-hide {
        display: block !important;
    }
}

@media screen and (max-width: 639px) {
    .mainSlider-slide-img:before {
        background: rgba(0, 0, 0, 0.5);
    }

    .mainSlider-nav {
        display: none;
    }

    .basicSection-columns .column {
        width: 100%;
    }

    .aboutCastle-img + .aboutCastle-wrapper .section-header {
        padding-bottom: 32%;
    }

    .section-title {
        font-size: 28px;
    }

    .recommendedSlider-item {
        width: 50%;
    }

    .recommendedSlider:not(.slick-initialized) .recommendedSlider-item:nth-child(n + 3) {
        display: none;
    }

    .download-left .download-type {
        margin-right: 10px;
    }

    .basicSection-downloads .download-item-inner {
        font-size: 13px;
    }

    .download-item-inner {
        font-size: 13px;
    }

    .mainSlider-slide-inner {
        padding-bottom: 65px;
    }

    .mainSlider-slide-img img {
        min-height: 730px;
    }

    .mainSlide-title {
        font-size: 45px;
    }

    .text img {
        max-width: 100%;
        max-width: 100% !important;
        width: inherit;
        width: inherit !important;
        height: auto;
        height: auto !important;
    }

    .text table,
    .text iframe,
    .text object {
        max-width: 100%;
        max-width: 100% !important;
        width: 100%;
        width: 100% !important;
    }

    .article-image {
        margin-right: 0;
        margin-top: 0;
        width: 100%;
        display: block;
        float: none;
        max-width: none;
        text-align: center;
        line-height: 0;
    }

    .breadcrumb > li:not(:first-child):not(:last-child):not(:nth-last-child(2)) {
        display: none;
    }

    .breadcrumb > li:not(:first-child):not(:last-child) a {
        font-size: 0;
        text-indent: -1000px; /* Apple */
    }

    .breadcrumb > li:not(:last-child) a span {
        display: none;
    }

    .breadcrumb > li:not(:first-child):not(:last-child) a:after {
        content: "...";
        font-size: 12px;
    }

    .breadcrumb > li + li:before {
        padding: 0 6px;
    }

    .breadcrumb > li:first-child a {
        font-size: 0 !important;
        letter-spacing: 0 !important;
    }

    .breadcrumb > li:first-child a:after {
        content: "\f015";
        display: inline-block;
        font-family: FontAwesome, sans-serif;
        font-size: 12px;
    }
}

@media screen and (max-width: 560px) {
    .view-column {
        width: 100%;
    }

    .pagination-wrapper ul li.next a, .pagination-wrapper ul li.prev a {
        width: 40px;
        height: 40px;
        padding: 5px;
    }

    .pagination-wrapper ul li a, .pagination-wrapper ul li span {
        padding: 3px;
    }

    .mainGallery-caption {
        font-size: 15px;
    }

    .mainSlider-slide-img img {
        min-height: 604px;
    }

    .mainSlider-slide-inner {
        padding-bottom: 100px;
    }

    .section-title {
        font-size: 26px;
    }

    .recommendedSlider-nav {
        position: static;
        transform: none;
    }

    .recommendedSlider-wrapper .section-header {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .download-item {
        width: 100% !important;
    }

    .text {
        word-wrap: break-word;
    }

    .gallery-list-item {
        width: 50%;
    }

    .mainSlide-title {
        font-size: 40px;
    }

    .footer-phones {
        display: flex;
        flex-direction: column;
    }

    .footer-phones > a + a:before {
        display: none;
    }

    .aboutCastle-img {
        top: 20px;
    }
}

@media screen and (max-width: 480px) {
    .section-header.page-header {
        margin: 17px 0 7px 0;
        padding-bottom: 0;
    }

    .jumbotron-right, .jumbotron-left {
        width: 100%;
        text-align: center;
    }

    .jumbotron-left {
        padding-right: 0;
        padding-bottom: 15px;
    }

    .jumbotron-wrapper {
        display: flex;
        flex-direction: column;
    }

    .tile-item {
        width: 100%;
    }

    .tile-title {
        font-size: 18px;
    }

    .tile-text {
        font-size: 14px;
    }

    .mainGallery-caption {
        font-size: 14px;
    }

    .news-box:nth-child(even) .news-box-inner {
        flex-direction: column;
    }

    .news-box:nth-child(even) .news-box-bottom {
        margin-bottom: 0;
        margin-top: var(--space-60);
    }

    .logotype-slider:not(.slick-initialized) .logotype:nth-child(n + 3) {
        display: none !important;
    }

    .logotype {
        width: 50%;
    }

    .section-title {
        font-size: 24px;
    }

    .news-box {
        width: 100%;
        padding: 10px 0;
    }

    .news-list {
        margin: -10px 0;
    }

    .modal-footer > .btn {
        width: 100%;
    }

    .modal-footer .btn + .btn {
        margin-left: 0;
        margin-top: 5px;
    }

    .mainSlide-title {
        font-size: 35px;
    }
}

@media screen and (max-width: 440px) {
    .recommendedSlider-item {
        width: 100%;
    }

    .recommendedSlider:not(.slick-initialized) .recommendedSlider-item:nth-child(n + 2) {
        display: none;
    }

    .footer-logo {
        width: unset;
    }
}

@media screen and (max-width: 420px) {
    .text-image {
        margin-bottom: 15px;
    }

    .section-title {
        font-size: 21px;
    }

    .section-header {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .aboutCastle .section-header {
        align-items: flex-start;
        justify-content: flex-start;
    }

    .section-title {
        margin-right: 0;
    }

    .btn-sm {
        font-size: 12px;
    }

    .header-top-center {
        flex-grow: 0;
    }

    .header-top-inner {
        justify-content: center;
    }

    .mainSlide-title {
        font-size: 30px;
    }

    .footer-bar-content.footer-bar-content > * {
        display: block;
        margin-left: 0;
        margin-right: 0;
    }
}

@media screen and (max-width: 380px) {
    .mainGallery-box {
        width: 100%;
    }
}

@media screen and (max-width: 319px) {
    body {
        width: 320px;
    }
}

/* --------------- GLOBAL VARIABLES --------------- */

@media screen and (max-width: 1600px) {
    :root {
        --space-60: 55px;
        --space-50: 45px;
        --space-40: 35px;

        --font-48: 40px;
        --font-36: 32px;
        --font-30: 26px;
        --font-24: 22px;
    }
}

@media screen and (max-width: 1440px) {
    :root {
        --space-60: 50px;
        --space-50: 40px;

        --font-48: 36px;

        --container-padding: 30px;
    }
}

@media screen and (max-width: 1366px) {
    :root {
        --space-25: 20px;

        --font-48: 34px;
        --font-36: 28px;
        --font-30: 24px;
    }
}

@media screen and (max-width: 1280px) {
    :root {
        --space-60: 40px;
        --space-50: 35px;
        --space-40: 30px;

        --font-48: 32px;

        --container-padding: 20px;
    }
}

@media screen and (max-width: 1139px) {
    :root {
        --space-60: 35px;
        --space-50: 30px;
        --space-40: 25px;
        --space-25: 15px;
    }
}

@media screen and (max-width: 960px) {
    :root {
        --space-60: 30px;
        --space-50: 25px;
        --space-40: 20px;
    }
}

@media screen and (max-width: 900px) {
    :root {
        --container-padding: 15px;
    }
}

@media screen and (max-width: 639px) {
    :root {
        --font-48: 30px;
        --font-36: 24px;
        --font-30: 22px;
        --font-24: 18px;
    }
}

@media screen and (max-width: 420px) {
    :root {
        --font-48: 24px;
        --font-36: 20px;
        --font-30: 20px;
        --font-24: 16px;
    }
}