@charset="utf-8";

/* fuente importada de google fonts */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: -webkit-fill-available;
}

body {
    background-color: rgb(124,0,0,0.8);
    min-height: 100vh;
    min-height: -webkit-fill-available;
    font-family: "poppins", sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

ul li {
    list-style: none;
}

a {
    text-decoration: none;
}

/* inicio barra nav */

header {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    background-color: rgb(124,0,0);
}

.barra {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    margin: 0 auto;
    padding: .2em;
    padding-right: 1.5em;
}

#logo {
    display: block;
    width: 8em;
}

header nav a {
    color: white;
    padding: .5em 1em;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

header .barra a {
    color: white;
    font-size: 1em;
}

header .barra li:hover {
    background-color: rgba(124,0,0,0.6);
}

header nav ul {
    background-color: rgba(0,0,0,0.8);
    position: fixed;
    top: 0;
    bottom: 0;
    left: 100%;
    width: 50%;
    height: 100vh;
    padding-top: 6em;
    transition: all .6s ease;
    z-index: 9990;
}

header nav ul li {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

header nav ul li .material-icons {
    margin: .2em;
    font-size: 22px;
    line-height: 1;
    display: inline-block;
    padding-right: .1em;
}

.visible {
    left: 50%;
    transition: all .3s ease;
}

#llamamenu {
    color: rgb(124,0,0);
    cursor: pointer;
    height: 2.5em;
    width: 2.5em;
    display: flex;
    position: relative;
    z-index: 9999;
    cursor: pointer;
}

#llamamenu i {
    padding: 0;
    margin: auto;
}

/* fin barra nav */

.caja {
    display: flex;
    flex-direction: column;
    width: 55vh; 
    height: 550px;
    background: white;
    color: #fff;
    top: 54%;
    left: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    box-sizing: border-box;
    padding: 10px 10px 30px;
    border-radius: 8px;
}

.caja h1 {
    font-size: 24pt;
    text-align: center;
    color: rgb(124, 0, 0);
}

#codigo {
    display: flex;
    justify-content: center;
}

#codigo img {
    width: 200px;
    padding-bottom: 20px;
}

#cancelar_res {
    padding: 1em;
}

#secciones {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#cancelar_res h4 {
    display: flex;
    text-align: center;
    border-top-style: none;
    border-left-style: none;
    border-right: none;
    font-size: 10pt;
    padding-bottom: 20px;
    color: black;
}

#secciones ul {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: .1em;
    padding-bottom: .2em;
    width: 80%;
}

#secciones li {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: .1em;
    margin-left: .1em;
    width: 50%;
    height: 2.8em;
    font-size: 10pt;
    color: white;
    cursor: pointer;
    border-radius: 100px;
}

#secciones a {
    color: white;
    cursor: pointer;
}

#secciones .cancelar {
    background-color: rgb(124,0,0);
    width: 100%;
    margin-bottom: 10px;
}

#secciones .reserva_nueva {
    background-color: rgb(0,0,20,0.5);
    width: 100%;
}

footer {
    display: flex;
    background-color: rgb(124,0,0);
    color: white;
    font-size: .6em;
    padding: 10px;  
    font-family: 'Poppins'; 
    justify-content: center;
}

footer a {
     text-decoration: none;
    color: beige;   
}

@media screen and (min-width: 620px)
{
    #llamamenu {
        display: none;
}
    header nav ul {
        display: flex;
        flex-wrap: wrap;
        background: none;
        position: relative;
        height: auto;
        width: 100%;
        left: auto;
        padding-top: 0;
}
    .visible {
        left: 0;
}
    header nav ul {
        padding-right: .5em;
}
    header nav ul li {
        font-size: 12px;
        padding: .1em .2em;
}
    header nav ul li .material-icons {
        margin: .2em;
        font-size: 15px;
        padding-right: .1em;
}
    header nav a {
        color: white;
        padding: .2em .5em;
}
}

@media screen and (min-width: 800px)
{
    header nav ul li {
        font-size: 5em;
        padding: .2em .2em;
}
    header nav ul {
        padding-right: 1em;
}
    header nav ul li {
        font-size: 15px;
        padding: .1em .2em;
}
    header nav ul li .material-icons {
        margin: .1em;
        font-size: 24px;
}
    header nav a {
        color: white;
        padding: .2em .5em;
}
}

@media screen and (min-width: 1200px)
{
    header nav ul li {
        font-size: 15px;
        padding: .2em .2em;
}
    header nav ul {
        padding-right: 2em;
}
    header nav ul li .material-icons {
        margin: .1em;
        font-size: 24px;
}
}