@import url('https://fonts.googleapis.com/css2?family=Maven+Pro:wght@600&display=swap');

html {
    height: 100%;
}

body{
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Maven Pro', sans-serif;
    background-color: #292F36;
}

.uploadzone {
    border: 2px solid rgba(255, 255, 255, 0.239);
    border-radius: 4px;
    position: absolute;
    top: 20px;
    right: 20px;
    width: 263px;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.picWnd {
    padding: 20px;
    width: 677px;
    height: calc(100% - 100px);
}

.wndGes {
    background-color: #69757F;
    position: relative;
    width: 76%;
    height: 675px;
    border-radius: 4px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    margin-top: 15px;
    padding-bottom: 60px;
}

.wndGes img {
    max-width: 90%;
    max-height: 90%;
    display: block;
}

.show {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.side-control-page{

    position: absolute;
    right: 20px;
    top:200px;
    user-select: none;
    width: 250px;
}

.side-control-page .zoom,
.side-control-page .rotate,
.side-control-page .flip {
    padding-left: 20px;
    margin-bottom: 0px;
    margin-top: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.239);
    height: 64px;
}

.side-control-page li svg {
    position: relative;
    display: inline;
    border-radius: 50%;
    transition-duration: .1s;
    margin-left: 10px;
    border: 1px solid transparent;
    fill: white;
    background-color: rgba(255, 255, 255, 0.129);
}

.side-control-page span {
    display: block;
    font-size: 13px;
}

.side-control-page li {
    list-style: none;
    height: auto;
    display: inline-block;
    margin-left: 40px;
    position: relative;
}

.side-control-page li svg:active {
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.actionButton {
    display: inline-block;
    position: relative;
    border-right: 1px solid rgba(255, 255, 255, 0.239);
}

.actionButton .upload,
.actionButton .download {
    display: block;
    width: 170px;
    height: 35px;
    margin: 10px;
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 2%;
    background-color: rgba(255, 255, 255, 0.129);
    color: white;
    border-radius: 3px;
    outline: none;
    transition-duration: .2s;
    font-family: 'Maven Pro', sans-serif;
    cursor: pointer;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.actionButton .upload:active,
.actionButton .download:active {
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.bottom-control {
    user-select: none;
    display: inline-block;
    margin-left: 20px;
    margin-top: -50%;
}

.bottom-control span {
    display: block;
    text-align: center;
    padding: 10px;
    font-size: 13px;
    padding-bottom: 16px;
}

.bottom-control li {
    list-style: none;
    display: inline-block;

}

.bottom-control ul {
    position: relative;
}

.bottom-control li svg {
    margin-left: 70%;
    display: inline;
    border-radius: 50%;
    transition-duration: .2s;
    background-color: rgba(255, 255, 255, 0.129);
    border: 1px solid transparent;
    fill: white;
}

.bottom-control .ctrl-cropper,
.bottom-control .drag-mode,
.bottom-control .saving {
    display: inline-block;
    width: 170px;
    height: 115px;
    border-right: 1px solid rgba(255, 255, 255, 0.239);
}

.ctrl-cropper .li4 {
    margin-left: -5px;
}

.li3:hover, .li4:hover {
    margin-left: -6px;
}

li svg:active {
    border: 1px solid rgba(255, 255, 255, 0.1);
}

li {
    transition: all .1s;
}

.li1 {
    margin-left: -17%;
}

.li2 {
    margin-left: 30%;
}

.li5 {
    margin-left: 8%;
}

li:hover {
    transform: scale(1.3);
}

.upload {
    transition: transform .2s;
}

.upload:hover, .download:hover   {
    transform: scale(1.1);
}

.download {
    transition: transform .1s;
}

.loader-container {
    width: 100%;
    height: 150%;
    opacity: 0.5;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    background: #000;
    z-index: 1;
}

.spinner {
    width: 64px;
    height: 64px;
    border: 5px solid;
    border-color: #3d5af1 transparent #3d5af1 transparent;
    border-radius: 50%;
    animation: spin-anim 1.2s linear infinite;
    margin: 60vh auto 0 auto;
}

@keyframes spin-anim {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.form-control {
    display: block;
    margin-right: 25%;
    margin-left:25%;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #d6d8db;
    background-color: transparent;
    background-clip: padding-box;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.progress {
    background-color: white;
    position: relative;
    border-radius: 20px;
    margin-top: 10%;
    margin-left: 25%;
    margin-right: 25%;
    height: 1.2rem;
}

#progressBar {
    background-color: #69757F;
    width: 100%;
    height: 1.2rem;
}