@font-face {
    -moz-font-family: e-Ukraine-UltraLight;
    -o-font-family: e-Ukraine-UltraLight;
    -webkit-font-family: e-Ukraine-UltraLight;
    font-family: e-Ukraine-UltraLight;
    src: url('../font/e-Ukraine-UltraLight.woff2') format("woff2"),
         url('../font/e-Ukraine-UltraLight.woff') format("woff");
}

@font-face {
    -moz-font-family: e-Ukraine-Thin;
    -o-font-family: e-Ukraine-Thin;
    -webkit-font-family: e-Ukraine-Thin;
    font-family: e-Ukraine-Thin;
    src: url('../font/e-Ukraine-Thin.woff2') format("woff2"),
         url('../font/e-Ukraine-Thin.woff') format("woff");
}

@font-face {
    -moz-font-family: e-Ukraine-Head;
    -o-font-family: e-Ukraine-Head;
    -webkit-font-family: e-Ukraine-Head;
    font-family: e-Ukraine-Head;
    src: url('../font/e-UkraineHead-UltraLight.otf') format("opentype");
}

@font-face {
    -moz-font-family: Benzin;
    -o-font-family: Benzin;
    -webkit-font-family: Benzin;
    font-family: Benzin;
    src: url('../font/Benzin-Regular.eot');
    src: url('../font/Benzin-Regular.woff2') format("woff2"),
         url('../font/Benzin-Regular.woff') format("woff"),
         url('../font/Benzin-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    box-sizing: border-box !important;
}

body {
    margin: 0;
    padding: 0;
    -moz-font-family: e-Ukraine-UltraLight;
    -o-font-family: e-Ukraine-UltraLight;
    -webkit-font-family: e-Ukraine-UltraLight;
    font-family: e-Ukraine-UltraLight;
    height: 100% !important;
}

.pre-header {
    height: 50px;
    width: 100%;
    position: fixed;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 150;
    border-bottom: solid 1px rgba(255, 255, 255, .2);
}

.pre-header p {
    color: #f5f5fa;
    margin: 0;
    -moz-font-family: 'Benzin';
    -o-font-family: 'Benzin';
    -webkit-font-family: 'Benzin';
    font-family: 'Benzin';
    text-transform: uppercase;
    font-size: 15px;
    padding: 0 4%;
    text-align: center;
}

.pre-header p a {
    text-decoration: none;
    color: #8EACCD;
}

header {    
    height: 80px;
    width: 100%;
    border-bottom: solid 1px rgba(255, 255, 255, .2);
    position: fixed;
    top: 50px; 
    z-index: 150;
    -moz-font-family: e-Ukraine-UltraLight;
    -o-font-family: e-Ukraine-UltraLight;
    -webkit-font-family: e-Ukraine-UltraLight;
    font-family: e-Ukraine-UltraLight;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 4%;
    height: 80px;
}

.logo-container {
    width: 40%;
}

.desktop-logo {
    width: 209px;
}

.mobile-logo {
    display: none;
}

nav {
    width: 100%;
}

.nav-list {
    display: flex;
    justify-content: space-between;
    padding-left: 15%;
    margin: 0;
}

.nav-list li {
    list-style-type: none;
    cursor: pointer;
    position: relative;
    font-size: 14px;
}

.nav-list li:hover .nav-dropdown {
    display: flex;
    flex-direction: column;
    pointer-events: auto;
    visibility: visible;
    opacity: 1;
    background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0) 8.444%, rgba(7, 21, 52, 1) 8.444%, rgba(7, 21, 52, 1)) 100%;   
    font-size: 12px;
    min-height: 340px;
}

.nav-list li a {
    text-decoration: none;
    color: white;
    margin-bottom: 8px;
}

.nav-list li a {
    position: relative;
    text-transform: uppercase;
}

.nav-list li a:hover:before,
.nav-dropdown li a:hover:before,
.footer-menu-block li a:hover:before {
    height: 2px;
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 20px;
    background: linear-gradient(270deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 53.12%, rgba(255, 255, 255, 0) 100%);
}

.nav-dropdown {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    position: fixed;
    padding: 3em 1000em;
    margin: 0em -1000em;
    z-index: 101;
}

.nav-dropdown li {
    display: flex;
    padding: 0.5em 1000em;
    margin: 0em -1000em;
}

.nav-dropdown li:first-child {
    padding-top: 2.5em;
}

.nav-dropdown li:last-child {
    padding-bottom: 1.5em;
    overflow-y: hidden;
}

.nav-dropdown li a {
    color: white;
    text-decoration: none;
}

.nav-dropdown li a:hover {
    position: relative;
    color: #97CDFF;
}

.tools-container {
    display: flex;
    align-items: center;
    width: 10%;
    border-left: solid 1px rgba(255, 255, 255, .2);
    margin-left: 1.5%;
    padding-left: 1.5%;
}

.tool-lang,
.tool-lang a {
    width: 100%;
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
}

.tool-lang a {
    font-size: 16px;
}

.tool-lang img {
    margin-right: 6px;
    width: 25px;
    height: 25px;
    cursor: pointer;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    -moz-font-family: e-Ukraine-UltraLight;
    -o-font-family: e-Ukraine-UltraLight;
    -webkit-font-family: e-Ukraine-UltraLight;
    font-family: e-Ukraine-UltraLight;
}

.breadcrumbs-container {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    width: 100%;
    padding: 0;
    margin: 140px 0 0 0;
    padding: 16px 4%; 
    z-index: 10;
}

.breadcrumbs-container li {
    list-style-type: none;
}

.breadcrumbs-container li a {
    text-decoration: none;
    font-size: 16px;
    flex-wrap: wrap;
}

.crumb {
    color: rgba(255, 255, 255, .4);
}

.active-crumb {
    color: white;
}

.crumb span, .active-crumb span {
    margin: 0 11px 0 6px;
}

.main-content-container {
    margin: 30px 0;
}

.all-news-btn {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.all-news-btn img {
    padding-right: 10px;
}

.all-news-btn a {
    font-size: 16px;
    color: white;
    text-decoration: none;
}

.grid-container-first-row,
.grid-container-second-row {
    display: grid;
    grid-template-columns: auto auto auto auto;
    gap: 15px;
    height: 410px;
    width: 1418px;
    margin-bottom: 20px;
}

.item-first,
.item-second {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.grid-news-img {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.grid-news-img::before {
    content: "";
    display: block;
    padding-top: 100%; 
}

.grid-news-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    z-index: -1;
}


.item-first {
    grid-row-end: span 2;
    grid-column-end: span 2;
}
.item-second {
    grid-row-end: span 1;
    grid-column-end: span 1;
}
.item-second:nth-child(2) {
    grid-row-end: span 2;
    grid-column-end: span 2;
}

  .block-news-category p {
    text-transform: uppercase;
    color: white;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(153deg, rgba(34, 123, 173, 0.95) 0%, rgba(83, 73, 194, 0.95) 100%);
    padding: 4px 16px;
    margin: 0;
    font-size: 15px;
    z-index: 70;
}

.block-news-category p a {
    text-decoration: none;
    color: white;
} 

.title-block p {
    color: white;
    position: absolute;
    bottom: 0;
    left: 0;
    font-size: 16px;
    padding: 8px 5px 5px 5px;
    line-height: 1.3;
    margin: 0;
    background: linear-gradient(rgba(7, 21, 52, 0.5) 0%, rgba(7, 21, 52, 1) 100%);
    width: 100%;
}

.item-first a .title-block p,
.item-second:nth-child(2) a .title-block p {
    font-size: 19px;
}

.more-news-btn button {
    cursor: pointer;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.25) inset, 0px -6px 15px 0px rgba(140, 99, 207, 0.4) inset;
    margin: 20px 0 70px 0;
    height: 60px;
    color: white;
}

.more-news-btn button:hover {
    color: 0px -6px 15px 0px rgba(140, 99, 207, 0.4) inset;
}

footer {
    -moz-font-family: e-Ukraine-UltraLight;
    -o-font-family: e-Ukraine-UltraLight;
    -webkit-font-family: e-Ukraine-UltraLight;
    font-family: e-Ukraine-UltraLight;
}

.arrow-up {
    position: fixed;
    bottom: 25px;
    right: 1.5%;
    z-index: 130;
}

#footerAccordion {
    display: none;
}

.under-footer-blocks {
    position: relative;
    margin: 3% 4%;  
}

.block {
    position: absolute;
}

.block-one {
    width: 183px;
    height: 221px;
    background-color: rgba(204, 172, 255, .3);
    top: 0;
    left: 0;
}

.block-two {
    width: 170px;
    height: 153px;
    background-color: rgba(172, 215, 255, .3);
    top: 640px;
    left: 5%;
}

.block-three {
    width: 200px;
    height: 183px;
    background-color: rgba(204, 172, 255, .4);
    top: 570px;
    left: 55%;
}

.block-four {
    width: 104px;
    height: 153px;
    background-color: rgba(172, 215, 255, .35);
    top: 280px;
    left: 75%;
}

.inside-footer-container {
    display: flex;
    margin: 3% 4% 0 4%;
    background-color: rgba(255, 255, 255, 0.1);
    -moz-backdrop-filter: blur(110px);
    -o-backdrop-filter: blur(110px);
    -webkit-backdrop-filter: blur(110px);
    backdrop-filter: blur(110px);
    height: 869px;
    border-top: solid 1px rgba(255, 255, 255, .2);
    max-width: 100%;
}

.footer-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-right: solid 1px rgba(255, 255, 255, .2);
    width: 60%;
}

.footer-menu-first-row, .footer-menu-second-row {
    display: flex;
    justify-content: space-between;
    width: 90%;
    padding: 0 0 0 10%;
    color: white; 
}

.footer-menu-block {
    padding: 13% 7px 0 0;
    width: 33.3%;
}

.footer-menu-second-row .footer-menu-block {
    padding: 9% 7px 0 0;
}

.footer-menu-block h3 {
    font-size: 17px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-menu-block ul {
    list-style-type: none;
    padding: 0;
}

.footer-menu-block ul li {
    margin: 15px 0;
}

.footer-menu-block ul li a {
    color: white;
    text-decoration: none;
    font-size: 14px; 
    position: relative; 
}

.footer-menu-block ul li a:hover {
    color: #97CDFF; 
}

.footer-contacts-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 16% 0;
    border-bottom: solid 1px rgba(255, 255, 255, .2);
}

.footer-contacts-container-small {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-contacts-container-small div img {
    width: 402px;
}

.footer-menu-aside {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 40%;
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    align-items: start;
    width: 100%;
    color: white;
    margin-top: 15px;
}

.contacts {
    margin-top: 20px;
}

.contacts h4 {
    color: rgba(255, 255, 255, .4);
    margin-bottom: 12px;
    font-size: 17px;
}

.contacts a p {
    margin: 4px 0;
    font-size: 17px;
}

.contacts a {
    text-decoration: none;
    color: white;
}

.footer-socials {
   display: flex;
   justify-content: space-between;
   align-items: center;
   width: 402px;
   height: 100%;
}

.footer-rights {
    display: flex;
    justify-content: end;
    margin: 0 4%;  
}

.footer-rights p {
    color: rgba(255, 255, 255, .2);
    text-transform: uppercase;
    margin: 16px 0;
}

.burger-menu-btn {
    display: none;
}

.burger-menu-btn span {
    height: 3px;
    width: 3px;
    background-color: white;
    margin-bottom: 5px;
    transition: all 0.3s ease-in-out;
    border-radius: 50%;
}

.accordion {
    --bs-accordion-btn-focus-box-shadow: none;
    --bs-accordion-border-color: none;
    --bs-accordion-border-radius: none;
    --bs-accordion-inner-border-radius: none;
 }

.menu-accord-btn::after,
.menu-accord-btn:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.menu-contact-btn::after,
.menu-contact-btn:not(.collapsed)::after {
    background-image: none;
}

.menu-accord-btn {
    color: white;
    padding-left: 0;
    padding-right: 0;
}

.menu-accord-btn,
.menu-accord-item {
    color: white !important;
    text-transform: uppercase;
}

.menu-accord-header .menu-contact-link {
    text-decoration: none;
}

.menu-accord-item {
    padding: 0 4%;
    border: none;  
}

.menu-accord-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}



@media all and (min-width: 2850px) {
    .footer-menu-second-row .footer-menu-block {
        padding-top: 7%;
    } 

    .footer-menu-block {
        padding-top: 8%;
    }

    .footer-contacts-container {
        padding: 11% 0;
    } 
}

@media all and (min-width: 2250px) and (max-width: 2849px) {
    .footer-menu-second-row .footer-menu-block {
        padding-top: 6%;
    } 
 
    .footer-menu-block {
        padding-top: 10%;
    }

    .footer-contacts-container {
        padding: 13% 0;
    } 

    .inside-footer-container {
        height: 879px;
    }
}

@media all and (min-width: 1950px) {
    .tools-container {
        margin-left: 2.5%;
        padding-left: 2.5%;
    }

    .footer-menu-second-row .footer-menu-block {
        padding-top: 6%;
    }
}

@media all and (max-width: 1700px) {
    .tools-container {
        width: 13%;
        margin-left: 2.5%;
        padding-left: 2.5%;
    }

    .inside-footer-container {
        height: 849px;
    }
}

@media all and (max-width: 1540px) {
    .grid-container-first-row,
    .grid-container-second-row {
        height: 380px;
        width: 1306px;
    }

    .title-block p {
        font-size: 15px;
    }

    .item-first a .title-block p,
    .item-second:nth-child(2) a .title-block p {
        font-size: 19px;
    }

    .nav-list {
        padding-left: 10%;
    }
}

@media all and (max-width: 1440px) {
    .block-two {
        top: 540px;
    }
    
    .block-three {
        top: 520px;
    }

    .footer-menu-first-row,
    .footer-menu-second-row {
        width: 100%;
    }
}

@media all and (max-width: 1420px) {
    .grid-container-first-row,
    .grid-container-second-row {
        height: 347px;
        width: 1195px;
    }

    .title-block p {
        font-size: 14px;
    }

    .item-first a .title-block p,
    .item-second:nth-child(2) a .title-block p {
        font-size: 17.5px;
    }

    .nav-list {
        padding-left: 5%;
    }
}

@media all and (max-width: 1300px) {
    .logo-container {
        width: 35%;
    }

    .nav-list {
        padding-left: 0;
    }
    
    .footer-contacts-container-small div img,
    .footer-socials {
        width: 360px;
    }

    .footer-contacts-container {
        padding: 18% 0;
    }

    .grid-container-first-row,
    .grid-container-second-row {
        height: 320px;
        width: 1100px;
    }

    .title-block p {
        font-size: 12.5px;
    }

    .item-first a .title-block p,
    .item-second:nth-child(2) a .title-block p {
        font-size: 16.5px;
    }
}

@media all and (max-width: 1200px) {
    .nav-list li {
        font-size: 13px;
    }

    .tools-container {
        padding-left: 2%;
    }

    .arrow-up {
        right: 1.2%;
    }

    .inside-footer-container {
        height: 820px;
    }

    .block-two {
        top: 500px;
    }
    
    .block-three {
        top: 450px;
    }

    .footer-menu-first-row, .footer-menu-second-row {
        padding: 0 0 0 7%;
    }

    .footer-menu-block {
        padding-top: 9%;
    }

    .footer-contacts-container {
        padding: 13% 0;
    }

    .footer-socials div a img {
        width: 40px;
    }

    .grid-container-first-row {
        grid-template-columns: auto;
    }

    .grid-container-second-row {
        grid-template-columns: auto auto;
    }

    .item-second {
        grid-row-end: span 2;
        grid-column-end: span 1;
    }

    .item-second:nth-child(2) {
        grid-row-end: span 2;
        grid-column-end: span 1;
    }

    .item-first {
        grid-row-end: span 1;
        grid-column-end: span 1;
    }

    .item-second:first-child {
        grid-row-end: span 2;
        height: 465px;
        grid-column-end: span 2;
    }

    .grid-container-first-row,
    .grid-container-second-row {
        height: 940px;
        width: 800px;
    }

    .title-block p,
    .item-second:nth-child(2) a .title-block p {
        font-size: 15px;
    }

    .item-first a .title-block p,
    .item-second:first-child a .title-block p {
        font-size: 18.5px;
    }
}

@media all and (max-width: 1120px) {
    .pre-header {
        position: static;
    }
    
    .pre-header p {
        font-size: 13px;
    }

    header {
        position: static;
    }

    .breadcrumbs-container {
        margin: 10px 0 0 0;
    }
    
    .logo-container {
        width: 70%;
    }

    .block-two {
        top: 390px;
    }
    
    .block-three {
        top: 370px;
    } 

    .inside-footer-container {
        height: 590px;
    }

    nav {
        display: none;
    }

    .nav-list {
        display: flex;
        flex-direction: column;
        margin: 10px 0 15px 2%;
    }

    .nav-list li {
        margin: 5px 0;
    } 

    .nav-list li a:hover {
        color: #97CDFF;
    }

    #footerAccordion {
        display: block;
    }

    .burger-menu-btn {
        display: flex;
        flex-direction: column;
        background-color: transparent;
        border: none;
        padding-top: 4px;
    }

    .tools-container {
        display: flex;
        align-items: center;
        justify-content: space-evenly;
        width: 10%;
        border: none;
        margin: 0 4% 0 0;
        padding: 0;
    }

    .inside-footer-container {
        justify-content: center;
    }

    .footer-menu {
        display: none;
    }

    .footer-contacts {
        align-items: center;
    }

    .contacts {
        text-align: center;
    }

    .footer-rights {
        justify-content: center;
    }
}

@media all and (max-width: 1000px) {
    .tools-container {
        width: 12%;
    }
}

@media all and (max-width: 900px) {
    .pre-header {
        height: 65px;
    }

    .tools-container {
        width: 14%;
    }

    .footer-contacts-container {
        padding: 18% 0;
    }
}

@media all and (max-width: 870px) {
    .item-second:first-child {
        height: 375px;
    }

    .grid-container-first-row,
    .grid-container-second-row {
        height: 760px;
        width: 645px;
    }
}

@media all and (max-width: 800px) {
    .tools-container {
        width: 16%;
    }

    .arrow-up {
        right: 1%;
    }
}

@media all and (max-width: 700px) {
    .pre-header p {
        font-size: 12px;
    }

    .tools-container {
        width: 18%;
    }

    .breadcrumbs-container li a {
        font-size: 15px;
    }

    .grid-container-second-row {
        grid-template-columns: auto;
    }

    .item-second,
    .item-second:first-child,
    .item-second:nth-child(2) {
        grid-row-end: span 1;
        grid-column-end: span 1;
    }

    .item-second:first-child {
        height: 319px;
    }

    .grid-container-first-row {
        height: 655px;
        width: 550px;
    }
    .grid-container-second-row {
        height: 1655px;
        width: 550px;
    }

    .title-block p,
    .item-second:nth-child(2) a .title-block p,
    .item-first a .title-block p,
    .item-second:first-child a .title-block p {
        font-size: 16.5px;
    }
}

@media all and (max-width: 600px) {
    .pre-header p {
        font-size: 11px;
    }

    .tools-container {
        width: 22%;
    }

    .arrow-up {
        right: 0.7%;
    }

    .inside-footer-container {
        height: 560px;
    }

    .item-second:first-child {
        height: 268px;
    }

    .grid-container-first-row {
        height: 550px;
        width: 460px;
    }
    .grid-container-second-row {
        height: 1398px;
        width: 460px;
    }

    .block-news-category p {
        font-size: 14px;
    }

    .title-block p,
    .item-second:nth-child(2) a .title-block p,
    .item-first a .title-block p,
    .item-second:first-child a .title-block p {
        font-size: 15px;
    }
}

@media all and (max-width: 500px) {
    .tools-container {
        width: 25%;
    }

    .breadcrumbs-container li a {
        font-size: 14px;
    }

    .arrow-up {
        right: 0.5%;
    }

    .block-three {
        width: 150px;
        left: 45%;
    }
    
    .block-four {
        width: 74px;
        left: 60%;
    }

    .footer-contacts-container {
        padding: 24% 0;
    }

    .item-second:first-child {
        height: 241px;
    }

    .grid-container-first-row {
        height: 497px;
        width: 414px;
    }
    .grid-container-second-row {
        height: 1265px;
        width: 414px;
    }
}

@media all and (max-width: 450px) {
    .pre-header {
        height: 55px;
    }

    .pre-header p {
        font-size: 10px;
    }

    .footer-contacts-container-small div img,
    .footer-socials {
        width: 320px;
    }

    .footer-contacts-container {
        padding: 26% 0;
    }

    .footer-rights p {
        font-size: 14px;
    }

    .block-news-category p {
        font-size: 15px;
    }

    .item-second:first-child {
        height: 213px;
    }

    .grid-container-first-row {
        height: 442px;
        width: 367px;
    }
    .grid-container-second-row {
        height: 1130px;
        width: 367px;
    }
}

@media all and (max-width: 400px) {
    .tools-container {
        width: 28%;
    }

    .desktop-logo {
        display: none;
    }

    .mobile-logo {
        display: flex;
    }

    .footer-contacts-container-small div img,
    .footer-socials {
        width: 280px;
    }

    .footer-contacts-container {
        padding: 30% 0;
    }

    .footer-socials div a img {
        width: 35px;
    }

    .item-second:first-child {
        height: 193px;
    }

    .grid-container-first-row {
        height: 386px;
        width: 331px;
    }
    .grid-container-second-row {
        height: 1025px;
        width: 331px;
    }

    .title-block p,
    .item-second:nth-child(2) a .title-block p,
    .item-first a .title-block p,
    .item-second:first-child a .title-block p {
        font-size: 14px;
    }

    .active-crumb {
        display: none;
    }
}

@media all and (max-width: 360px) {
    .pre-header {
        height: 65px;
    }

    .footer-contacts-container-small div img,
    .footer-socials {
        width: 260px;
    }

    .footer-socials div a img {
        width: 32px;
    }

    .item-second:first-child {
        height: 171px;
    }

    .grid-container-first-row {
        height: 357px;
        width: 294px;
    }
    .grid-container-second-row {
        height: 915px;
        width: 294px;
    }
}
