﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

@font-face {
    font-family: 'Anton-normal';
    src: url('../font/Anton-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'BebasNeue-Regular';
    src: url('../font/BebasNeue-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Teko-Light';
    src: url('../font/Teko-Light.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Teko-Medium';
    src: url('../font/Teko-Medium.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: transparent;
    bottom: 0;
    /*box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);*/
    display: none;
    left: 0;
    /*padding: 0.6rem 1.25rem 0.7rem 1.25rem;*/
    position: fixed;
    width: 100%;
    height:100px;
    z-index: 1000;
    text-align:center;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PS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5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

/*partie du layout*/
.windowStyle {
    user-select: none;
    overflow: overlay;
}

body {
    scrollbar-width: auto;
    scrollbar-color: #6765f3;
}

body::-webkit-scrollbar {
    width: 5px;
}

body::-webkit-scrollbar-track {
    background: #6765f3;
}

    body::-webkit-scrollbar-thumb {
        background-color: #9486fd;
        border-radius: 10px;
        border: 2px none #ffffff;
    }

        body::-webkit-scrollbar-thumb:hover {
            background-color: #aeadf5;
        }


.scroller::-webkit-scrollbar {
    display: none;
}


h1 {
    font-family: 'Anton-normal', Arial, sans-serif;
    font-size: clamp(2rem, 8vw, 3.5rem);
    text-align: center;
    font-weight: 200;
    letter-spacing: 1px;
    margin: 0;
}

h2 {
    font-size: clamp(0.8rem, 7cqw, 1rem);
    text-align: justify;
    font-weight: 400;
    margin: 0;
}

h3 {
    font-size: clamp(0.8rem, 5cqw, 1rem);
    text-align: center;
    font-weight: 500;
    margin: 0;
}

.header {
    height: 65px;
    width: 100%;
    display: flex;
    position: fixed;
    top: 0;
    align-items: center;
    padding: 0 30px;
    /*box-shadow: 0 2px 6px rgba(0,0,0,.2);
    background-color: #4a4a4a;*/
    z-index:1;
    backdrop-filter:blur(40px);
}

.headerIcon {
    max-height: 50px;
    vertical-align: middle;
    cursor: pointer;
}

.headerButton {
    cursor: pointer;
    text-align: center;
    position: absolute;
    right: 30px;
    padding: 4px 15px;
    border-radius: 3px;
    font-size: 1.5em;
    font-family: 'Anton-normal', Arial, sans-serif;
    color: white;
    background-color: #5a4fb3;
}

    .headerButton:hover {
        transition: all .2s ease;
        opacity:0.8;        
    }
    .headerButton:active {
        transition: all .2s ease;
        opacity: 0.5;
    }

.pageSection {
    height: 100vh;
    min-height:800px;
    width: 100%;
    /*user-select: none;*/
}

.footer {
    min-height: 150px;
    width: 100%;
    display: grid;
    justify-content: center;
    align-content: center;
    background-color: #333232;
    /*user-select: none;*/
}

.footerCredit {
    font-family: 'Anton-normal', Arial, sans-serif;
    font-size: 1em;
    padding: 5px;
    text-align: center;
    font-weight: 200;
    margin: 0;
    color: white;
    letter-spacing:1px;
}

.buttonTextEffect {
    text-align: center;
    cursor: pointer;
    padding: 10px;
    border: solid;
    border-radius: 5px;
    margin: 10px;
    transition: all .3s ease;
}

    .buttonTextEffect:hover {
        transition: all .3s ease;
        padding: 10px 20px 10px 20px;
    }

.buttonTextSecondary {
    font-size: 1em;
    text-align: center;
    font-weight: 500;
    cursor: pointer;
    padding: 5px;
    margin: 0px 15px 0px 15px;
    color:white;
}

    .buttonTextSecondary:hover {
        transition: all .3s ease;
        color: yellow;
        opacity:0.6;
    }

    .buttonTextSecondary:active {
        transition: all .3s ease;
        color: yellow;
        opacity: 0.3;
    }

.buttonIcon {
    height:fit-content;
    width: 40px;
    text-align: center;
    cursor: pointer;
    padding: 5px;
    margin: 0px 10px 0px 10px;
    filter: invert(0%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);
}

    .buttonIcon:hover {
        transition: all .2s ease;
        opacity: 0.6;
        filter: invert(0%) sepia(1000%) saturate(1000%) hue-rotate(10deg) brightness(100%) contrast(1000%)
    }

    .buttonIcon:active {
        transition: all .2s ease;
        opacity: 0.3;
        filter: invert(0%) sepia(1000%) saturate(1000%) hue-rotate(10deg) brightness(100%) contrast(1000%)
    }

.buttonIconLogo {
    height: fit-content;
    text-align: center;
    cursor: pointer;
    padding: 5px;
    border-radius:10px;
}

/*transition effect*/
.transitionDiv {
    height: 100%;
    width: 100%;
    z-index: 2;
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #5a68e7;
    background-image: url('../image/web_transition.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation-iteration-count: 1;
}

.transitionIcon {
    height: 3.0em;
    width: 3.0em;
    margin: 0;
    padding: 3px;
}

@keyframes transitionFadeIn {
    0% {
        opacity: 0;
        visibility: hidden;
    }

    1% {
        opacity: 0;
        visibility: visible;
    }

    100% {
        opacity: 1;
        visibility: visible;
    }
}

@keyframes transitionFadeOut {
    0% {
        opacity: 1;
        visibility: visible;
    }

    99% {
        opacity: 0;
        visibility: visible;
    }

    100% {
        opacity: 0;
        visibility: hidden;
    }
}

/*splashscreen*/

.splashScreenIcon {
    height: 10em;
    width: 10em;
    max-width: 100px;
    max-height: 100px;
    margin: 30px 10px;
}

.splashScreenBar {
    height: 5px;
    border-radius: 3px;
    background-color: #484b5040;
    color: #484b5040;
}

.splashScreenProgressBar {
    height: 5px;
    width: var(--blazor-load-percentage, 0%);
    margin-right: auto;
    border-radius: 3px;
    background-color: white;
    color: #484b50;
}