@import url('https://fonts.googleapis.com/css?family=Nunito&display=swap');

@font-face {
	font-family: "Excon-Bold";
	src: url("./../fonts/Excon-Bold.woff");
}

:root {
	--yellow: #fdf5bf;
	--pink: #ffd5ff;

	--h1color: var(--3mcolor);
	--textcolor: #ffffff;
	--backgroundcolor: #524948;
	--panelcolor: #4a4241;
	--jetblack: #000000;

	--3lcolor: #fef0ca;
	--3mcolor: #fee5df;
	--3rcolor: #ffd9f6;

	--2lcolor: #fdf0c9;
	--2rcolor: #fee1e7; 

	--h2color: #c9c6c6;
	--pcolor: #979291;

	--h1size: 64px;
	--navtextsize: 40px;
	--sitetitlesize: 48px;
	--h2size: 36px;
	--buttontextsize: 32px;
	--psize: 24px;

	--borderradius: 25px;
}

html {
    width: 100%;
	height: 100%;
}

body {
	width: 100%;
	height: 100%;
	font-family: "Excon-Bold";
	color: var(--textcolor);
	background-color: var(--backgroundcolor);
	flex-direction: column;
	text-align: center;
	align-items: center;
	justify-content: center;
	overflow-x: hidden;
    zoom: 80%;
}

footer {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding-bottom: 64px;
	padding-left: 64px;
	width: calc(100% + 16px - 64px);
	min-height: 260px;
	height: auto;
	margin: 0px;
	bottom: 0px;
	margin-left: -8px;
	background: linear-gradient(to right, var(--yellow), var(--pink));
	margin-top: auto;
}



footer h1, footer p {
	color: var(--backgroundcolor) !important;
}

audio {
	border-radius: 5px;
	width: 250px;
	height: 50px;
	font-size: 15px;
	text-align: center;
	filter: invert(100%);
}

h1 { 
	font-size: var(--h1size); 
	color: var(--h1color);
	letter-spacing: calc(-(var(--h1size) * 5)); 
}

h2 { 
	font-size: var(--h2size); 
	color: var(--h2color);
	letter-spacing: calc(-(var(--h2size) * 5)); 
}

p { 
	font-size: var(--psize); 
	color: var(--pcolor);
	letter-spacing:  calc(-(var(--psize) * 5)); 
	margin-left: 56px;
	margin-right: 56px;
	margin-top: -8px;
	margin-bottom: 16px;
}

s {
	opacity: 0.5;
}

.down { height: 200px; }

.quicklink {
	color: var(--backgroundcolor);
	font-family: "Excon-Bold";
	font-size: var(--buttontextsize);
	border: none;
	outline: none;
	border-radius: var(--borderradius);
	width: 220px;
	height: 64px;
	z-index: 2;
}

.quicklinkc {
	align-self: flex-end;
}

.quicklink:hover {
	filter: contrast(0.5);
}

.navtitlebar {
	position: fixed;
	width: 100%;
	height: 864px;
	top: -800px;
	left: 0px;
	background: linear-gradient(to right, var(--yellow), var(--pink));
	z-index: 999999;
	transition: 1s;
}

.sitetitle, .pagelabel {
	position: fixed;
	margin-top:  797px;
	margin-left: 64px;
	margin-right: 64px;
	font-size: var(--sitetitlesize);
	color: var(--backgroundcolor);
}

.pagelabel {
	font-size: var(--navtextsize);
	margin-top: calc((var(--sitetitlesize) - var(--navtextsize)) + 794px);
}

.infopage {
	right: 166px;
}

.gamespage {
	right: 0px;
}

.board {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	margin: 0 64px;
}

.boardc {
	display: flex;
	justify-content: space-between;
	margin: 0 64px;
}

.column {
	width: calc((100% - (2 * 64px) - (2 * 28px)) / 3 - 84px);
	height: 750px;
	background-color: var(--panelcolor);
	border-radius: var(--borderradius);
	padding: 10px 60px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.boardc.twocolumns {
	justify-content: center;
	gap: 40px;
}

.boardc.onecolumn {
	justify-content: center;
}

.row {
	display: flex;
	justify-content: space-between;
	margin-bottom: 28px;
}
  
.cell {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	width: calc((100% - (2 * 64px) - 28px) / 2 - 56px);
	height: 278px;
	background-color: var(--panelcolor);
	border-radius: var(--borderradius);
	padding-left: 60px;
	padding-right: 60px;
	padding-top: 10px;
	padding-bottom: 30px;
}

.cell p {
	transform: translate(-54px, -24px);
}

.thumbnail {
	width: 100%;
	border-radius: var(--borderradius);
}

.thumbnailsmall {
	width: 75%;
	border-radius: var(--borderradius);
	align-self: center;
	display: flex;
}

.shiftdown {
	margin-top: 40px;
}

.icon {
	align-self: flex-end;
	margin-top: -258px;
	margin-right: -50px;
	width: 278px;
	height: 278px;
	opacity: 0.5;
	z-index: 1;
}
  
.e3l { background-color: var(--3lcolor); }
.e3m { background-color: var(--3mcolor); }
.e3r { background-color: var(--3rcolor); }

.e3l, .e3m, .e3r { 
	align-self: center;
	margin-bottom: 32px; 
}

.e2l { background-color: var(--2lcolor); }
.e2r { background-color: var(--2rcolor); }

.emoji {
	width: 1em;
	height: 1em;
	display: inline-block;
}

.clickable:hover, button:hover {
	cursor: pointer;
}

.cell, .column {
	transition: 0.5s;
}

.cell:hover, .column:hover {
	transform: translate(-10px, 10px) scale(1.01);
}

.link {
	color: var(--3mcolor);
	font-size: x-large;
	text-decoration: underline;
}

@media (max-width: 1080px) {
    :root {
        --sitetitlesize: 38px;
	    --h2size: 32px;
    }

    footer {
        height: 320px;
    }

    .quicklink {
        font-size: calc(var(--buttontextsize) / 2);
        width: 110px;
	    height: 32px;
    }

    .sitetitle, .pagelabel {
        margin-top:  802px;
	    margin-left: 32px;
	    margin-right: 32px;
    }

    .pagelabel {
        margin-top: 32px;
    }

	.infopage {
		right: 0px;
		margin-bottom: 32px;
	}

	.boardc {
		display: block;
		justify-content: space-between;
		flex-direction: column;
	}

	.column {
		width: calc(100% - 128px);
		height: 750px;
		margin-bottom: 64px;
	}

    .cell {
        margin-bottom: 28px;
	    display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
	    position: relative;
    }

    .cell p, .cell h1, .cell button {
    	transform: translateY(-36px);
    }

    .thumbnail {
        max-width: 400px;
	    align-self: center;
    }

    .icon {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, 40%);
    	opacity: 0.2;
    }
}