@font-face {
    font-family: "CustomFont";
    src: url("font/TrolaLatCyr-Heavy.ttf");
}

.content {
    font-family: "CustomFont";
    color: white;
    margin: 6% auto 0 auto;
    text-align: center;
}

#mobileHeader{
    display: none;
}
.content h1{
    font-size: 55px;
    /* width: 80%; */
}

main .d-flex h1{
    font-size: 35px;
}

#tercoDesktop{
    display: inline-block;
}

#tercoMobile{
    display: none;
}

.content p{
    width: 70%;
    font-family: Arial, Helvetica, sans-serif;
    margin: 5% auto 0 15%;
    /* margin-top: 5%; */
}

.header-image{
    left: 8%;
    height: auto; 
    width: 18.55%;
}

.header-text{
    left: 30%;
}


#text{
    width: 80%; 
    text-align: left;
    margin: 10% auto;
}

footer{
    height: auto;
    background-color: #900404;
    color: white;
    padding: 2%;
}

footer .d-flex .left{
    width: 50%;
}

footer .right{
    width: 50%;
}

video{
    margin: 10% auto 0 auto;
    width: auto;
    height: 640px;
}

.left h5 a{
    color: white;
    text-decoration: none;
}

.right h5 a{
    color: white;
    text-decoration: none;
}

.red-square{
    background-color: #900404;
    visibility: hidden;
    display: none;
}

#titleMobile{
    display: none;
}

#footerMobile{
    display: none;
}

#footerDesktop{
    display: inline-block;
}

.chat{
    font-size: 18px !important;
}



@media only screen and (max-width: 600px) {
    .container-lg{
        width: 100%;
        padding: 0 !important;
    }

    main .d-flex h1{
        font-size: 20px;
    }

    #tercoDesktop{
        display: none;
    }

    #tercoMobile{
        display: inline-block;
    }

    .header-image{
        left: 12%;
        height: auto; 
        width: 21.34%;
    }

    #mobileHeader{
        display: inline-block;
    }

    #desktopHeader{
        display: none;
    }

    .content h1{
        font-size: 25px !important;
        margin: 3% auto 0 auto; 
        width: 100%;

    }

    .content div h1{
        font-size: 25px !important;
        margin: 3% auto 0 auto; 
        /* width: 60%; */

    }

    .content p{
        font-size: 10px !important;
        visibility: hidden;
    }
    #text{
        width: 90%;
    }

    footer .d-flex{
        flex-direction: column;
    }

    footer .d-flex .left{
        width: 98%;
        text-align: center;
    }

    footer .d-flex .left h4{
        font-size: 20px;
    }

    footer .d-flex .left h5{
        /* width: 50%; */
        font-size: 16px;
    }

    footer .d-flex .right{
        margin-top: 1%;
        /* overflow-wrap: break-word; */
        width: 98%;
        text-align: center;
    }
    
    footer .right h5{
        /* width: 50%; */
        font-size: 16px;
        width: 100% !important; 
        /* margin: 0 auto 10px auto; */
        margin: auto;
        text-align: center;
    }

    .chat{
        font-size: 14px !important;
    }

    #titleDesktop{
        display: none;
    }

    .red-square{
        width: 100%;
        background-color: #900404;
        display: inline-block;
        visibility: visible;
        margin: 4% 0;
        color: white;
        text-align: center;
    }

    #textofirst{
        margin-top: 10px;
    }
    #textolast{
        margin-bottom: 10px;
    }

    .red-square p{
        /* padding: 2% 16% 2% 16%; */
        font-size: 14px;
        margin: 0;
    }

    #titleMobile{
        display: inline-block;
    }

    #footerMobile{
        display: inline-block;
    }

    #footerDesktop{
        display: none;
    }

    hr{
        margin: 5px;
    }
}