﻿@font-face {
    font-family: "MavenPro";
    src: url('../Fonts/MavenPro-Regular.ttf');
}

@font-face {
    font-family: "MavenPro";
    font-weight: bold;
    src: url('../Fonts/MavenPro-Bold.ttf');
}

::-webkit-scrollbar {
    width: 4px;
    height: 4px
}

::-webkit-scrollbar-track {
    border-radius: 2px;
    background: rgba(225, 225, 225, 0.5);
}

::-webkit-scrollbar-thumb {
    border-radius: 2px;
    background: rgb(200, 200, 200);
}

    ::-webkit-scrollbar-thumb:hover {
        background: rgb(200, 200, 200);
    }

* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
}

html {
    min-height: 100%;
    color: white;
    font-size: 20px;
    font-family: MavenPro;
    scroll-behavior: smooth;
}

a {
    color: inherit;
    text-decoration: none;
}

@media (max-width: 1440px) {
    html {
        font-size: 18px;
    }
}

@media (max-width: 1200px) {
    html {
        font-size: 16px;
    }
}

@media (max-width: 860px) {
    html {
        font-size: 14px;
    }
}

body {
    margin: 0;
    min-height: 100%;
    position: relative;
    background-color: rgb(42 42 42);
}

/****************** Header ******************/
/*#region Header*/

header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10vw;
    max-width: 1500px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    flex-flow: row wrap;
    padding: 1em;
    z-index: 1;
}

    header > .header-contact {
        flex: 1 1 100%;
        font-size: 0.9em;
        margin-bottom: 2em;
    }

    header > .logo {
        flex: 2 1 auto;
    }

        header > .logo > img {
            max-width: 12.5vw;
        }

    header > a {
        flex: 1 1 auto;
        font-size: 1rem;
        font-weight: bold;
        cursor: pointer;
        outline: 0;
    }

        header > a:hover,
        header > a.selected {
            color: #ffcd00;
        }

@media (max-width: 860px) {
    header > a {
        font-size: 0.8rem;
    }
}

/*#endregion*/

/****************** Footer ******************/
/*#region Footer*/

footer {
    background-color: rgb(42 42 42);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    padding: 5em;
}

    footer > .contact {
        display: flex;
        flex-flow: wrap;
        margin-left: 1em;
        text-align: center;
    }

        footer > .contact > .nowrap {
            flex: 1 1 auto;
        }

        footer > .contact > .media-links {
            flex: 1 1 100%;
            text-align: center;
            margin-top: 1em;
        }

            footer > .contact > .media-links > .link-icon {
                position: relative;
                display: inline-block;
                padding: 1em;
                cursor: pointer;
                color: inherit;
                font-size: 1.2em;
            }

                footer > .contact > .media-links > .link-icon:before {
                    content: "\200b";
                    position: absolute;
                    top: 50%;
                    left: 50%;
                    transform: translate(-50%, -50%);
                    background-color: black;
                    border-radius: 50%;
                    width: 2em;
                    height: 2em;
                }

                footer > .contact > .media-links > .link-icon > * {
                    position: relative;
                }

/*#endregion*/

/******************* Login ******************/
/*#region Login*/

.login {
    color: black;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    background-color: #004529;
}

    .login .window-container {
        /* height: 80vh;*/
        position: absolute;
        bottom: 40%;
        left: 50%;
        transform: translate(-50%, 50%);
        min-width: 410px;
    }

    .login .window {
        height: auto;
        background-color: white;
        /*border-radius: 30px;
        box-shadow: 30px 30px 40px 0px #00000066;*/
        transition: all 0.2s ease;
        display: flex;
        flex-direction: column;
    }

        .login .window .logo {
            margin: 0 auto;
            max-width: 300px;
            max-height: 4em;
        }

        .login .window .content {
            /*padding: 0;
            margin: 0 auto;
            max-width: 300px;*/
            margin: 3em 3em;
        }

        .login .window .buttons {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

            .login .window .buttons .forgot {
                color: #3DC165;
            }

                .login .window .buttons .forgot a {
                    font-weight: bold;
                }

        .login .window label.simple {
            font-size: 1.2em;
            padding: 0 0 0 1em;
        }

            .login .window label.simple input,
            .login .window label.simple input:-webkit-autofill {
                background-color: transparent;
                border: none;
                outline: none;
                line-height: 2em;
                color: silver;
                -webkit-text-fill-color: silver !important;
                -webkit-background-clip: text;
            }

            .login .window label.simple:last-child {
                border-top: solid 3px silver;
            }

            .login .window label.simple input.valid ~ validation {
                top: 0.5em;
                color: green;
            }

                .login .window label.simple input.valid ~ validation:before {
                    content: '✓';
                }

    .login form button > [status=default] {
        display: inline;
    }

    .login form button > [status=loading] {
        display: none;
    }

    .login form[state=loading] button {
        background-color: silver;
        border-color: silver;
        color: white;
    }

        .login form[state=loading] button > [status=default] {
            display: none;
        }

        .login form[state=loading] button > [status=loading] {
            display: inline;
        }

    .login .button {
        margin-left: 0.5em;
        outline: 0;
        font-family: inherit;
        white-space: nowrap;
        background-color: transparent;
        border: 2px solid #3DC165;
        border-radius: 10px;
        color: #3DC165;
        text-transform: uppercase;
        font-weight: bold;
        outline: 0;
        padding: 0.5em 2em;
        cursor: pointer;
        transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
    }

        .login .button:active {
            background-color: #3DC165;
            border-color: #3DC165;
            color: white;
        }

    .login .background {
        background-image: none;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        align-items: flex-end;
    }

    .login .images-container {
        height: 100vh;
        width: 100%;
        display: flex;
        align-items: flex-end;
    }

    .login .images {
        height: 80%;
        width: fit-content;
        position: relative;
        display: flex;
        align-items: flex-end;
    }

        .login .images .hand {
            width: 70%;
            height: fit-content;
        }

    .login > .slides {
        width: auto;
        height: auto;
        border-radius: 30px;
        box-shadow: 10px 10px 10px rgb(0 0 0 / 0.5);
    }

        .login > .slides > .slide {
            padding: 3em;
        }

        .login > .slides > .slide.active {
            position: relative;
        }

       /* .login .images .logo-g {
            width: 30%;
            height: fit-content;
            transform: translate(-15%, -180%);
        }*/

.login-window {
    width: 200px;
    background-color: white;
    position: absolute;
    left: 75%;
    top: 25%;
    transform: translate(-50%, -50%);
    box-shadow: 1px 1px 4px black;
    transition: all 0.2s ease;
}

    .login-window .content {
        padding: 2em;
        padding-bottom: 3em;
    }

    .login-window form > h3 {
        display: block;
        padding: 0.5em 1em;
        margin: 0;
        background-color: black;
        color: white;
        text-align: center;
    }

    .login-window .text:not(:first-child) {
        margin-top: 2em;
    }

    .login-window .buttons {
    }

        .login-window .buttons a {
            display: inline-block;
            font-size: 0.8em;
            color: orange;
            float: right;
        }

        .login-window .buttons .checkbox {
            font-size: 0.8em;
            color: orange;
        }

        .login-window .buttons .button {
            display: block;
            width: 100%;
        }

/*#endregion*/

/****************** Generics ****************/
/*#region Generics*/

input ~ .placeholder {
    display: none;
}

input:not(:focus):placeholder-shown ~ .placeholder,
input:-webkit-autofill:placeholder-shown ~ .placeholder,
textarea:not(:focus):placeholder-shown ~ .placeholder {
    display: unset;
    font-size: 0.7em;
    font-style: italic;
    position: absolute;
    top: 50%;
    left: 1.5em;
    padding: 0;
    color: gray;
    background-color: transparent;
    transform: translateY(-50%);
}

.button-cyan {
    outline: 0;
    border: 0;
    border-radius: 5em;
    background-color: rgb(0 241 182);
    padding: 0.5em 1em;
    color: rgb(6 73 40);
    font-family: inherit;
    font-size: 1.5rem;
    font-weight: bold;
    white-space: nowrap;
    cursor: pointer;
}

.pre-yellow:before {
    content: '';
    display: block;
    background-color: #ffcd00;
    border-radius: 0.05em;
    height: 0.15em;
    max-width: 12vw;
    margin-bottom: 0.2em;
}

.pre-cyan:before {
    content: '';
    display: block;
    background-color: rgb(0 241 182);
    border-radius: 0.1em;
    height: 0.25em;
    max-width: 7vw;
    margin-bottom: 1vw;
}

.pos-cyan:after {
    content: '';
    display: block;
    background-color: rgb(0 241 182);
    border-radius: 0.05em;
    height: 0.15em;
    max-width: 7vw;
    margin-top: 0.5em;
    margin-left: 0.2em;
}

.text-large {
    font-size: 2rem;
    font-weight: bold;
    transition: all 0.2s;
}

.margin-h {
    margin: 0 0.5em;
}

.margin-left {
    margin-left: 1em;
}

.margin-left-2 {
    margin-left: 2em;
}

.nowrap {
    white-space: nowrap;
}

label {
    position: relative;
    display: block;
    width: 100%;
}

.validation {
    position: absolute;
    max-width: 100%;
    color: red;
    font-size: 0.8em;
    padding: 0 0.5em;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

/*#endregion*/
