@import url('https://fonts.googleapis.com/css?family=Raleway');

body {
  margin: 0;
  font-family: 'Raleway';
  font-size: 16px;
  line-height: 1.8em;
  background-color: #333333;
}

a {
  color: white;
  text-decoration: none;
}

a:hover {
  opacity: 0.5;
}

article {
  padding:0 1em;
}

.project {
  margin-bottom: 4em;
}

.project-content {
  display: flex;
  gap: 2em;
  align-items: flex-start;
}

.project-text {
  flex: 1;
}

.project-media {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.project-media img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.project h4 {
  color: white;
  margin-top: 0;
  font-size: 1.3em;
}

.project h4 a {
  color: #66b3ff;
}

.project h4 a:hover {
  color: #3399ff;
}

@media (max-width: 768px) {
  .project-content {
    flex-direction: column;
  }
}

section{
  margin: 1em;
  padding: 1em;
}

header, main, footer {
  margin: 0 auto;
}

header {
  padding: 2em;
  text-align: center;
  background-image: url('./img/bg.jpg');
  background-size: cover;
  background-position: fixed;
  color: white;
}

header section {
  margin: 0 auto;
  max-width: 640px;
}

header img {
  border-radius: 50%;
  max-width: 150px;
}

h1 {
  text-transform: uppercase;
  margin: 1em 0;
}

h3 {
  text-transform: uppercase;
}

h3 {
  font-weight: bold;
  color: white;
  font-size: 1.5em;
  margin-bottom: 1.5em;
  padding-bottom: 0.5em;
  border-bottom: 2px solid white;
}

main {
  max-width: 1140px;
}

p {
  color: white;
}



.fab {
  border: 1px solid white;
  border-radius: 50%;
  font-size: 1.5em;
  width: 1.5em;
  height: 1.5em;
  line-height: 1.5em;
  margin: 5px;
  text-align: center;
}

a .fab {
  color: white;
}

footer {
 padding: 1em 1.5em;
 background: #222222;
 color: white;
 text-align: right;
}

footer a {
 text-decoration: underline;
 color: #66b3ff;
}

footer a:hover {
 color: #3399ff;
 opacity: 1;
}
