@font-face {
    font-family: Inter;
    src: local("Inter"), url(/css/fonts/Inter/Inter-Regular.otf);
}

@font-face {
    font-family: Inter;
    src: url(/css/fonts/Inter/Inter-Bold.otf);
    font-weight: bold;
}

html, body, #player {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background: #000;
    overflow: hidden;
    cursor: none;
}

#player {
    position: relative;
}

.slide-layer {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 1.1s ease-in-out, transform 1.4s ease-out;
    will-change: opacity, transform;
}

.slide-layer.is-visible {
    opacity: 1;
    transform: scale(1);
}

.slide-layer.is-leaving {
    opacity: 0;
    transform: scale(0.995);
}

.slide-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    background: #000;
}

.slide-empty {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    color: #9aa3b8;
    font-family: Inter, sans-serif;
    background: #12172a;
}

.slide-empty img {
    width: 96px;
    height: 96px;
}

.slide-empty p {
    margin: 0;
    font-size: 32px;
}

.slide-layer.is-static,
.slide-layer.is-static.is-visible,
.slide-layer.is-static.is-leaving {
    transform: none;
}

.slide-birthday {
    width: 100%;
    height: 100%;
    font-family: Inter, sans-serif;
    background-color: #fff;
    background-image: url('/img/back.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    box-sizing: border-box;
    padding: 13px 23px 0 23px;
    margin: 0;
    position: relative;
    overflow: hidden;
}

.slide-birthday .header {
    display: flex;
    align-items: stretch;
    height: 92px;
    background-color: #2B365A;
}

.slide-birthday .logo-icon {
    width: 92px;
    height: 92px;
    flex: 0 0 92px;
    background-color: #4fd3ca;
}

.slide-birthday .logo-icon img {
    width: 100%;
    height: 100%;
    display: block;
}

.slide-birthday .logo-info {
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.slide-birthday .logo-info img {
    display: block;
    width: auto;
    height: auto;
}

.slide-birthday .bday-body {
    position: relative;
}

.slide-birthday .main {
    margin: 2%;
}

.slide-birthday .main.is-leaving {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    opacity: 0;
    transition: opacity .7s ease;
}

.slide-birthday .main.is-enter {
    opacity: 0;
}

.slide-birthday .main.is-visible {
    opacity: 1;
    transition: opacity .7s ease;
}

.slide-birthday .box-left {
    float: left;
    width: 34%;
    height: 850px;
}

.slide-birthday .box-left .img {
    position: relative;
    height: 100%;
}

.slide-birthday .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: flex;
    object-position: top center;
    border-top-left-radius: 9px;
    border-top-right-radius: 9px;
}

.slide-birthday .box-right {
    float: left;
    width: 65%;
    height: 850px;
    position: relative;
}

.slide-birthday .intro {
    font-size: 67px;
    color: #2B365A;
    font-weight: bold;
    margin: 0.5% 0 0 7%;
}

.slide-birthday .wr-user {
    color: #3D3D3D;
    margin: 5% 0 0 0;
}

.slide-birthday .surname {
    font-weight: bold;
    font-size: 75px;
    margin: 0 0 0 5%;
}

.slide-birthday .name {
    font-size: 75px;
    margin: 0 0 0 5%;
}

.slide-birthday .line-left {
    border-left: solid 6px #57E8DF;
    margin: 0 0 0 15%;
}

.slide-birthday .post {
    font-size: 35px;
    color: #000;
    margin: 5% 0 0 19.5%;
}

.slide-birthday .department {
    font-size: 35px;
    font-style: italic;
    color: #3D3D3D;
    margin: 1% 0 0 19.5%;
    width: 65%;
}

.slide-birthday .birthday {
    color: #fff;
    background-color: #2B365A;
    font-weight: bold;
    width: 350px;
    padding: 40px;
    position: absolute;
    bottom: 0;
}

.slide-birthday .birthday div {
    display: flex;
    align-items: center;
    column-gap: 10px;
    font-size: 60px;
}

.slide-birthday .birthday span {
    color: #57E8DF;
}

.bday-pager {
    position: absolute;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 4;
}

.bday-pager[hidden] {
    display: none;
}

.bday-pager-label {
    font-family: Inter, sans-serif;
    font-size: 18px;
    color: #2B365A;
    font-weight: 600;
}

.bday-dots {
    display: flex;
    gap: 8px;
}

.bday-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(43, 54, 90, .22);
}

.bday-dot.is-active {
    background: #57E8DF;
}

@media (max-width: 1919px) {
    .slide-birthday .main {
        margin: 15px;
    }
}
