* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

@font-face {
    font-family: 'RoadUABlack';
    src: url('../fonts/RoadUA-Black.otf') format('opentype');
}
@font-face {
    font-family: 'RoadUABlackRegular';
    src: url('../fonts/RoadUA-Regular.otf') format('opentype');
}
@font-face {
    font-family: 'RoadUABlackRegular';
    src: url('../fonts/RoadUA-Regular.otf') format('opentype');
}

body {
    background-image: url(../images/bg.svg);
    background-size:100% 100%;
    -o-background-size: 100% 100%;
    -webkit-background-size: 100% 100%;
    background-size:cover;
}

html, body { height: 100%; }

.main {
    display: flex;
    align-content: center;
    flex-direction: column;
    min-height: 100vh;
    justify-content: space-between;
}

.logo {
   margin: 100px auto 0;
   width: 100%; 
   padding:0;
   text-align: center;
}

.running_line {
    margin: 10px auto 0;
    width: 100%;
    padding: 0;
    white-space: nowrap;
    overflow: hidden;
}

.running_line > div {
    display: inline-block;
    white-space: nowrap;
}

.running_line1 {
    animation: marquee1 30s infinite linear;
    animation-delay: -30s;
}

.running_line2 {
    animation: marquee2 30s infinite linear;
    animation-delay: -15s;
}

@keyframes marquee1 {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

@keyframes marquee2 {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-200%);
    }
}

.running_line div span {
    font-family: 'RoadUABlack';
    font-weight: 900;
    font-size: 320px;
    line-height: 120%;
    letter-spacing: 0%;
    text-transform: uppercase;
    color: white;
    display: inline-block;
    margin: 0 100px;
}

.telegram {
    margin: -40px auto 0;
    width: 100%;
    padding: 0;
    text-align: center;
    font-family: 'RoadUABlackRegular';
    font-weight: 400;
    font-size: 48px;
    line-height: 120%;
    letter-spacing: 0%;
    text-align: center;
    color: white;
}

.telegram a {
    color: white;
    text-decoration: underline;
}

.soon {
    margin: 80px auto 0;
    width: 100%;
    padding: 0;
    font-family: 'RoadUABlackRegular';
    font-weight: 400;
    font-size: 36px;
    line-height: 120%;
    letter-spacing: 0%;
    text-align: center;
    color: white;
}

.copywrite {
    margin: 80px auto 40px;
    width: 100%;
    padding: 0;
    font-family: Road UA;
    font-weight: 400;
    font-family: 'RoadUABlackRegular';
    font-size: 24px;
    line-height: 120%;
    letter-spacing: 0%;
    text-align: center;
    opacity: 0.5;
    color: white;
}

.cookie-consent {
    position: fixed;
    z-index: 1000;
    display: flex;
    align-content: center;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 230px;
    border-radius: 20px;
    padding: 40px;
    gap: 20px;
    background: white;
    box-shadow: 0 0 10px rgba(150,150,150,0.85);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0s linear 0.5s; 
}

.cookie-consent.visible {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease, visibility 0s linear 0s;
}

.cookie-consent__title {
    text-align: center;
    font-family: 'RoadUABlackRegular';
    font-weight: 400;
    font-size: 24px;
    line-height: 120%;   
}

.cookie-consent__text {
    font-family: 'RoadUABlackRegular';
    font-weight: 400;
    font-size: 18px;
    line-height: 120%;
    text-align: center;
}

.cookie-consent__apply {
    width: 177px;
    height: 50px;
    border-radius: 40px;
    cursor: pointer;
    background: #020B22;
    font-family: 'RoadUABlackRegular';
    font-weight: 400;
    font-size: 24px;
    line-height: 120%;
    text-align: center;
    padding: 10px;
    color: white;   
}

.cookie-consent__apply:hover {
    box-shadow: 0 0 10px rgba(150,150,150,0.85);
}


@media (max-width: 820px) {
    .cookie-consent {
        width: 90%;
    }
}


@media (max-width: 540px) {
    body {
        background-image: url(../images/bg_mob.svg);
        background-size:100% 100%;
        -o-background-size: 100% 100%;
        -webkit-background-size: 100% 100%;
        background-size:cover;
    }
    .logo {
        margin-top: 150px;
        
    }
    .logo img {
        width: 80px;
        height: 80px;
    }
    .running_line  {
        margin-top: 50px;
    }
    .running_line div span {
        font-size: 80px;
        margin: 0 20px;
    }
    
    .telegram {
        margin-top: -10px;
        font-size: 32px;
    }
    
    .soon {
        margin-top: 150px;
        font-size: 24px;
    }
    
    .copywrite {
        margin-top: 150px;
        font-size: 16px;
    }
    
    .cookie-consent {
        height: 264px;
        width: 90%;
        padding: 40px 30px;
    }
    
    .cookie-consent__title {
        font-size: 18px;
    }
    
    .cookie-consent__text {
        font-size: 14px;
    }
    
    .cookie-consent__apply {
        width: 100%;
    }
}

@media (max-height: 800px) {
    .soon {
        margin-top: 70px;
        font-size: 24px;
    }
    
    .copywrite {
        margin-top: 70px;
        font-size: 16px;
    }
}