@charset "utf-8";
/* CSS Document */

body{
	background-color: whitesmoke;
	margin: 0;
	pandding:0;
}

/* navigation */
ul{
	list-style: none;
}
a{
	text-decoration: none;
}

nav{
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 60px;
	background-color: #FFFFFF;
	box-shadow: 2px 2px 12px;
	padding: 0 5%;
}
nav ul{
	display: flex;
}
nav ul li a{
	margin: 30px;
	font-family: Cambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", "serif";
	color: #000000;
	font-size:15px;
	font-weight: 700;
}
.logo{
	font-family: baumans;
	color: #000000;
	font-size: 22px;
	font-weight:bold;
	letter-spacing:5px;
}
.active{
	font-weight: bold;
	color: #2d2a2a;
}

/* main */
main{     
	min-height: 630px;
	width: 100%;
	background-image:linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.8)), url("img/background3.jpg");
	background-repeat:no-repeat;
	background-size: cover;	
}
#portfolio{
    width: 100%;
    box-sizing: border-box;
    font-family: calibri;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 0px;
    padding-right: 2%;
    padding-left: 2%;
    padding-bottom: 50px;
}
.heading{
	font-family: calibri;
	font-size: 38px;
	text-align: center;
	font-weight: 500;
	padding: 10px 20px;
	letter-spacing: 2px;
	color:white;
}
.heading h1{
	font-family: calibri;
	font-size: 38px;
	text-align: center;
	font-weight: 700;
	letter-spacing: 2px;
	color: #17d1ac;
}
.heading p{
    font-size: 20px;
}


.box{
	background-color: #1F1F1F;
	overflow: hidden;
	border-radius: 10px;
	box-shadow: 2px 2px 13px rgba(0,0,0,0.3);
	position: relative;
}
.box img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.container{
	width: 90%;
	height:400px;
	display:grid;
	grid-template-columns:auto auto auto;
	grid-template-rows: auto auto;
	grid-gap: 25px;
}
.overlay-text{
    font-family: calibri;
    position: absolute;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: rgba(233,214,200,0.73);
    display: none;
}
.overlay-text h1,p{
	color: #FFFFFF;
}
.overlay-text h1{
	font-size: 35px;
	margin: 0px;
	padding: 0px;
	letter-spacing: 2px;
}
.overlay-text p{
    font-size: 20px;
    margin: 0px;
    text-align: center;	
}
.box:hover .overlay-text{
	display: flex;
	
}

/*contact button*/
#contact-btn{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 200px;
    background-color: #17d1ac;
    margin-top: 20px;
    margin-right: 0px;
    margin-left: 0px;
    box-sizing: border-box;
    box-shadow: 2px 0px 20px rgba(0,0,0,0.4);
}
.ct-heading{
	font-size: 2rem;
	color:#1E1E1E;
	font-family: calibri;
	margin: 10px;
	padding: 5px;
	letter-spacing: 4px;
	border-bottom: 2px solid #1E1E1E;
	
}
#contact-btn button{
	color:#FFFFFF;
	font-size: 1rem;
	font-family: calibri;
	width:150px;
	height: 40px;
	margin: 10px;
	background-color: #1E1E1E;
	border: none;
	outline: none;
	box-shadow: 2px 5px 6px rgba(0,0,0,0.2);
}
#contact-btn button:hover{
	background-color: whitesmoke;
	color:#000000;
	transition: all ease 0.5s;
	font-weight: bold;
}

/* footer */
footer {
    min-height: 10px;
    background-color: #FFFFFF;
	justify-content: space-between;
	display: flex;
	padding: 0 2%;
}
footer p{
	font-family: calibri;
	font-size: 18px;
	color:#191919;
	line-height:30px;
}
.social-icons a{
	width:40px;
	height:40px;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color:#e6e3e3;
	margin:20px 10px;
	border-radius:50%;
}
.social-icons{
	display: flex;
	float:right;
}
.social-icons i,.social i{
	color:#000000;
}
.social-icons a:hover{
	background-color:#000000;
	box-shadow:2px 2px 12px rgba(0,0,0,0.2);
	transition:all ease 0.5s;
}
.social-icons a:hover i,
.social a:hover i{
	color:#FFFFFF;
	transition:all ease 0.5s;
}


/* Responsive layout - when the screen is 600px wide */
@media(max-width:600px){
	.container{
		grid-template-columns:auto auto;
		grid-template-rows: auto;
	}
	.ct-heading{
		font-size: 25px;
		text-align: center;
		margin: 0px 10%;
	}
	footer{
    flex-direction: column;
    text-align: center;
	align-items: center
	}
}
