.content{
    max-width: 1400px;
    margin: 20px auto;
}

.content-main{
    display: flex;
    gap: 15px;
}

/* left block */
.content-left{
    width: 30%;
    box-shadow: 0 0 7px 0 rgba(0,0,0,0.3);
    padding: 15px;
    min-width: 250px;
    max-width: 430px;
}

.content-left .image-logo{
    width: 220px;
    height: 220px;
    margin: 0 auto;
    box-shadow: 0 0 10px 0 rgba(0,0,0,0.2);
    padding: 5px;
    margin-bottom: 15px;
}

.content-left .image-logo img{
    width: 100%;
    height: 100%;
}

.description-title{
    font-size: x-large;
    text-align: center;
}

.description-subtitle{
    font-size: large;
    text-align: center;
    margin-top: 10px;
}

.description-instruction span{
    display: block;
    text-align: center;
    text-decoration: underline;
    margin-top: 20px;
}

.description-instruction ol{
    margin-bottom: 0;
    margin-top: 10px;
    padding-inline-start: 20px;
    line-height: 1.5;
}

/* right block */
.content-right{
    width: 70%;
    box-shadow: 0 0 7px 0 rgba(0,0,0,0.3);
    padding: 15px;
}

.content-right .title{
    font-size: 28px;
    text-align: center;
    margin: 15px 0;
}

.content-right button{
    padding: 7px 40px;
    background-color: rgb(250, 150, 40);
    color: #fff;
    border: none;
    font-size: x-large;
    box-shadow: 0 0 12px 2px rgba(0,0,0,0.15);
    margin: 0 auto;
    width: 230px;
    border-radius: 5px;
}

.content-right button:hover{
    background-color: rgb(250, 200, 250);
    cursor: pointer;
}

.content-right .image-file{
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.content-right .image-file .label{
    background-color: rgb(200, 200, 255);
    padding: 5px 5px 5px 15px;
    color: #fff;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
    font-size: small;
}

.content-right .image-file .name{
    padding: 5px 15px 5px 5px;
    border: 1px solid rgb(200, 200, 255);
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    font-size: small;
}

.content-right .svg-title{
    display: flex;
    justify-content: center;
}

.content-right .input-title-message{
    text-align: center;
    margin-top: 5px;
    color: red;
    display: none;
}
.content-right .svg-title .label{
    background-color: rgb(200, 200, 255);
    padding: 5px 5px 5px 15px;
    color: #fff;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
    font-size: large;
    text-align: center;
}

.content-right .svg-title .name{
    padding: 5px 15px 5px 5px;
    border: 1px solid rgb(200, 200, 255);
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    font-size: large;
    text-align: center;
    resize: horizontal;

}

.content-right .svg-title .name:focus{
    outline: none;
}

.content-right .image-wrapper{
    margin: 15px auto;
    padding: 10px;
    position: relative;
    border-radius: 10px;
}

.image-wrapper canvas{
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 10px;
    display: none;
    user-select: none;
}

.image-wrapper img{
    display: block;
    user-select: none;
    margin: 0 auto;
}

.buttons .choice{
    text-align: center;
    display: none;
}

.buttons .choice .con, .buttons .choice .sel{
    color: blue;
}
.buttons .choice .con:hover, .buttons .choice .sel:hover{
    cursor: pointer;
    text-decoration: underline;
}
/* about block */
.about-bimi, .about-project, .idea, .team, .company{
    box-shadow: 0 0 7px 0 rgba(0,0,0,0.3);
    padding: 15px;
    margin-top: 20px;
}

.content-about span{
    font-size: large;
    font-weight: bold;
}

.content-about p{
    margin-bottom: 0px;
    margin-top: 5px;
}

.btn-open{
    display: block;
}
.input-file,
.btn-crop, 
.btn-convert, 
.btn-download, 
.content-right .svg-title, 
.content-right .image-file{
    display: none;
}

.preloader{
    width: 32px;
    height: 32px;
    border-radius: 50%;
    position: absolute;
    z-index: 999;
    border: 3px solid #f3f3f3;
    border-top:3px solid #f25a41;
    animation: spin 2s infinite linear;
    box-shadow: 0 0 15px 3px rgba(0,0,0,0.15);
    display: none;
}

.content-right .notice {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 15px;
    font-size: 14px;
    text-align: center;
}

.about-project .learn-more {
    display: block;
    margin-top: 5px;
}

.content.about .image-logo{
    width: 110px;
    height: 110px;
    box-shadow: 0 0 10px 0 rgba(0,0,0,0.2);
    padding: 5px;
    cursor: pointer;
    display: block;
    position: absolute;
    background: #ffffff;
    right: 15px;
    bottom: 15px;
}

.content.about .image-logo img{
    width: 100%;
    height: 100%;
}
.content.about h1 {
    text-align: center;
    margin-bottom: 30px;
}
.content.about h2 {
    padding-bottom: 5px;
    border-bottom: 1px solid #cdcdcd;
    width: fit-content;
}
.content.about p {
    line-height: 1.5;
}
.content.about .team .person {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    border-bottom: 1px solid #cdcdcd;
    width: fit-content;
}
.content.about .header {
    position: relative;
    padding: 5px;
    box-shadow: 0 0 10px 0 rgba(0,0,0,0.2);
}
.content.about .header .image-wrapper {
    overflow: hidden;
    max-height: 500px;
}
.content.about .header .image-wrapper img {
    width: 100%;
    height: auto;
}

@keyframes spin {
    from{
        transform: rotate(0deg);
    }to{
        transform: rotate(360deg);
    }
}

@media (max-width:768px){

    .content, .content-right .image-wrapper{
        margin: 10px auto;
    }

    .content-main{
        flex-direction: column-reverse;
        gap: 5px;
    }

    .content-right, .content-left, .about-bimi, .about-project{
        box-shadow: 0 0 3px 1px rgba(0,0,0,0.15);
        width: auto;
        padding: 10px;
        max-width: unset;
        min-width: unset;
    }

    .content-left .image-logo{
        display: none;
    }

    .description h1, .content-right h2, .content-right .title{
        margin: 0;
    }

    .image-wrapper img{
        width: 100%;
        height: 100%;
    }

    .about-bimi, .about-project, .content-right .image-file, .content-right .svg-title{
        margin-top: 10px;
    }

    .content-right .button{
        font-size: small;
    }

    .content-right .svg-title .label, .content-right .svg-title .name{
        font-size: unset;
    }

    .content-right .button:not(hover){
        background-color: rgb(250, 150, 40);
    }

    .content-right .title{
        font-size: 22px;
    }

    .content-left .description-title{
        font-size: 20px;
    }

    .content-left .description-subtitle, .content-about span{
        font-size: 16px;
    }

    .content-right .notice {
        width: 100%;
    }

    .content.about .image-logo{
        width: 55px;
        height: 55px;
    }
    .content.about .header .image-wrapper {
        max-height: 160px;
    }
}
