* {
  margin: 0;
  padding: 0;
}

body{
  background-color: black;
  color: white;
}

.border{
  border-bottom: 3px solid #a70053;
}

header {
  background-color: black;
  min-height: 8vh;
  position: fixed;
  top: 0;
  width:100%;
  z-index: 3;
  text-align:center;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
}

.logo{
  margin-left: 10px;
  margin-bottom: 5px;
  height: 5vh;
}

header nav {
  margin-right: 10px;
  margin-bottom: 5px;
  display: flex;
  justify-content: center;
}

header nav ul {
  display: flex;
  padding-left: 0;
  list-style: none;
}

header nav ul li a {
  color: white;
  text-align: center;
  text-decoration: none;
  margin: 0 10px 0 0;
}

header nav ul li:last-child a {
  margin-right: 0;
}

.hero-image{
  margin-top: 8vh;
  height: 75vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8)), url("./wes-hicks-Ccv4_hGvUpU-unsplash-min.jpg");
  height: 80vh;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.hero-text{
  text-align: center;
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  width: 100%;
}

.loading-top{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50vh;
  background-color: #000;
  z-index: 3;
}

.loading-bottom{
  position: absolute;
  width: 100%;
  top: 49vh;
  left: 0;
  height: 52vh;
  background-color: #000;
  z-index: 2;
}

.loading-icon{
  height: 20vh;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 40vh;
}

.contact-icons{
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.icon img{
  margin-top: 15px;
  margin-right: 20px;
  width: 20vw;
}

#about{
  text-align: center;
  padding-bottom: 5px;
  margin-left: 2vw;
  margin-right: 2vw;
}

.skills{
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}

.skills-list{
  margin-top: 20px;
  margin-right: 25px;
  
  list-style-type: none;
}

h2{
  margin-top: 20px;
  margin-bottom: 25px;
  text-align: center;
  font-size: 35px;
}

.project-list {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project{
  margin-top: 10px;
  text-align: center;
}

.project img{
  width: 60%;
  margin-bottom: 10px;
}

.project ul {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-top: 10px;
  list-style: none;
  margin-bottom: 20px;
}

.button {
  background-color: #fff;
  border: none;
  color: #000;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  font-size: 15px;
  width: 80px;
  height: 30px;
  margin-right: 5px;
  padding: 5px 15px 5px 15px;
}

#contact{
  display: flex;
  flex-direction: column;
}

#contact p{
  margin: 0 15vw 0 15vw;
  text-align: center;
}

#contact img{
  width: 30vw;
  margin-left: 35vw;
}

footer{
  min-height: 5vh;
  text-align: center;
  padding-top: 1vh;
}

@media all and (min-width: 600px) {

  h2{
    font-size: 60px;
  }

  h3{
    font-size: 25px;
  }

  p{
    font-size: 20px;
  }

  .icon img{
    margin-top: 15px;
    margin-right: 20px;
    width: 6vw;
  }

  #about{
    min-height: 60vh;
    margin-left: 13vw;
    margin-right: 13vw;
    font-size: 20px;
  }

  .skills{
    margin-top: 40px;
  }

  #about ul li{
    margin-bottom: 15px;
    font-size: 25px;
  }

  .project-list{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    text-align: center;
    margin-left: 10vw;
    margin-right: 10vw;
  }

  .project{
    margin-right: 20px;
    margin-bottom: 20px;
  }

  .project img{
    width: 30vw;
  }

  .mobile img{
    width: 10vw;
  }

  #contact img{
    width: 10vw;
    margin-left: 45vw;
  }
}