@import url("default.css");

body {
    margin: 0;
    font-family: Dana, Tahoma, Arial, sans-serif;
}

.preview {
    transition: .3s all;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview iframe {
    transition: .3s all;
}

.preview.desktop iframe {
    padding: 0;
    width: 100%;
    height: calc(100vh - 70px);
    border-width: 0;
    border-radius: 0;
}

.preview.laptop iframe {
    padding: 30px 3px;
    background-color: #363d4d;
    margin: 100px 0;
    width: 1024px;
    height: 576px;
    border-width: 1px;
    border-radius: 10px;
    transition: .3s all;
}

.preview.tablet iframe {
    padding: 30px 3px;
    background-color: #363d4d;
    margin: 100px 0;
    width: 768px;
    height: 1024px;
    border-width: 1px;
    border-radius: 10px;
    transition: .3s all;
}

.preview.mobile iframe {
    background-color: #363d4d;
    margin: 100px 0;
    width: 425px;
    height: 720px;
    border-width: 1px;
    border-radius: 10px;
    padding: 30px 3px;
    transition: .3s all;
}

.top-bar {
    width: 100%;
    padding: 10px;
    background-color: #fff;
    box-shadow: 10px 0 20px 0 rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 10px 0 20px 0 rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 10px 0 20px 0 rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-end;
    align-items: center;
    position: absolute;
    top: 0;
    height: 70px;
}

.top-bar .logo-col {
    display: flex;
    flex: 0 0 150px;
}

.top-bar .logo {
    width: 100%;margin-top:8px;
    display: inline-block;
}

.top-bar .title-col {
    /*flex: 0 0 60%;*/
    display: flex;
    justify-content: flex-start;
    margin-left: auto;
    margin-right: 23px;
}
.btn-sandBox {
    padding: 9px;
    background-color: #F1F1F1;
    border-radius: 5px;
    text-align: center;
    margin-left: 12px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    gap: 13px;
    transition: all .1s;
    max-width: 42px;
}

.btn-sandBox span {
    opacity: 0;
    visibility: hidden;
    color: #898989;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.01em;
    white-space: nowrap;
    position: absolute;
    left: 0;
}

.btn-sandBox:hover span {
    opacity: 1;
    visibility: visible;
    left: 45px;
}

.btn-sandBox:hover {
    width: 130px;
    max-width: 112px;
    justify-content: end;
}

.btn-sandBox.loading {
    padding-left: 40px;
    pointer-events: none;
}
.btn-sandBox.loading:after {
    content: "";
    position: absolute;
    border-radius: 100%;
    left: 6px;
    top: 50%;
    width: 0;
    height: 0;
    margin-top: -2px;
    border: 2px solid #1aa089;
    border-left-color: #FFF;
    border-top-color: #FFF;
    animation: spin .6s infinite linear, grow .3s forwards ease-out;
}
@keyframes spin {
    to {
        transform: rotate(359deg);
    }
}
@keyframes grow {
    to {
        width: 14px;
        height: 14px;
        margin-top: -8px;
        left: 13px;
    }
}

.timer-sandBox {
    background-color: #F0F0F0;
    border-radius: 5px;
    padding: 7px 15px;
    margin-left: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    cursor: pointer;
}

.timer-sandBox__img {

}

.timer-sandBox__content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.timer-sandBox__content-title {
    font-size: 13px;
    font-weight: 400;
    color: #353535;
    white-space: nowrap;
}


.timer-sandBox__content-time {
    font-size: 18px;
    font-weight: 400;
    width: 50px;
    color: #353535;
    letter-spacing: -0.03em ;
    position: relative;
}

.top-bar .title {
    color: #3C4354;
    font-size: 16px;
    display: inline-block;
	font-weight:bold;
}

.top-bar .devices-col {
    /*flex: 0 0 10%;*/
    display: flex;
    flex-direction: row-reverse;
}

.top-bar .devices {
    padding: 1px;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background-color: #F1F1F1;
    display: flex;
    flex-wrap: nowrap;
    align-content: space-between;
    align-items: center;
    justify-content: space-around;
}

.top-bar .devices:hover {
    width: 120px;
}

.top-bar .devices .icon {
    width: 30px;
    height: 30px;
    cursor: pointer;
    border-radius: 5px;
    transition: .3s all;
    display: inline-block;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 20px 20px;
}

.top-bar .devices .icon:hover {
    transition: .3s all;
    background-color: #d1d1d1;
}

.top-bar .devices .icon.tablet,
.top-bar .devices .icon.laptop,
.top-bar .devices .icon.mobile {
    display: none;
}

.top-bar .devices:hover .icon.tablet,
.top-bar .devices:hover .icon.laptop,
.top-bar .devices:hover .icon.mobile {
    display: inherit;
}

.top-bar .devices .icon.desktop {
    background-image: url("../img/shapes/desktop.svg");
}

.top-bar .devices .icon.laptop {
    background-image: url("../img/shapes/laptop.svg");
}

.top-bar .devices .icon.tablet {
    background-image: url("../img/shapes/tablet.svg");
}

.top-bar .devices .icon.mobile {
    background-image: url("../img/shapes/mobile.svg");
}

.top-bar .btn-col {
    display: flex;
    /*flex: 0 0 161px;*/
    margin-right: 15px;
    flex-direction: row-reverse;
}

.top-bar .buy-btn {
    color: #fff;
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 10px;
    transition: .3s all;
    background-color: #1aa089;
    white-space: nowrap;
}

.top-bar .buy-btn:hover {
    transition: .3s all;
	opacity:.8
}

.top-bar .buy-btn .icon {
    width: 20px;
    height: 17px;
    margin-left: 10px;
    display: inline-block;
    transform: translateY(4px);
    background-repeat: no-repeat;
    background-image: url("../img/shapes/basket.svg");
}

.top-bar .preview-btn {
    color: #fff;
    text-decoration: none;
    padding: 8px 15px 8px 20px;
    border-radius: 5px;
    transition: .3s all;
    background-color: #ffc64b;
    white-space: nowrap;
    margin-left: 15px;
    display: flex;
    align-items: flex-start;
    gap: 5px;
}

.top-bar .preview-btn:hover {
    transition: .3s all;
    background-color: #ecaf2b;
    color: #fff;
}

.top-bar .preview-btn .icon {
    width: 20px;
    height: 17px;
    display: inline-block;
    transform: translateY(4px);
    background-repeat: no-repeat;
    background-image: url("../img/shapes/preview-icon.svg");
    color: #fff;
}

.top-bar .close-col {
    display: flex;
    flex: 0 0 25px;
    margin-right: 15px;
    flex-direction: row-reverse;
}

.top-bar .close {
    width: 15px;
    height: 15px;
    margin-left: 10px;
    background-repeat: no-repeat;
    background-image: url("../img/shapes/cross.svg");
}

@media only screen and (max-width: 1250px) {
    .top-bar .title-col {
        flex: 0 0 50%;
    }
}

@media only screen and (max-width: 920px) {
    .top-bar .devices-col {
        display: none;
    }
}

@media only screen and (max-width: 770px) {
    .top-bar .title-col {
        display: none;
    }
}

@media only screen and (max-width: 557px) {
    .top-bar .preview-btn {
        font-size: 0;
        padding: 10px;
    }

    .top-bar .preview-btn .icon {
        height: 23px;
    }

    .top-bar .buy-btn {
        font-size: 0;
        padding: 10px;
    }

    .top-bar .buy-btn .icon {
        height: 23px;
        margin: 0;
    }
}


.showTopBar {
    border-radius: 0 0 4px 4px;
    display: block;
    max-width: 120px;
    position: absolute;
    background: #fff;
    left: 20px;
    top: -32px;
    width: 40px;
    height: 24px;
    padding: 4px 8px;
    box-shadow: 0 0 10px 0 rgb(0 0 0 / 15%);
    z-index: 5;
    cursor: pointer;
}

.showTopBar img {
    width: 32px;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

}

.top-bar {
    z-index: 6;
}

body .showTopBar,
body .top-bar,
body .preview.desktop iframe
body {
    transition: all 0.5s linear;
}

body.minimized .showTopBar {
    top: 0;
}

body.minimized .top-bar {
    position: absolute;
    top: -200px;
    height: 0;
    overflow: hidden;
    transition: all 0.5s linear;
}

body .preview.desktop iframe {
    transition: all 0.5s linear;
    margin-top: 70px;
}

body.minimized .preview.desktop iframe {
    transition: all 0.5s linear;
    height: 100vh;

    margin-top: 0;
}

body {
    overflow: hidden;
}

@media (max-width: 992px) {
    .logo-col {
        margin-left: auto;
    }

    .btn-sandBox {
        margin-left: 0;
    }

    .top-bar .btn-col {
        margin-right: 8px;
    }
}

@media (max-width: 576px) {
    /*.btn-sandBox {*/
    /*    display: none !important;*/
    /*}*/

    .timer-sandBox {
        padding: 3px 15px;
        gap: 14px;
        margin-left: 0px;
    }

    .timer-sandBox__content {
        flex-direction: column;
        gap: 2px;
    }

    .timer-sandBox__content-title {
        font-size: 12px;
    }

    .timer-sandBox__content-time {
        text-align: center;
        font-size: 16px;
        line-height: 17px;
    }
}

@media (max-width: 410px) {
    .timer-sandBox {
        padding: 3px 5px;
        gap: 5px;
    }
}
