/* Styles for the About Me page */
body {
    font-family: Georgia, 'Times New Roman', Times, serif;
    background-color: #fae0bf;
    text-align: justify;
}

li {
        color: #3D5B59;
}

/* Header Styles */
header {
    text-align: center; 
    background-color: #ACC0D3;
    padding: 20px;
}

header h1 {
    font-size: 50px;
    color: #09A1A1;
    margin-bottom: 10px;
    text-transform: uppercase;
}

header nav li {
    list-style-type: none;
    display: inline-block;
    padding: 20px;
    font-size: 20px;
    text-align: center;
}

header nav li a {
    text-decoration: none;
    color: #5484A4;
}

header nav li a:hover {
    color: #09A1A1;
    text-decoration: underline;
}

#logo {
    float: left;
    height: 280px;
    position: absolute;
    top: 0;
    z-index: 4;
}

/* Footer Styles */
footer p {
    text-align: center;
    width: 100%;
    position: relative;
    bottom: 0;
    clear: left;
}

/* Main Styles*/
.sectiontitle {
    text-align: center;
    color: #3D5B59;
    margin-top: 20px;
    margin-bottom: 20px;
    background-color: #D396A6;
}

h2, h3, h4 {
    color: #3D5B59;
    text-align: center;
}

h3 {
    text-decoration: underline;
}

.step p {
    width: 80%;
    position: relative;
    padding: 0;
}

p {
    color: #3D5B59;
    text-align: center;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 20px;
}

.step {
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 8px 0 #ACC0D3, 0 6px 20px 0 #D396A6;
    margin-bottom: 20px;
}

#main {
    width: 80%;
    position: relative;
    left: 10%;
}

section {
    height: 600px;
}

.projecttitle {
    text-align: center;
    color:#3D5B59;
    font-size: 40px;
    text-decoration: underline;
}

/* Code Section */

pre {
    background-color: hsla(344, 21%, 71%, 0.3);
    padding: 2px 4px;
    border-radius: 4px;
    font-family: 'Courier New', Courier, monospace;
    color: #3D5B59;
    width: 80%;
    margin: 20px auto;
    word-wrap: break-word;
}

/*styles for project display*/
div {
	display: flex;
	align-items: center;
	flex-direction: column;
}

.background {
	position: absolute;
	margin-top: 80px;
	width: 40%;
	z-index: 1
}

#fact {
    color: darkblue;
	display: flex;
	justify-content: center;
    position: absolute;
	margin-top: 100px;
    margin-right: 20px;
	width: 80%;
	font-size: 20px;
	z-index: 2;
}

.animals {
	display: flex;
	flex-direction: row;
	position: relative;
    margin-top: 100px;
    margin-right: 60px;
	width: 80%;
	z-index: 2
}

.animal {
	width: 200px;
}

@media only screen and (max-width: 670px) {
	.animals {
		margin-top: 180px;
	}

  h1 {
    font-size: 24px;
  }
}

@media only screen and (max-width: 390px) {
	.animals {
		margin-top: 150px;
	}
}

@media only screen and (max-width: 300px) {
	.animals {
		margin-top: 130px;
	}
}

@media only screen and (max-width: 200px) {
	.animals {
		margin-top: 120px;
	}
}