html {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    text-align: center;
    background: #FFAFBD;
    background: -webkit-linear-gradient(to left, #FFAFBD, #ffc3a0);
    background: linear-gradient(to left, #FFAFBD, #ffc3a0);
}

body {
    margin: 0;
    color: #808080;
    background: none;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
}

body p,
footer h2 {
    line-height: 1.6;
    color: #b3b8c1;
}

#main {
    margin: 35px auto;
    padding: 30px 15px;
    max-width: 900px;
    border-radius: 25px;
    background: #fff;
    backdrop-filter: blur(40px);
}

#main h2 {
    line-height: 1.6;
    font-weight: 500;
    color: #6e819e;
}

h2 {
    display: inline-block;
    margin: 0;
    font-weight: 300;
    color: #fff;
}

h3,
h4,
h5,
h6 {
    display: inline-block;
    font-weight: 300;
    color: #6e819e;
}

h1 {
    text-align: center;
    font-weight: 700;
    font-size: 46px;
    color: #252525;
}

h1 a {
    text-decoration: none;
    color: #fff;
}

h1 a:hover {
    opacity: 0.8;
    text-decoration: none;
}

.fa-crop::before {
    opacity: 0.5;
}

h3 {
    margin: 5px 0 20px;
    font-size: 24px;
}

h3 small {
    float: left;
    width: 100%;
    font-size: 16px;
}

h3 span {
    font-weight: 500;
}

strong {
    font-weight: 500;
}

header {
    width: 100%;
    margin: 0 0 25px;
}

.image-tool {
    margin: 25px;
    padding: 22px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
}

main {
    width: 100%;
}

.slim {
    border-radius: 7px;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1) inset;
}

.file-drop-area label {
    display: block;
    padding: 2em;
    background: #eee;
    text-align: center;
    cursor: pointer;
}

.croppify-batch {
    width: 100%;
}

.croppify-batch__dropzone {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    min-height: 94px;
    padding: 20px;
    border: 2px dashed #d8dce3;
    border-radius: 12px;
    background: #f8f9fb;
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.croppify-batch__dropzone.is-dragging {
    border-color: #ffafbd;
    background: #fff3f5;
    transform: scale(1.01);
}

.croppify-batch__picker {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.croppify-batch__select,
.croppify-batch__download-all,
.croppify-batch__clear {
    appearance: none;
    border: 0;
    border-radius: 999px;
    font: inherit;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.croppify-batch__select {
    padding: 13px 21px;
    color: #fff;
    background: linear-gradient(to left, #FFAFBD, #ffc3a0);
    box-shadow: 0 7px 18px rgba(255, 175, 189, 0.35);
}

.croppify-batch__select .fa {
    margin-right: 7px;
}

.croppify-batch__select:hover,
.croppify-batch__download-all:hover,
.croppify-batch__clear:hover {
    transform: translateY(-1px);
}

.croppify-batch__select:focus-visible,
.croppify-batch__download-all:focus-visible,
.croppify-batch__clear:focus-visible {
    outline: 3px solid rgba(110, 129, 158, 0.25);
    outline-offset: 3px;
}

.croppify-batch__hint {
    color: #9ba2ae;
    font-size: 14px;
}

.croppify-batch__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 20px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #f6f7f9;
}

.croppify-batch__toolbar[hidden] {
    display: none;
}

.croppify-batch__counter {
    color: #6e819e;
    font-size: 14px;
    font-weight: 500;
    text-align: left;
}

.croppify-batch__toolbar-buttons {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.croppify-batch__download-all,
.croppify-batch__clear {
    padding: 9px 14px;
    font-size: 13px;
}

.croppify-batch__download-all {
    color: #fff;
    background: #6e819e;
}

.croppify-batch__clear {
    color: #6e819e;
    background: #fff;
    box-shadow: inset 0 0 0 1px #d8dce3;
}

.croppify-batch__download-all:disabled,
.croppify-batch__clear:disabled {
    cursor: default;
    opacity: 0.45;
    transform: none;
}

.croppify-batch__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    margin-top: 20px;
}

.croppify-batch__grid:empty {
    display: none;
}

.croppify-batch__card {
    min-width: 0;
    padding: 10px;
    border: 1px solid #e6e8ed;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 26px rgba(65, 73, 88, 0.08);
}

.croppify-batch__filename {
    overflow: hidden;
    margin: 10px 3px 1px;
    color: #7c8491;
    font-size: 13px;
    line-height: 1.4;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
}

footer {
    float: left;
    width: 100%;
    overflow: hidden;
}

#footer {
    float: left;
    width: 160%;
    margin: 0 -30%;
    padding: 50px 0;
    background: #fff;
    border-top-left-radius: 50%;
    border-top-right-radius: 50%;
}

footer .fa {
    font-size: 40px;
    color: #b3b8c1;
}

.twitter,
.fa-twitter,
.facebook,
.fa-facebook {
    font-weight: 500;
}

.youtube-tool input {
    width: 70%;
    margin: 10px auto;
    padding: 10px 20px;
    font-size: 16px;
    color: #6e819e;
    border: 1px solid #b3b8c1;
    border-radius: 50px;
}

.youtube-tool input.btn-primary {
    cursor: pointer;
    color: #fff;
    border: none;
    background: #FFAFBD;
    background: -webkit-linear-gradient(to left, #FFAFBD, #ffc3a0);
    background: linear-gradient(to left, #FFAFBD, #ffc3a0);
}

a {
    color: #1da1f2;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

@media only screen and (min-width: 600px) {
    .image-tool {
        max-width: 1100px;
        margin: 50px auto;
    }

    a.back-button {
        color: #fff;
    }
}

@media only screen and (max-width: 599px) {
    .image-tool {
        margin: 18px 12px;
        padding: 16px;
    }

    .croppify-batch__dropzone,
    .croppify-batch__toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .croppify-batch__select {
        width: 100%;
    }

    .croppify-batch__toolbar-buttons {
        width: 100%;
    }

    .croppify-batch__download-all,
    .croppify-batch__clear {
        flex: 1;
    }

    .croppify-batch__grid {
        grid-template-columns: 1fr;
    }
}
