@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-Bold.woff2') format('woff2'),
        url('fonts/Montserrat-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-Black.woff2') format('woff2'),
        url('fonts/Montserrat-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-ExtraBold.woff2') format('woff2'),
        url('fonts/Montserrat-ExtraBold.woff') format('woff');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-Light.woff2') format('woff2'),
        url('fonts/Montserrat-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-Medium.woff2') format('woff2'),
        url('fonts/Montserrat-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-SemiBold.woff2') format('woff2'),
        url('fonts/Montserrat-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-Regular.woff2') format('woff2'),
        url('fonts/Montserrat-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    box-sizing: border-box;
    font-family: 'Montserrat';
    font-weight: 600;
}

html,
body {
    margin: 0;
    padding: 0;
    background: #fff;
}

body {
    position: relative;
}

.container {
    max-width: 100%;
    padding: 0 5px;
    margin: 0 auto;
    position: relative;
}

ul,
ol {
    display: flex;
    padding: 0;
    margin: 0;
}

li {
    display: flex;
    margin: 0;
    padding: 0;
}

img {
    display: block;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

a {
    text-decoration: none;

}

input {
    margin: 0;
    padding: 0;
}

section {
    position: relative;
    overflow: hidden;
}

/* хром, сафари */
body::-webkit-scrollbar {
    width: 0;
}

/* ie 10+ */
body {
    -ms-overflow-style: none;
    overflow: -moz-scrollbars-none;
}

.white {
    color: #fff;
}

.black {
    color: #000;
}

h1,
h2,
h3,
h4,
h5,
h6,
input {
    display: block;
    padding: 0;
    margin: 0;
    font-family: 'Montserrat';
}

input {
    cursor: pointer;
}

h1 {
    font-weight: 800;
    text-transform: uppercase;
}


header {
    padding: 5px 25px;
    z-index: 5;
    position: sticky;
    top: 0;
    background: #fff;
}

.menu-header-container,
.menu,
.lang,
.burger,
footer {
    display: none;
}

.custom-logo-link {
    height: 52px;
    width: fit-content;
    display: block;
    margin: 0 auto;

}
.custom-logo-link  img{
    object-fit: contain;
}
main .items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    grid-column-gap: 10px;
    grid-row-gap: 10px;
}

main .item {
    height: 100%;
    border-radius: 5px;
    max-height: 1019px;
    display: flex;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
}

main .title {
    font-size: 2.5rem;
    font-family: 'Montserrat';
    font-weight: 800;
    color: #fff;
    display: block;
    width: 100%;
    Line-height: 54.86px;
    text-transform: uppercase;
}

.item_box {
    box-sizing: border-box;
    width: 100%;
    height: fit-content;
    margin: auto;
    padding: 57% 10%;
}

main .subtitle {
    font-size: 1.5rem;
    font-family: 'Montserrat';
    font-weight: 400;
    color: #fff;
    display: block;
    width: 100%;
    margin: 10px 0;
    text-transform: uppercase;
}

main .item_link_box {
    position: relative;
    width: fit-content;
    box-sizing: border-box;
    display: flex;
    margin-left: 16px;
    opacity: 0;
    transition: opacity .5s ease;
      -webkit-tap-highlight-color: transparent;
}

 .item:hover .item_link_box,  .item:active .item_link_box,   .item:focus .item_link_box{
    opacity: 1;
}


.item_link_box::before {
    content: '';
    position: absolute;
    left: -16px;
    top: 0;
    right: -16px;
    width: calc(100% + 32px);
    height: 100%;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.25);
    z-index: 1;
}

.item_link_box::after {
    content: '';
    position: absolute;
    left: -8px;
    top: 0;
    right: -8px;
    width: calc(100% + 16px);
    height: 100%;
    border-radius: 4px;
    z-index: 1;
    background: rgba(255, 255, 255, 0.25);
}

main .item_link {
    color: #000;
    font-size: 14px;
    font-weight: 600;
    padding: 5px 16px;
    background: #fff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 168px;
    justify-content: space-between;
    position: relative;
    z-index: 3;
    opacity: 1;
    transition: opacity .5s ease;

}

main .item_link:hover {
    opacity: 0.5;
}

main .item_link svg {
    margin-left: 10px;
    display: block;
}


@media screen and (max-width: 1400px) {
    .item_box{
            padding: 65% 10%;
    }
    main .title {
        font-size: 2rem;
        Line-height: 42.86px;
    }

    main .subtitle {
        font-size: 1rem;
    }
}

@media screen and (max-width: 1150px) {
    main .title {
        font-size: 1.5rem;
        Line-height: 28.86px;
    }
}

@media screen and (max-width: 850px) {
    main .title {
        font-size: 1rem;
        Line-height: 17.86px;
    }

    main .subtitle {
        font-size: 0.7rem;
        margin: 4px 0;
    }

    main .item_link {
        padding: 2px 10px;
        font-size: 10px;
    }
        .item_box {
        padding: 80% 10%;
    }
}

@media screen and (max-width: 600px) {
    .custom-logo-link{
        height: 30px;
    }
        .item_box {
        padding: 100% 10%;
    }
    main .items{
        grid-column-gap: 5px;
    grid-row-gap: 5px;
    }
      main .item{
          height:calc(100vh - 40px);
      }
    main .item_link_box{
        margin-left: 10px;
    }
    main .title {
        font-size: .7rem;
        Line-height: normal;
    }

    main .subtitle {
        font-size: 0.5rem;
        margin: 4px 0;
    }

    .item_link_box::before {
        width: calc(100% + 20px);
        left: -10px;
        right: -10px;
    }

    .item_link_box::after {
        left: -5px;
        right: -5px;
        width: calc(100% + 10px);
    }

    main .item_link {
        padding: 2px 5px;
        font-size: 6px;
    }

    main .item_link svg {
        width: 12px;
        height: 12px;
        margin-left: 5px;
    }
    main .item_link_box{
        opacity: 1;
    }
}

@media screen and (max-width: 400px){
        main .title {
        font-size: .5rem;
     
    }
        main .subtitle {
        font-size: 0.3rem;
     
    }
}