﻿:root {
    --white: #fff;
    --total-black: #000000;
    --black: #101923;
    --orange: #fdb615;
    --light-orange: #ffd067;
    --dark-grey: #7f7f7f;
    --dark-grey-screen: rgba(0, 0, 0, 0.5);
    --grey: #cccccb;
    --header: #d6e8ff;
    --light-grey: #f5f5f5;
    --red: #f21212;
    --blue-hover: #0094ff;
    --blue-upMenu: #2b3e56;
    --sidebarMenu: #1d242c;
    --mouse-hover: #f5f5f5;
}

@font-face {
    font-family: "RalewayBold";
    src: url('/fonts/Raleway-ExtraBold.ttf')
}

@font-face {
    font-family: "RalewaySemiBold";
    src: url('/fonts/Raleway-SemiBold.ttf')
}

@font-face {
    font-family: "RalewayRegular";
    src: url('/fonts/Raleway-Regular.ttf')
}

@font-face {
    font-family: "RalewayMedium";
    src: url("/fonts/Raleway-Medium.ttf")
}

@font-face {
    font-family: "RalewayThin";
    src: url('/fonts/Raleway-Thin.ttf')
}

@font-face {
    font-family: "RalewayLight";
    src: url('/fonts/Raleway-Light.ttf')
}

.body-content {
    margin-top: 15px;
    padding-left: 15px;
    padding-right: 15px;
    font-family: "RalewayRegular", Arial;    
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--black);
    background-color: var(--white);
    border-radius: 10px;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

h1 {
    text-align: center !important;
    padding-bottom: 22px;
    font-size: 35px;
    font-weight: 700;
    color: var(--orange);
}

h2 {
    text-align: center;
    /*text-align: left !important;*/
    /*padding-bottom: 20px !important;*/
    padding: 0px !important;
    margin: 0px !important;
    padding-left: 45px !important;
    padding-top: 15px !important;
    padding-bottom: 15px !important;
    /*font-size: 30px !important;*/
    font-size: 25px !important;
    font-weight: 600 !important;
    color: var(--orange) !important;
    /*display: block;*/
}


h3 {
    text-align: center;
    margin: 0px;
    padding-left: 45px !important;
    padding-bottom: 10px;
    font-size: 25px;
    font-weight: 500;
    color: var(--orange);
}

h4 {
    text-align: left !important;
    padding-bottom: 14px !important;
    font-size: 20px !important;
    font-weight: 400 !important;
    color: var(--orange) !important;
}

/********************************************************************************************************************/
/*Buttons */
.btn-center {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    cursor: pointer;
}

    .btn-center a {
        text-decoration: none;
        padding: 10px 20px;
        transition: 0.3s all ease-in-out;
    }

.btn-left {
    display: flex;
    justify-content: left;
    margin-top: 10px;
    cursor: pointer;
}

    .btn-left a {
        text-decoration: none;
        padding: 10px 20px;
        transition: 0.3s all ease-in-out;
        cursor: pointer;
    }

.btn-right {
    display: flex;
    justify-content: right;
    margin-top: 10px;
    cursor: pointer;
}

    .btn-right a {
        text-decoration: none;
        padding: 10px 20px;
        transition: 0.3s all ease-in-out;
        cursor: pointer;
    }

.btn-orange-white a {
    color: var(--white);
    background-color: var(--orange);
    border: 1px solid var(--orange);
    border-radius: 20px;
    font-size: 16px;
    width: 215px;
    height: 40px;
    cursor: pointer;
}

    .btn-orange-white a:hover {
        background-color: var(--light-orange);
        color: var(--white);        
    }

.btn-white-orange a {
    color: var(--orange);
    background-color: var(--white);
    border: 1px solid var(--white);
    border-radius: 20px;
    font-family: "RalewayRegular", Arial;
    font-size: 20px;
    width: auto;
    height: 40px;
    cursor: pointer;
}

/* toto je levé "tlačítko" zpět*/
.btn-back {
    display: flex;
    flex-direction: column;
    font-size: 50px;
    color: var(--orange);
    background: transparent;
    border: none; /* musí býr none*/
    cursor: pointer; /* toto je packa kurzoru*/
    padding: 0px; /* musí být 0 protože jinak se nastaví defaultní okraje*/
    margin: -35px 0px 0px 2px; /* tady můžu upravovat umístění symbolu na obrazovce */
    text-shadow: 1px 1px 2px #000000, 0 0 1em #ffffff, 0 0 0.1em #ffffff; /* Efekt vystouplého textu */    
}


input.btn-white-orange,
button.btn-white-orange {
    color: var(--total-black);
    background-color: var(--light-orange);
    border: 1px solid var(--orange);
    border-radius: 15px;
    font-family: "RalewayRegular", Arial;
    font-size: 20px;
    width: auto;
    height: 40px;
    cursor: pointer;
}
    
    button.btn-white-orange:hover,
    input.btn-white-orange:hover {
        color: var(--white);
        background-color: var(--light-orange);
        border: 1px solid var(--orange);
        border-radius: 15px;
    }

    .btn-white-orange a:hover {
        background-color: var(--light-orange);
        color: var(--white);
    }

/*Rozlišení pro mobily*/
@media screen and (max-width: 768px) {

    .btn-white-orange a {
        color: var(--orange);
        background-color: var(--white);
        border: 1px solid var(--white);
        border-radius: 20px;
        font-family: "RalewayRegular", Arial;
        font-size: 14px;
        width: auto;
        height: 25px;
        cursor: pointer;
    }

    input.btn-white-orange,
    button.btn-white-orange {
        color: var(--total-black);
        background-color: var(--light-orange);
        border: 1px solid var(--orange);
        border-radius: 15px;
        font-family: "RalewayRegular", Arial;
        font-size: 14px;
        width: auto;
        height: 25px;
        cursor: pointer;
    }

        button.btn-white-orange:hover,
        input.btn-white-orange:hover {
            color: var(--white);
            background-color: var(--light-orange);
            border: 1px solid var(--orange);
            border-radius: 15px;
        }

    .btn-white-orange a:hover {
        background-color: var(--light-orange);
        color: var(--white);
    }
}

    /************* KONEC Buttons*/

    #bars, #console, devices {
        font-size: 15px;
    }

    table td {
        padding: 5px;
    }

    .xcontainer {
        display: flex;
        flex-grow: 1 1;
    }

    .xvideo, .xcanvas {
        object-fit: cover;
        position: absolute;
        left: 0;
        top: 0;
        height: 90px;
        width: 800px;
    }

#myoverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-grey-screen); /* Poloprůhledná černá barva */
    display: none; /* Skrytý ve výchozím stavu */
    justify-content: center;
    align-items: center;
    z-index: 9999;
    cursor: none; /* Skrýt výchozí kurzor */
}

#cursor {
    position: absolute;
    width: 32px;
    height: 32px;
    background-image: url('/images/cursor.png'); /* Použití vlastního kurzoru */
    background-size: contain;
    pointer-events: none;
    z-index: 10000;
    animation: pulse 1.5s infinite;
    display: none; /* Skrytý ve výchozím stavu */
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}