*{
    box-sizing: border-box;
}

html {
    height: 100%;
}

body{
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    overflow-y: scroll;
    font-family: "Funnel Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
    width: 100%;
    height: 100%;
    background-color: #ffad94;
}

main{
    width: 80%;
    height: 100%;
    padding-top: 20px;
    display: flex;
    justify-content: start;
    align-items: center;
    flex-direction: column;
}

h1{
    font-size: 3rem;
    margin-bottom: 0px;
    color: #361b12;
}

h2{
    font-weight: 100;
    color: rgba(0, 0, 0, 0.605);
}

p{
    width: 80%;
    display: flex;
    font-size: 1.1rem;
    color: rgb(74, 0, 12);
    justify-content: center;
    align-items: center;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 5px;
    padding-left: 5px;
    border-radius: 10px;
    background: linear-gradient(90deg, rgb(254, 20, 59), rgb(255, 33, 99));
}

p i{
    margin-right: 10px;
}

form{
    width: 80%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    margin-bottom: 20px;
}

table{
    width: 100%;
    
}

td{
    border-color: transparent;
    border-width: 5px;
    border-style: solid;
}

input{
    position: relative;
    margin: auto;
    width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 5px;
    padding-left: 5px;
    font-size: 1.5rem;
    border-radius: 10px;
    border-style: solid;
    border-width: 1px;
    border-color: #693423;
    font-weight: 100;
    font-family: "Funnel Sans", sans-serif;
    z-index: 0;
    overflow: visible;
}
 
select{
    position: relative;
    margin: auto;
    width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 5px;
    padding-left: 5px;
    font-size: 1.5rem;
    border-radius: 10px;
    border-style: solid;
    border-width: 1px;
    border-color: #693423;
    font-weight: 100;
    font-family: "Funnel Sans", sans-serif;
    z-index: 0;
    overflow: visible;
}

label{
    font-size: 1.5rem;
    font-weight: 100;
    color: rgba(0, 0, 0, 0.605);
    margin: auto;
    margin-left: 0;
    margin-top: 20px;
}

a{
    position: relative;
    margin: auto;
    margin-left: 0px;
    text-decoration: none;
    font-weight: bold;
    color: #361b12;
    z-index: 0;
    margin-bottom: 10px;
}

a::before{
    content: '';
    width: 100%;
    background-color: #361b12;
    height: 10px;
    z-index: 10;
}

hr{
    border-color: #361b12;
    width: 70%;
    border-width: 1px;
}

.login-button, .createAccount{
    width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 5px;
    padding-left: 5px;
    font-size: 1.5rem;
    font-family: "Funnel Sans", sans-serif;
    border: 1px solid #361b12;
    border-radius: 10px;
    background-color: black;
    color: white;
    font-weight: 700;
    margin-top: 100px;
}

button{
    width: 100%;
    margin-top: 20px;
    background-color: black;
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 15px;
    color: white;
    font-size: 1.3rem;
}

button i{
    margin-right: 10px;
}

button:hover{
    background-color: white;
    color: black;
}

.createAccount{
    margin-top: 50px;
    color: black;
    cursor: pointer;
    transition: 0.2s;
    background-color: rgb(255, 81, 81);
}

.createAccount:hover{
    background-color: black;
    color: rgb(255, 81, 81);
}

.login-button{
    margin-top: 20px;
    color: rgb(255, 81, 81);
    cursor: pointer;
    transition: 0.2s;
    background-color: black;
}

.login-button:hover{
    color: rgb(255, 81, 81);
    background-color: white;
}


/* PREVIEW */
#preview{
    width: 100%;
    margin: auto;
    height: 300px;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.7), rgba(255    , 0, 0, 0.4)),
        url("../images/restaurantPic.jpg");
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
}

#bannerPreview{
    height: 70%;
    margin: auto;
    margin-left: 20px;
    margin-right: 0px;
    margin-bottom: 20px;
    background-image: url("../images/QRPlaceHolder.png");
    background-position: center;
    background-size: cover;
    aspect-ratio: 1 / 1;
    border-radius: 30px;
    border: 3px solid rgb(255, 81, 81);
    box-shadow: 0px 5px 0px rgb(160, 50, 50);
}

.title{
    margin: auto;
    margin-left: 10px;
    color: white;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: start;

}

.subtitle{
    display: flex;
    justify-content: center;
    align-items: start;
    flex-direction: column;
    padding-right: 10px;
    background-color: black;
    border-radius: 10px;
}

#previewTitle{
    font-size: 3rem;
    color: white;
    margin-bottom: 0px;
    
}

#previewLocation{
    font-size: 1.5rem;
    color: white;
    margin-top: 10px;
    margin-bottom: 0px;
}

@media (max-width: 600px)
{
    * {
        all: unset; /* removes inherited properties except unicode-bidi and direction */
        all: revert; /* or revert to browser default */
    }

    body{
        background-color: white;
        display: flex;
        justify-content: start;
        align-items: center;
        flex-direction: column;
        box-sizing: border-box;
        padding: 0;
        margin: 0;
        font-family: "Funnel Sans", sans-serif;
        font-optical-sizing: auto;
        font-weight: normal;
        overflow-y: visible;
        font-style: normal;
        width: 100%;
        height: 100%;
    }

    main{
        width: 100%;
        height: 400%;
    
        padding: 0px;
        justify-content: start;
        margin: auto;
        margin-top: 0px;
        overflow-y:visible;
        transition: 0.5s;
        padding-bottom: 10px;
    }
    h1{
        font-size: 1.8rem;
        text-align: center;
    }
    h2{
        font-size: 1.3rem;
        margin-top: 0px;
        margin-bottom: 0;
    }
    form{
        width: 90%;
    }
    table, td, tr{
        width: 100%;
        display: block;  
    }
    select{
        font-size: 1.4rem;
        padding-top: 5px;
        padding-bottom: 5px;
        padding-right: 2px;
        padding-left: 2px;
    }

    input{
        font-size: 1.4rem;
        padding-top: 5px;
        padding-bottom: 5px;
        padding-right: 2px;
        padding-left: 2px;
    }

    label{
        font-size: 1.4rem;
    }

    
    button{
        width: 95%;
        font-size: 1rem;
    }

    #preview{
        width: 100%;
        height: 200px;
    }
    #bannerPreview{
        height: 50%;
        margin-left: 15px;
        margin-bottom: 15px;
        border-width: 2px;
        border-radius: 15px;
        box-shadow: 0px 3px 0px rgb(160, 50, 50);
    }

    #previewTitle{
        font-size: 1.3rem;
    }

    #previewLocation
    {
        font-size: 1rem;
    }

    .title{
        margin-bottom: 10px;
    }
}


