@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;400;700&display=swap');

*{
    font-family: 'Roboto', sans-serif;
}
html {
    box-sizing: border-box;
    overflow-x: hidden;
}
*, *:before, *:after {
    box-sizing: inherit;
}
body{
    margin: 0;
}
.logo{
    max-width: 15rem;
    display: block;
    margin: 3rem auto;
}
.form{
    border-radius: 2rem;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
    padding: 2rem;
    display: block;
    margin: 4rem auto 1rem auto;
    width: 55%;
}
form{
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
}
.label{
    margin: .5rem 0;
    font-weight: 400;
}
input[type="file"]{
    color: transparent;
}
input[type="text"]{
    width: 100%;
    height: 2rem;
    border: none;
    border-bottom: 1px solid #989898;
}
input[type="text"]:last-of-type{
    margin-bottom: 1rem;
}
input[type=checkbox] {
    transform: scale(2);
    -ms-transform: scale(2);
    -webkit-transform: scale(2);
    padding: 10px;
    margin: .5rem 1rem;
}

input[type="submit"]{
    display: block;
    margin-left: auto;
    margin-right: auto;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    border-radius: .5rem;
    padding: .8rem;
}

.submit{
    width: 100%;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    position: fixed;
    z-index: 20;
    bottom: 0;
    left: 0;
    right: 0;
    padding: .5rem auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    padding: .5rem;
}
.text{
    text-align: center;
    font-weight: 700;
}

/* Label file */
.labelFile{
    margin-top: 1rem;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px inset, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px inset;
    padding: 2rem;
    border-radius: 1rem;
}

.tag{
    width: 85%;
    max-width: 30rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
}

/* Image Preview */
.imagePreview{
    position: relative;
    width: 55%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.div-padre{
    /* position: relative; */
    height: 18rem;
}
@media (min-width: 360px) {
    .div-padre{
        height: 15rem;
    }
}
@media (min-width: 600px) {
    .div-padre{
        height: 19rem;
    }
}

@media (min-width: 800px) {
    .div-padre{
        height: 24rem;
    }
}

@media (min-width: 890px) {
    .div-padre{
        height: 24rem;
    }
}

.uploadImg, 
.capaImg{
    position: relative;
}
.uploadImg img, 
.capaImg img{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 30rem;
}
.uploadImg img, 
.capaImg img{
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.uploadImg img{
    z-index: 5;
}
.capaImg img{
    z-index: 10;
}

/* Boton Image preview */
.btnPreview{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-content: center;
    margin-top: 2rem;
}
.btnPreview h4{
    margin: 0;
    align-self: center;
}
.btnPreview button{
    width: 10rem;
    height: 2.5rem;
    margin-left: auto;
    margin-right: auto;
    padding: .5rem .3rem;
    border-radius: .5rem;
    color: #fff;
    font-weight: 700;
}

.inactive{
    background-color: #545454;
    border: 1px solid #000;
    pointer-events: none;
    
}

.active{
    background-color: #00c821;
    pointer-events: unset;
    border: none;
}
.active:hover{
    filter: brightness(90%);
}

.bg-wait{
    background-color: #00000099;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    pointer-events: none;
    z-index: 35;
}

.bg-wait img{
    width: 3rem;
    height: 3rem;
}

.visible{
    display: flex;
    justify-content: center;
    align-items: center;
}
.invisible{
    display: none;
}

/* Message Box */

.message{
    background-color: #fff;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
    border-radius: 1rem;
    width: 85%;
    max-width: 30rem;
    height: 8rem;
    padding: 2rem;
    position: fixed;
    top: 0;
    bottom: -100rem;
    left: 0;
    right: 0;
    margin: auto;
    transition: bottom .5s ease;
    z-index: 35;
}
.message img{
    background-color: #0034c8;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 50% ;
    padding: 1rem;
    width: 2rem;
    z-index: 40;
}
.message h4{
    text-align: center;
    text-transform: uppercase;
    margin-top: 2rem;
}

.red-border{
    border: 1px solid #ff0000;
    border-radius: .2rem;
}