html {
    position: relative;
    height: 100%;
    Width: 100%;
    margin: 0;
    background-color: lightgray;
}

body {
    height: 100%;
    width: 100%;
    margin: 0px;

}



h1 {
    font-size: 70px;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    color: darkred;
}

h2 {
    font-size: 50px;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    color: darkred;
    text-decoration: none;
}


p {
    color: black;
    position: center;
    text-align: center;
    padding: 15px 15px 15px 15px;
    font-size: 15px;
    font-family: "Comic Sans MS", sans-serif;

}
.descheader{
    color: black;
    position: center;
    text-align: center;
    padding: 15px 15px 15px 15px;
    font-size: 15px;
    font-family: "Comic Sans MS", sans-serif;
}

ul, li {
    color: black;
    font-family: "Comic Sans MS", sans-serif;
}

/*header starts here*/

h2 a

/*Links on home page*/
    {
    padding: 20px;
    font-size: 50px;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    color: darkred;
    text-decoration-line: none;

}

.backgroundscroll {
    position: relative;
    height: 100%;
    Width: 100%;
    margin: 0;
}

header {
    position: fixed;
    z-index: 2;
    margin: 0;

}

.backgroundimage1,
.backgroundimage2,
.backgroundimage3,
.backgroundimage4,
.backgroundimage5,
.backgroundimage6,
.backgroundimage7 {
    /*margin: auto;*/
    position: relative;
    opacity: 0.85;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 1;

}

.backgroundimage1 {
    background-image: url("../Personal.website/images/Thumbnail\ Distance.jpg");
    min-height: 100%;
}

.backgroundimage2 {
    background-image: url("../Personal.website/images/CiderinCornwall.JPG");
    min-height: 100%;
}

.backgroundimage3 {
    background-image: url("../Personal.website/images/Glyndebourne2019.jpg");
    min-height: 100%;
}

.backgroundimage4 {
    background-image: url("../Personal.website/images/GFDFCake2019.JPG");
    min-height: 100%;
}

.backgroundimage5 {
    background-image: url("../Personal.website/images/Nailart.jpg");
    min-height: 100%;
}

.backgroundimage6 {
    background-image: url("../Personal.website/images/Cidermaking-putney.JPG");
    min-height: 100%;
}

.backgroundimage7 {
    background-image: url("../Personal.website/images/bootstrap.JPG");
    min-height: 100%;
object-fit: contain;
}

.box {
    background-color: gainsboro;
}


.container {
    text-align: center;
    position: absolute;
    left: 0;
    right: 0;
    top: 30%;
    width: 100%;
 

}

.container2 {
    text-align: center;
    position: absolute;
    font-weight: bolder;
    left: 0;
    right: 0;
    top: 0;
    margin-left: 20%;
    margin-right: 20%;
    width: 60%;
    float: center;
    
    /*text-shadow: -0.5px -0.5px 0 white, 0.5px -0.5px 0 white, -0.5px 0.5px 0 white, 0.5px 0.5px 0 white;
    */
}

.scroll p {
    text-align: center;
    position: absolute;
    text-emphasis: 50px;
    font-weight: bold;
    left: 0;
    right: 0;
    bottom: 5%;
    margin-left: 20%;
    margin-right: 20%;
    width: 60%;
    float: center;
    text-shadow: -1px -1px 0 white, 1px -1px 0 white, -1px 1px 0 white, 1px 1px 0 white;
    color: black;
    padding: 0px;
    font-size: 30px;
    font-family: Comic Sans MS, sans-serif;
}

/* Turn off Parallax scrolling for tablets and phones */
@media only screen and (max-device-width: 1024px) {

    .backgroundimage1,
    .backgroundimage2,
    .backgroundimage3,
    .backgroundimage4,
    .backgroundimage5,
    .backgroundimage6,
    .backgroundimage7 {
        background-attachment: scroll;
    }
}

.intro

/*blurb at the top of a page*/
    {
    margin-left: 5%;
    margin-right: 5%;
    padding-bottom: 15px;
    padding-top: 20px;
    padding-left: 5%;
    padding-right: 5%;
}

footer {
    text-align: center;

}

footer p {

    font-weight: bold;
}

footer img {
    border-radius: 50%;
    height: 30px;
    width: 30px;
}

footer a,
header footer {
    font-size: 25px;
    text-decoration: none;
    text-align: center;
    padding-bottom: 15px;
    padding-top: 5px;
    padding-left: 5%;
    padding-right: 5%;
}

/* Boxes  for the Recipe Page */

.Grid-for-box {
    display: block;
    margin-left: 30px;
    margin-right: auto;
    text-align: center;
}

.recipe-item {
    width: 320px;
    border: 30px grey;
    background-size: cover;
    background-repeat: no-repeat;
    margin-left: auto;
    margin-right: auto;
    display: inline-block;

}

.Recipe {
    margin-left: 15%;
    margin-right: 15%;

}


img {
    width: 250px;
    height: 250px;
    background-size: cover;
    display: inline-block;
    image-orientation: from-image;
}



h3 p {
    color: black;
    font-size: 20px;
    text-decoration: none;
    font-weight: normal;
    /*width: 250px;
    height:40px;*/
    text-align: center;
    /*background-color: grey;*/
    display: inline-block;
    margin-left: 5px;
    margin-right: 5px;
    font-family: Comic Sans MS, sans-serif;
}

h3 {
    text-emphasis: bolder;
    font-family: Comic Sans MS, sans-serif;
}

li, ul {
    font-family: Comic Sans MS, sans-serif;
}

h3 a,
.recipe-item h3{
    color: black;
    font-size: 20px;
    text-decoration: none;
    font-weight: normal;
    width: 250px;
    height: 80px;
    text-align: center;
    /*background-color: grey;*/
    display: inline-block;
    margin-left: 5px;
    margin-right: 5px;
    font-family: Comic Sans MS, sans-serif;
    /*min-width: 250px;
    min-height: 100px;*/
}


/* Style the Image Used to Trigger the Modal */
#myImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 40px;
    padding-right: 40px;
    object-fit: cover;
}

#myImg:hover {
    opacity: 0.7;
}

.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    padding-top: 100px;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.9);
    /* Black w/ opacity */
}

.modal-content {
    margin: auto;
    padding-top: 0px;
    margin-top: 0px;
    display: block;
    width: auto;
    height: auto;
    max-height: 75%;
    max-width: 700px;
}

#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

.modal-content,
#caption {
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

.close {
    position: absolute;
    top: 5px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;

}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

@media only screen and (max-width: 700px) {
    .modal-content {
        width: 100%;
    }
}


/* The side navigation menu */
.sidenav {
    height: 100%;
    /* 100% Full-height */
    width: 0;
    /* 0 width - change this with JavaScript */
    position: fixed;
    /* Stay in place - was fixed*/
    z-index: 1;
    /* Stay on top */
    top: 0;
    /* Stay at the top */
    left: 0;
    background-color: #111;
    /* Black*/
    overflow-x: hidden;
    /* Disable horizontal scroll */
    padding-top: 60px;
    /* Place content 60px from the top */
    transition: 0.5s;
    /* 0.5 second transition effect to slide in the sidenav */
}

/* The navigation menu links */
.sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;

    font-weight: bolder;
    font-size: 25px;
    color: darkred;
    display: block;
    transition: 0.3s;
    width: 200px;
}

/* When you mouse over the navigation links, change their color */
.sidenav a:hover {
    color: #f1f1f1;
}

/* Position and style the close button (top left) */
.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}



/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
    .sidenav {
        padding-top: 15px;
    }

    .sidenav a {
        font-size: 18px;
    }
}

.menubutton {
    font-size: 50px;
    color: black;
    cursor: pointer;
    padding-left: 5px;
    text-shadow: -1px -1px 0 white, 1px -1px 0 white, -1px 1px 0 white, 1px 1px 0 white;
}
.backbutton {
    background-color:black;
    border-radius: 50%;
    height: 45px;
    width: 45px;
    /*text-shadow: -1px -1px 0 white, 1px -1px 0 white, -1px 1px 0 white, 1px 1px 0 white;*/
    margin-left:5px;
    margin-bottom: 0%;
    bottom: 0;
    text-decoration-line: none;

    
}

.backbuttontext {
    padding: 12%;
    padding-top: 20%;
 
    
    font-size: 9px;
    color: white;
    text-align: center;
    font-weight: bold;
    
}