.os-modal {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    display: none;
    z-index: 10000000000;
}
.os-modal.opening {
    animation: os__open .7s ease-in-out;
}
.os-modal.closing {
    animation: os__close .7s ease-in-out;
}
.os-modal.open {
    display: flex;
}
.os__rule {
    text-align: center;
}
.os__wrapper {
    width: 100%;
    max-width: 530px;
    height: 100%;
    max-height: 660px;
    background-color: #fff;
    margin: 10px;
}
.os__body {
    display: flex;
    flex-direction: column;
    position: relative;
}
.os__header .os__inner {
    position: relative;
    font-family: "Bitter", sans-serif;
}
.os__header .os__inner img {
    position: absolute;
    width: 20px;
    height: 20px;
    top: 10px;
    right: 10px;
}
.os__title {
    position: absolute;
    color: #fff;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 32px;
    font-family: inherit;
    font-weight: 500;
    width: 100%;
    max-width: 360px;
    text-align: center;
    text-transform: uppercase;
    line-height: 1.1;
}
.os__title span {
    font-size: 28px;
    text-transform: lowercase;
}
.os__img {
    width: 100%;
    max-width: 570px;
    height: 100%;
    max-height: 400px;
}
.os__text {
    font-family: inherit;
    font-size: 16px;
    text-align: center;
    margin-top: 20px;
    color: #000;
}
.os__flex {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 20px;
}
.os__column {
    flex-direction: column;
}
.os__input {
    width: 100%;
    max-width: 200px;
    text-align: center;
    padding: 5px 0;
    font-family: inherit;
    font-size: 16px;
    border: 1px solid #c6c6c6ff;
    margin-bottom: 20px;
}
.os__input:focus {
    border: 1px solid #858585;
    outline: none;
}
.os__button {
    width: 100%;
    max-width: 200px;
    text-align: center;
    padding: 5px 0;
    text-decoration: none;
    color: #fff;
    background-color: #50966e;
    font-family: inherit;
    font-size: 16px;
    text-transform: uppercase;
}
.os__footer {
    font-family: inherit;
    font-size: 10px;
    padding: 0 50px;
    color: #000;
}
.os-enter {
    animation: os__enter .7s ease-in-out;
}
.os-leave {
    animation: os__leave .7s ease-in-out;
}
@keyframes os__open {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes os__close {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes os__enter {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0%);
        opacity: 1;
    }
}
@keyframes os__leave {
    from {
        transform: translateY(0%);
        opacity: 1;
    }
    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

:root {
    --var-size: calc(1vw + 1vh)
}

@media (max-width: 767px) {
    .os__wrapper {
        max-width: 100%;
        max-height: 100%;
    }
}
@media (min-width: 319px) and (orientation: portrait) and (max-width: 767px) {
    .os__wrapper {
        width: calc(var(--var-size) * 30);
        height: calc(var(--var-size) * 55);
        overflow-y: auto;
    }
    .os__title {
        top: 60px;
        font-size: 22px;
    }
    .os__title span {
        font-size: 20px;
    }
    .os__text {
        font-size: 14px;
        padding: 0 10px;
    }
    .os__footer {
        padding: 0 20px 30px;
    }
}
@media (min-width: 375px) and (orientation: portrait) and (max-width: 767px) {
    .os__title {
        top: 60px;
        font-size: 24px;
    }
    .os__title span {
        font-size: 22px;
    }
    .os__text {
        font-size: 16px;
    }
}
@media (min-width: 479px) and (orientation: landscape) and (max-width: 900px) {
    .os__wrapper {
        width: calc(var(--var-size) * 50);
        height: calc(var(--var-size) * 35);
        overflow: auto;
    }
    .os__footer {
        padding: 0 20px 30px;
    }
}