* { box-sizing: border-box; }
/* * { border: 2px solid blue;  } */

body {
	font-family: 'Montserrat', sans-serif;
	margin: 0;
	background-color: #f2f0f0;
}

.navbar {
	background-color: rgba(242, 240, 240, 0.9);
	position: fixed;
	width: 100%;
	margin: 0;
	z-index: 3;
}

.navbar ul {
	margin: 0;
	vertical-align: center;

}

.navbar li {
    display: inline-block;
    padding: 15px 15px;
}

.navbar li a {
	font-family: 'Montserrat', sans-serif;
    font-size: 24px;
	color: #251821;
	text-decoration: none;
}



.navbar a:hover {
	color: #5e3072;
	text-decoration: none;
	transition: color 300ms;
    -webkit-transition: color 300ms;
}

@media screen and (max-width: 1190px) {
.navbar li a {
font-size: 12px;
  }
}

@media screen and (max-width: 570px) {
.navbar {
display: none;
}
}

#home
{
	height: 400px;
	width: 100%;
	background: linear-gradient(35deg, #7b4397, #58100e);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center; 
}
h1 {

	height: auto;
	font-size: 24px;
	font-weight: 400;
color: #f5eded;
padding: 0 5% 1% 5%;
}
.whiteheading2 {
font-size: 36px;	
font-weight: 600;
color: #f5eded;
margin-top: 0;
padding: 0 5%;
text-transform: uppercase;
text-align: center;
}

.sideheader h2 {
font-size: 36px;	
font-weight: 800;
text-transform: uppercase;
color: #251821;
margin-left: 3%;
text-align: right;
margin-top: 0;
}

.sideheader p {
	color: #251821;
	font-weight: 400;
	font-size: 24px;
text-align: right;
line-height: 1.9em;
padding: 4% 2%;
}

.textblock p {
	color: #251821;
	font-weight: 400;
	font-size: 16px;
text-align: left;
line-height: 1.7em;
margin-top: 0;
}

h3 {
	color: #251821;
	font-weight: 400;
	font-size: 24px;
	margin-top: 0;
}



#photo {
	border-radius: 50%;
	border-style: solid;
	border-color: #f5eded;
	border-width: 5px;
	width: 200px;
	height: auto;
	box-shadow: 0 10px 20px rgba(0,0,0,0.23);
	position: relative;
	display: block;
	margin: auto;
	margin-top: -110px;
	z-index: 1;
}

#photo:hover {
	box-shadow: 4px 14px 25px rgba(0,0,0,0.26);
	transform: scale(1.04);
	transition: 100ms;
  -webkit-transition: 100ms;
}

#hello {
	color: rgb(0,0,0,0);
	font-size: 24px;
	font-weight: 400;
	position: relative;
	z-index: 2;
margin: -140px 0 0 56.5%;
width: 120px;
height: auto;
text-align: center;
transition: 400ms;
  -webkit-transition: 400ms;
}


#experiences {
	margin: 10% 0;
	padding: 100px 5% 0 5%;
}


.flex {
		display: flex;
		flex-direction: row;

}

.sideheader {
	width: 30%;
}


.container {
	width: 70%;
	display: grid;
	grid-template-columns: repeat(3, minmax(160px, 200px));
grid-template-rows: 200px 200px 200px 100px;
grid-template-areas: 
"item1 item2 item3"
"item4 item4 item3"
"item4 item4 item5"
"item6 item7 item8";
	grid-gap: 10px;
	justify-content: center;
}

.item {
	background-color: white;
	border-style: solid;
	border-color: white;
	border-width: 3px;


}

#item1 {
	background-image: url(../img/pl.png);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: left top;
}

#item2 {
	background-image: url(../img/ce.jpg);
	background-size: cover;
	background-repeat: no-repeat;
}

#item3 {
	grid-area: item3;
	background-image: url(../img/email.png);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: left top;
}
#item4 {
	grid-area: item4;
	background-color: white;
	background-image: url(../img/landing.png);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: left top;
}

#item5 {
	background-image: url(../img/OP.png);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}

#item6 {
	background-image: url(../img/hubspot.jpg);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}
#item7 {
	background-image: url(../img/wp.jpg);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}
#item8 {
	background-image: url(../img/divi.jpg);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}






#studies {
	margin: 10% 0 0 0;
	background-image: linear-gradient(180deg, white, white, #f8f5f5, #f5f0f0);
	background-attachment: fixed;
	background-size: cover;
	background-repeat: no-repeat;
	padding: 10% 5%;
}

.textblock {
	width: 70%;
	max-width: 620px;
	margin: auto;
}

#cv {
	background: linear-gradient(35deg, #4e1833, #42275a);
	display: inline-block;
	color: white;
	width: 100%;
	font-style: italic;
	text-align: center;
}

.button {
	display: inline-block;
	padding: 1% 2%;
	color: white;
	font-family: 'Montserrat', sans-serif;
	background-color: transparent;
	border: 1px solid white;
	margin: 20px auto;
	font-size: 16px;
	font-weight: 400;
}

.button:hover {
	text-decoration: none;	
	background-color: #f5eded;
	transition: 400ms;
    -webkit-transition: 400ms;
	color: #42275a;
}


#contact {
	padding: 10% 5%;
		background-image: linear-gradient(35deg, rgba(245, 237, 237, 0.5), rgba(245, 237, 237, 1)), 
	url(../img/contact.jpg);
	background-size: cover;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-position: top;
}

.textblock a {
	text-decoration: none;
	color:  #251821;

}

.textblock a:hover {
	color: #5e3072;
}

td {
	width: 120px;
	padding: 5px 0;
}


@media (max-width: 1190px) {
#hello {
	display: none;
}

#experiences {
	margin: 10% 0;
	padding: 0 5% 0 5%;
}

#contact {
	padding: 10% 5%;
		background-image: linear-gradient(35deg, rgba(245, 237, 237, 0.85), rgba(245, 237, 237, 1)), 
	url(../img/contact.jpg);
}
}


@media screen and (max-width: 1190px) {
h3 {
	font-size: 16px;
}

h1 {
	font-size: 16px;
}

.whiteheading2 {
font-size: 24px;
}

.sideheader h2 {
	font-size: 24px;
	text-align: center;
}

.sideheader p {
	font-size: 12px;
	text-align: center;
}

.textblock p {
	font-size: 12px;
}

.button {
	font-size: 12px;
}

td {
	font-size: 12px;
}
}

@media screen and (max-width: 1010px) {
.flex {
		flex-direction: column;

}
.sideheader {
	margin: auto;
	width: 70%;
}


.container {
	width: 70%;
	margin: auto;
}

.textblock {
	width: 50%;
	margin: auto;
}
}


@media screen and (max-width: 935px) {
.container	{
grid-template-rows: 180px 180px 180px 100px;
}
}

@media screen and (max-width: 845px) {
.container	{
grid-template-rows: 170px 170px 170px 90px;
}
}

@media screen and (max-width: 570px) {
#home
{
	height: 300px;
	justify-content: flex-start;
	padding-top: 12%;
}

.container {
	width: 90%;
	display: grid;
	grid-template-columns: 1fr 1fr;
grid-template-rows: 170px 170px 170px 170px 90px;
grid-template-areas: 
"item1 item3"
"item2 item3"
"item4 item4"
"item4 item4"
"item6 item7";
	grid-gap: 8px;
	justify-content: center;
}
#item5 {
display: none;
}
#item8 {
display: none;
}
.textblock {
	width: 60%;
	margin: auto;
}

}


@media screen and (max-width: 410px) {
.textblock {
	width: 80%;
	margin: auto;
}

.container {
width: 90%;
grid-gap: 4px;
grid-template-rows: 150px 150px 150px 150px 90px;
}	
}