* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}
ul, ol {
    list-style: none;
}
.flex-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}
.flex-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
body {
    min-width: 300px;
    font-family: "Source Sans Pro", Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}
header {
    visibility: hidden;
    height: 2rem;
    width: 100%;
    padding-right: 2rem;
    justify-content: flex-end !important;
    box-shadow: 0 1px 1px 0 rgba(60,64,67,.30);
    margin-bottom: 4rem;
}

h1 {
    font-weight: 600;
    color: rgb(33, 33, 33);
    margin-left: 5px;
}
h2 {
    margin-top: .15rem;
    font-weight: 300;
    color: rgb(33, 33, 33);
}
#workspace {
    position: relative;
    text-align: center;
    width: 70rem;
    height: 22rem;
    margin-top: 1.5rem;
    border: solid rgb(121, 97, 242);
    border-width: 2px;
}
#workspace.select {
    background-color: rgb(121, 97, 242);
}
#workspace.preview {
    background-color: white;
    border: 2px solid #ebebeb;
}

.select #ws-preview, .preview #ws-select {
    visibility: hidden;
}
.select #ws-select, .preview #ws-preview {
    visibility: visible;
}
#ws-select {
    position: absolute;
    top: .6rem;
    right: .6rem;
    bottom: .6rem;
    left: .6rem;
    border-width: 2px;
    border-style: dashed;
    border-color: rgba(0, 0, 0, 0.15);
    background-color: rgba(0, 0, 0, 0.08);
    transition: border-color .15s ease-in-out, margin .15s ease-in-out, background-color .15s linear;
}
#ws-select.dragover {
    background-color: rgba(0, 0, 0, 0.15);
    border-color: #e3e3e3;
    border-width: 2px;
    margin: 6px;
    transition: border-color .15s ease-in-out, margin .15s ease-in-out, background-color .15s linear;
}
.btn {
    padding: 6px;
    cursor: pointer;
}
button {
    border: none;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    border-radius: 4px;
    color: #333333;
    background-color: white;
    user-select: none;
    padding: 15px 24px;
    cursor: pointer;
    font-weight: 700;
    font-size: 16px;
    font-family: "Source Sans Pro", Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}
button:hover {
    color: black;
}
.dragover button {
    color: grey;
}
.preview button {
    color: white;
    background-color: #7961f2;
}
.preview button:hover {
    color: #eeeeee;
}
.tips {
    font-size: 16px;
    font-weight: 400;
    padding-top: 12px;
}
.select .tips {
    color: white;
}
#upload-progress-bar {
    height: 2px;
    width: 0px;
    align-self: flex-start;
    background: rgb(121, 97, 242);
    transition: width .2s linear;
}
#ws-preview {
    position: absolute;
    height: 100%;
    width: 100%;
}
#thumbnails {
    flex-grow: 1;
    flex-wrap: wrap;
    overflow: scroll;
    width: 100%;
    background-color: #fbfbfb;
    border-bottom: 2px solid #ebebeb;
}
#control-bar {
    width: 100%;
    height: 80px;
    padding: 10px;
    justify-content: space-between;
}

@media only screen and (max-width: 1200px) {
    #workspace {
        width: 700px;
        height: 500pxrem;
        margin-top: 2rem;
    }
}

@media only screen and (max-width: 720px) {
    #workspace {
        width: 470px;
        height: 300px;
        margin-top: 1rem;
    }
}

@media only screen and (max-width: 480px) {
    #workspace {
        width: 320px;
        height: 200px;
    }
    #ws-select {
        border-style: none;
        background-color: transparent;
    }
    .tips {
       display: none;
    }
}

@media only screen and (max-width: 330px) {
    #workspace {
        width: 280px;
        height: 200px;
    }
    #ws-select {
        border-style: none;
        background-color: transparent;
    }
    .tips {
       display: none;
    }
    .btn, button {
        font-size: 14px;
    }
}
