/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/* ======= END OF RESET ======= */
/* A crude reset for a simple document */
html {
    box-sizing: border-box;
 }
 *, *::before, *::after {
    box-sizing: inherit;
    padding: 0;
    margin: 0;
 }



/* Typography */
body{
    font-family:'Trebuchet MS', Arial, Helvetica, sans-serif;
	font-size: 1rem;
	color: #1a1a1a;
    background-color: #f5f2e5;
    max-width: 2000px;
    margin: auto;
    
    
}

header{
    font-family:'Times New Roman', Times, serif;
    text-align: center;
    border-bottom: 2px solid #1A1A1A;
    background-color: #e9c393;
}


h1{
    font-family:"Metal",'Times New Roman', Times, serif;
    text-align: center;
    font-size: 3rem;
    padding-top: 20px;
    padding-bottom: 10px;
}

/*Opening hours styling*/
.status{
    font-size: 2rem;
    text-align: center;
    padding-top: 3rem;
    padding-bottom: 3rem;
}
.open{
    font-size: 2rem;
    text-align: center;
    padding-top: 3rem;
    padding-bottom: 3rem;
    color: green;
}
.closed{
    font-size: 2rem;
    text-align: center;
    padding-top: 3rem;
    padding-bottom: 3rem;
    color: red;
}


h2,h3{
    font-family:"Metal",'Times New Roman', Times, serif;
    font-size: 2.3rem;
    text-align: center;
    padding-bottom: 10px;
}

p{
    font-family:"Fredoka",Arial, Helvetica, sans-serif;
    font-size: 1rem;
}

/* Logo Styling */
.logo{
    mix-blend-mode: multiply;
}

/* navigation bar styling */
.nav-list a:hover {
    background-color: #cbaa82; /* Darkens the background when hovered */
}


/* Gallery Styling */
.gallery{
    padding: 15px;
}
a img {
    border: none; /* Removes default borders if the image is a link */
    cursor: pointer; /* Changes the cursor to a pointer on hover */
}

/*picture layout*/
figure{
    display: flex;
    flex-direction: column;/*arrange items from top to bottom*/
    align-items: center;/* align the images to the centre of the grid*/
    text-align: center;/* align the text to the center along with the images*/
    margin-top: 20px;
}
figure img{
    width:50%;
    height: auto;
}
figcaption{
    color: black;
    margin-top: 10px;
    margin-bottom: 60px;
}
/* Styling for the "Learn more" button */
.container{
    display: flex;
    justify-content: center;
    padding: 15px;
}
.discover{
    display:inline-block;
    color: #1a1a1a;
    padding: 15px;
    text-decoration: none;
    border: 2px solid #1a1a1a;  
}



/* quote styling */
.quote {
    font-style: italic; 
    padding: 40px; /* Adds padding around the quote */
    border-left: 5px solid #ccc; /* Adds a left border for visual effect */
    margin: 20px 0; /* Adds margin around the blockquote */
    font-family:"Fredoka",Arial, Helvetica, sans-serif;
    font-size: 2rem; /* Adjust font size */
    text-align: center;
}


/* Footer styling */
footer{
    background-color: #cbaa82;
    color: #1A1A1A;
    padding: 20px;
    position: relative;
}
.Links{
    font-weight: bold;
    padding-bottom: 15px;
}
.footer-container{
    display:flex;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
}

.footer-iframe{
    border: none;
}
.social-media{
    display: flex;
    flex-direction: column;
    text-align: left;
    padding-left: 40px;
}
.social-media a{
    color: #1A1A1A;
    text-decoration: none;
    margin: 5px 0;
}

.footer-copyright{
    position: absolute;
    bottom: 10px;
    right: 20px;
    font-size: 15px;
    font-weight: lighter;
}

/* About page styling */
.about{
    width: 70%;
    height: auto;
    padding: 15px;
    display: block;
    margin: auto;
}

.location{
    text-align: center;
    padding: 25px;
}

iframe{
    display: block;
    margin: auto;
    padding-bottom: 25px;
}
.opening{
   text-align: center;
   padding-bottom: 30px;
}
.opening p{
    padding: 15px;
}
.opening p+p{
    padding: 10px;
}


 /* selection page styling*/
.enquire{
    text-align: center;
    padding-bottom: 20px;
}
	


/* Responsive styling */
/*Starting with mobile first*/
@media (min-width:300px){
   
    /*navigation styling*/
    .navbar {
        padding-top: 15px;
        padding-bottom: 15px;
    }
    .nav-list{
        list-style-type: none; /* Removes bullets from the list */
        display: flex; /* Makes the navigation items horizontal */
        justify-content: center; /* Centers the items */
        margin: 0 5px;
    }
    .nav-list li {
        margin: 0 5px; /* Adds space between the list items */
    }
    .nav-list a{
        color: black; /* black text color */
        text-decoration: none; /* Removes underline from links */
        font-family:"Fredoka",Arial, Helvetica, sans-serif;
        border: 1px solid black;
        display: inline-block; /* Ensures padding works */
        font-size: 15px;
        padding: 10px 30px;
    }
    .homepage{
        width: 100%;
        height: auto;
        display: block;
    }

    /*gallery grid responsiveness*/
    .gallery{
        display: grid;
        grid-template-columns: repeat(2,1fr);
        grid-gap: 40px;
    }
    
    figure img{
        width: 80%;
        height: auto;
    }
    figcaption{
        font-size: 1rem;
        font-weight: 500;
        margin-bottom: 15px;/* re-scaled the space between the caption and the image underneath*/
    }

    /*about page history styling*/
    .history{
        font-size:1rem;
        line-height: 25px;
        padding: 20px;
    }

    /* Our work paragraph styling*/
    .work img{
        width: 70%;
        height: auto;
        display: block;
        margin: auto;
    }
    .work-text{
        padding: 15px;
        font-size: 0.3rem;
        line-height: 30px;
    }

    /*cheese tasting page styling*/
    .tasting-img{
        width: 80%;
        height: auto;
        display: block;
        margin: auto;
        padding: 10px;
    }
    .tasting{
        font-size:1rem;
        line-height: 25px;
        padding: 20px;
    }

    /*cheese selection page styling*/
    .selection{
        display: block;
        margin: auto;
        width: 50%;
        height: auto;
        padding: 15PX;

    }
    .explain{
        font-size: 1.3rem;
        padding-right: 20px;
        padding-left: 20px;
        line-height: 2rem;
    }
    p:last-child{
        margin-bottom: 1.5rem;
    }

}



/* Responsive style for tablets and larger devices*/
@media (min-width:690px){

    .nav-list{
        margin: 0 10px;
    }
    .nav-list a{
        font-size: 18px;
        padding: 10px 30px;
    }

    p{
        font-size: 1.5rem;
    }

    figure img{
        width: 80%;
        height: auto;
    }
    figcaption{
        font-size: 1rem;
        font-weight: 500;
    }
    .history{
        font-size:1rem;
        line-height: 40px;
        margin-left: 3rem;
        margin-right: 3rem;
    }
    .tasting{
        font-size:1rem;
        line-height: 40px;
        margin-left: 3rem;
        margin-right: 3rem;
    }
    .explain{
        font-size: 1.5rem;
    }

}
/*responsive styling for laptop and larger devices*/
@media (min-width:900px){
    
    .nav-list a{
        font-size: 1rem;
        padding: 10px 55px;
    }
    .gallery{
        display: grid;
        grid-template-columns: repeat(3,1fr);
        grid-gap: 40px;
    }
    figure img{
        width: 80%;
        height: auto;
    }
    figcaption{
        font-size: 1.5rem;
        font-weight: 100;
    }
    .history{
        font-size:1.5rem;  
    }
    .work{
        display: grid;
		grid-template-columns: repeat(2, 1fr); /* two equal sized columns */
        align-items: center; /* Centers content vertically */
        justify-content: center; /* Centers content horizontally */
        padding: 50px;
        margin-left: 3rem;
        margin-right: 3rem;
    }
    .work img{
        width: 50%;
        height: auto;
        display: block;
        margin:0;
    }
    .work-text{
        font-size: 1rem;
        line-height: 30px;
    }
    .tasting{
        font-size: 1.5rem;
    }
    .selection{
        width: 20%;
        height: auto;
    }
    .explain{
        text-align: center;
    }
}


	
