* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html {
    min-height: 100%;
    position: relative;
}

main {
    padding-bottom: 80px;
}

header {
    background-color: #333;
}

.logo {
    width: 100px;
    height: 70px;
}

.upright {
    font-family: 'Kaushan Script', cursive;
    color: white;
    font-size: 30px;
}

.upright:hover {
    color: #C1292E;
}

body {
    background-color: #000;
}

.nav {
    position: sticky;
    top: 0;
    z-index: 1;
    padding-bottom: 30px;
    width: 100%;
}

#contact {
    transition-duration: 2s;
}

.ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: space-around;
    flex-grow: 1;
    box-shadow: 1px 15px 12px -6px rgba(61, 60, 60, 0.705);
}

.ul li {
    flex-grow: 1;
    text-align: center;

}

.ul li a {
    color: white;
    display: block;
    text-decoration: none;
    background: #444;
    padding: 1em 2em;
}

.ul li a:hover {
    background: #C1292E;
}

.subnav {
    font-size: 18px;
    border-right: solid 1px;
}

.subnavlast img {
    width: 30px;
    height: 30px;
}

.contImg {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 15vw;
    padding: 30px;
}

.imgDest {
    width: 15vw;
    height: 15vw;
    border: 1px solid black;
}

.imgitem {
    position: relative;
    overflow: hidden;
}

.imginfo {
    color: white;
    position: absolute;
    bottom: 0;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.75);
    transform: translateY(100%);
    transition: all 1s;
}

.imgitem:hover .imginfo {
    transform: translateY(0%);
}

.contact {
    padding: 50px 10vh;
    margin: 0 25vw;
    background-color: white;
    display: flex;
    border: 2px solid #C1292E;
    border-radius: 15px;
}

.contactInfo {
    font-size: 20px;
    color: black;
    text-decoration: none;
}

div h2 {
    font-size: 30px;
}

h3 {
    margin-bottom: 20px;
    margin-top: 50px;
    color: white;
    border-top: 1px solid white;
    border-bottom: 1px solid white;
    text-align: center;
    font-family: 'Roboto Condensed', sans-serif;
}

footer {
    margin: 30px 0 0 0;
    position: absolute;
    bottom: 0;
    width: 100%;
}

.footer {
    padding: 10px;
}

.navp {
    background-color: #333;
    color: white;
    text-align: center;
    font-size: 20px;
}

div a {
    text-decoration: none;
    color: black;
}

.contact div a:hover {
    color: #C1292E;
}

.table {
    color: white;
    font-size: 20px;
    margin-top: 15px;
}

.tr:hover {
    color: white !important;
}

td {
    font-family: 'Roboto Condensed', sans-serif;
}

.contsearch {
    display: flex;
    justify-content: flex-end;
}

#search {
    border: #C1292E 1px solid;
    border-radius: 5px;
    width: 20vw;
    height: 35px;
}

.btn {
    background-color: #C1292E;
    border-color: #C1292E;
    transform: translateY(-3px);

}

.btn:hover {
    background-color: white;
    color: #C1292E;
}

.formlogin {
    padding: 50px 10vh;
    margin: 10vh 25vw;
    background-color: #444;
    border: 1px solid #C1292E;
    border-radius: 15px;
}

.delete {
    color: white;
    font-size: larger;
}

.error {
    color: #C1292E;
    background-color: white;
    text-align: center;
    font-size: x-large;
    border: 1px solid #C1292E;
    border-radius: 15px;
}

#cont-carga {
    background-color: rgb(0, 0, 0);
    height: 100%;
    width: 100%;
    position: fixed;
    z-index: 1000;
}

#carga {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    height: 10px;
    animation: expandir 2s infinite;
    color: #C1292E;
}

.logoCarga {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 50%;
    margin: auto;
    width: 23vw;
    height: 20vw;
}

.center {
    text-align: center;
}

.row {
    background: white;
    display: flex;
    flex-direction: column;
    border: 2px solid #C1292E;
    border-radius: 15px;
    align-items: center;
    justify-content: space-evenly;
    margin: 50px;
}

.carttable {
    font-size: 20px;
    color: black;
    text-decoration: none;
    margin: 20px;
}

.carttable:hover {
    color: black;
}

.totalprice {
    font-weight: bold;
    font-size: x-large;
    margin: 15px;
    border-top: black 2px solid;
    text-align: right;
    width: 90%;
}

.cartform {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.inputcheckout {
    width: 100%;
    padding: 5px;
    margin: 5px;
    border: 2px #C1292E solid;
    border-radius: 10px;
}

.errorBusqueda{
    color: red;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 10px;
}

.errorStock{

    display: flex;

}

.fakeIndex{
    display: flex;
    align-items: center;
    flex-direction: column;
    color: white;
}

.fakeLogo{
    width: 23vw;
    height: 20vw;
}

@keyframes expandir {
    0% {
        width: 0;
    }
    100% {
        width: 50%;
    }
}

@media (max-width: 1000px) {
    .imginfo {
        display: none;
    }
    .formlogin {
        padding: 150px 100px;
        margin: 150px 100px;
    }
    .fakeH1{
        font-size: 30px;
    }
    .fakeH2{
        font-size: 25px;
    }
}

@media (max-width: 650px) {
    .subnav {
        font-size: 12px;
    }
    .ul li a {
        padding: 15px;
    }
    .ul .subnavlast a {
        padding: 11.8px 0;
    }
    .subnavlast img {
        width: 15px;
        height: 15px;
    }
    .imgDest {
        width: 18vw;
        height: 18vw;
        border: 1px solid black;
    }
    .contact {
        margin: 5px;
        padding: 30px 5px;
    }
    .contactInfo {
        font-size: 18px;
    }
    .logo {
        width: 40px;
        height: 40px;
    }
    .upright {
        font-size: 20px;
    }
    .formlogin {
        padding: 50px 10px;
        margin: 50px 10px;
    }
    #search {
        width: 60vw;
    }
    .footer {
        font-size: 15px;
    }
    .contImg {
        margin: 0 10px;
    }
    .table {
        font-size: 16px;
    }

    .row {
        background: white;
        display: flex;
        flex-direction: column;
        border: 2px solid #C1292E;
        border-radius: 15px;
        align-items: center;
        padding: 0;
        margin: 0;
    }

    .carttable{
        font-size: 12px;
    }

    .img{
        width: 20px;
        height: 20px;
        margin: 2px 0;
    }

    .inputcheckout{
        margin: 5px 0;
        padding: 5px 0;
    }

    .fakeH1{
        font-size: 12px;
    }
    .fakeH2{
        font-size: 12px;
    }
    .fakeIndex{
        margin-top: 25vh;
    }

    .fakeLogo {
        width: 50vw;
        height: 43vw;
    }
}