@font-face {
    font-family: "Montserrat-Bold";
    src: url(fonts/Montserrat-Bold.ttf);
}


:root{
    --main-red-color: #CF4520;
    --main-blue-color: #69B3E7;
    --main-dark-blue-color: #0033A0;
    --width-for-button: 250px;
    --padding-for-button: 20px;
    --border-radius-button: 20px;
    --border-button: 0px;
    --margin-top-button: 10px;
    --margin-bottom-button: 10px;
    --font-size-button: 16px;
    --margin-left-button: 15px;
    --margin-right-button: 15px;
}



*{
    font-family: "Montserrat-Bold";
}

body{
    padding: 0;
    margin: 0;
    /* background-image: url("materials/mainImageVarinat2.png"); */
    background-color: white;
    background-size: cover;
    background-repeat: none;
    background-attachment: fixed;
    background-position: center;
}


/* Натсройик для header */
header{
    display: flex;
    align-items: center;
    margin-left: 20vh;
    margin-right: 20vh;
    margin-top: 25px;
    justify-content: space-between;
    height: 10vh;
}


#logo{
    font-size: 30px;
    color: var(--main-dark-blue-color);
}


/* Настройки для main */

main{
    margin-left: 20vh;
    margin-right: 20vh;
}

#info-block{
    display: flex;
}

#description{
    width: 60%;
    line-height: 1.5;
}

#description h1{
    font-size: 3.0rem;
}

#img-fragment img{
    width: 500px;
    height: 500px;
}

#buttons-block{
    margin-top: 50px;
}


.button-style{
    padding: var(--padding-for-button);
    border-radius: var(--border-radius-button);
    border: var(--border-button);
    width: var(--width-for-button);
    color: white;
    margin-top: var(--margin-top-button);
    margin-bottom: var(--margin-bottom-button);
    transition: all 0.4s;
    font-size: var(--font-size-button);
    margin-left: var(--margin-left-button);
    margin-right: var(--margin-right-button);
}


.button-style:hover{
    cursor: pointer;
    transform: scale(0.95);
}


#play{
    background: var(--main-red-color);
    box-shadow: 0px 10px 30px var(--main-red-color);
    margin-left: 0px;
}

#play:hover{
    background: var(--main-blue-color); 
    box-shadow: 0px 10px 30px var(--main-blue-color);
}

#android{
    background: var(--main-dark-blue-color);
    box-shadow: 0px 10px 30px var(--main-dark-blue-color);
}

#android:hover{
    background: var(--main-blue-color); 
    box-shadow: 0px 10px 30px var(--main-blue-color);
}

#windows{
    background: var(--main-dark-blue-color);
    box-shadow: 0px 10px 30px var(--main-dark-blue-color);
}

#windows:hover{
    background: var(--main-blue-color); 
    box-shadow: 0px 10px 30px var(--main-blue-color);
}


/* БЕГУЩАЯ СТРОКА */

#ticker{
    animation: ticker 6s linear infinite;
}
@keyframes ticker{
    0% {
        transform: translateX(100%);
    }

    100%{
        transform: translateX(-100%);
    }
}



@media screen and (max-width: 1066px) {
    #buttons-block{
        margin-top: 25px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

    }



    #play{
        margin-left: var(--margin-left-button);
    }


}


@media screen and (max-width: 825px) {
    #description{
        width: 100%;
    }
}

@media screen and (max-width: 800px){
    #description h1{
        font-size: 2.2rem;
    }
}


@media screen and (max-width: 650px){
    header{
        margin-left: 8px;
        margin-right: 8px;
        margin-bottom: 25px;
    }
}

@media screen and (max-width: 550px){
    main{
        margin-left: 20px;
        margin-right: 20px;
    } 
}

@media screen and (max-width: 500px){
    nav{
        display: none;
    }
}

@media screen and (max-width: 325px){
    #description h1{
        font-size: 1.5rem;
    }
}