* {margin: 0; padding:0; box-sizing: border-box;}

main, nav {display: block;}

html {
	background-image: url("images/pricingmain1.jpg");
	background-size: 890px;
	background-position: 35% 0%;
	background-repeat: no-repeat;
	background-attachment: fixed;
	z-index: -1;
}
 

main {
	padding: 5em 1.4em 0 2.7em;
	font-family: 'Abel', sans-serif;
	color: black;
	background-color: rgba(235, 235, 235, 0.92);
	position: absolute;
	height: 100%;
	min-height: 550px;
	
}

.submitform {display: none;}
h1 {padding-bottom: 0.5em; font-size: 2.4em;}
h2 {font-size: 1.6em; padding-bottom: 0.5em;}
p {font-weight: bold; padding-bottom: 0.8em; font-size: 1.1em;}
a.nonmobile {display: none;}
a.nonmenu {
	color: black;
	display: block;
	margin: auto;
	width: 50%;
	padding: 0.4em;
	border-radius: 0.4em;
	text-align: center;
	font-weight: bold;
	background-color: #EFEFEF;
	text-decoration: none;

}	


label {
	font-weight: bold;
	font-size: 1.1em;
	padding: 0.4em;
	background-color: #CFCFCF;
	color: #161616;
	border-radius: 0.3em;
	border: 1px solid #888888;
}

label:hover {
	cursor: pointer;
}


.web-specs{
	width: 80%;
	position: absolute;
	opacity: 0;
	max-height: 0;
	font-weight: bold;
	font-size: 1em;
	transition: max-height 0.8s;
	transition: all 0.8s;
	padding: 0 1em 0 1.3em;
	border: 1px solid black;
	border-radius: 0.3em;
	box-shadow: 0.3em 0.3em 0.3em #242424;
	margin: 0.5em 0 0.1em 0;
	}


.template-specs, .custom-specs {
	opacity: 0;
	max-height: 0;
	list-style-type: none;

	font-weight: bold; 
	font-size: 1em;
	
	padding-bottom: 0.4em;
}

.template-checkbox, .custom-checkbox {
	display: none;
}


.custom-checkbox:checked ~ .web-specs > .custom-specs {
	max-height: 10em;
	opacity: 1;
}

.template-checkbox:checked ~ .web-specs > .template-specs {
	max-height: 10em;
	opacity: 1;
}
/*
.template-checkbox:checked ~ .template::after {
    background-color: #454545;
    padding: 0.5em;
    border-radius: 2px;
    color: #EFEFEF;
    content: "X";
    font-weight: bold;
    position: relative;
    left: calc(15vw + 1em);
    top: 1.8em;
    z-index: 10000;
}

.template-checkbox:checked ~ .template{

}

.template::after::focus-within {
    display: none;
}
*/
.custom-checkbox:checked ~ .web-specs,
.template-checkbox:checked ~ .web-specs {
	
	opacity: 1;
	max-height: 18em;
	padding: 1.3em 1em 1em 1.3em;
		
}





.custom-checkbox:checked ~ .web-specs > .template-specs {
	opacity: 0;
	max-height: 0;
}

.template-checkbox:checked ~ .web-specs > .custom-specs > li {
	max-height: 0;
	position: fixed;
	bottom: 0;
	opacity: 1;
	
	
	z-index: -10;
}


.closeme {
    text-decoration: none;
    position: relative;
    top: 0;
    right: 210px;
    background: white;
}

/* #figure1:not(:target),
#figure2:not(:target) {
		display:none;
		position: static;
		width: 0;
	}    

#figure1:target,
#figure2:target {
	display: block;
		z-index: 100;
		position:fixed;
		height: calc(99vh - 61px);
		top: 61px;
		left: 10vw;
		background-color: rgb(16, 16, 16);
		background-color: rgba(16, 16, 16, 0.99);
		
		border: 1px solid black;
		color: #EFEFEF;
		
		width: 80%;
		padding: 1.3em;
}

	#figure1:target .closeme,
	#figure2:target .closeme { 
		color: white; 
		float: left;
		position: absolute;
		top: 0;
		right: 0vw;
		background-color: rgb(16, 16, 16);
		background-color: rgba(56, 56, 56, 0.85);
		border: 2px solid rgba(240, 240, 240, 0.83);
		padding: 0.3em;
	}*/

@media screen and (min-width: 700px){
	
	html {
		background-image: unset;

	}
	main {
		position: relative;
		height: calc(82vh);
		display: grid;
		grid-template-columns: 1fr 1fr;
		padding: 3.5em 0 0 0;
		background-image: url("images/f.jpg");
		background-size: cover;

		
	}

	.container {
		padding: 1.8em;
		text-align: center;
		min-height: 550px;
	}
	.container2 {
		background-image: url("images/pricingmain1.jpg");
		background-size: cover;
		height: auto;
		min-height: 550px;
	}

	.web-specs{
		background-color: rgba(210, 210, 210, 0.8);
		width: 40%;
		margin: auto;
	}

}