/* Custom Fonts */

@font-face {
    font-family: 'londonsugar';
    src: url("amienne.ttf") format("truetype");
}

/* Define Colours */

:root {
  --main-bg-color: hsl(298, 100%, 12%); /* #3b003d */
  --main-font-color: hsl(0, 100%, 100%); 
  --header-bg-color: hsl(0, 0%, 17%);
  --header-font-color: hsl(0, 0%, 100%);
  --footer-bg-color: hsl(0, 0%, 10%);
  --footer-font-color: hsl(0, 0%, 100%); 
  --footer-link-color: hsl(43, 100%, 73%);
  --footer-hover-color: hsl(0, 83%, 39%);  
  --textbox-bg-color: hsl(0, 0%, 100%);
  --textbox-font-color: hsl(0, 0%, 0%);
}

body {
	font-family: Arial, Helvetica, sans-serif;
	color: var(--textbox-font-color);
	font-size: 18px;
	font-style: normal;
	font-weight: normal;
	line-height: normal;
	margin: 0px;
	margin-top: 0px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0px;
	background-color: var(--main-bg-color);
    overflow-x: hidden; /* Hide horizontal scrollbar */ 
}

a:link {
    color: #000;
    text-decoration: underline;
}

a:visited {
    color: #000;
}

a:hover {
    color: #c60000;
}

a:active {
    color: #000;
}

/* Main Container */

.container {
	max-width: 780px;
    margin-left:auto;
	margin-right:auto;
    padding: 5px; 
}

.pagewidth {
	max-width: 780px;
    margin-left:auto;
	margin-right:auto;
    padding: 10px; 
}


/* Header Defined */

.header {
    width: 100%;
    padding-top: 5px;
    margin-left:auto;
	margin-right:auto;
    box-shadow: 0px 5px 5px black;
	text-align: center;    
    display: grid;
    grid-template-columns: 100px 320px 100px;
    grid-gap: 20px;
    justify-content: center;
    background-image: url("https://www.londonsugar.com/images/stonebg.png");
    background-color: var(--header-bg-color);  
    height: 95px;
}

.logohead {
    width: 100px;  
}

.titlehead {
    font-family: londonsugar, sans-serif;
	color: var(--main-font-color);
	font-size: 90px;
    line-height: normal;
    text-shadow: 1 1 #000;
	text-align: center;  
    white-space: nowrap;
}

@media (max-width:580px) {
    .header {
     grid-template-columns: 100px 280px 100px;   
    }
    .titlehead {
        font-size: 75px;
    }
}

/* Footer Defined */

#footer {
	text-align: center;
	background-color: var(--footer-bg-color); 
    background-image: url("https://www.londonsugar.com/images/stonebg.png");
	font-family: Century Gothic, Arial, Helvetica, sans-serif;	
	font-size: 14px;
	font-weight: bold;
	color: #ccc;
	border: 1px solid #000;
	padding-top: 6px;
    padding-left: 6px;
    padding-right: 6px;
    padding-bottom: 15px;
    margin-top: 10px;
    margin-bottom: 0px;
}

#footer a:link {
	color:#ffd877;
    font-size: 16px;
}

#footer a:visited {
    color: #ffd877;
	 font-size: 16px;
}

#footer a:hover {
    color: #D43509;
    font-size: 16px;
}

#footer a:active {
    color: #ffd877;
    font-size: 16px;
} 


/* Navigation Menu */

.navigation {
	width: 100%;
    margin-top: 0px;
	text-align: center;
	background-color:#ECECD2;
    box-shadow: 0px 3px 5px black;
	font-family: Century Gothic, Arial, Helvetica, sans-serif;	
	font-size: 16px;
	font-weight: bold;
	color: #000;
	border: 2px solid #000;
	padding: 2px;
}

.navigation a:link {
    color: #000;
	background-color: #ECECD2;
}

.navigation a:visited {
    color: #000;
	background-color: #ECECD2;
}

.navigation a:hover {
    color: #c60000;
	background-color: #fff;
}

.navigation a:active {
    color: #000;
	background-color: #ECECD2;
} 

 /* Navigation Dropdown Button */
.dropbtn {
    background-color: #ECECD2;
    color: 000;
	font-family: Century Gothic, Arial, Helvetica, sans-serif;
    font-size: 16px;
	font-weight: bold;
	max-height: 999999px;	
	text-decoration:underline;
    border: none;
}

/* The container <div> - needed to position the Navigation dropdown content */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Navigation Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ECECD2;
    min-width: 200px;
	border: 3px solid #000;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

/* Navigation Links inside the dropdown */
.dropdown-content a {
    color: black;
    padding: 6px 6px;
    text-decoration: underline;
    display: block;
}

/* Change color of Navigation dropdown links on hover */
.dropdown-content a:hover {
	color: #900;
	background-color: #fff;
	border: 1px solid #000;
	}

/* Show the Navigation dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Change background color of Navigation dropdown button when dropdown content is shown */
.dropdown:hover .dropbtn {
    background-color: #999;
	text-decoration: none;
} 
/* END Navigation Menu */


/* Text Boxes */

.infobox {
    border-radius: 25px;
    border: 2px solid #000;
	background: var(--textbox-bg-color);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 15px;
	text-align: center;
    font-weight: bold;
	max-height: 999999px;
	padding-bottom: 10px;
	padding-left: 20px;
	padding-right: 20px;
	padding-top: 10px;
    width: 90%;
	margin-top: 15px;
	margin-left:auto;
	margin-right:auto;
    margin-bottom: 5px;
}

/* I forget what this does lol */

#closingbox {
    border-radius: 25px;
    border: 2px solid #000;
	background: var(--textbox-bg-color);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 15px;
	text-align: center;
    font-weight: bold;
    padding: 15px;
    width: 90%;
	margin-left:auto;
	margin-right:auto;
	margin-bottom:auto;
    margin-top: 20px;
}

/* Text Enhancements */

.titleline {
    width: 100%;
	font-family: Arial, Helvetica, sans-serif;
	text-align: center;
    text-shadow: 0 0 0.5em #000;
    font-style: italic;
	font-size: 20px;
	font-weight: bold;
	max-height: 999999px;
	color: #fff;
	padding-top: 10px;
    padding-bottom: 5px;
}

.subtitleline {
    width: 100%;
	font-family: Century Gothic, Arial, Helvetica, sans-serif;	
	text-align: center;
	font-size: 16px;
	font-weight: bold;
	max-height: 999999px;
	color: #fff;
	padding-top: 10px;
}

h1 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-style: normal;
	font-weight: bold;
	margin: 5px;
	padding: 2px;
	line-height: normal;
	color: #000000;
	background-color:#d6d6d6;
}

h2 {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 15px;
	font-style: normal;
	font-weight: bold;
    text-shadow: 0 0 0.2em #000, 0 0 0.2em #000;
	margin: 5px;
	padding: 2px;
	line-height: normal;
	color: #fff;
	background-color: #3b003d;
}

h3 {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 15px;
	font-style: normal;
	font-weight: bold;
    text-align: center;
	margin: 10px;
	padding: 3px;
	line-height: normal;
	color: #000;
	background-color: #ECECD2;
}

h4 {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-style: normal;
	font-weight: bold;
	margin: 5px;
	padding: 2px;
	line-height: normal;
	color: #000000;
}

h5 {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 15px;
	font-style: normal;
	font-weight: bold;
    text-shadow: 0 0 0.2em #000, 0 0 0.2em #000;
	margin: 5px;
	padding: 2px;
	line-height: normal;
	color: #fff;
	background-color: hsla(0, 65%, 41%, 0.533);
}

h6 {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 15px;
	font-style: normal;
	font-weight: bold;
    font-style: italic;
	margin: 10px;
	padding: 3px;
	line-height: normal;
	color: #F7DC50;
	background-color: #000;
}

/* Extras */

.resetfloatbox {
	clear: both;
}

html {
  -ms-text-size-adjust: none;
  -webkit-text-size-adjust: none;
}

