/* General Reset */
body, ul {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'florencesans';
    src: url('fonts/florsn30-webfont.woff2') format('woff2'),
         url('fonts/florsn30-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

a {
    color: #fff;
}

a:hover {
    text-decoration: none;
}

body {
    font-family: Arial, sans-serif;
    background: #000;
    color: #fff;
    line-height: 1.6;
}

h1, h2 {
    font-family: florencesans, sans-serif;
    text-transform: uppercase;
}

h2 {
    
}

img {
    max-width: 100%;
}

#home {
    background-image: url("images/banner-bodyscape.jpg");
    background-position: top center;
    background-repeat: no-repeat;
    background-size: 75%;
    justify-content: center;
    align-items: bottom;
    height: 22vh;
    display: flex;
}

#home img {
    max-width: 75%;
}

#home h1 {
    color: #fff;
    font-weight: normal;
}

#intro {
    margin-top: auto;
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

header {
    background: #000;
    color: #fff;
    max-width: 960px;
    margin: 0 auto;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

#main {
    max-width: 960px;
    margin: 0 auto;
}

.logo {
    width: 120px;
}

nav {
	max-width: 960px;
	margin: 0 2% 0 2%;
	overflow: hidden;
	font-family: florencesans, sans-serif;
	font-weight: normal;
	font-size: 1em;
	text-transform: uppercase;
}

nav ul {
	list-style: none;
	overflow: hidden;
}

nav li a {
	color: #ffffff;
	display: block;
	float: left;
	font-size: 1em;
	text-align: center;
	text-decoration: none;
	width: 33%;
}

nav li:nth-child(4) a, nav li:nth-child(5) a {
	width: 50%;
}

nav li a:hover {
    text-decoration: underline;
}

.home {
    max-width: 960px;
    margin: 0 auto;
    padding: 60px 0px;
    text-align: center;
}

.section {
    max-width: 960px;
    margin: 0 auto;
    padding: 2px 20px;
}

#about, #services {
    background: #fff;
    color: #000;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: auto auto;
    gap: 10px;
}

.portfolio-grid img {
    transition: transform 0.3s;
}

.portfolio-grid img:hover {
    transform: scale(1.05);
}

.social-links a {
    margin: 0 10px;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
}

footer {
    background: #fff;
    color: #000;
    text-align: center;
    padding: 10px 0;
    margin-top: 20px;
}

#services a, #about a {
    color: #000;
}

footer a {
	color: #000;
}

/* Responsive Design for Larger Screens */
@media (min-width: 768px) {

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 20px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
}

.portfolio-grid {
    grid-template-columns: auto auto auto auto;
}

#about img {
    max-width: 400px;
    float: left;
    padding: 0 20px 20px 0;
}

nav li a, nav li:nth-child(4) a, nav li:nth-child(5) a {
	width: 20%;
}

#home {
    height: 40vh;
}

}
