@font-face {
    font-family: QuicksandBold;
    src: url(fonts/QuicksandBold.otf);
}
@font-face{
    font-family: BrandonBold;
    src: url(fonts/BrandonBold.otf);
}
@font-face{
    font-family: Roboto;
    src: url(fonts/Roboto-Regular.ttf);
}
@font-face{
    font-family: OstrichSans;
    src: url(fonts/OstrichSans-Black.otf);
}
@font-face{
    font-family: OstrichSansBold;
    src: url(fonts/OstrichSans-Heavy.otf);
}
@font-face{
    font-family: OstrichSansMedium;
    src: url(fonts/OstrichSans-Medium.otf);
}
@font-face{
    font-family: OstrichSansLight;
    src: url(fonts/OstrichSans-Light.otf);
}
html {
    background: url(images/marble.jpg);
    background-attachment: fixed;
    font-family: "OstrichSans", sans-serif;
}

.link {
    color: #102749;
}

a:hover {
    text-decoration: none;
    color: #d87a00;
}

.socialsection {
    text-align: center;
    padding: 30px 0;
}

.social h1 {
    font-size: 300%;
}

.social p {
    font-family: "Roboto", sans-serif;
    font-size: 200%;
}

.social {
    max-width: 1490px;
    background-color: #0b1736;
    color: white;
    margin-bottom: -5px;
}
footer {
    text-align: center;
}

footer img {
    padding: 20px;
    width: 5%;
}

.store{
    float: left;
    width: 55%;
    min-height: 275px;
    padding-left: 10%;
}

.store-info{
    float: left;
    width: 35%;
    min-height: 275px;
}

.loccontainer{
    padding: 0 30px;
}

.locations .header {
    font-family: "OstrichSans", sans-serif;
    font-size: 4em;
    padding: 10px;
    margin: 20px;
    text-align: center;
}

.locations h1 {
    font-family: "OstrichSans", sans-serif;
    text-align: left;
    font-size: 4em;
    margin: 0 auto;
}

.orderbutton {
    padding: 5px 15px;
    background-color: #102749;
    border: 2px solid;
    border-radius: 30px;
    max-width: 200px;
    text-align: center;
    margin-right: 10px;
    min-width: 120px;
    display: inline-block;
    margin-bottom: 10px;
}

.locations h2 {
    font-family: "OstrichSans", sans-serif;
    font-size: 3em;
    margin: 0;
}

.telephone {
    color: rgb(18,40,73);
}

.float-clear{
    clear: both;
}

main {
    border: 5px solid rgba(11,23,54,0.8);
    margin: 0 auto;
    background: rgba(255,255,255,0.8);
    max-width: 1500px;
    box-shadow: 10px 10px 30px grey;
}

body {
    margin: 0 auto;
    color:#102749;
    margin-bottom: 25px;
}

.navbar{
    font-family: "OstrichSansMedium", sans-serif;
    position:relative;
    z-index:2;
}
.navbar ul {
    text-align:center;
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: rgba(11,23,54,0.8);
    position: fixed;
    top: 0;
    width: 100%;

}
.navbar li {
    display:inline-block;
    max-width:200px;
}

.navbar li a {
    display: inline-block;
    color: white;
    text-align: center;
    margin:5px;
    padding:5px;
    padding-left:20px;
    padding-right:20px;
    text-decoration: none;
    font-size:200%;
}

/* Change the link color on hover */
.navbar li a:hover {
    background-color: #0b1736;
}
.navlogo{
    margin-bottom:-15px;
}
.navbar_mobile{
    display: none;
}

a {
    color: white;
    text-decoration: none;
}

.top_page{
    background: url(images/main.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position:center;
    min-height:400px;
}

.toph1{
    font-size: 4.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 8px black;
    text-decoration: none;
    color: white;
    text-align: right;
    padding-right: 5%;
    padding-left: 5%;
    font-family: "BrandonBold", sans-serif;
}

.p-30px{
    padding: 30px;
}

.font-size-3rem{
    font-size: 3rem
}

.about p {
    font-family: "Roboto", sans-serif;
    font-size: 1.5rem;
}

.about a {
    font-size: 1.8rem;
    color: #102749;
}

.about a:hover{
    color: #d87a00;
}

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

.slideshow{
    background: url(images/pizzas.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position:center;
    width:100%;
    max-width:1490px;
    min-height:500px;
}

.menu h1 {
    font-size: 4em;
    padding: 10px;
    margin: 20px;
    text-align: center;
}

.imgoverlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
}

.imgcont {
    margin: 20px;
    position: relative;
    z-index: 0;
    width: 30%;
    float: left;
}

.imgcont:hover .imgoverlay{
    opacity: 1;
}

.cheffavourites h2 {
    font-size: 300%;
    font-weight: bold;
    text-align: center;
}

.cheffavouritesimgcont {
    min-height: 700px;
}

.menu img {
    padding: 20px;
}

@media only screen and (min-width: 1300px) and (max-width: 4000px){
    .toppage{
        min-height:800px;
    }
    .toph1{
        padding-top: 610px;
        padding-bottom: 50px;
    }
}


@media only screen and (max-width: 550px){
    /* ---------------------------------------------------------- CSS FOR MENU PAGE 550px AND UNDER*/
    .menuheader{
        width:110%;
        padding-left:10px;
        padding-right:10px;
        margin-left:-15px;
    }
    /* ---------------------------------------------------------- END CSS FOR MENU PAGE*/
    /* ---------------------------------------------------------- CSS FOR LANDING PAGE 550px AND UNDER*/
    .landing{
        background: url(images/landingbacksmall.jpg);
        background-size: cover;
        background-repeat: no-repeat;
        background-position:center;
        height:100%;
    }
    .landing-link{
        margin-top:300px;
        margin-bottom:300px;
        text-align:center;
        font-family: "BrandonBold", sans-serif;
        font-size:100%;
        background-color:rgba(18,40,73,.8);
    }
    .landing-link a {
        color:white;
    }
    .landing-link a:hover{
        color:white;
        text-decoration:underline;
    }
    .landingswirl{
        width:0%;
    }
    /* ---------------------------------------------------------- END CSS FOR LANDING PAGE*/
    .navbar{
        display: none;
    }
    .navbar_mobile{
        display: block;
    }
    .navbar_mobile ul{
        list-style-type: none;
        margin: 0;
        padding: 0;
        overflow: hidden;
        background-color: #0b1736
    }
    li a, .dropbtn {
        margin-left:10px;
        display: inline-block;
        color: white;
        text-align: center;
        text-decoration: none;
    }
    li a:hover, .dropdown:hover .dropbtn {
        background-color: #d87a00;
    }

    li.dropdown {
        display: inline-block;
    }
    .dropdown-content {
        display: none;
        position: absolute;
        background-color: #f9f9f9;
        min-width: 160px;
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        z-index: 1;
    }

    .dropdown-content a {
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
        text-align: left;
    }

    .dropdown-content a:hover {background-color: #f1f1f1}

    .dropdown:hover .dropdown-content {
        display: block;
    }

    .toph1{
        text-align: center;
        padding-top: 270px;
        font-size: 2rem;
    }

    .about p{
        font-size: 100%;
    }

    .menu h1 {
        text-align: center;
    }

    .cheffavourites h2{
        font-size: 150%;
    }

    .locations h1{
        text-align: center;
        font-size: 3rem;
    }

    .store {
        float: left;
        width: 100%;
        padding: 0;
        text-align: center;
        min-height: 240px;
    }

    .locations table {
        margin-left: 30px;
    }

    .store-info{
        width: 100%;
        font-size: 70%;
        font-weight: 100;
        font-family: "Roboto", sans-serif;
        min-height: 200px;
    }

    .store-hours h3{
        text-align: center;
    }

    .locations h2 {
        font-size: 2rem;
    }

    .social h1 {
        font-size: 100%;
    }
    .social p {
        font-size: 100%;
    }

    .p-30px{
        padding: 30px 0;
    }

    .font-size-3rem {
        font-size: 2rem;
    }

    .imgcont {
        width: 90%;
        margin: 0;
    }
}
