@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap");

body {
    margin: 0;
    overflow: hidden;
    font-family: "Roboto", sans-serif;
    height: 100vh;
    width: 100vw;
}

#preloader {
    position: fixed;
    z-index: 10;
    background-color: white;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;

    background-repeat: no-repeat;
}

#container {
    position: fixed;
    width: 100vw;
    height: 100vh;
    z-index: 1;
}

#video {
    -o-object-fit: cover;
    object-fit: cover;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -5;
}

#video::-webkit-media-controls {
    display: none !important;
}

#canvas {
    -o-object-fit: cover;
    object-fit: cover;
    position: fixed;
    width: 100% !important;
    height: 100% !important;    /* при изменении смещаются области кликов на элементы */
    top: 0;
    left: 0;
    z-index: 1;
}

#modal_marker-comp, #modal_marker-landscape {
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    right: 0;
    z-index: 99999999;
    background: #e5e5e5;
    display: none;
    text-align: center;
}

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

#modal_marker-comp img {
    height: 130px;
    width: 130px;
}

#modal_language {
    display: none;

    position: absolute;
    bottom: 10px;
    left: 50%;
    border-radius: 19px;
    transform:translate(-50%, 0);

    width: 260px;
    height: 60px;
    background: rgba(255, 255, 255, 0.7);

    justify-content: center;
    grid-auto-flow: column;
    column-gap: 50px;
    align-items: center;

    z-index: 5;
}

#modal_language > img {
    width: 40px;
    height: 40px;
    border-radius: 40px;
}

.bg-class {
    height: 100%;
    background-image: url(../assets/pictures/preloader_background.svg);
    background-size: cover;
    background-repeat: no-repeat;
}

.AR-tip {
    z-index: 9999;
    padding: 5px;
    min-width: 400px;
    max-width: 400px;
    display: none;
    align-items: center;
    opacity: 1;
    position: fixed;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    background: linear-gradient(
        62.32deg,
        #3e488b 12.05%,
        #3588aa 89.33%,
        rgba(42, 215, 208, 0.46) 198.09%
    );
    border-radius: 24px;
}
.AR-tip::before {
    content: "";
    position: fixed;
    top: 4px;
    bottom: 4px;
    left: 4px;
    right: 4px;
    background: linear-gradient(
        297.68deg,
        #3e488b 12.05%,
        #3588aa 89.33%,
        rgba(42, 215, 208, 0.46) 198.09%
    );
    border-radius: 20px;
    z-index: -1;
}
.trigger {
    z-index: 9999;
    padding: 5px;
    /* min-width: 400px;
    max-width: 400px; */
    display: none;
    align-items: center;
    opacity: 1;
    position: fixed;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
}

.loading {
    display: none;
    min-width: 300px;
}

.tip-content-main-img {
    margin: 5%;
}

.tip-loading-txt_main {
    margin: auto;
    margin-bottom: 20px;
    margin-top: 30px;
    font-family: Roboto;
    font-style: normal;
    font-weight: normal;
    font-size: 25px;
    line-height: 29px;
    text-align: center;
    color: #ffffff;
}

progress {
    background-color: transparent;
    /* border: 2px solid white; */
    height: 30px;
    width: 90%;
    /* border-radius: 20px; */
}
progress::-webkit-progress-bar {
    background-color: transparent;
    border: 2px solid white;
    height: 30px;
    border-radius: 20px;
}
progress::-webkit-progress-value {
    background-color: white;
    /* border: white; */
    height: 30px;
    width: 90%;
    border-radius: 20px;
}
progress::-moz-progress-bar {
    background-color: black;
    border: white;
    height: 30px;
    width: 90%;
    border-radius: 20px;
}

.tip-loading-progress {
    overflow: hidden;
    background: transparent;
    border: 2px solid white;
    border-spacing: 1px;
    justify-content: flex-start;
    border-radius: 100px;
    align-items: center;
    position: relative;
    display: flex;
    height: 30px;
    width: 85%;
    margin: auto;
    padding: 1px;
}

.tip-loading-progress-value {
    animation: load 3s ease-in-out infinite;
    background: #fff;
    border-radius: 100px;
    height: 100%;
    width: 0;
}

@keyframes load {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

.tip-loading-txt_footer {
    margin: auto;
    margin-bottom: 30px;
    margin-top: 20px;
    font-family: Roboto;
    font-style: normal;
    font-weight: 300;
    font-size: 14px;
    line-height: 16px;
    text-align: center;
    color: #ffffff;
}

.AR-tip p {
    text-align: center;
    font-size: 1em;
    margin: 0;
}

#modal_marker {
    z-index: 9999;

    min-width: 200px;
    max-width: 400px;
    min-height: 200px;
    display: none;

    position: fixed;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
}

.modal_img {
    width: 100%;
}

.tip-content-main-img img {
    position: relative;
    left: 50%;
    transform: translate(-50%, 0);

    /* margin-bottom: 30px; */
}

#modal_marker h3 {
    font-weight: 700;
    color: #fff;
}

.modal_marker_image_wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 50px;
}

.modal_marker_marker {
    margin-top: 10%;
    left: 0;
    margin-left: 32%;
    width: 70px;
    bottom: 60px;
}

@media (max-width: 699px) {
    .modal_marker_image_wrapper {
        margin-bottom: 70px;
    }
}

.Ar-tip_google_click {
    position: fixed;
    left: 0;
    margin-left: 0%;
    width: 70px;
    bottom: 20px;
    animation: google_click 2s linear infinite;
}

.Ar-tip_google_phone {
    width: 80px;
    margin-left: 70%;
    animation: google_phone 2s linear infinite;
}

@keyframes google_phone {
    0% {
        margin-left: 60%;
    }
    75% {
        margin-left: 40%;
    }
    100% {
        margin-left: 40%;
    }
}

@keyframes google_click {
    0% {
        margin-left: 0;
    }
    75% {
        margin-left: 41.8%;
    }
    100% {
        margin-left: 41.8%;
    }
}

.Ar-tip_accept_image {
    display: inline-block;
    width: 200px;
    margin-left: 50px;
}

.Ar-tip_accept_click {
    position: fixed;
    left: 120px;
    width: 70px;
    bottom: 0;
}

h4.my-gradient-txt_main,
p.my-gradient-txt_main {
    margin: auto;
    margin-bottom: 30px;
    margin-top: 20px;
    font-family: Roboto;
    font-style: normal;
    font-weight: normal;
    font-size: 48px;
    line-height: 20px;
    text-align: center;

    color: #ffffff;
    width: 90%;
}

#modal_marker_not_rtc_android h4.my-gradient-txt_main,
#modal_marker_not_rtc_android p.my-gradient-txt_main,
#modal_marker_not_rtc_ios h4.my-gradient-txt_main,
#modal_marker_not_rtc_ios p.my-gradient-txt_main {
    text-align: left;
}

.marker-comp {
    display: block;
    width: 400px;
    height: 400px;
    background: url(../assets/pictures/comp-modal.svg) center no-repeat;
    background-size: auto 100%;
}

.marker-landscape {
    display: block;
    width: 200px;
    height: 180px;
    background: url(../assets/pictures/landscape-modal.svg) center no-repeat;
    background-size: auto 100%;
    padding: 20px;
}

.marker-landscape-text {
    display: flex;
    width: 100%;
    height: 30%;
    align-items: center;
}

.marker-landscape-img {
    display: flex;
    width: 100%;
    height: 40%;
    justify-content: center;
    margin: 10px 0 10px 0;
}

.marker-comp-link {
    display: flex;
    width: 100%;
    height: 50%;
}

.marker-comp-link-text {
    margin: auto auto auto 15px;
    height: 60%;
    width: 100%;
    /* margin-right: 10px; */
}

.marker-comp-qr {
    display: flex;
    /* margin-top: 70px; */
    height: 50%;
    width: 100%;
}

.marker-comp-qr-text {
    margin: auto auto auto 15px;
    height: 60%;
    width: 55%;
    /* margin-right: 10px; */
}

.marker-comp-qr-img {
    margin: auto 25px auto auto;
    height: 130px;
    width: 130px;
}

#modal_marker-comp h4.my-gradient-txt_main {
    /* margin: 60px auto 0px 20px; */
    text-align: left;
}

#modal_marker-comp p.my-gradient-txt_main {
    margin: 0px;
    text-align: left;
}

h4.my-gradient-txt_main {
    font-size: 17px;
}

h4.fs-14 {
    font-size: 14px;
}

p.my-gradient-txt_main {
    font-size: 18px;
    line-height: 21px;
}

.my-gradient-txt_main span {
    color: white;
    font-weight: 700;
}

.tip-content-main-img img {
    width: 36%;
}

/*.button-refresh {*/
/*    width: 100%;*/
/*    display: flex;*/
/*    justify-content: center;*/
/*    background: url(../../src/assets/pictures/butRefresh.svg) center no-repeat;*/
/*    background-size: auto 100%;*/
/*    !* margin-bottom: 20px; *!*/
/*}*/

/* #modal_marker_not_cam{
  display: block!important;
} */

#modal_marker_not_cam_ios img,
#modal_marker_not_cam_android img {
    margin-top: 10px;
    width: 75%;
}

#modal_marker_not_cam_ios h4,
#modal_marker_not_cam_android h4 {
    text-align: left;
    margin-left: 10px;
}

.button-refresh a {
    text-decoration: none;
    font-family: Roboto;
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    line-height: 20px;
    padding: 10px;
    /* border: 1px solid #00ff47; */
    color: #ffffff;
    margin-bottom: 20px;
    margin-top: 20px;
}

#modal_marker_not_cam_android h4.my-gradient-txt_main,
p.my-gradient-txt_main {
    margin-bottom: 2px !important;
    margin-top: 10px !important;
}

.androidErrorMainText {
    margin-top: 30px;
    margin-bottom: 10px;
}

#modal_marker_not_cam_android img {
    width: 99%;
    margin-top: 10px;
    margin-bottom: 10px;
}

.container {
    margin: auto;
    z-index: -6;

    display: grid;
    justify-content: center;
    width: 100%;
    grid-template-columns: 100%;
}

.screenshot-bg {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;

    z-index: 10000;
    background: #3587AA;
    opacity: 0.8;
}
.screenshot-wrapper {
    display: none;
}
.screenshot-content {
    position: fixed;
    width: 90%;
    top:50%;
    left:50%;
    transform:translate(-50%, -50%);

    z-index: 10001;
}
.screenshot-image {
    width: 100%;

    border: 2px solid #FFFFFF;
    box-sizing: border-box;
    border-radius: 32px;
}
.close-screenshot-icon {
    width: 30px;
    height: 30px;

    position: fixed;
    top: 10px;
    right: 10px;
}
.share-screenshot-icon {
    height: 30px;

    position: fixed;
    bottom: 30px;
    right: 20px;
}
.export-screenshot-image {
    height: 30px;
    width: 30px;

    position: fixed;
    bottom: 30px;
    left: 20px;
}

.header {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    background: linear-gradient(
            297.68deg,
            #3e488b 12.05%,
            #3588aa 89.33%,
            rgba(42, 215, 208, 0.46) 198.09%
        ),
        #f1f1f1;
    color: #fff;
    width: 100%;
    border-radius: 0 0 15px 15px;
    opacity: 0.8;

    z-index: 5;
}
.tip-content-header-img img {
    /* width: 30px;
    height: 60px; */
}

.header-content {
    display: flex;
    align-items: center;
    padding: 12px 29px;
}


.my-gradient-txt_header {
    text-align: left !important;
    margin-left: 15px !important;
    margin-top: 0px !important;
    margin-bottom: 0 !important;
    font-style: normal !important;
    font-weight: 600 !important;
    font-size: 18px !important;
    line-height: 22px !important;
}

.trigger-img {
    position: relative;
    left: 50%;
    transform: translate(-50%, 0);

    max-width: 201px;
    max-height: 201px;
    opacity: 0.85;
    object-fit: contain;
}

.trigger-phone {
    position: absolute;
    left: 50%;
    top: 50%;

    transform:translate(-50%, -50%);
    width: 60px;

    animation: phone-floating 5s ease-in-out infinite;
}

@keyframes phone-floating {
    from {
        left: 50%;
        top: 10%;

        transform:translate(-50%, -50%);
    }

    25% {
        left: 20%;
        top: 100%;
    }

    50% {
        left: 50%;
        top: 10%;

        transform:translate(-50%, -50%);
    }

    75% {
        left: 80%;
        top: 100%;
    }

    to {
        left: 50%;
        top: 10%;

        transform:translate(-50%, -50%);
    }
}

.footer {
    display: none;
    position: fixed;
    right: 0;
    bottom: 0;
    background: linear-gradient(
            297.68deg,
            #3e488b 12.05%,
            #3588aa 89.33%,
            rgba(42, 215, 208, 0.46) 198.09%
        ),
        #f1f1f1;
    color: #fff;
    width: 100%;
    border-radius: 15px 15px 0 0;
    z-index: 5;
}

#photoButton {
    height: 100%;

    display: grid;
    align-content: center;
    align-items: center;
    justify-content: center;
}

#photoButton img {
    height: 21px;
}

.footer-controls {
    overflow: auto;
    display: none;
}

.footer-controls.visible {
    border-bottom: 2px solid white;

    display: grid;
    justify-content: center;
    align-content: center;
    grid-template-columns: 90%;

    width: 100%;
    height: 50px;

    overflow: hidden;
}

.footer-controls-wrapper {
    display: grid;
    justify-content: space-between;
    justify-items: center;
    align-content: center;
    align-items: center;
    grid-template-columns: auto 20px;
}

.play-multimedia-wrapper {
    display: grid;
    height: 20px;

    grid-template-columns: 22px auto;
    column-gap: 20px;
    justify-content: start;
}

.volumeWrapper {
    display: grid;
    justify-content: start;
    align-items: center;
    align-content: center;
    grid-template-columns: 22px calc(84px * 2);
    column-gap: 5px;
}

.footer-header-text {
    display: inline-block;
    position: fixed;
    left: 60px;
    text-align: center;
    color: white;
    font-weight: 300;
    font-size: 20px;
    line-height: 20px;
}

.footer-buttons {
    height: 51px;

    display: grid;
    justify-content: center;
    justify-items: center;
    grid-template-columns: 100%;
}

.footer-buttons .visible {
    display: block;
}

.footer-block {
    display: grid;
    justify-content: space-between;
    align-content: center;
    align-items: center;
    grid-template-columns: repeat(3, 1fr);
    height: 100%;
    width: 90%;
}

.multimedia-block {
    display: grid;
    justify-content: left;

    grid-template-columns: auto auto;
    column-gap: 10px;

    min-width: 70px;
}

#videoButton, #musicButton {
    height: 33px;
}

.additional-options-block {
    display: grid;
    justify-content: right;
    align-content: center;
    align-items: center;

    grid-template-columns: auto auto;

    height: 100%;
}

.additional-options-block > button {
    height: 21px;
}

.additional-options-block > button > img {
    height: 100%;
}

#pinButton {
    margin-right: 20px;
    display: none;
}

.footer-button {
    padding: 0;
    background-color: transparent;
    border: 0;
    outline: none;
}

.footer-buttons-close {
    display: grid;
    justify-content: center;
    align-content: center;
    align-items: center;
}

.footer-buttons-close img{
    height: 20px;
    width: 20px;
}

.footer-buttons-video, .footer-buttons-music {
    display: none;
    width: 30px;
    height: 35px;
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position-x: center;
    background-position-y: center;
}

.footer-buttons-video.visible, .footer-buttons-music.visible {
    display: flex;
}

.footer-buttons-video {
    background-image: url(../assets/pictures/video_unselect.svg);

    overflow: hidden;
    border-radius: 5px;
}

.footer-buttons-video.select {
    background-image: url(../assets/pictures/video_select.svg);
}

.footer-buttons-music {
    background-image: url(../assets/pictures/music_unselect.svg);

    overflow: hidden;
    border-radius: 5px;
}

.footer-buttons-music.select {
    background-image: url(../assets/pictures/music_select.svg);
}

.footer-buttons-mute {
    height: 20px;
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position-x: center;
    background-position-y: center;
    background-image: url(../assets/pictures/mute_control.svg);
}

.footer-buttons-mute.unmute.half {
    background-image: url(../assets/pictures/unmute_control_half.svg);
}

.footer-buttons-mute.unmute {
    background-image: url(../assets/pictures/unmute_control.svg);
}

.footer-buttons-play {
    height: 20px;
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position-x: center;
    background-position-y: center;
    background-image: url(../assets/pictures/pause_control.svg);
}

.footer-buttons-play.pause {
    background-image: url(../assets/pictures/play_control.svg);
}

.footer-scan {
    margin: 0;
    width: 45%;
    height: 100%;
    text-align: center;
    background: url(../assets/pictures/scan.svg) center no-repeat;
    background-size: contain;
    color: white;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
}

@-webkit-keyframes trigger-tablet-anim {
    from { right: 7%; top: 75%; }
    25% { right: 30%; top: 20%; }
    50% { right: 60%; top: 75%; }
    75% { right: 30%; top: 20%; }
    to { right: 7%; top: 75%; }
}

@media (max-width: 500px) {
    .AR-tip {
        z-index: 9999;
        padding: 5px;
        min-width: 80%;
        max-width: 80%;

        min-height: 250px;

        display: none;

        position: fixed;
        transform: translate(-50%, -50%);
        top: 50%;
        left: 50%;
    }
    .trigger {
        z-index: 9999;
        padding: 5px;
        min-width: 80%;
        max-width: 80%;

        min-height: 250px;

        display: none;

        position: fixed;
        transform: translate(-50%, -50%);
        top: 50%;
        left: 50%;
    }
    .AR-tip p {
        text-align: center;
        font-size: 1em;
        margin: 0;
    }

    .loading {
        min-height: 100px;
        min-width: 300px;
    }

    #modal_marker {
        z-index: 9999;

        min-width: 280px;
        max-width: 350px;
        min-height: 220px;
        display: none;

        position: fixed;
        transform: translate(-50%, -50%);
        top: 50%;
        left: 50%;
    }
    #modal_marker p {
        font-size: 1em;
        margin: 0;
    }

    .my-gradient-txt_main {
        font-size: 18px !important;
        line-height: 20px !important;
        margin-bottom: 10px !important;
    }
    .my-gradient-txt_header {
        margin-bottom: 0 !important;
    }
    .tip-content {
        margin-top: 20px;
    }

    .button-refresh a {
        font-size: 15px;
    }
}

@media (orientation: landscape) {
    .footer {
        right: 0;
        bottom: 0;
        width: auto;
        height: 100%;

        border-radius: 15px 0 0 15px;
    }

    .container {
        height: 100%;

        align-content: center;

        grid-template-rows: 100%;
        justify-content: unset;
        grid-auto-flow: column;
    }

    .container {
        grid-template-columns: 51px;
    }

    .footer-controls.visible {
        border-right: 2px solid white;

        justify-content: center;
        align-content: center;
        grid-template-rows: 90%;

        width: 50px;
        height: 100%;

        grid-template-columns: unset;
        border-bottom: unset;
    }

    .footer-controls-wrapper {
        align-content: space-between;
        justify-content: center;
        grid-template-rows: 20px auto;

        grid-template-columns: unset;
    }

    .play-multimedia-wrapper {
        width: 20px;

        grid-template-rows: auto 22px;
        row-gap: 20px;
        justify-content: start;

        height: unset;
        grid-template-columns: unset;
        column-gap: unset;

        grid-row: 2;
    }

    .volumeWrapper {
        grid-row: 1;

        align-content: end;
        align-items: end;
        justify-content: center;
        grid-template-rows: calc(84px * 2) 22px;
        row-gap: 5px;

        column-gap: unset;
        grid-template-columns: 25px;
    }

    .volumeWrapper input {
        grid-row: 1;
        width: calc(84px) !important;
        transform: rotate(-90deg);
        position: relative;
        left: -35px;
        top: -45px;
    }

    .footer-buttons-mute {
        grid-row: 2;
    }

    .footer-buttons-play {
        height: auto;
        width: 20px;
        background-size: 100% auto;

        grid-row: 2;
    }

    .footer-buttons-close {
        grid-row: 1;
    }

    .footer-buttons {
        width: 51px;
        height: 100%;

        align-content: center;
        align-items: center;
        grid-template-rows: 100%;

        justify-content: center;
        justify-items: center;
    }

    .footer-block {
        justify-content: center;
        justify-items: center;
        align-content: space-between;
        grid-template-rows: repeat(3, 1fr);
        grid-template-columns: 51px;
        height: 90%;
        width: 100%;
    }

    .multimedia-block {
        grid-row: 3;
        align-content: end;
        justify-content: center;
        justify-items: center;

        grid-template-rows: auto auto;
        grid-template-columns: 51px;
        row-gap: 10px;

        min-height: 70px;
        height: 100%;
    }

    #videoButton {
        grid-row: 2;
    }

    #musicButton {
        grid-row: 1;
    }

    #photoButton {
        grid-row: 2;
    }

    .additional-options-block {
        grid-row: 1;

        align-content: start;
        justify-content: center;
        justify-items: center;

        grid-template-rows: auto auto;
        grid-template-columns: unset;

        width: 100%;
    }

    #pinButton {
        margin-right: unset;
        margin-top: 20px;

        grid-row: 2;
    }

    #shareButton {
        grid-row: 1;
    }

    .header {
        display: none !important;
    }
}
