.first-screen {
    margin-top: 40px;
    --border-radius: 60px;
    --background: #864AFF;
    position: relative;
}

.first-screen .first-screen__logo {
    display: flex;
    position: absolute;
    top: 29px;
    left: 65px;
    height: 27px;
    z-index: 1;
}

.first-screen .first-screen__logo-img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.first-screen .first-screen__cutout-wrapper {
    filter: url('#round-12') drop-shadow(2px 4px 4px rgba(0, 0, 0, 0.25));
    border-radius: 0 var(--border-radius) 0 var(--border-radius);
    overflow: hidden;
}

.first-screen .first-screen__top {
    display: flex;
    align-items: center;
    height: 104px;
}

.first-screen .first-screen__top::after {
    content: "";
    height: 100%;
    width: 100%;
    background-color: var(--background-color);
    display: flex;
    border-radius: 0 var(--border-radius) 0 0;
}

.first-screen .first-screen__content {
    width: 100%;
    min-height: 676px;
    /* background: var(--background); */
    --btn-box-height: 68px;
    --btn-box-width: 455px;
    --logo-height: 85px;
    --logo-width: 325px;
    --logo-curve: 115px;
    padding-top: var(--logo-height);
    clip-path: polygon(
        100% 0,
        100% calc(100% - var(--btn-box-height)),
        calc(100% - var(--btn-box-width)) calc(100% - var(--btn-box-height)),
        calc(100% - var(--btn-box-width)) 100%,
        0 100%,
        0 var(--logo-height),
        var(--logo-width) var(--logo-height),
        calc(var(--logo-width) + var(--logo-curve)) 0
    );
}

.first-screen .first-screen__picture {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    height: 100%;
    width: 100%;
    z-index: -1;
}

.first-screen .first-screen__img {
    height: auto;
    width: 100%;
    height: 100%;
    max-width: unset;
    object-fit: cover;
}

.first-screen .first-screen__type {
    display: flex;
    align-items: center;
    gap: 12px;
    position: absolute;
    font-weight: 500;
    font-size: 24px;
    line-height: 120%;
    letter-spacing: 0%;
    color: #fff;
    top: -54px;
    right: 50px;
}

.first-screen .first-screen__top svg.corner-curve {
    margin-right: -2px;
}

.first-screen .first-screen__register {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 435px;
}

.first-screen .first-screen__register-wrap.mobile {
    display: none;
}

.first-screen .first-screen__date {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    font-size: 24px;
    line-height: 120%;
    letter-spacing: 0%;
    color: #864AFF;
    background: #fff;
    padding: 10px 21px;
    border-radius: 17px;
    width: fit-content;
    position: absolute;
    top: 36.8px;
    right: 56.4px;
}

.first-screen .first-screen__title {
    position: absolute;
    text-align: center;
    top: 47px;
    left: 137px;
    color: transparent;
    font-size: 100px;
    z-index: 2;
    line-height: 100%;
    margin: 0;
}

.first-screen .first-screen__title span {
    font-size: 40.5px;
}

.first-screen .first-screen__title-wrap {
    position: relative;
    margin-left: 31px;
}

.first-screen .first-screen__main-title {
    width: 679px;
    height: auto;
    z-index: 1;
    position: relative;
    pointer-events: none;
}

.first-screen .first-screen__hands-picture {
    width: 823px;
    display: flex;
    top: 179px;
    left: -46px;
    position: absolute;
    z-index: 0;
    pointer-events: none;
}

.first-screen .first-screen__hands-img {
    width: 100%;
    height: auto;
    max-width: unset;
}

.first-screen .first-screen__note-wrap {
    position: absolute;
    top: 189px;
    right: 63.8px;
}

.first-screen .first-screen__description {
    position: absolute;
    top: 85px;
    left: 53px;
    font-size: 21px;
    z-index: 2;
    color: transparent;
}

.first-screen .first-screen__note-picture {
    display: flex;
    width: 365.66px;
}

.first-screen .first-screen__note-img {
    width: 100%;
    height: auto;
}

.first-screen .first-screen__calendar-img {
    height: 40px;
    width: auto;
}

.first-screen .logo-cutout {
    display: none;
}

@media screen and (max-width: 1310px) {
    .first-screen .first-screen__note-wrap {
        position: absolute;
        top: 145px;
        right: 5.8px;
    }
    
    .first-screen .first-screen__title-wrap {
        margin-left: -10px;
    }
}

@media screen and (max-width: 1130px) {
    .first-screen .first-screen__main-title {
        width: 500px;
    }

    .first-screen .first-screen__hands-picture {
        width: 641px;
        top: 117px;
        left: -38px;
    }

    .first-screen__title-wrap {
        margin-top: 40px;
    }

    .first-screen .first-screen__title {
        top: 37px;
        left: 41px;
        font-size: 74px;
    }

    .first-screen .first-screen__content {
        width: 100%;
        min-height: 545px;
    }

    .first-screen .first-screen__note-picture {
        width: 320px;
    }

    .first-screen .first-screen__description {
        top: 79px;
        font-size: 16px;
    }
}

@media screen and (max-width: 860px) {
    .first-screen {
        --border-radius: 30px;
    }

    .first-screen .first-screen__main-title {
        width: 400px;
    }

    .first-screen .first-screen__hands-picture {
        width: 498px;
        top: 101px;
        left: -29px;
    }

    .first-screen .first-screen__note-picture {
        width: 285px;
    }

    .first-screen__title-wrap {
        margin-top: 20px;
    }

    .first-screen .first-screen__content {
        min-height: 450px;
        --btn-box-height: 68px;
        --btn-box-width: 320px;
        --logo-height: 70px;
        --logo-width: 260px;
        --logo-curve: 60px;
    }

    .first-screen .first-screen__note-wrap {
        top: 100px;
    }

    .first-screen .first-screen__date {
        font-size: 20px;
        gap: 5px;
        right: 20px;
        padding: 10px;
        border-radius: 12px;
    }

    .first-screen .first-screen__calendar-img {
        height: 30px;
    }

    .first-screen .first-screen__register {
        width: 300px;
    }

    .first-screen .first-screen__logo {
        left: 25px;
        top: 20px;
    }

    .first-screen .first-screen__title {
        top: 24px;
        left: 41px;
        font-size: 61px;
    }

    .first-screen .first-screen__title span {
        font-size: 30px;
    }

    .first-screen .first-screen__description {
        top: 69px;
        font-size: 14px;
        left: 40px;
    }
}

@media screen and (max-width: 730px) {
    .first-screen {
        margin-top: 5px;
        --border-radius: 10px;
    }

    .first-screen .first-screen__content {
        display: flex;
        flex-direction: column;
        align-items: center;
        min-height: unset;
        padding-bottom: 30px;
        --btn-box-height: 0px;
        --btn-box-width: 0px;
        --logo-height: 42px;
        --logo-width: 166px;
        --logo-curve: 20px;
        position: relative;
        border-radius: var(--border-radius);
        overflow: hidden;
    }

    .first-screen .first-screen__note-wrap {
        position: relative;
        top: 0;
        right: 0;
        z-index: 2;
        margin-top: 40px;
    }

    .first-screen .first-screen__register {
        position: initial;
        width: 100%;
        margin-top: 10px;
    }

    .first-screen .first-screen__title-wrap {
        margin-left: -37px;
        margin-top: 0;
    }

    .first-screen .first-screen__date {
        position: initial;
        margin-right: auto;
        margin-left: 20px;
        margin-top: 20px;
        font-size: 16px;
    }

    .first-screen .first-screen__logo {
        display: none;
    }

    .first-screen .first-screen__calendar-img {
        height: 24px;
    }

    .first-screen__outer {
        padding-left: 5px;
        padding-right: 5px;
    }

    .first-screen .share-buttons {
        bottom: 20px;
        right: 20px;
        z-index: 3;
    }

    .first-screen .first-screen__main-title {
        width: 300px;
    }

    .first-screen .first-screen__hands-picture {
        width: 390px;
        top: 68px;
        left: -28px;
    }

    .first-screen .first-screen__title {
        top: 13px;
        left: 41px;
        font-size: 48px;
    }

    .first-screen .first-screen__title span {
        font-size: 20px;
    }

    .first-screen .first-screen__description {
        top: 70px;
        left: 51px;
    }

    .first-screen .logo-cutout {
        display: block;
    }

    .first-screen .first-screen__cutout-wrapper {
        filter: none;
    }

    .first-screen .first-screen__content {
        clip-path: none;
    }
}

