.aspect-ratio-popup {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border: 1px solid var(--black);
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 100;
}

.popup-text > * {
    font-size: 20px;
    display: inline;
}

.popup-text {
    margin-bottom: 1em;
    color: var(--light-white);
}

.aspect-ratio-popup.is-hidden .popup-text,
.aspect-ratio-popup.is-hidden .single-resized-option {
    display: none;
}

.single-resized-option {
    padding: 1em;
    margin: 1.5em auto 0;
    border: 1px solid var(--form-bgc-color);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: .2s;
    width: 90%;
    max-width: 350px;
}

.single-resized-option:hover {
    box-shadow: 1px 4px 6px 0 #00000029, 0 4px 4px 0 #0000000f,
    0 1px 1px 0 #0000001f;
}

.aspect-ratio-popup-wrapper {
    margin: 1em 0;
    padding: 2em 1em;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95%;
    /*height: 80%;*/
    /*max-width: 1400px;*/
    /*max-height: 700px;*/
    /*overflow: scroll;*/
    background-color: var(--light-black);
    border-radius: 10px;
}

.display-resize-options {
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 900px;
}

.css-resized-image-template {
    margin: 1em auto;
    position: relative;
    max-width: 300px;
    max-height: 300px;
    border: none;
}

.css-resized-image-template.black, .css-resized-image-template.white {
    border: .5px solid var(--black);
}

.css-resized-image-template.blur {
    border: none !important;
}

.css-resized-image-template.black {
    background-color: var(--black);
}

.css-resized-image-template.white {
    background-color: var(--white);
}

.blurred-bgc::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: inherit;
    filter: blur(7px);
    background-size: cover;
}

.blurred-bgc {
    position: relative;
}

.color-description {
    font-size: .775em;
}

.image-container {
    position: relative;
    text-align: center;
    overflow: hidden;
}

.dark-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    max-height: 250px;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, .4);
}

.transparent-window {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    height: 50%;
    background-color: rgba(255, 255, 255, .2);
    border: 3px solid var(--error);
}

.drop-area.image-crop {
    padding: 0;
    background-color: transparent;
    border: none;
}

.bgc-color-picker-container {
    margin: 0.5em auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 150px;
}

.color-picker {
    width: 40px;
    height: 30px;
    border: 1px solid var(--black);
    border-radius: 4px;
}

.color-picker.active {
    border: 1px solid var(--error);
}

.color-picker.black {
    background-color: var(--black);
}

.color-picker.white {
    background-color: var(--white);
}

.color-picker.blur {
    background-color: var(--blur-gray);
    filter: blur(2px);
}

.drop-area.image-crop.success-result {
    display: flex;
    background-color: rgba(223, 242, 191, .5);
}

.navbar-dropdown-menu-promo-item {
    max-width: 300px;
}

.close-tab-setter {
    display: flex;
    justify-content: flex-end;
}

.close-tab-wrapper {
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--light-black);
    border-radius: 50%;
    position: relative;
    cursor: pointer;
}

.circle {
    width: 40px;
    height: 40px;
    border-radius: 20px;
    background: var(--light-black);
    color: var(--light-white);
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

.circle:hover {
    background: var(--light-white);
}

.circle:hover > .line {
    background: var(--light-black);
}

.line {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 4px;
    border-radius: 2px;
    background: var(--light-white);
    transform-origin: center;
    transform: translate(-50%, -50%) rotate(45deg);
}

.line:nth-child(2) {
    transform: translate(-50%, -50%) rotate(-45deg);
}

@media screen and (min-width: 968px) {
    .ready-to-convert {
        margin: 0;
    }

    .drop-area.image-crop {
        position: relative;
    }

    .upload-image-animation-container.image-crop {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 80%;
        transform: translate(-50%, -50%);
    }
}

@media screen and (min-width: 1200px) {
    .aspect-ratio-popup-wrapper {
        flex-wrap: wrap;
    }
}

@media screen and (min-width: 1300px) and (orientation: portrait) {
    .aspect-ratio-popup-wrapper {
        height: auto;
    }
}

@media screen and (min-width: 1300px) and (orientation: landscape) {
    .display-resize-options {
        max-width: 1400px;
    }

    .aspect-ratio-popup-wrapper {
        height: auto;
    }
}
