* {
	box-sizing: border-box;
} 

div {
	float: left;
}

body {
	background: linear-gradient(green, yellow) fixed;
	height: 100%;
}

.main-container {
	padding: 5px;
	width: 100%;	
	margin-bottom: 10px;
}

.main-container div {
	padding: 5px;
}

#main-content {
	width: 78%;
	min-height: 65%;
	float: right;
	position: relative;	
}

#logo {	
	background-image: url("../img/logo.jpg");
	background-size: 100px;
	width: 100px;
    height: 100px;
}

#title {
	width: 80%;
	float: right;
	font-family: 'Pacifico', cursive;
	font-weight: bold;
	font-size: 50;
	height: 100px;
	
}

#title2 {
	border: 2px solid green;
	font-family: 'Pacifico', cursive;
}

#sidebar {
	width: 20%;
}

#menu{
	padding: 0;
	margin: 0;
	list-style-type: none; 
	display: block;
	float: left;	
}

#menu > li {
	display: block;
	border-left: 2px solid green;
	border-top: 2px solid green;
	border-right: 2px solid green;
	position: relative;
	
}

#menu > li:last-child {       
	border-bottom: 2px solid green;
}

#menu li a{
	text-decoration: none;
	color: black;
	font-weight: bold;
	display: block;
	padding: 10px 10px;
}

#menu > li ul{
	list-style-type : none;
	padding: 0;
	margin: 0;
	display: none;
	position: absolute;
	width: 80px;
	border-left: 100px;
	top: -5px;
	padding-left: 100px;
	
}

#menu > li:hover ul{
	display: block;

}

#menu > li ul li {
	background: linear-gradient(green, yellow);
	display: block;
	border-left: 2px solid green;
	border-bottom: 2px solid green;
	border-right: 2px solid green;	
	float:left;
	width:100px;
	height: 30px;
}

#menu > li ul li:first-child{
	border-top: 2px solid green;
}

#content1, #content2, #content3, #content4 {
	background-repeat: round;
	background-size: 200px;
	width: 200px;
    height: 200px;
	color: black;
	font-weight: bold;
}

#content1 {
	background-image: url("../img/cici.jpg");	
	margin-left: 2px;
}

#content2 {
	background-image: url("../img/pui.jpg");
	margin-left: 30px;
}

#content3 {
	background-image: url("../img/converse.jpg");
	margin-left: 30px;
}

#content4 {
	background-image: url("../img/martisoare1.jpg");
	margin-left: 30px;	
}

.tdimg {
	width: 60%;
}

.imgContent {
	width: 100%;
	margin-bottom: 30px;
	margin-left: 10px;
	border: 5px solid green;
}

.descriere {
	font-family: 'Pacifico', cursive;
	font-weight: bold;
	font-size: 25;
	text-align: center;
}

#formular {
	width:60%;
	color: black;
	font-weight: bold;
	min-height: 68%;
}

.form-label {
	font-weight: bold;
	margin-left:20%;
}

input[type='text']{
	width: 60%;
	float: right;
}

input[type='email']{
	width: 60%;
	float: right;
}

textarea {
	width: 60%;
	height: 200px;
	float: right;
}

input[type='submit']{
	width: 60%;
	float: right;
}

#footer{
	color: black;
	width: 100%;
}

#footer a {
	color: black;
}


@media screen and (max-width: 1024px) {
	#logo { 
		background-size: 50px;
		width: 50px;
		height: 50px;
		
	}
	
	#title { 
		width: 80%; 
		font-family: 'Pacifico', cursive;
	    font-weight: bold;
		font-size: 15;
	    height: 50px;
	} 	
	
	#content1, #content2, #content3,#content4{
		margin-left: 20px;
		width: 160px;
        height: 160px;
	}	
	
}

@media screen and (max-width: 414px) {
	#main-content {
		width: 60%;
		margin: 0;
		z-index: -1;
	}
	
	#sidebar {
		width: 39%;
	}
	
	#content1, #content2, #content3,#content4{
		margin-left: 3px;
		width: 80px;
		height: 80px;
	}
	
	#footer {
		height:10%;
		weight: 15%;
	}
	
	#footer{
		font-size: 12px;
	}

	#footer a {
		font-size: 12px;
	}
}

