/* Set all margins to be centred */
@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@300&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Quicksand&display=swap");

* {
	margin: 0;
	padding: 0;
}

* {
	box-sizing: border-box;
}

#wrapper {
	max-width: 1280px;
	margin: 0 auto;
}

html,
body {
	font-family: "Inter", sans-serif;
	font-family: "Quicksand", sans-serif;
}

/* 
	font-family: "Nunito Sans", sans-serif;
font-family:Roboto,"Helvetica Neue",sans-serif;
font-family: Helvetica Neue, Arial, sans-serif;
font-family: Roboto, "Helvetica Neue", sans-serif;

*/
body {
	display: grid;
}

p {
	font-size: 24px;
	line-height: 1.2;
	border: 0;
	letter-spacing: 0.5px;
}

.wrapper {
	/* width: 1280px; Damon You COMMENTED THIS OUT TO STOP BARS BEING CENTRED*/

	margin: 0 auto; /* centre */
	width: 90%;
	display: grid;
	grid-template-columns: repeat(9, 1fr); /* one fraction wide */
	grid-template-rows: 250px 400px auto;
	grid-template-areas: "Header" "IntroText";
	/* grid-template-rows: repeat(
		5,
		0.1fr
	); */ /* e.g. instead of fraction use pixels instead */
	grid-gap: 10px; /* margin between both column and row grids */
}

/* Top Left Logo Image */
/* Spans the first 4 columns*/

.logo {
	background-color: white;
	min-height: 100px;
	grid-column: 1/4;
}

/* top menu bar - spans columns 4 to 10 */

.top-menu {
	background-color: white;
	min-height: 100px;
	grid-column: 4/9;
}

/* Styles for Menu Items */

.nav-menu nav {
	align-items: center;
	text-align: center;
	font-size: 1.143em;

	padding: 0;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

.nav-menu ul {
	list-style: none;
	text-align: center;
	align-items: center;
	margin-top: 30px;
}

.nav-menu li {
	display: inline;
	font-size: 26px;
	color: black;
	text-align: center;
	line-height: 1.2;
	padding: 0 0 10px 30px;
	border: 0;
	letter-spacing: -1px;
}

.nav-menu a:link,
.nav-menu a:visited {
	color: black;
	text-decoration: none;
}

.nav-menu a:hover {
	text-decoration: underline;
}

.nav-menu a:active {
	font-weight: bold;
}

.mobile-icon {
	text-align: right;
	width: 50%;
	height: 50%;
	grid-column: 9/10;
	grid-row: 1/2;
}

/* Styles for introductory text */

.top-intro-text {
	background-color: white;
	color: black;
	display: grid;
	grid-row: 2;
	grid-column: 1/10;
}

.top-intro-text h1 {
	font-size: 4em;
	font-weight: 500;
}

.top-intro-text h1 span {
	color: #9b9b9b;
}

.inline-block {
	display: inline-block;
}

.inline-block h2 {
	display: inline-block;
	font-size: 3em;
	font-weight: 100;
}
.group:after {
	content: "";
	display: table;
	clear: both;
}

.word-slider {
	display: inline-block;
	overflow: hidden;
	font-size: 3em;
	height: 1em;
	line-height: 1em;
	list-style-type: none;
	position: relative;
	color: #9b9b9b;
	/* hack to superimpose over image 
	position: absolute;
	top: 550px;
	left: 230px;*/
}

.word-slider > h2 {
	font-size: 1em;
}
.word-slider > li {
	text-align: center;
	-webkit-animation: word-slider 8s ease-in-out infinite;
	-moz-animation: word-slider 8s ease-in-out infinite;
	-o-animation: word-slider 8s ease-in-out infinite;
	animation: word-slider 8s ease-in-out infinite;
}
@-webkit-keyframes word-slider {
	0% {
		-webkit-transform: translate3D(0, 0, 0);
	}
	33% {
		-webkit-transform: translate3D(0, -100%, 0);
	}
	66% {
		-webkit-transform: translate3D(0, -200%, 0);
	}
	100% {
		-webkit-transform: translate3D(0, -300%, 0);
	}
}
@-moz-keyframes word-slider {
	0% {
		-moz-transform: translate3D(0, 0, 0);
	}
	33% {
		-moz-transform: translate3D(0, -100%, 0);
	}
	66% {
		-moz-transform: translate3D(0, -200%, 0);
	}
	100% {
		-moz-transform: translate3D(0, -300%, 0);
	}
}
@-o-keyframes word-slider {
	0% {
		-o-transform: translateY(0);
	}
	33% {
		-o-transform: translateY(-100%);
	}
	66% {
		-o-transform: translateY(-200%);
	}
	100% {
		-o-transform: translateY(-300%);
	}
}
@keyframes word-slider {
	0% {
		transform: translate3D(0, 0, 0);
	}
	33% {
		transform: translate3D(0, -100%, 0);
	}
	66% {
		transform: translate3D(0, -200%, 0);
	}
	100% {
		transform: translate3D(0, -300%, 0);
	}
}

/* RESPONSIVE STUFF FOR THE LOGO, MENU AND TEXT AT TOP */

nav#mobile-menu {
	position: fixed;
	width: 120px;
	left: 70%;
	display: none;
}

#mobile-menu ul {
	list-style-type: none;
	background-color: beige;
}

#mobile-menu ul li {
	font-size: 16px;
	text-align: center;
}

#mobile-menu ul li a {
	display: block;
	color: black;
	height: 50px;
	line-height: 50px;
	text-decoration: none;
}

#mobile-menu ul li a:hover {
	background-color: black;
	color: gainsboro;
}

/* If screen is small then.... */
@media only screen and (max-width: 500px) {
	.top-menu {
		visibility: hidden;
	}

	.mobile-icon {
		text-align: right;
	}

	.logo img {
		/*	width: 180px;
		height: 180px; */
	}

	.top-intro-text h1 {
		font-size: 2em;
		font-weight: 500;
	}

	.img-grey {
		width: 100px;
		height: 100px;
	}

	/* 
	#carouselNormal {
		visibility: hidden;
	}

	#carouselMobile {
		visibility: visible;
		position: relative;
	} */
}

/* If screen is LARGE  then.... */
@media only screen and (min-width: 500px) {
	.mobile-icon {
		visibility: hidden;
	}

	.mobile-menu {
		visibility: hidden;
	}

	/*
	#carouselNormal {
		visibility: visible;
		position: relative;
	}

	#carouselMobile {
		visibility: hidden;
	}
*/
}

/* Black bar */

.bar-black1 {
	background-color: black;
	color: white;
	grid-row: 3/4;
	grid-column: 1/10;
	display: grid;
	padding: 3%;
}

/* About Me Styles */

/*
.left-menu1 {
	grid-row: 3;
	grid-column: 1/4;
} */

.left-menu1 h2 {
	font-size: 2em;
	font-weight: 50;
}

.left-menu-image1 {
	grid-row: 3;
	grid-column: 1/5;
}

.right-content1 {
	grid-row: 3/4;
	grid-column: 5/10;
	font-size: 24px;
	letter-spacing: -1px;
}

/* White bar */

.bar-white1 {
	display: grid;
	padding: 3%;
	background-color: white;
	color: black;
	grid-row: 4/5;
	grid-column: 1/10;
}

/* My Experience Styles */

/*
.left-menu2 {
	grid-row: 4;
	grid-column: 1/4;
}
*/
.left-menu2 h2 {
	font-size: 2em;
	font-weight: 50;
}

.left-menu-image2 {
	grid-row: 4;
	grid-column: 1/5;
}

.right-content2 {
	grid-row: 4/5;
	grid-column: 5/10;
	text-align: center;
}

.right-content2 h2 {
	font-size: 36px;
}

.carousel-white2 {
	grid-row: 5/6;
	grid-column: 5/8;
	overflow: hidden; /* !!!!!!!!!!!!!!!! FIXES ROOTED SLICK SLIDER IN GRID*/
	font-size: 36px;
}

.carousel-white2 h1 {
	font-size: 36px;
}

/* Styles for Logo Carosel */

.img-grey {
	object-fit: contain;
	width: 250px;
	height: 250px;
	filter: grayscale(1);
}

/* Black bar */

.bar-black2 {
	background-color: black;
	color: white;
	grid-row: 5/6;
	grid-column: 1/10;
	display: grid;
	padding: 3%;
}

/* Contact Me Styles */

/*
.left-menu3 {
	grid-row: 9;
	grid-column: 1/4;
}
*/

.left-menu3 h2 {
	font-size: 2em;
	font-weight: 50;
}

.left-menu-image3 {
	grid-row: 5;
	grid-column: 1/5;
}

.right-content3 {
	margin-left: 20px;
	grid-row: 5;
	grid-column: 5/10;
	font-size: 1.5em;
	font-weight: 100;
}

/* Contact Me Styles */

.bar-white2 {
	background-color: white;
	color: black;
	grid-row: 6/7;
	grid-column: 1/10;
	display: grid;
	padding: 3%;
}

.left-menu4 h2 {
	font-size: 2em;
	font-weight: 50;
}

.left-menu-image4 {
	grid-row: 6;
	grid-column: 1/5;
}

.right-content4 {
	margin-left: 20px;
	grid-row: 6;
	grid-column: 5/10;
	font-size: 1.5em;
	font-weight: 100;
}

/* Footer Styles */

.bar-black3 {
	background-color: black;
	color: white;
	grid-row: 7/8;
	grid-column: 1/10;
	padding: 3%;
	text-align: center;
}
