:root {
    --c1: white;
		--c2: black;
		--c3: #393939; /*text grey*/
		--c4: rgb(0, 200, 255); /*common blue*/
		--c5: #212121; /*header dark*/
		--c6: rgb(9, 52, 86); /*header light*/
		--c7: rgba(102, 232, 255,0.5); /*border grey*/
}

body{
    margin: 0;
		overflow-y:scroll;
		background-color: var(--c1);
}
.main{
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    justify-items: center;
}
.wrap{
    width: 80%;
    padding: 50px 0;
    overflow: hidden;

    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    justify-items: left;

    color: var(--c3);
		font-weight: 400;
		font-family: 'Raleway', sans-serif;
		letter-spacing: 1px;
}
.topitem{
	margin-top: 0;
}
h1, h2{
    letter-spacing: 3px;
    font-weight: 400;
		color: var(--c2);
}
input{
	border: 1px solid rgb(218, 218, 218);
	border-radius: 5px;
	width: 100%;
	padding: 8px;
	font-size: 15px;
	box-sizing: border-box;
	margin: 2px 0;
	color: var(--c3);
	background-color: var(--c1);
}
input[type="submit"]{
	color: var(--c2);
}
input:focus{
	outline: none;
}
input[type="submit"]:hover{
	background-color: var(--c4);
	border: 1px solid var(--c4);
}

#header{
    background-image: linear-gradient(to bottom right, var(--c5), var(--c6));
    box-shadow: 0 0 20px 2px #000000;
}
#header .wrap{
    grid-template-columns: fit-content(300px) 1fr;
		grid-gap: 20px;
		padding: 30px 0;
}
#header h1{
    color: var(--c4);
    font-size: 50px;
    margin: 0;
		font-weight: 200;
		letter-spacing: 6px;
}
#header #nav{
    justify-self: right;
}
#header #nav a{
    margin: 0 10px;
    color: var(--c1);
    text-decoration: none;
    letter-spacing: 3px;
		font-weight: 300;
}
#header #nav a:hover{
	color: var(--c4);
}
#header #nav #active{
    color: var(--c4);
}


#feature .wrap{
    line-height: 20px;
}
#feature h1{
    font-size: 40px;
}


.programming .wrap{
    line-height: 20px;
		border-bottom: 1px solid var(--c4);
}
.programming h1{
    font-size: 40px;
}
.programming #phpcode, .programming #jscode, .programming #pcode{
    width: 100%;
    height: 500px;
		margin: 20px 0;
}


.programming img, .programming #sv {
	margin: 0 0 20px 20px;
	float: right;
	box-sizing: border-box;
	width: 40%;
	border-radius: 10px;
}
.programming #svimg2 {
	width: 100%;
	margin: 0;
}
.programming #svimg1 {
	width: 100%;
	margin: 0;
}
.programming #sv {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-column-gap: 15px;
}

#contact .wrap{
    line-height: 35px;
    font-size: 20px;
    justify-items: center;
    text-align: center;
}
#contact h1{
    font-size: 50px;
}
#login #form{
	display: grid;
	grid-template-columns: 1fr;
	width: 40%;
	justify-items: center;
	justify-self: center;
	border: 1px solid rgb(218, 218, 218);
	padding: 20px;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	border-radius: 10px;
	box-sizing: border-box;
}
#login span{
	color: red;
}
#login h1{
	margin: 0 0 20px 0;
}



@media(max-width: 1000px){
    .wrap{
      width: 90%;
      justify-items: center;
    }
		p{
			justify-self: start;
		}
		h1, h2{
				text-align: center;
		}
    #header .wrap{
        grid-template-columns: 1fr;
    }
    #header #nav a{
        margin: 0 2px;
				font-size: 14px;
    }
    #header h1{
				font-size: 40px;
    }
    #header #nav{
        text-align: center;
        justify-self: center;
    }
		#feature h1, .programming h1{
			font-size: 30px;
		}
		#login #form{
			width: 100%;
		}
		.programming img, .programming #sv {
			width: 100%;
			float: none;
			margin: 0 0 20px 0;
		}


}
