/* зареждам шрифтовете */
@font-face {
    font-family: 'Gilroy';
    src: url('/fonts/Gilroy-Regular.woff2') format('woff2'), url('/fonts/Gilroy-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: fallback;
}

@font-face {
    font-family: 'Gilroy-light';
    src: url('/fonts/Gilroy-Light.woff2') format('woff2'), url('/fonts/Gilroy-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: fallback;
}

@font-face {
    font-family: 'Gilroy-UltraLight';
    src: url('/fonts/Gilroy-UltraLight.woff2') format('woff2'), url('/fonts/Gilroy-UltraLight.woff') format('woff');
    font-weight: 200;
    font-style: normal;
    font-display: fallback;
}

@font-face {
    font-family: 'Gilroy-Bold';
    src: url('/fonts/Gilroy-Bold.woff2') format('woff2'), url('/fonts/Gilroy-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: fallback;
}

@font-face {
    font-family: 'Gilroy-Heavy';
    src: url('/fonts/Gilroy-Heavy.woff2') format('woff2'), url('/fonts/Gilroy-Heavy.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: fallback;
}


/**
 * ----------------------------------------
 * animation fade-in-bck
 * ----------------------------------------
 */
@-webkit-keyframes fade-in-bck {
    0% {
        -webkit-transform: scale(0.5);
        transform: scale(0.5);
        opacity: 0;
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fade-in-bck {
    0% {
        -webkit-transform: scale(0.5);
        transform: scale(0.5);
        opacity: 0;
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 1;
    }
}

/**
 * ----------------------------------------
 * animation fade-in-bottom
 * ----------------------------------------
 */
@-webkit-keyframes fade-in-bottom {
    0% {
        -webkit-transform: translateY(50px);
        transform: translateY(50px);
        opacity: 0;
    }

    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fade-in-bottom {
    0% {
        -webkit-transform: translateY(50px);
        transform: translateY(50px);
        opacity: 0;
    }

    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        opacity: 1;
    }
}

/**
 * ----------------------------------------
 * animation fade-in-top
 * ----------------------------------------
 */
@-webkit-keyframes fade-in-top {
  0% {
    -webkit-transform: translateY(-50px);
            transform: translateY(-50px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
  }
}
@keyframes fade-in-top {
  0% {
    -webkit-transform: translateY(-50px);
            transform: translateY(-50px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
  }
}

/* PC - style */
@media screen and (min-width:992px) {

    body {
        font-family: Arial, sans-serif;
        padding: 0;
        margin: 0;
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        overflow: hidden;
    }
	
	body.hub-background {
		background: url('img/hub_background.jpg');
		background-repeat: no-repeat;
        background-size: cover;
        background-attachment: fixed;
		background-color: #000;
	}

    .no-background {
        background: none !important;
    }

    .text-container {
                display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-bottom: 5%;
    -webkit-animation: fade-in-top 0.3s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
	        animation: fade-in-top 0.3s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
    }

    .welcome-text {
                       color: #fff;
    font-size: 1.8rem;
    line-height: 2rem;
    margin-bottom: 30px;
    text-shadow: 0 0 6px #00000042, 0 0 6px #00000042, 0 0 6px #00000042;
    font-weight: bold;
    max-width: 32%;
    text-align: center;
    font-family: 'Gilroy-Heavy';
    }

    .choose-location {
               color: #fff;
    font-size: 1.5rem;
    line-height: 1.5rem;
    margin-bottom: 20px;
    text-shadow: 0 0 6px #00000042, 0 0 6px #00000042, 0 0 6px #00000042;
    font-family: 'Gilroy-bold';
    text-align: center;
    }

    .text2 {
               color: #fff;
    font-size: 1.2rem;
    line-height: 1.25rem;
    margin-bottom: 10px;
    text-shadow: 0 0 6px #00000042, 0 0 6px #00000042, 0 0 6px #00000042;
    font-family: 'Gilroy';
    text-align: center;
        max-width: 40%;
    }

    .text3 {
                   color: #fff;
    font-size: 1.2rem;
    line-height: 1.35rem;
    margin-bottom: 20px;
    text-shadow: 0 0 6px #00000042, 0 0 6px #00000042, 0 0 6px #00000042;
    font-family: 'Gilroy';
    text-align: center;
    }

    .working-hours {
            font-family: gilroy-bold;
    text-shadow: 0 0 6px #00000042, 0 0 6px #00000042, 0 0 6px #00000042;
    }

.logos {
        width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: center;
    column-gap: calc(100% - 68%);
        row-gap: calc(100vh - 80vh);
        padding-left: 20%;
        padding-right: 20%;
}

    button {
        padding: 15px 20px;
        margin-right: 10px;
        cursor: pointer;
        border: none;
        border-radius: 10px;
        width: 10%;
        height: 10%;
        font-size: 1.3rem;
        background: url(img/hub_background.jpg);
        background-repeat: no-repeat;
        background-size: cover;
        overflow: hidden;
        color: #fff;
    }

    button:active {
        transform: scale(0.98);
    }

    iframe {
        width: 100%;
        height: calc(100% - 60px);
        border: none;
    }

    #close-hub {
        width: 40px;
        height: 40px;
        fill: #fff;
        position: absolute;
        z-index: 1111;
        bottom: 20px;
        -webkit-animation: fade-in-bottom 0.6s cubic-bezier(0.390, 0.575, 0.565, 1.000) .6s both;
        animation: fade-in-bottom 0.6s cubic-bezier(0.390, 0.575, 0.565, 1.000) .6s both;
    }

    #close-hub:active {
        transform: scale(0.9) !important;
    }

    #close-hub {
        transition: transform 0.3s ease;
    }

    #close-hub.rotated {
        transform: rotate(180deg) !important;
        bottom: 20% !important;
    }

    .hub-minimized {
        column-gap: 120px !important;
        row-gap: 0 !important;
        align-items: center;
        justify-content: center;
        padding: 10px;
        position: relative;
        top: 0;
        background: #000;
        overflow: hidden;
        height: 40px !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        transition: all .3s ease;
        -webkit-transition: all .3s ease;
    }

    /*.hub-maximized {
                    display: grid;
                grid-auto-flow: column;
                column-gap: 15%;
                row-gap: 15%;
                height: 100%;
                backdrop-filter: blur(10px);
                -webkit-backdrop-filter: blur(10px);
                justify-content: center;
                align-items: center;
                align-content: center;
            }*/

    .hub-maximized {
        height: 100%;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        justify-content: center;
        align-items: center;
        align-content: center;
        display: flex;
        flex-wrap: wrap;
        gap: 15%;
        justify-content: center;
        align-items: center;
        padding-left: 10%;
        padding-right: 10%;
        transition: all .3s ease;
        -webkit-transition: all .3s ease;
    }

    .logos-container {
                   position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    flex-wrap: wrap;
   
    align-content: flex-start;
    padding-top: 6%;
    padding-bottom: 200px;
    scrollbar-width: none !important;
    }

    .logo-container {
        position: relative;
        max-height: 120px !important;
        height: 60px !important;
        z-index: 999 !important;
        border-radius: 10px 10px 10px 10px !important;
        width: auto !important;
        max-width: 10vw !important;
        display: flex;
        justify-content: center;
        align-items: center;

    }

    .logo {
        height: auto;
        width: 170px;
        position: absolute;
        z-index: 999;
        border-radius: 20px 20px 20px 20px !important;
        -webkit-animation: fade-in-bck 0.3s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
        animation: fade-in-bck 0.3s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
    }

    .logo:active {
        transform: scale(0.95) !important;
    }

    .logo:hover {
        transform: scale(1.05) !important;
    }

    .logo-shadow {
        filter: brightness(0) blur(10px);
        -webkit-filter: brightness(0) blur(10px);
        height: auto;
        width: 170px;
        position: absolute;
        z-index: 88;
        border-radius: 10px 10px 10px 10px !important;
        -webkit-animation: fade-in-bck 0.3s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
        animation: fade-in-bck 0.3s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
    }

    .logo-small {
        /*width: 60px !important;*/
        display: none !important;
    }

    .logo-small:hover {
        transform: scale(1) !important;
    }

    .logo-shadow-small {
        /*width: 60px !important;*/
        display: none !important;
    }

}

/* mobile - style */
@media screen and (max-width:992px) {

    body {
        font-family: Arial, sans-serif;
        padding: 0;
        margin: 0;
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        overflow: hidden;


    }
	
	body.hub-background {
		background: url('img/hub_background.jpg');
		background-repeat: no-repeat;
        background-size: cover;
        background-attachment: fixed;
		background-color: #000;
	}

    .no-background {
        background: none !important;
    }

    .text-container {
                display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-bottom: 50px;
    -webkit-animation: fade-in-top 0.3s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
	        animation: fade-in-top 0.3s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
    }

    .welcome-text {
                           color: #fff;
    font-size: 1.8rem;
    line-height: 2rem;
    margin-bottom: 30px;
    text-shadow: 0 0 6px #00000042, 0 0 6px #00000042, 0 0 6px #00000042;
    font-weight: bold;
    max-width: 80%;
    text-align: center;
    font-family: 'Gilroy-Heavy';
    }

    .choose-location {
               color: #fff;
    font-size: 1.5rem;
    line-height: 1.5rem;
    margin-bottom: 20px;
    text-shadow: 0 0 6px #00000042, 0 0 6px #00000042, 0 0 6px #00000042;
    font-family: 'Gilroy-bold';
    text-align: center;
    }

    .text2 {
                   color: #fff;
    font-size: 1.1rem;
    line-height: 1.15rem;
    margin-bottom: 10px;
    text-shadow: 0 0 6px #00000042, 0 0 6px #00000042, 0 0 6px #00000042;
    font-family: 'Gilroy';
    max-width: 90%;
    text-align: center;
    }

    .text3 {
                   color: #fff;
    font-size: 1.2rem;
    line-height: 1.35rem;
    margin-bottom: 20px;
    text-shadow: 0 0 6px #00000042, 0 0 6px #00000042, 0 0 6px #00000042;
    font-family: 'Gilroy';
    text-align: center;
    }

    .working-hours {
            font-family: gilroy-bold;
    text-shadow: 0 0 6px #00000042, 0 0 6px #00000042, 0 0 6px #00000042;
    }

.logos {
            width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: center;
    column-gap: calc(100% - 45%);
        row-gap: calc(100vh - 88vh);
    padding-left: 10%;
    padding-right: 10%;
}

    button {
        padding: 15px 20px;
        margin-right: 10px;
        cursor: pointer;
        border: none;
        border-radius: 10px;
        width: 10%;
        height: 10%;
        font-size: 1.3rem;
        background: url(img/hub_background.jpg);
        background-repeat: no-repeat;
        background-size: cover;
        overflow: hidden;
        color: #fff;
    }

    button:active {
        transform: scale(0.98);
    }

    iframe {
        width: 100%;
        height: calc(100% - 20px);
        border: none;
    }

    #close-hub {
        width: 40px;
        height: 40px;
        fill: #fff;
        position: absolute;
        z-index: 1111;
        left: 50%;
        transform: translateX(-50%) !important;
        bottom: 20px;
        -webkit-animation: fade-in-bottom 0.6s cubic-bezier(0.390, 0.575, 0.565, 1.000) .6s both;
        animation: fade-in-bottom 0.6s cubic-bezier(0.390, 0.575, 0.565, 1.000) .6s both;
    }

    #close-hub:active {
        transform: scale(0.9) !important;
        left: 50%;
        transform: translateX(-50%) !important;
    }

    #close-hub {
        transition: transform 0.3s ease;
    }

    #close-hub.rotated {
        transform: translateX(-50%) rotate(180deg) !important;
        bottom: 10% !important;
        width: 40px;
        height: 40px;
    }

    .hub-minimized {
        column-gap: 120px !important;
        row-gap: 0 !important;
        align-items: center;
        justify-content: center;
        padding: 10px;
        position: relative;
        top: 0;
        background: #000;
        overflow: hidden;
        height: 3% !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        transition: all .3s ease;
        -webkit-transition: all .3s ease;
    }

    /*.hub-maximized {
                    display: grid;
                grid-auto-flow: column;
                column-gap: 40%;
                row-gap: 40%;
                height: 100%;
                backdrop-filter: blur(10px);
                -webkit-backdrop-filter: blur(10px);
                justify-content: center;
                align-items: center;
                align-content: center;
            }*/

    .hub-maximized {
        height: 100%;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        align-content: center;
        transition: all .3s ease;
        -webkit-transition: all .3s ease;
    }

    .logos-container {
        position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    flex-wrap: wrap;
   
    align-content: flex-start;
    padding-top: 20%;
    padding-bottom: 200px;
    scrollbar-width: none !important;
    }

    .logo-container {
        position: relative;
        max-height: 120px !important;
        height: 60px !important;
        z-index: 999 !important;
        border-radius: 10px 10px 10px 10px !important;
        width: auto !important;
        max-width: 10vw !important;
        display: flex;
        justify-content: center;
        align-items: center;

    }

    .logo {
        height: auto;
        width: 130px;
        position: absolute;
        z-index: 999;
        border-radius: 20px 20px 20px 20px !important;
        -webkit-animation: fade-in-bck 0.3s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
        animation: fade-in-bck 0.3s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
    }

    .logo:active {
        transform: scale(0.95) !important;
    }


    .logo-shadow {
        filter: brightness(0) blur(10px);
        -webkit-filter: brightness(0) blur(10px);
        height: auto;
        width: 130px;
        position: absolute;
        z-index: 88;
        border-radius: 10px 10px 10px 10px !important;
        -webkit-animation: fade-in-bck 0.3s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
        animation: fade-in-bck 0.3s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
    }

    .logo-small {
        /*width: 60px !important;*/
        display: none !important;
    }

    .logo-shadow-small {
        /*width: 60px !important;*/
        display: none !important;
    }

}