/* TOP NAV */


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    
}

body {
    font-family: Arial, sans-serif;
    background-color: #f8f8f8;
    color: #333;
}

header {
    color: black;
    padding: 1rem;
    margin: 1.5rem;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-right: 20px;
}

nav ul li a {
    color: black;
    text-decoration: none;
}

/* CONTACT ME */

.btn {
    font-size: 100px;
    font-weight: 500;
    text-transform: uppercase;
    padding: 10px 20px;
    border-radius: 5000px;
    transition: all 0.3s;

}


.btn:hover {
    transform: scale(1.15);
}


/* HERO SPLASH */

.hero {
    background-image: url(../images/hero_bg.png);
    background-size: cover;
    background-position: center;
    color: darkslategrey;
    padding: 400px;
}

.text-container {
    position: absolute;
    top: 32%;
    left: 50px;
    max-width:620px;
    margin: 0 auto;
    
}

.header {
    font-size: 100px;
    margin-bottom: 20px;
}

.subheader {
    font-size: 30px;
    margin-bottom: 20px;
    color: rgb(46, 116, 58);
    
}

.subheader2 {
    font-size: 18px;
    margin-bottom: 20px;
    color: rgb(46, 116, 58);
    
}



/* FEATURED */

.heading3 {
    text-align: center;
    margin-top: 50px;
    font-size: 15px;
    font-weight: bold;
} 

.featured.works {
    padding-bottom: 0px;
    
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px;
}

/* FEATURED PROJECTS */

.box {
    display: flex;
    justify-content: center;
    align-items: center;
}

.column1 {
    width: 35%;
    height: auto;
    margin: 0;
    padding: 1rem;
}


.column2 {
    width: 35%;
    height: auto;
    margin: 0;
    padding: 1rem;
}


.column3 {
    width: 35%;
    height: auto;
    margin: 0;
    padding: 1rem;
}

.column1 img {
    display: block;
    width: 100%;
    margin-bottom: 20px;

}


.column2 img {
    display: block;
    width: 100%;
    margin-bottom: 20px;

}


.column3 img {
    display: block;
    width: 100%;
    margin-bottom: 20px;

}

/* MORE BUTTON */

.heading4 {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
    text-decoration: underline;
    font-size: 30px;
    color: black;
}


/* CONTACT BOX CHALLENGE */

*{
	padding: 0;
	margin: 0;
	box-sizing: border-box;

}

body{
	height: 100rem;
	width: 100%;
}

.container{
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
    margin-top: 20px;
	padding: 20px 100px;
}

.container:after{
	margin: 0px;
    background-color: white;
	background-size: cover;
	filter: blur(50px);
	z-index: -1;
}
.contact-box{
	max-width: 850px;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	justify-content: center;
	align-items: center;
	text-align: center;
	background-color: #fff;
	box-shadow: 0px 0px 19px 5px rgba(0,0,0,0.19);
}

.left{
	background: url(../images/contact\ image.jpg) no-repeat center;
	background-size: cover;
	height: 100%;
}

.right{
	padding: 25px 40px;
}

h4{
	position: relative;
	padding: 0 0 10px;
	margin-bottom: 10px;
}

h4:after{
	content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    height: 4px;
    width: 50px;
    border-radius: 2px;
    background-color: #2ecc71;
}

.field{
	width: 100%;
	border: 2px solid rgba(0, 0, 0, 0);
	outline: none;
	background-color: rgba(230, 230, 230, 0.6);
	padding: 0.5rem 1rem;
	font-size: 1.1rem;
	margin-bottom: 22px;
	transition: .3s;
}

.field:hover{
	background-color: rgba(0, 0, 0, 0.1);
}

textarea{
	min-height: 150px;
}

.btn{
	width: 100%;
	padding: 0.5rem 1rem;
	background-color: #2ecc71;
	color: #fff;
	font-size: 1.1rem;
	border: none;
	outline: none;
	cursor: pointer;
	transition: .3s;
}

.btn:hover{
    background-color: #27ae60;
}

.field:focus{
    border: 2px solid rgba(30,85,250,0.47);
    background-color: #fff;
}


/* FOOTER */

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgb(185, 55, 131); 
    padding: 20px; 
    font-style: "Josefin Sans";
    font-size: 1.5rem;
    color: white;
}

.row {
    display: flex;
    align-items: center;
    
}

.box2 {
    margin-right: 10px; 
    justify-content: right;
}

.h5 {
    margin: 0; 
    
}


/* MEDIA QUERY TABLET */

@media screen and (max-width: 768px) {
    .hero {
        padding: 200px; 
        color: black;
    }

    .subheader, .subheader2 {
        color: black;
    }

    .contact-box {
      padding: 20px;
      width: 90%;
    }

    .container {
        width: 50%;
    }

    .left {
        order: 2; 
        height: 300px; 
        background-position: center; 
    }

    .right {
        order: 1; 
        padding: 20px; 
    }

}


/* MEDIA QUERY MOBILE */

@media screen and (max-width: 540px) {
    .hero {
        padding: 100px;
        color: black;
    }

    .subheader, .subheader2 {
        color: black;
    }

    .contact-box {
        padding: 5px; 
        width: 50%;
    }

    .container {
        width: 20%;
    }

    .left {
        height: 200px; 
        background-position: center; 
    }

}