@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;500&display=swap');
body{
    display:flex;
    justify-content:center;
    align-items: center;
    min-height: 100vh;
    background-color: #8fbdd3;
    font-family: 'Poppins', sans-serif;
}
.disable :where(.editor-panel,.reset-filter,.save-img){
    opacity: 0.6;
    pointer-events: none;
}
.container{

    width: 53.2em;
    background-color: #ede6db;
    border-radius: 10px;
    padding: 2em 2.3em 2.3em;
    box-shadow: 0 .8em 1.3em rgba(0,0,0,0.1);
}
.titulo{
    font-size: 1.4em ;
    font-weight: 500;
}
.wrapper{
 display: flex;
 margin: 1.2em 0;
 min-height: 21em ;
}
.editor-panel{
    width: 23em;
    padding: .9em 1.1em;
    border-radius:5px;
    border: 1px solid #9d5353;
}
.title{
    display: block;
    font-size: 1.5em;
    margin-bottom: 12px;
}
.options{
    display: flex;
    flex-wrap: wrap;
    
    
}
.fbutton{
    height: 2.3em;
    font-size: 14px;
    color:#9d5353;
    width: 45%;
    margin:4px ;
    border-radius: 3px;
    background-color:#8fbdd3 ;
    border: 1px solid #9d5353;
}
.rbutton{
    height: 2.3em;
    font-size: 14px;
    color:#9d5353;
    width: 45%;
    margin:4px ;
    border-radius: 3px;
    background-color:#8fbdd3 ;
    border: 1px solid #9d5353;
}

.fbutton:hover, .rbutton:hover{
    background-color:#a2b38b ;
}
.active{
    background-color: #e9d5da;
    border-color: #e9d5da;
   
}
.gira{
  margin:2px;  
  width: 23%;
}
.slider{
    margin-top:12px;
}
.filter-info{
    display: flex;
    color:#9d5353;
    font-size: 14px;
    justify-content: space-between;
}
.range{
 width: 100%;
 height: 5px;
 accent-color:#9d5353 ;
}
.rotate{
    margin-top: 25px;
}
.preview-img{
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
margin-left: 20px;
overflow: hidden;
}
.imgae{
    max-width: 490px;
    max-height: 450px;
   width: 100%;
   height: 100%;
   object-fit: contain;
    
}
.controls{
    display: flex;
    justify-content: space-around;
}
.cbutton{
  font-size: 20px;
  padding: 11px 20px;
  border-radius: 5px;
  cursor: pointer;
  
}
.reset-filter{
    background-color: #e9d5da;
    color:white;
    border:  1px solid #ccc;
}
.choose-img{
    background-color: #8fbdd3;
    color:white;
    border:  1px solid #ccc;
}
.save-img{
    background-color: #a2b38b;
    color:white;
    border:  1px solid #ccc;
}
@media screen and (max-width: 760px){
    .container{
        padding: 25px;
    }
    .wrapper{
        flex-wrap: wrap-reverse;
    }
    .editor-panel{
        width:100%;
    }
    .preview-img{
        width: 100%;
        margin: 0 0 15px;
    }
}
@media screen and (max-width: 500px){
    .cbutton{
        width: 100%;
    }
    .row{
        width: 100%;
    }
    .control .row .save-img{
        margin-left: 0px;
    }
}