.container-menu {
    background-color: #eee;
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-content: center;
    font-family: 'Kanit', sans-serif;
}

.container-error {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-content: center;
}

.content-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    width: 100vw;
    max-width: 800px;
}


.content-errors {
    max-width: 600px;
}

.content-error-block{
    max-width: 500px;
}

.header-menu {
    display: flex;
    align-items: center;
    border-radius: 30px;
    background-color: #fff;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.header-error {
    justify-content: center;
    padding: 20px;
}

.background-merge {
    position: absolute;
    right: 10px;
    width: 50px;
    height: 50px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url("../images/icons.png");
}

.header-img {
    padding: 20px;
    background: linear-gradient(225deg, var(--mis-map-theme-1), var(--mis-map-theme-4));
    border-radius: 30px;
}

.img-logo {
    width: 100px;
    height: 100px;
    background-color: #fff;
    background-image: url("../images/logo-kkmuni.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 90px;
    border-radius: 50%;
    box-shadow: 0 20px 25px -15px #000;
}

.error-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    box-shadow: 0 20px 25px -15px #000;
    font-size: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding: 20px;
}

.error-main-cctv-bg {
    background: linear-gradient(225deg, var(--cctv-theme-1), var(--cctv-theme-4));
}

.error-main-disabled-bg {
    background: linear-gradient(225deg, var(--disabled-theme-1), var(--disabled-theme-4));
}

.error-main-mis-map-bg {
    background: linear-gradient(225deg, var(--mis-map-theme-1), var(--mis-map-theme-4));
}

.error-main-label-bg {
    background: linear-gradient(225deg, var(--label-theme-1), var(--label-theme-4));
}

.header-text {
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.header-text-errors {
    justify-content: center;
}

.header-text-primary {
    background: linear-gradient(to right, var(--mis-map-theme-1), var(--mis-map-theme-4));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2rem;
    font-weight: 600;
}

.header-text-error {
    background: linear-gradient(to right, #F52A2A, #f86464);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2rem;
    font-weight: 600;
}

.header-text-secondary {
    font-size: 1.5rem;
}

.box-shadow {
    box-shadow: 0 15px 10px -10px #898989;
}

.sub-service {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 -20px;
}

.service-block {
    width: 50%;
    padding: 10px 20px;
}

.service-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 30px;
    min-height: 200px;
    overflow: hidden;
    transition-duration: .5s;
    height: 100%;
}

.service-card:hover {
    cursor: pointer;
    transform: translateY(-5px);

}

.service-card-cctv:hover {
    animation: wavy-bock-cctv 2s ease-in infinite;
}

.service-card-disabled:hover {
    animation: wavy-bock-disabled 2s ease-in infinite;
}

.service-card-mis-map:hover {
    animation: wavy-bock-mis-map 2s ease-in infinite;
}

.service-card-label:hover {
    animation: wavy-bock-label 2s ease-in infinite;
}

@keyframes wavy-bock-cctv {
    0% {
        box-shadow: 0 0 0 var(--cctv-theme-5);
    }
    50% {
        box-shadow: 0 0 10px 5px var(--cctv-theme-5);
    }
    100% {
        box-shadow: 0 0 0 transparent;
    }
}


@keyframes wavy-bock-disabled {
    0% {
        box-shadow: 0 0 0 var(--disabled-theme-5);
    }
    50% {
        box-shadow: 0 0 10px 5px var(--disabled-theme-5);
    }
    100% {
        box-shadow: 0 0 0 transparent;
    }
}


@keyframes wavy-bock-mis-map {
    0% {
        box-shadow: 0 0 0 var(--mis-map-theme-5);
    }
    50% {
        box-shadow: 0 0 10px 5px var(--mis-map-theme-5);
    }
    100% {
        box-shadow: 0 0 0 transparent;
    }
}

@keyframes wavy-bock-label {
    0% {
        box-shadow: 0 0 0 var(--label-theme-5);
    }
    50% {
        box-shadow: 0 0 10px 5px var(--label-theme-5);
    }
    100% {
        box-shadow: 0 0 0 transparent;
    }
}

.service-card-head {
    display: flex;
    position: relative;
}

.service-card-head > span {
    padding: 20px 0 10px 90px;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2.5rem;
    font-weight: 600;
}

.service-icon-cctv-text {
    background: linear-gradient(to right, var(--cctv-theme-1), var(--cctv-theme-4));
}

.service-icon-disabled-text {
    background: linear-gradient(to right, var(--disabled-theme-1), var(--disabled-theme-4));
}

.service-icon-mis-map-text {
    background: linear-gradient(to right, var(--mis-map-theme-1), var(--mis-map-theme-4));
}

.service-icon-label-text {
    background: linear-gradient(to right, var(--label-theme-1), var(--label-theme-4));
}

.service-icon {
    position: absolute;
    left: 0;
    top: 0;
    padding: 15px 0 0 15px;
    width: 100px;
    height: 100px;
    font-size: 45px;
    line-height: 1;
}

.service-icon-cctv > i {
    color: var(--cctv-theme-1);
}

.service-icon-disabled > i {
    color: var(--disabled-theme-1);
}

.service-icon-mis-map > i {
    color: var(--mis-map-theme-1);
}

.service-icon-label > i {
    color: var(--label-theme-1);
}

.service-icon-cctv {
    background: radial-gradient(circle at 120% 120%, transparent 73%, var(--cctv-theme-4) 74%, var(--cctv-theme-1) 100%);
}

.service-icon-disabled {
    background: radial-gradient(circle at 120% 120%, transparent 73%, var(--disabled-theme-4) 74%, var(--disabled-theme-1) 100%);
}

.service-icon-mis-map {
    background: radial-gradient(circle at 120% 120%, transparent 73%, var(--mis-map-theme-4) 74%, var(--mis-map-theme-1) 100%);
}

.service-icon-label {
    background: radial-gradient(circle at 120% 120%, transparent 73%, var(--label-theme-4) 74%, var(--label-theme-1) 100%);
}

.service-content {
    padding: 10px 20px;
}

.break-section {
    display: flex;
    align-items: center;
    justify-content: center;
}

.break-line {
    background: #ddd;
    height: 1px;
    width: 20px;
}

.break-circle {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.break-center-circle {
    width: 15px;
    height: 15px;
    border-style: solid;
    border-width: 5px;
    border-radius: 50%;
}

.break-section-cctv .break-circle {
    background: var(--cctv-theme-2);
}

.break-section-cctv .break-center-circle {
    border-color: var(--cctv-theme-1);
}


.break-section-disabled .break-circle {
    background: var(--disabled-theme-2);
}

.break-section-disabled .break-center-circle {
    border-color: var(--disabled-theme-1);
}

.break-section-mis-map .break-circle {
    background: var(--mis-map-theme-2);
}

.break-section-mis-map .break-center-circle {
    border-color: var(--mis-map-theme-1);
}

.break-section-label .break-circle {
    background: var(--label-theme-2);
}

.break-section-label .break-center-circle {
    border-color: var(--label-theme-1);
}

.goto-service {
    margin-top: auto;
    color: #000;
    padding: 15px;
    align-self: center;
    display: flex;
    align-items: center;
    line-height: 1;
}

.goto-service-before {
    width: 20px;
    height: 20px;
    background-size: cover;
    margin-right: 10px;
}

.goto-service-after {
    transform: rotate(180deg);
    width: 20px;
    height: 20px;
    background-size: cover;
    margin-left: 10px;
}

.goto-service-cctv .goto-service-before, .goto-service-cctv .goto-service-after {
    background-image: url("../images/icons-2.png");
}

.goto-service-disabled .goto-service-before, .goto-service-disabled .goto-service-after {
    background-image: url("../images/icons-3.png");
}


.goto-service-mis-map .goto-service-before, .goto-service-mis-map .goto-service-after {
    background-image: url("../images/icons.png");
}

.goto-service-label .goto-service-before, .goto-service-label .goto-service-after {
    background-image: url("../images/icons-4.png");
}

.header-code-error {
    color: var(--danger-bg-hover);
    font-size: 40px;
    font-weight: 600;
}

.error-page-before {
    width: 40px;
    height: 40px;
    background-size: cover;
    margin-right: 10px;
}

.error-page-after {
    transform: rotate(180deg);
    width: 40px;
    height: 40px;
    background-size: cover;
    margin-left: 10px;
}

.error-page-main-cctv .error-page-before, .error-page-main-cctv .error-page-after {
    background-image: url("../images/icons-2.png");
}

.error-page-main-disabled .error-page-before, .error-page-main-disabled .error-page-after {
    background-image: url("../images/icons-3.png");
}

.error-page-main-mis-map .error-page-before, .error-page-main-mis-map .error-page-after {
    background-image: url("../images/icons.png");
}

.error-page-main-label .error-page-before, .error-page-main-label .error-page-after {
    background-image: url("../images/icons-4.png");
}

.content-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}
