/* 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 Css Reset*/

body{
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

header{
    box-shadow: 5px 5px 5px rgb(98, 98, 98) ;
}

.hero{
    z-index: 0;
    width: 100%;
    padding-top: 10px;
}
h1{
    box-sizing: border-box;
    font-size: 64px;
    color:white;
    position: absolute;
    display: flex;
    top:50svh;
    left:80svh;
    font-family:'Source Code Pro', monospace;
    text-shadow: 3px 3px 3px black;
}

.flexMaster{
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-evenly;
}

.flexMaster img {
    width: 250px;
    padding:15px;
}

.flexSmall {
    display: flex;
    padding: 5px;
    justify-content: space-evenly;
}


.button {
    margin: auto;
    font-size: 30px;
    padding:20px;
    transition: color 0.5s;
    position: relative;
}
.button:hover {
    cursor: pointer;
}
.button::before{
	content:'';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgb(0, 0, 0);
	height: 2px;
	transform: scaleX(0);
	transform-origin: bottom right;
	transition: transform 0.3s ease;
}
.button:hover::before{
	transform: scaleX(1);
}

.button a:link, a:visited{
    color: black;
    text-decoration: none;
}

.rowFlex{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}
.txt{
    font-size: 25px;
    text-align: center;
    line-height: 30px;
}
h2{
    font-size: 35px;
    text-align: center;
    line-height:40px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.leftGrid{
    grid-column: 1/2;
    margin:20px;
}
.rightGrid{
    grid-column: 2/3; 
    margin:20px;
    transform: translateY(13%);
}
.box{
    background-color: lightgrey;
    width:500px;
    margin:auto;
    padding:10px;
    border-radius: 5px;
    vertical-align: center;
}
.defaultImage{
    width:500px;
    margin:auto;
    border-radius: 5px;
}

.CaseStudies {
    padding: 5px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr;
    margin: 0 100px
}

.CaseStudies img{
    width:750px;
    border-radius: 25px;
}

.case1 {
    grid-column: 1/2;
    grid-row: 1/2;
}

.casep1 {
    grid-column: 2/3;
    grid-row: 1/2;
    margin: auto;
}

.case2 {
    grid-column: 1/2;
    grid-row: 2/3;
}

.casep2 {
    grid-column: 2/3;
    grid-row: 2/3;
    margin: auto;
}

.case3 {
    grid-column: 1/2;
    grid-row: 3/4;
}

.casep3 {
    grid-column: 2/3;
    grid-row: 3/4;
    margin: auto;
}

.case4 {
    grid-column: 1/2;
    grid-row: 4/5;
}

.casep4 {
    grid-column: 2/3;
    grid-row: 4/5;
    margin: auto;
}

.case5 {
    grid-column: 1/2;
    grid-row: 5/6;
}

.casep5 {
    grid-column: 2/3;
    grid-row: 5/6;
    margin: auto;
}

.case6 {
    grid-column: 1/2;
    grid-row: 6/7;
}

.casep6 {
    grid-column: 2/3;
    grid-row: 6/7;
    margin: auto;
}

.AboutPage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr;
}

.AboutOne {
    grid-row: 1/2;
    grid-column: 1/3;
}

.AboutTwo {
    grid-row: 2/3;
    grid-column: 1/2;
}

.AboutThree {
    grid-row: 2/3;
    grid-column: 2/3;
}

.AboutImageOne {
    grid-row: 3/5;
    grid-column: 1/2;
    margin:auto;
}

.AboutPage img{
    width: 400px;
}

.AboutImageTwo {
    grid-row: 3/5;
    grid-column: 2/3;
    margin:auto;
}

footer{
    background-color: black;
    color: white;
    width: 100%;
    padding:12px;
    box-sizing: border-box;
}

.HistoryPage{
    margin:0 300px;
}
