@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

.wrapper {
    width: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.editor-container, 
.preview-container {
    position: relative;
    display: block;
    width: 100%;
    background-color: #fff;
    padding: 2em 1em;
    box-shadow: 0 1.25em 281em rgba(8, 6, 75, 0.2);
    border-radius: 0.5em;
}

.editor-container {
    margin: 0 0.6em 0 0;
}

.preview-container {
    display: grid;
    place-items: center;
}

input[type="file"] {
    display: none;
}

label {
    display: block;
    background-color: #025bee;
    color: #fff;
    font-size: 1.1em;
    text-align: center;
    border-radius: 0.3rem;
    padding: 1em 0;
    margin: auto;
    cursor: pointer;
}

.image-container {
    margin-bottom: 1em;
}

img {
    max-width: 100%;
}

button,
a {
    border: none;
    outline: none;
    place-items: center;
    cursor: pointer;
}

.options-btn {
    margin-top: 1em;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.options-btn button {
    background-color: #dceafe;
    color: #025bee;
    border-radius: 0.3em;
    font-size: 0.8em;
    height: 3.2em;
    width: 3.2em;
}

.action-btns {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-top: 1em;
}

#preview, 
#download {
    background-color: #025bee;
    color: #fff;
    font-size: 1em;
    padding: 0.8em 1em;
    border-radius: 0.3em;
    text-decoration: none;
}

.hide {
    display: none;
}



@media screen and (max-width: 1200px)
{
    .wrapper {
        position: absolute;
        flex-direction: column;
        transform: translateX(-50%);
        left: 50%;
        top: 1em;
    }    

    img {
        display: block;
        width: 60%;
        margin: 0 auto;
    }

    .editor-container {
        margin: 0 0 0.6em 0;
    }
}