@font-face {
    font-family: 'Korb-Bold';
    src: url('../font/Korb-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
}

body {
    margin: 0;
    padding: 0;
}


.p-intro-inner {
    position: relative;
    width: 100vw;
    /* height: 100vh; */
    background-color: #F0F0F0;
}

.p-intro-page {
    width: 100%;
    height: 100vh;
    /* height: 100%; */
    display: none;
}

.p-intro-page.active {
    display: flex;
    flex-direction: column;
}


/* Rotary Dial */
.p-intro-page.rotary-dial {
    /* justify-content: center; */
    height: auto;
    align-items: center;
    background-color: #fae1e3;
    background-image: url("../img/telephone/sp/bg.png");
    gap: 20px;
    padding: 20px 0;
}

.p-intro-rotary-dial-title {
    /* margin-top: 20px; */
}

.p-intro-rotary-dial-telephone{
    position: relative;
    /* width: 100%; */
    height: 522px;
    margin-bottom: -30px;
}

.p-intro-rotary-dial-telephone-phone-area {
    position: relative;
    margin-top: 36px;
    max-width: 376px;
    height: 450px;
    width: 100%;
}

.p-intro-rotary-dial-telephone-phone {
    width: 100%;
    height: auto;
}

.p-intro-rotary-dial-dial-overlay {
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 10;
  background: transparent;
  /* touch-action: none; */
  user-select: none;
}

.p-intro-rotary-dial-telephone-dial {
    position: absolute;
    left: 50%;
    top: 50%;
    /* transform: translate(-50%, calc(-50% + 2.7%));
    width: 68%; */
    height: auto;
}

.p-intro-rotary-dial-telephone-stopper {
    position: absolute;
    right: 100px;
    top: 290px;
    transform: rotate(-4deg);
}

.p-intro-rotary-dial-telephone-effect {
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 100%;
}

.p-intro-rotary-dial-telephone-effect img {
    display: none;
}

.p-intro-rotary-dial-telephone-effect img.active {
    display: block;
}

.p-intro-phone-number-display {
    background-color: #f02862;
    color: white;
    padding: 10px 20px;
    border-radius: 7px;
    font-size: 24px;
    font-weight: bold;
    margin-top: 0px;
    margin-bottom: 20px;
    text-align: center;
    font-family: 'Korb-Bold', 'Arial', monospace;
    letter-spacing: 2px;
}

.p-intro-phone-number-clear {
    margin-bottom: 20px;
}

/* Connection */
.p-intro-connection-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.p-intro-connection-bg {
    width: 100%;
    height: 100%;
    background-image: url(../img/telephone/call/background.png);
    background-position-x: center;
    background-size: cover;
}

.p-intro-connection-top-panel {
    width: 100%;
    height: 63vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.p-intro-connection-bottom-panel {
    width: 100%;
    height: 37vh;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
    background-image: url(../img/telephone/call/bottom_panel.png);
    background-position-x: center;
    background-size: cover;
}

.p-intro-connection-avater {
    margin-top: 7vh;
}

.p-intro-mute-button {
    cursor: pointer;
}

.p-intro-connection-bottom-panel .p-intro-mute-button {
    margin-bottom: 40px;
}

/* Talk */
.p-intro-talk-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.p-intro-talk-top-panel {
    width: 100%;
    height: 63vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.p-intro-talk-video {
    object-fit: cover;
    /* object-position: center bottom; */
    width: 100%;
    height: 100%;
}

.p-intro-talk-bottom-panel {
    width: 100%;
    height: 37vh;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
    gap: 20px;
    background-image: url(../img/telephone/call/bottom_panel.png);
    background-position-x: center;
    background-size: cover;
}

.p-intro-talk-time {
    font-size: 18px;
    color: #FFFFFF;
}

.p-intro-talk-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.p-intro-talk-buttons > div {
    cursor: pointer;
}

/* Finish */
.p-intro-page.finish {
    justify-content: center;
    align-items: center;
    gap: 20px;
}

/* Error Panel */
.p-intro-error-panel {
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 100vw;
    height: 100vh;
    background-image: url(../img/telephone/call/error_plane.png);
    background-position-x: center;
    background-size: cover;
    z-index: 10;
}
.p-intro-error-panel.active {
    display: flex;
}

.p-intro-error-close-button {
    cursor: pointer;
}

@media (max-width: 767px) {
    .p-intro {
        min-height: unset;
    }
}


@media (max-height: 670px) {
    .p-intro-talk-bottom-panel  {
        gap: 0;
    }

    .p-intro-talk-buttons {
        margin-bottom: 20px;
    }
}

