*{
    margin:0;
    padding:0;
}
h1{
    color: red;
}





header{
    text-align: center;
    background-color: black!important;
}





header img{
    width: 80%;
    height: 100%;

}
#admin{
    float: right;
}
main{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    background-image: url('');
    background-repeat: no-repeat;
    background-size:100%;
}
#verCoche{
    display: flex;
    justify-content: center;
}
main > h1{
    text-align: center;
}
section{
    margin: 1rem;
}
main > section{
    display: flex;
    flex-direction: column;
    align-items: center;
}
#paginacion{
    width: 25%;
    display: flex;
    justify-content: space-between;
}


#fondos{
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
}
#galeria, #fondos{
    justify-content: space-between;
}




#administracion{
    flex-direction: column;
}
main > section > article{
    margin: 1rem;
}

.card-body{
    text-align: center;
}
.card-body > h5{
    margin-bottom: 2rem;
    font-size: xx-large;
}


.precio{
    font-size: xx-large;
    font-weight: bold;
    color: green;
}
.eliminarFoto{
    text-align: right;
}


form:not(form[id='botones']){
    flex-direction:column;
    text-align:center;
    align-items:center;
}
#botones input{
    margin: 1rem;
}






table, form:not(form[id='botones']){
    text-align: center;
    background-color: white;
    border-radius: 1rem;
    padding:3rem;
}




.centrarAlert{
    text-align:center;
}
footer{
    padding:0.5rem;
    color: white;
    display:flex;
    flex-direction:column;
    align-items:center;
}

iframe{
    width: 100%;
}

#redesSociales{
    text-align: center;
}

#redesSociales img{
    max-width:3rem;
}
@media (min-width:576px){
    header > a{
        font-size: 3rem!important;
    }
    header > a > p:first-child{
        font-size: 5rem!important;
    }
    main > section{
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }



    form, .card-body{
        display:flex;
        justify-content:center;
    }
    .card-body{
        flex-direction: column;
        align-items: center;
    }
    form > div, .card-body > div{
        width:100%;
        display:flex;
        justify-content:space-between;
    }
    .card-body > div{
        width: 80%;
    }
    form > div:first-child{
        justify-content:center;
    }
    form > div > p{
        width: 45%;
        display:flex;
        flex-direction:column;
    }
    #divExtras > p{
        width: auto;
    }
    #extras{
        display: block;
    }


    #filtro{
        flex-direction: row;
    }
    #filtro p{
        margin:auto 3rem;
    }
    #filtro input{
        margin:1rem;
    }




    footer{
        flex-direction:row;
        justify-content:space-around;
    }
    iframe{
        width: 40%;
    }
}