html, body {
    height: 100%;
}
body {
    display: flex;
    flex-direction: column;
}
.content {
    flex: 1 0 auto;
}
.footer {
    flex-shrink: 0;
}

body {
    margin: 0;
    padding: 0;
}

main {
    padding-left: 30px;
    padding-right: 30px;
}

.cutTemplate {
    height: calc(100vh - 250px);
}

.imageAreaContainer {
    position: relative;
    width: calc(100vw - 550px);
    align-self: start;
}

.rendererImageContainer {
    background-color: rgb(207, 207, 207);
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: block;
}
.rendererImageWrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: block;
}
.rendererImage {
    width: 100%;
    height: 100%;
    background-color: rgb(255, 255, 255);
    transition: transform 0.1s ease 0s;
    will-change: transform;
}
.draggableAreaContainer {
    position: absolute;
    z-index: 1;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
}
.draggableArea {
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    border: 1px solid rgb(12, 12, 12);
    width: 100px;
    height: 60%;
    cursor: all-scroll;
    position: relative;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 50px 50px -50px, rgba(0, 0, 0, 0.1) 0px 0px 15px;
    touch-action: none;
}

.clippingMasksContainer {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    transition: opacity 0.1s ease 0s;
    opacity: 0.7;
    overflow: hidden;
}

.clippingMaskTop {
    top: 0px;
    left: 0px;
}

.clippingMaskBottom {
    bottom: 0px;
    left: 0px;
}

.clippingMaskLeft {
    left: 0px;
    top: 0px;
}

.clippingMaskRight {
    right: 0px;
    top: 0px;
}

.clippingMaskStyle {
    background-color: rgb(255, 255, 255);
    position: absolute;
}


.stripsContainer {
    color: red;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    opacity: 0.4;
}

.strip:first-child {
    border-left: none;
}

.strip:last-child {
    border-right: none;
}

.strip {
    width: 100%;
    height: 100%;
    border-right: 1px solid rgb(0, 0, 0);
    border-left: 1px solid rgb(0, 0, 0);
}


.rulesTop {
    position: absolute;
    z-index: 2;
    bottom: calc(100% + 10px);
    left: 0px;
    text-align: center;
    border-bottom: 1px solid rgb(12, 12, 12);
    color: rgb(12, 12, 12);
    padding: 3px 0px;
    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
}

.rulesRight {
    position: absolute;
    z-index: 2;
    left: calc(100% + 10px);
    top: 0;
    text-align: center;
    border-left: 1px solid rgb(12, 12, 12);
    color: rgb(12, 12, 12);
    padding: 0 3px;
    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

* {
    box-sizing: border-box;
}

.customizeImage {
    padding-top: 50px;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 450px;
    grid-gap: 50px;
}

.imageArea {
    position: relative;
    margin: 0 auto;
}

input {
    padding: 10px;
}

img {
    max-width: 100%;
    height: auto;
}

.controlArea {
    border-radius: 3px;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,.2), 0 4px 15px 0 rgba(0,0,0,.1);
    background: url("../img/background-six.webp");
    padding: 20px;
    overflow-y: auto;
}

.toCardButton {
    text-align: center;
    display: inline-block;
    padding: 25px;
    text-decoration: none;
    color: white;
    width: 100%;
    text-transform: uppercase;
    border: none;
    font-size: 16px;
    font-weight: 700;
    background: #519935;
    position: relative;
    overflow: hidden;
    letter-spacing: 2px;
    transition: background 800ms linear;
    cursor: pointer;
    margin-top: 30px;
}

.toCardButton:hover {
    background: #519935b5;
}

.widthHeightBlock {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
    align-items: center;
}

.widthHeightBlock > div {
    text-align: center;
}

.switchCheckboxBlock {
    display: grid;
    grid-template-columns: 1fr 1fr;
    text-align: center;
    justify-items: center;
    align-items: center;
    grid-gap: 20px;
    margin-top: 20px;
}

.switch {
    display: flex;
    justify-content: center;
    margin-bottom: 5px;
}

@media (max-width: 1080px) {
    .customizeImage {
        grid-template-columns: 1fr 380px;
    }

    .imageAreaContainer {
        width: calc(100vw - 480px);
    }
}

@media (max-width: 894px) {
    .customizeImage {
        grid-template-columns: 100%
    }

    .imageAreaContainer {
        width: calc(100vw - 80px);
        align-self: center;
    }
}