@import url('https://fonts.googleapis.com/css2?family=Google+Sans+Flex:opsz,wght@6..144,1..1000&display=swap');

:root {
    --main-color: #1A5C35;
    --main-hover-color: #477C5D;
    --secondary-color: #5C1A41;
    --secondary-hover-color: #7C4766;
    --disabled-color: #CCCCCC;
    --success-color: #4CAF50;
    --error-color: #F44336;
    --link-color: #3C91E6;
    --link-hover-color: #62A7EB;
    --text-main-color: #FFFFFF;
    --text-secondary-color: #000000;
}

/* BODY */
body {
    height: 100dvh;
    width: 100vw;
    padding: 0;
    margin: 0;
    font-family: 'Google Sans Flex', sans-serif;
    font-size: 1rem;
    overflow: hidden;
    cursor: default;
}

    /* HEADER */
    header {
        position: relative;
        display: flex;
        height: 40px;
        background-color: var(--main-color);
    }

        /* LOGO */
        header #logo {
            width: 60px;
            height: 40px;
            background-image: url('../../img/logo.svg');
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center center;
            background-color: #FFFFFF;
        }

        /* TITLE */
        header #title {
            width: 200px;
            height: 40px;
            line-height: 40px;
            text-indent: 10px;
            color: var(--text-main-color);
            font-size: 1.2rem;
        }

        /* LANGUAGE SELECTOR */
        header #lang {
            position: absolute;
            right: 10px;
            display: flex;
            align-items: center;
            justify-content: right;
            width: 150px;
            height: 40px;
        }

            header #lang select {
                height: 30px;
                padding: 0 10px;
                font-size: 1rem;
                border: 1px solid var(--main-color);
                border-radius: 5px;
                background-color: var(--text-main-color);
                color: var(--text-secondary-color);
                cursor: pointer;
            }

        /* SIGN OUT */
        header #signout {
            position: absolute;
            right: 0;
            width: 150px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            color: var(--disabled-color);
        }

            header #signout:not(.disabled) {
                color: var(--main-color);
                cursor: pointer;
            }

                header #signout:not(.disabled):hover {
                    color: var(--main-hover-color);
                }

    /* CONTENT */
    section {
        position: relative;
        height: calc(100% - 110px);
        overflow: hidden;
        overflow-y: scroll;
        -ms-overflow-style: none;
        scrollbar-width: none;
        padding: 20px;
    }
    
    /* FOOTER */
    footer {
        position: relative;
        height: 30px;
        width: 100%;
        line-height: 30px;
        background-color: var(--main-color);
        color: var(--text-main-color);
        text-align: center;
    }

        footer #contact {
            position: absolute;
            right: 10px;
            top: 0;
            height: 30px;
            display: flex;
            flex-direction: row;
            gap: 5px;
            cursor: pointer;
        }

            footer #contact svg {
                position: relative;
                top: 6px;
            }

            footer #contact:hover {
                text-decoration: underline;
            }