*,*::after,*::before{
   margin: 0;
   padding: 0;
   box-sizing: border-box; 
}
@font-face {
    font-family: 'Sego UI Bold';
    src: url('./assets/fonts/segoeuithibd.ttf');
}
@font-face {
    font-family:'Sego Ui' ;
    src: url('./assets/fonts/segoeuithis.ttf');
}
@font-face {
    font-family: 'Satoshi';
    src: url('./assets/fonts/Satoshi-Regular.otf');
}
html{
    overflow: hidden;
}
body{
    overflow: hidden;
    width: 100%;
    height: 100vh;
   position: relative;

}
.overlay{
    position: absolute;
    top: 0;
    width: 100%;
    height: 98%;
    background: linear-gradient(358.22deg, #2AD27E -54.44%, #29C798 5.08%, #28ABE7 82.05%, #294CFF 159.02%);
    border-bottom-left-radius: 8vw;
    border-bottom-right-radius: 8vw;
    z-index: 0;
    display: flex;
    flex-direction: column;
    justify-content: end;
    overflow: hidden;
    pointer-events: none;
    h1{
        font-family: 'Sego UI Bold';
        color: white;
        font-size: 17vw;
        margin-bottom: -8vw;
        text-align: center;
    }
    .stroke {
        font-family: 'Segoe UI', sans-serif;
        font-weight: bold;
        color: transparent;
        font-size: 17vw;
        -webkit-text-stroke: .3vw rgba(255, 255, 255, 0.214);
        text-stroke: .3vw rgba(255, 255, 255, 0.215);
        margin-top: 3vw;
    }
    .stroke:first-child{
        -webkit-text-stroke: .3vw rgba(255, 255, 255, 0.088);
        text-stroke: .3vw rgba(255, 255, 255, 0.088);
    }
}
.main-content{
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 2;
    padding: 2vw 10vw;
    h2{
        font-family: 'Sego UI Bold';
        font-size:3vh;
        margin-bottom: 1vh;
        padding-left: 3vw;
    }
    h3{
        font-family: 'Satoshi';
        font-size: 2vh;
        padding-left: 3vw;

    }
}
.logo{
    width: 30vh;
    margin-bottom: 2vh;
    img{
        width: 100%;
    }
}
video{
    width: 100%;
    height: 55vh;
    display: block;
    margin: 0 auto 25px;
}
button {
    display: block;
    margin: 0 auto;
    font-family: 'Satoshi';
    font-size:2.5vh;
    background-color: #111827;
    color: white;
    border: none;
    border-radius: 3vh;
    outline: none;
    padding: 1vh 2vh;
    cursor: pointer;
    transition: all 0.3s ease; /* Плавный переход */
}

button:hover {
    background-color: white;
    color: #111827;
}
.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}
.container-video {
    margin: 0 auto;
    position: relative;
    width: max-content;
    height: max-content;
}

.play-button {
    width: 10vh;
    transition: all 0.3s ease;
    cursor: pointer;
    img{
        width: 100%;
    }

}



.container-video:hover .play-overlay {
    background: rgba(0,0,0,0.5);
    cursor: pointer;
}

.container-video:hover .play-button {
    transform: scale(1.1);
}

.container-video.playing .play-overlay {
    opacity: 0;
    pointer-events: none;
}
    
.mute-btn {
    position: absolute;
    bottom: 2%;
    left: 2%;
    background: rgba(0,0,0,0.7);
    border: none;
    border-radius: 50%;
    width: 4vh;
    height: 4vh;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 2vh;
    color: white;
    opacity: 0;
    pointer-events: none;
}

.container-video:hover .mute-btn,
.container-video.playing .mute-btn {
    opacity: 1;
    pointer-events: all;
}

.mute-btn:hover {
    background: rgba(0,0,0,0.9);
    transform: scale(1.1);
}
@media (max-aspect-ratio:1025/832) {
    video{
        width: 80vw;
        height: auto;
        display: block;
        margin: 0 auto 25px;
    }
}
@media (max-aspect-ratio:850/832) {
    .main-content{
        height: 100%;
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: start;
        gap:10vw
    }
    .play-button {
        width: 10vw;
    }

    .mute-btn {
        position: absolute;
        bottom: 2%;
        left: 2%;
        background: rgba(0,0,0,0.7);
        border: none;
        border-radius: 50%;
        width: 7vw;
        height: 7vw;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        font-size: 2.5vw;
        color: white;
        opacity: 0;
        pointer-events: none;
    }
}
@media (max-width:600px) {

    button {
        display: block;
        margin: 0 auto;
        font-family: 'Satoshi';
        font-size:3.8vw;
        background-color: #111827;
        color: white;
        border: none;
        border-radius: 3vh;
        outline: none;
        padding: 1vh 2vh;
        cursor: pointer;
        transition: all 0.3s ease; /* Плавный переход */
    }
}
