@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

@font-face {
    font-family: DrukWideCyr;
    src: url(/fonts/DrukWideCyr/DrukWideMediumDesktop.otf) format("opentype");
    font-weight: 400;
    font-style: normal;
}

body{
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #00232e;
    background-attachment: fixed;
    font-family: DrukWideCyr;
}

::selection {
    background-color: rgba(19, 189, 142, 0.7);
    color: white;
}

*::-webkit-scrollbar {
    width: 10px;
}
  
*::-webkit-scrollbar-track {
    -webkit-box-shadow: 5px 5px 5px -5px rgba(34, 60, 80, 0.2) inset;
    background-color: rgba(255,255,255,0.15);
    border-radius: 10px;
}

*::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(42,211,170,1), rgba(0, 206, 255, 1));
}

div {
    position: relative;
    display: flex;
}

a {
    font-size: 18px;
    color: white;
    text-align: center;
    margin: 0px 0px 10px 0px;
}

h2 {
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 600;
    display: flex;
}

p {
    font-size: 18px;
    color: white;
    text-align: center;
    margin: 0;
}

img {
    object-fit: contain;
    width: 100%;
    height: 100%;
    border: none;
}

div img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}










/* VIDEOBLOCK */

.screen, .videoBlock {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.videoBlock video {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.videoBlock video::-webkit-media-controls {
    display: none;
  }
.videoBlock video::-webkit-media-controls-play-button {
    display: none;
}
.videoBlock video::-webkit-media-controls-start-playback-button {
    display: none;
}

.textBlock {
    flex-direction: column;
    align-items: center;
    position: absolute;
    width: 100%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, calc(-50% + 7vh));
}