@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Lato";
  background-color: #ffffff;
  height: 90vh;
}

::-webkit-scrollbar {
  width: 0.5em;
}
::-webkit-scrollbar-track {
  background: #565656;
}

::-webkit-scrollbar-thumb {
  border-radius: 100vw;
  border: 0.25em solid #838383;
}
::-webkit-scrollbar-thumb:hover {
  border-radius: 100vw;
  border: 0.25em solid #b6b6b6;
}

::-webkit-scrollbar-thumb:hover {
  background: darkgray;
}


nav {
  height: 70px;
  width: 100%;
  display: -webkit-flex;
  display: flex;
  position: fixed;
  z-index: 100;
  border-bottom: 1px solid #000;
  background-color: #000;
}

nav ul {
  display: flex;
  justify-content: center;
  margin: 0 auto;
  background-color: #000;
  
}

nav ul li {
  color: #000;
  text-align: center;
  justify-content: center;
  list-style-type: none;
  position: relative;
  top: 15px;
  font-size: 30px;
  margin-right: 30px;
  font-size: 25px;
  
  
}

.homepage-button {
  color: #fff;
  text-decoration: none;
}

.title {
  margin: 0 auto;
}

h1 {
  color: #000;
  text-align: center;
  position: relative;
  top: 80px;
  font-size: 40px;
}

p {
  color: #000;
  text-align: center;
  position: relative;
  top: 100px;
  padding: 10px 10px;
}

.project-container{

  width:100%;
  height:70%;
  position: relative;
  top:110px;
  display: flex;
  display: -webkit-flex;
  flex-direction: row;
  justify-content: space-evenly;

}

.project{

  width:400px;
  height:400px;
  display: flex;
  display: -webkit-flex;
  position: relative;
  top:10px;
  flex-direction: column;
  border-radius: 2pt;
  padding: 5px;
  -webkit-box-shadow: 4px 5px 10px 0px rgba(0,0,0,0.47); 
box-shadow: 4px 5px 10px 0px rgba(0,0,0,0.47);

}

.project:hover {
  border:.1em solid red;
}


.img-container{
  margin: 0 auto;
width:100%;
height:270px;
}

img{
  width:100%;
  height:100%;
  margin: 0 auto;
}

.title-container{
  width:100%;
  height:55px;
  display: flex;
  display: -webkit-flex;
  justify-content: space-between;
}

h2{
  position: relative;
  top:50%;
}

.fab{
  font-size: 1.5rem;
  position: relative;
  top:70%;
  right:5px;
  color:#000;
  transition: .3s;
}

.fab:hover{
color:red;

}

.description-container{
  width:100%;
  height:80px;

}

.text-description{
  text-align: left;
  position: relative;
  top:20px;
  padding-left: 0;
}

.project-container2{


  width:100%;
  height:70%;
  position: relative;
  top:120px;
  display: flex;
  display: -webkit-flex;
  flex-direction: row;
  justify-content: space-evenly;

}





@media only screen and (max-width: 500px) {
  body {
    height: 200vh;
  }

  nav ul li {
    font-size: 20px;
  }

  .homepage-button {
    margin: 0 auto;
  }

  h2 {
    padding-left: 5px;
    font-size: 30px;
  }

  p {
    padding: 10px 10px;
    letter-spacing: 1px;
  }

  .project-container{
    width:100%;
    height:1200px;
    flex-direction: column;
    position: relative;
    top:100px;
  }

  h1{
    font-size: 27px;
  }

  .project{
  width:350px;
  height:350px;
  margin: 0 auto;
  margin-bottom: 50px;
  position: relative;
  top:50px;
  }

.text-description{
  padding:5px 10px 0px 10px;
  font-size: 12px;
  height:100%;
}


.project-container2{
  width:100%;
  height:1200px;
  flex-direction: column;
  position: relative;
  top:120px;
}


}
