@import url('./error-responsive.css');

/**
 * CONTENTS
 *
 * ERROR
 *   General
*/


/*------------------------------------*\
  # ERROR
\*------------------------------------*/

/* ---------General-------- */

    body {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100vh;
        overflow: hidden;
    }
    .page-not-found {
        position: relative;
        display: flex;
        align-items: center;
    }
    .page-not-found-bg {
        height: 100%;
        left: 0;
        opacity: .1;
        pointer-events: none;
        position: absolute;
        top: 0;
        width: 100%;
        z-index: 0;
    }
    .page-not-found-bg img {
        height: 100%;
        margin-left: auto;
        margin-right: auto;
        -o-object-fit: contain;
        object-fit: contain;
        width: 100%;
    }
    .page-not-found-container {
        text-align: center;
        display: flex;
        flex-direction: column;
        gap: 4em;
    }
    .page-not-found-container h1 {
        font-size: 6rem;
        font-weight: 800;
        line-height: 1;
    }
    .page-not-found-container .page-not-found-container-text {
        font-size: 25px;
    }
    .page-not-found-container a{
        margin: 0 auto;
    }
    body:has(.page-not-found-container) .select2-dropdown.select2-dropdown--below{
        padding: 15px;
    }
    .page-not-found-container .select2-selection{
        height: fit-content !important;
        padding: 15px 10px !important;
        border-radius: 40px !important;
    }
    .page-not-found-container .select2-dropdown{
        background: var(--turquoise) !important;
        border-radius: 0 0 40px 40px !important;
        padding: 0 30px;
    }
    .page-not-found-container .select2-search__field{
        border-radius: 40px !important;
        border: 1px solid white !important;
        color: white;
        padding: 5px 25px !important;
        background: transparent !important
    }
    .page-not-found-container .select2-results{
        min-height: 200px !important;
    }
    .page-not-found-container .select2-results ul{
        max-height: 100% !important;
        height: 200px !important;
        overflow-y: pre !important;
        color: white !important;
        padding: 5px;
    }
    .page-not-found-container .select2-results li:hover{
        background: rgba(255, 255, 255, .3) !important;
        color: black !important;
        border-radius: 10px !important;
        margin: 10px 0;
        box-shadow: rgb(100 100 111 / 0.2) 0 7px 29px 0
    }

/* ---------Select 2 Dropdown--------- */

    :root {
        --main-font: "Neo Sans Pro";

    }
    .form-control {
        background: var(--turquoise) !important;
        height: 7vh;
    }
    .select2-container{
        height: fit-content;
    }
    .select2-container > * {
        background: var(--turquoise) !important;
    }
    .select2-selection{
        display: flex;
        justify-content: center;
    }
    .select2-container--open .select2-selection {
        border-top-left-radius: 30px !important;
        border-top-right-radius: 30px !important;
        border-bottom-left-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
        border: none !important;
    }
    .select2-container--open .select2-dropdown--below {
        background: white !important;
        min-height: 30vh;
        overflow-x: hidden !important;
        border-bottom-left-radius: 30px !important;
        border-bottom-right-radius: 30px !important;
    }
    .select2-search__field {
        border-color: #bbb !important;
        color: #555 !important;
        padding: 2px 10px !important;
        border-style: solid !important;
        border-width: 1px;
    }
    .select2-results__options {
        max-height: 20vh;
        height: 100%;
        overflow-y: pre;
        color: #555;
    }
    .select2-container .select2-selection--single {
        align-items: center;
        padding: 0 4%;
        display: flex;
        height: 10vh;
    }
    .select2-container .select2-selection--single .select2-selection__rendered {
        text-align: center;
        font-size: 120%;
        color: white !important;

    }
    .select2-selection__arrow {
        width: 40px;
        height: 40px !important;
        position: absolute;
        z-index: 1;
        background: white !important;
        right: 10px;
        top: auto;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .select2-selection__arrow:before {
        background-repeat: no-repeat;
        background-size: 70% 70%;
        position: absolute;
        height: 100%;
        width: 100%;
        content: "";
        z-index: 2;
        background-position: center;
    }
    .select2-selection__arrow b {
        background-repeat: no-repeat;
        border: none !important;
        height: 55px !important;
        width: 55px !important;
        margin: 0 !important;
        position: absolute;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        top: auto !important;
        transform: unset !important;
        transform: rotate(-90deg) !important;
        transform-origin: center center !important;
    }
    .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 26px;
        position: absolute;
        top: 1px;
        right: 1px;
        width: 20px
    }
    .select2-container--default .select2-selection--single .select2-selection__arrow b {
        border-color: #888 transparent transparent transparent;
        border-style: solid;
        border-width: 5px 4px 0 4px;
        height: 0;
        left: 50%;
        margin-left: -4px;
        margin-top: -2px;
        position: absolute;
        top: 50%;
        width: 0
    }
    .select2-results__option--selectable:hover {
        background-color: var(--turquoise) !important;
        color: white !important;
        border-radius: 30px !important;
    }
    .select2-container {
        z-index: 9999 !important;
    }
    @media (max-width: 660px) {
        main {
            height: 80% !important;
        }
    }

/*------------------------------------*\
  ## END ERROR
\*------------------------------------*/