*{
  margin: 0;
  padding: 0;
}


*,
*::before,
*::after {
  box-sizing: inherit;
}


body{
  font-family: Tahoma, sans-serif;
  font-size: 1.8rem;
  background-color: rgb(87, 79, 79);
  color: white;
}

#navbar
{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 10px;
  background-color: rgb(93, 93, 121);
}

#navbar ul{
  list-style: none;
  float: right;
  padding: 10px;
}

#navbar ul > li{
  padding: 20px;
  display: inline;
}

#navbar ul > li > a{
  text-decoration: none;
  color: white;
  font-size: 20px;
}

#navbar ul > li > a:hover{
  color: rgb(190, 234, 240);
}

#main{
  margin-top: 80px;
}

#welcome-section{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
}

#welcome-section p{
    color: #86C0E7;
}

h1, h2{
  text-align: center;
}

h1{
  font-size: 3rem;
}


footer{
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 1.2rem;
}

footer a{
    text-decoration: none;
    color: #86C0E7;
}

h2{
  font-size: 2rem;
  padding-top: 20px;
  padding-bottom: 20px;
}

p{
    text-align: center;
}


#projects{
  padding: 10rem 2rem;
  background-color: rgb(72, 134, 192);
  text-align: center;
}

.projects{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  grid-gap: 4rem;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  margin-bottom: 6rem;
}

.project-item{
  background: gray;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  border-radius: 2px;
  color: white;
  text-decoration: none;
}

.project-item p{
  text-align: center;
  font-size: 1.5rem;
}

.project-image {
  height: calc(100% - 6.8rem);
  width: 100%;
  object-fit: cover;
}

.project-tile {
  color: white;
  font-size: 1.5rem;
}

.project-title{
    padding: 2rem 0.5rem;
}


@media (max-width: 30.625em) {
  #projects{
    padding: 6rem 1rem;
  }

  .projects {
    grid-template-columns: 1fr;
  }
}

#contact{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  height: 80vh;
  padding: 0 2rem;
}

.contact-links{
    padding: 20px;
}

#contact p{
    font-size: 1.3rem;
    font-style: italic;
}

.contact-links a{
    text-decoration: none;
    color: white;
    padding-right: 10px;
    padding-left: 10px;
}
