﻿html, body, main {
    scroll-behavior: smooth;
    height: auto;
}

main {
    height: auto;
    min-height: 100vh;
    overflow: visible;
}

*, *:before, *:after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    --color-primary: #009579;
    --color-primary-dark: #007f67;
    --color-secondary: #252c6a;
    --color-error: #cc3333;
    --color-succes: #4bb544;
    font-family: 'Open Sans', Helvetica, Arial, sans-serif;
    background-color: whitesmoke;
    overflow-x: hidden;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.welcome-text {
    animation: fadeIn 0.5s ease-in-out;
}

.fancy-btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 18px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    margin: 10px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-with-anim {
    display: inline-block;
    padding: 10px 20px;
    font-size: 18px !important;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 10px;
    text-transform: uppercase;
    animation: fadeIn 0.5s ease-in-out;
    opacity: 0;
    animation-fill-mode: forwards;
    animation-delay: 0.1s;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white !important;
}

.btn-secondary {
    background-color: var(--color-primary);
    color: white !important;
}

.fancy-btn:hover,
.btn-with-anim:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: var(--color-primary-dark) !important;
}

.game-description {
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.5s ease-in-out;
    opacity: 0;
    animation-fill-mode: forwards;
    animation-delay: 0.2s;
}

    .game-description h2 {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .game-description p {
        font-size: 16px;
        line-height: 1.6;
    }

.sticky-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.normal-nav {
    width: 100%;
    z-index: 1000;
    display: unset
}

.progress-container {
    width: 100%;
    height: 5px;
    background: #ccc;
}

.progress-bar {
    height: 5px;
    background: var(--color-primary);
    width: 0%;
}

.margin-top-for-navbar {
    margin-top: 6rem !important;
}

.primary-link {
    color: #3a48a5;
    text-decoration: none !important;
    cursor: pointer;
}

    .primary-link:hover {
        color: var(--color-secondary);
        text-decoration: underline !important;
    }

.cont {
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}


.form-checkbox {
    display: inline-block;
    padding: 10px 20px;
    font-size: 18px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
}

.custom-eye-icon {
    cursor: pointer;
    padding: 5px;
    right: 0.5%;
    top: 8%;
}

    .custom-eye-icon:hover {
        color: var(--color-primary);
    }

    .custom-eye-icon:active {
        color: var(--color-primary-dark);
    }

.sticky-element {
    position: -webkit-sticky; /*Safari*/
    position: sticky;
    z-index: 1001;
    top: 0;
}

html,
body {
    scroll-behavior: smooth;
}

*, *:before, *:after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    --color-primary: #009579;
    --color-primary-dark: #007f67;
    --color-secondary: #252c6a;
    --color-error: #cc3333;
    --color-succes: #4bb544;
    font-family: 'Open Sans', Helvetica, Arial, sans-serif;
    background-color: whitesmoke;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.welcome-text {
    animation: fadeIn 0.5s ease-in-out;
}

.fancy-btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 18px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    margin: 10px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-with-anim {
    display: inline-block;
    padding: 10px 20px;
    font-size: 18px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 10px;
    text-transform: uppercase;
    animation: fadeIn 0.5s ease-in-out;
    opacity: 0;
    animation-fill-mode: forwards;
    animation-delay: 0.1s;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
}

.btn-secondary {
    background-color: var(--color-primary);
    color: white;
}

.fancy-btn:hover,
.btn-with-anim:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: var(--color-primary-dark);
}

.game-description {
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.5s ease-in-out;
    opacity: 0;
    animation-fill-mode: forwards;
    animation-delay: 0.2s;
}

    .game-description h2 {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .game-description p {
        font-size: 16px;
        line-height: 1.6;
    }

.sticky-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.normal-nav {
    width: 100%;
    z-index: 1000;
    display: unset
}

.progress-container {
    width: 100%;
    height: 5px;
    background: #ccc;
}

.progress-bar {
    height: 5px;
    background: var(--color-primary);
    width: 0%;
}

.margin-top-for-navbar {
    margin-top: 6rem !important;
}

.primary-link {
    color: #3a48a5;
    text-decoration: none !important;
    cursor: pointer;
}

    .primary-link:hover {
        color: var(--color-secondary);
        text-decoration: underline !important;
    }

.cont {
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}


.form-checkbox {
    display: inline-block;
    padding: 10px 20px;
    font-size: 18px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
}

.custom-eye-icon {
    right: 0.5%;
    cursor: pointer;
    padding: 5px;
    top: 50%;
    transform: translateY(-50%);
}

    .custom-eye-icon:hover {
        color: var(--color-primary);
    }

    .custom-eye-icon:active {
        color: var(--color-primary-dark);
    }

.sticky-element {
    position: -webkit-sticky; /*Safari*/
    position: sticky;
    z-index: 1001;
    top: 0;
}

.custom-blazored-overlay {
    z-index: 1998 !important;
}

.automatic-save-button {
    text-align: center;
    align-content: center;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    border-radius: var(--bs-border-radius);
    padding: 6px 12px;
    cursor: default;
}


p {
    hyphens: auto !important;
}