html {
    font-size: 17px;
}

/*
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}*/

body {
    background-color: #000; /* #202020; */
    font-family: "DM Sans", serif;
    font-optical-sizing: auto;
    font-style: normal;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    width:100%;
}

header, footer {
    flex: 0 0 auto;
}

.footer {
    white-space: nowrap;
    line-height: 60px;
    opacity: 0.4;
}

/* Customize scrollbars */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    border-radius: 8px;
    background-color: transparent;
    border: 0px solid #cacaca;
}

::-webkit-scrollbar-thumb {
    border-radius: 8px;
    background-color: #606060;
    cursor: default;
}

    ::-webkit-scrollbar-thumb:hover {
        background-color: #a0a0a0;
    }
/* End scrollbars */

main {
    flex: 1 0 auto;
    display: flex;
    align-items: center; /* Centratura verticale */
    justify-content: center; /* Centratura orizzontale */
}

#validation-div ul {
    margin-bottom: 0;
}

.navbar .btn {
    text-transform: none;
}

.btn {
    text-transform: uppercase;
}

.btn-fill-width {
    width: 100%; /* Fill the available width */
    max-width: 200px; /* Set the maximum width */
    display: block; /* Ensure it behaves as a block-level element */
    margin: 0 auto; /* Center the button */
}

.main-card {
    min-height: 60vh;
    max-height: 80vh;
    overflow-y: auto;
}

.form-control, .form-control-plaintext {
    background-color: #E5E5E5;
}

.form-control-plaintext {
    border-radius: var(--bs-border-radius);
}

.form-floating>.form-control:not(:placeholder-shown):not(:focus)~label::after {
    background-color: #E5E5E5;
}

.chars-counter {
    font-size: 0.7rem;
}

#background-video {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: -1;
}

@media (max-width: 750px) {
    #background-video {
        display: none;
    }

    body {
        background: url("/img/background-poster.png") no-repeat;
        background-size: cover;
    }
}

.side-logo {
    max-width: 25%;
}