@import url('https://fonts.googleapis.com/css2?family=Rowdies&display=swap');

* {
    margin: 0;
    padding: 0;
    border: none;
}

html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    display: table;
    
}

body {
    font-family: Rowdies, sans-serif;
    font-weight: 300;
}

header {
    margin: 10px 0 30px;
}

/* Navigation menu */

#logo {
    text-align: center;
    font-size: 300%;
    color: black;
    margin: 30px 0 20px;
}

header a {
    text-decoration: none;
}

#navigation {
    font-size: 150%;
    letter-spacing: 3px;
    text-align: center;
}

#navigation li {
    list-style-type: none;
    display: inline;
    margin-right: 15px;
}

#navigation a {
    color: inherit;
}

#navigation a:hover {
    font-size: larger;
}

.selected {
    border-bottom: 2px solid orange;
    border-radius: 1px;
}

/* Hero image section */

#hero-section {
    width: 100%;
    height: 500px;
    overflow: hidden;
    background-color: black;

    position: relative;
    display: flex;
    justify-content: center;
}

#hero-image {
    width: 100%;
    height: 500px;
    background: url('../images/hero-image.jpg') no-repeat center;
}

#order-text {
    color: #fff;
    font-size: 120%;
    font-family: Arial, Helvetica, sans-serif;
    letter-spacing: 1px;
    text-align: center;

    width: 400px;
    height: 150px;
    padding: 20px;

    background-color: rgba(11, 8, 37, 0.7);
    border-radius: 10px;
    
    top: 50%;
    transform: translate(0, -50%);

    position: absolute;
}

#hero-image div{
    position: relative;
}

#menu-btn {
    font-family: Rowdies, sans-serif;
    font-size: 1.5rem;
    color: black;
    background-color: orange;
    border-radius: 20px;
    width: 10rem;
    height: 2rem;

    top: 140px;
    left: 140px;
    position: absolute;
}

#menu-btn:hover {
    background-color: rgb(216, 141, 1);
  }
  

/* Business Information section */

.sandwiches {
    width: 100%;
    height: 1500px;
    box-sizing: border-box;
    position: relative;
}

#sandwiches-container{
    width: 100%;
    height: 800px;
    padding: 3vw 10vw;
    box-sizing: border-box;
    position: absolute;
    
    display: flex;
    flex-direction: column;
}

#sub-one {
    width: 570px;
    height: 380px;
    border-radius: 40px;
}

#sub-two {
    width: 380px;
    height: 570px;
    border-radius: 40px;
}

#sub-three {
    width: 570px;
    height: 380px;
    border-radius: 40px;
}

#sub-four-mobile {
    display: none;
}

.sub-box-item {
    flex-basis: 100%;
    margin: 10px 0;
    display: flex;
    justify-content: space-around;
}

.item-description {
    flex-basis: 40%;
    font-size: 120%;
    text-align: center;
    vertical-align: middle;
}

/* Menu.html style */

#menu {
    width: 100%;
    height: 1000px;
    position: relative;
}

.background-subs {
    width: 100%;
    height: 1000px;
    z-index: 0;
    background: url('../images/background-image.jpg') no-repeat center center;
    background-size: cover;
    position: absolute;
}

.menu-frame {
    width: 80%;
    height: 80%;
    padding: 5px;
    background-color: rgba(216, 120, 11, .9);
    border-radius: 20px;
    border: 1px solid black;

    position: absolute;
    margin: 5% 10%;
    z-index: 90;
    display: flex;
}

.menu-card {
    flex-basis: 33.33%;
    text-align: center;
}

#menu-title {
    font-size: 4vw;
    padding: 0;
    margin: 5px;
}

#menu-subtitle {
    font-size: 7vw;
    color: #fff;
    padding: 0;
    margin: 0;
    line-height: 10px;
}

#menu-image-one img {
    width: 70%;
}

#menu-image-two img {
    width: 70%;
    margin: 5% 0;
}

.menu-card > p {
    margin: 5%;
    text-align: center;
}

.menu-section > h3 {
    font-size: 200%;
    color: #fff;
    background-color: black;
    margin: 25px 0 10px;
    border-radius: 20px;
}

.menu-card span {
    font-size: 130%;
    }

.menu-section p {
    color: #5a0000
}

.menu-card .menu-section span {
    text-align: left;
}

#call-order {
    font-size: 170%;
    margin: 5% 0 2%;
}

.menu-card p {
    font-size: 120%;
}

.menu-card a {
    text-decoration: none;
    color: #fff;
    font-size: 160%;
}

.menu-card button {
    font-family: Rowdies, sans-serif;
    font-size: 1.5rem;
    color: black;
    background-color: orange;
    border-radius: 20px;
    width: 10rem;
    height: 2rem;
}

.menu-card br {
    margin: 20px;
}

/* Contact.html */

#contacts-section {
    width: 100%;
    height: 800px;
    margin: 0 0 30px;
    position: relative;
    
}

#contacts-container {
    width: 85%;
    height: 85%;
    border: 2px solid black;
    display: flex;
    position: absolute;
    padding: 3vw;
    
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#address-container {
    flex: 1.5;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#address-container div {
    margin-top: 40px;
}

#address-container h2 {
    margin-bottom: 20px;
    font-size: 150%;
}

#map-container {
    flex: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-us-links {
    text-decoration: none;
    color: inherit;
}

#map-embedded iframe {
    height: 600px;
    width: 100%;
    left: 0;
    top: 0;
    box-sizing: border-box;
}

/* Feedback.html */

.feedback-section {
    clear: left;
    background: url("../images/background-image.jpg");
    background-size: cover;
    background-position: center;
    height: 950px;
}

.feedack-form {
    margin: 60px 10% 0 0;
    color: #000;
    background-color: rgba(216, 120, 11, .9);
    max-width: 400px;
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    padding: 30px;
}

.feedack-form h2, .feedack-form h3 {
    color: #000000;
    margin-bottom: 20px;
    font-weight: 100;
}

.text-input {
    background: #fff;
    color: #000000;
    width: 100%;
    height: 25px;
    margin: 5px 0 20px;
    border: 3px solid #000000;
    border-radius: 2px;
}

.text-input:hover {
    border-color: #ffffff;
}

#text-box {
    width: 100%;
    height: 300px;
    margin-top: 20px;
    border: 3px solid black;
}

.send-btn {
    margin: 20px 0 0 100px;
    border-radius: 2px;
    padding: 15px 32px 15px 32px;
    text-align: center;
    font-size: 100%;
    background-color: #ff8d00;
    color: #000000;
    display: block;
}

.send-btn:hover {
    background-color: #000000;
    color: #ff8d00;
}

/* Footer */

footer {
    width: 100%;
    height: 200px;
    background-color: rgb(235, 136, 24);
    position: relative;
}

td {
    text-align: center;
    width: 100%;
    height: 25px;
}

#contacts-footer {
    position: absolute;
    left: 20vw;
    margin-top: 30px;
}

#operations-footer {
    position: absolute;
    left: 45vw;
    margin-top: 30px;
}


#social-links {
    font-size: 200%;
    position: absolute;
    right: 20vw;
    bottom: 90px;
    list-style-type: none;
}

#social-links li {
    display: inline;
}

#social-links a {
    text-decoration: none;
    display: inline;
    color: black;
}


/* Below code is for repsonsive design for screens between 500px to 1420px */

@media screen and (max-width: 1420px) {

    /* Index.html */

    #hero-section {
        width: 100%;
        height: 400px;
        overflow: hidden;
        background-color: black;
        position: relative;
        display: flex;
        justify-content: center;
    }

    #hero-image {
        width: 100%;
        height: 400px;
        background: url('../images/hero-image.jpg') no-repeat center center;
    }

    .sandwiches {
        width: 100%;
        height: 2000px;
        box-sizing: border-box;
        position: relative;
    }

    #sandwiches-container{
        flex-basis: 100%;
        height: 2000px;
        box-sizing: border-box;
        position: absolute;
        overflow: hidden;
        
        display: flex;
        flex-direction: column;
    }

    .img-container {
        width: 50%;
        height: auto;
    }

    #sub-one {
        width: 100%;
        height: 100%;
        border-radius: 40px;
    }

    #sub-two {
        display: none;
    }

    #sub-three {
        width: 100%;
        height: 100%;
        border-radius: 40px;
    }

    #sub-four-mobile {
        display: block;
        width: 100%;
        height: 100%;
        border-radius: 40px;
    }

    .sub-box-item {
        flex-basis: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
    }

    .item-description {
        text-align: center;
    }

    /* Menu.html */

    #menu {
        width: 100%;
        height: 1400px;
        position: relative;
    }
    
    .background-subs {
        width: 100%;
        height: 1400px;
        z-index: 0;
        background: url('../images/background-image.jpg') no-repeat center center;
        position: absolute;
    }

    .menu-frame {
        width: 80%;
        height: max-content;
        background-color: rgba(216, 120, 11, .9);
        border-radius: 20px;
        border: 1px solid black;
        position: absolute;
        margin: 10% 10%;
        z-index: 90;
        display: flex;
        flex-direction: column;
    }

    .menu-frame img {
        display: none;
    }

    #menu-title {
        font-size: 6vw;
        padding: 0;
        margin: 5px;
    }

    #menu-subtitle {
        font-size: 9vw;
        color: #fff;
        padding: 0;
        margin: 0;
        line-height: 10px;
    }

    .menu-section > h3 {
        font-size: 170%;
        color: #fff;
        background-color: black;
        margin: 25px 0 10px;
        border-radius: 20px;
    }

    /* Contacts.html */

    #contacts-section {
        width: 100%;
        height: 800px;
        position: relative;
        
    }
    
    #contacts-container {
        width: 85%;
        height: 85%;
        border: 2px solid black;
        display: flex;
        flex-direction: column;
        position: absolute;
        padding: 2vw;
        
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    #address-container div {
        margin-top: 10px;
    }

    #address-container h2 {
        margin-bottom: 20px;
        font-size: 150%;
    }

    #map-embedded iframe {
        height: 200px;
        width: 100%;
        left: 0;
        top: 0;
        box-sizing: border-box;
    }

    #address-container h2 {
        margin-bottom: 20px;
        font-size: 150%;
    }

    /* Footer */

    #social-links {
        font-size: 200%;
        position: absolute;
        right: 20vw;
        bottom: 20px;
        list-style-type: none;
        display: grid;
    }

}

/* Below code is for repsonsive design for screens below 500px */

@media screen and (max-width: 500px) {


    /* Index.html */

    #order-text {
        color: #fff;
        font-size: 120%;
        font-family: Arial, Helvetica, sans-serif;
        letter-spacing: 1px;
        text-align: center;
        width: 300px;
        height: 200px;
        padding: 20px;
        background-color: rgba(11, 8, 37, 0.7);
        border-radius: 10px;
        top: 50%;
        transform: translate(0, -50%);
        position: absolute;
    }

    #menu-btn {
        font-family: Rowdies, sans-serif;
        font-size: 1.5rem;
        color: black;
        background-color: orange;
        border-radius: 20px;
        width: 10rem;
        height: 2rem;
        top: 180px;
        left: 90px;
        position: absolute;
    }
    
    .sandwiches {
        width: 100%;
        height: 2000px;
        box-sizing: border-box;
        position: relative;
    }

    #sandwiches-container{
        flex-basis: 100%;
        height: 2000px;
        box-sizing: border-box;
        position: absolute;
        overflow: hidden;
        
        display: flex;
        flex-direction: column;
    }

    .img-container {
        width: 100%;
        height: auto;
    }

    #sub-one {
        width: 100%;
        height: 100%;
        border-radius: 40px;
    }

    #sub-two {
        display: none;
    }

    #sub-three {
        width: 100%;
        height: 100%;
        border-radius: 40px;
    }

    #sub-four-mobile {
        display: block;
        width: 100%;
        height: 100%;
        border-radius: 40px;
    }

    .sub-box-item {
        flex-basis: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
    }

    .item-description {
        text-align: center;
    }

    .hidden {
        display: none;
    }

    /* Menu.html */

    #menu {
        width: 100%;
        height: 1600px;
        position: relative;
    }
    
    .background-subs {
        width: 100%;
        height: 1600px;
        z-index: 0;
        background: url('../images/background-image.jpg') no-repeat center center;
        background-size: cover;
        position: absolute;
    }
    .menu-frame {
        width: 80%;
        height: max-content;
        background-color: rgba(216, 120, 11, .9);
        border-radius: 20px;
        border: 1px solid black;
        position: absolute;
        margin: 10% 10%;
        z-index: 90;
        display: flex;
        flex-direction: column;
    }

    .menu-frame img {
        display: none;
    }

    #menu-title {
        font-size: 12vw;
        padding: 0;
        margin: 5px;
    }

    #menu-subtitle {
        font-size: 17vw;
        color: #fff;
        padding: 0;
        margin: 0;
        line-height: 10px;
    }

    .menu-section > h3 {
        font-size: 130%;
        color: #fff;
        background-color: black;
        margin: 25px 0 10px;
        border-radius: 20px;
    }

    /* Contacts.html */

    #contacts-section {
        width: 100%;
        height: 800px;
        position: relative;
        
    }
    
    #contacts-container {
        width: 85%;
        height: 85%;
        border: 2px solid black;
        display: flex;
        flex-direction: column;
        position: absolute;
        padding: 2vw;
        
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    #address-container div {
        margin-top: 10px;
    }

    #address-container h2 {
        margin-bottom: 20px;
        font-size: 150%;
    }

    #map-embedded iframe {
        height: 200px;
        width: 100%;
        left: 0;
        top: 0;
        box-sizing: border-box;
    }

    
    #address-container h2 {
        margin-bottom: 20px;
        font-size: 150%;
    }

    /* Footer */

    #contacts-footer {
        position: absolute;
        left: 10vw;
        margin-top: 30px;
    }

    #social-links {
        font-size: 200%;
        position: absolute;
        right: 10vw;
        bottom: 20px;
        list-style-type: none;
        display: grid;
    }

    #operations-footer {
        display: none;
    }
}
