/* apply a natural box layout model to all elements, but allowing components to change */
html {
	box-sizing: border-box;
}
*, *:before, *:after {
	  box-sizing: inherit;
}
body {
 margin: 0;
 padding: 0;
 font-family: 'Roboto', sans-serif;
}


/* Loading animation  */
.loadingdiv {
  z-index: 100;
  background-color: white;
  width: 100%;
  height: 100%;
  position: fixed;
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: center;
  padding: 15vw;
  animation: hideloading 2s ease-in 0s forwards;
  animation-fill-mode: forwards;
}

@keyframes hideloading {
    to {
        overflow:hidden;
        visibility: hidden;
    }
}

.loadingdiv-logo {
  width: 70%;
  animation-name: "loadinganimation";
  animation-iteration-count: infinite;
  animation-duration: 0.7s;
  animation-direction: alternate;
  animation-timing-function: linear;
}

@keyframes loadinganimation {
  0% {
    transform: scale(1.0);
  }

  100% {
    transform: scale(1.1);
  }
}

/* Actual Webpage */

nav {
  position: fixed;
  z-index: 1;
  width: 100%;
  height: 48px;
  background-color: white;
  border-bottom: 1px solid rgba(138,150,163,0.25);
  box-shadow: 0 0 2px rgba(0,0,0,0.16);
  display: flex;
  justify-content: center;
}

.nav-contentcontainer {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 730px;
}

.header-icon {
  font-size: 32px;
  padding-left: 10px;
  color: #8a96a3;
}

.container {
  z-index: 0;
  width: 100%;
  position: relative;
  background-color: white;
  display: flex;
  justify-content: center;
}

.contentcontainer {
  background-color: white;
  width: 100%;
  max-width: 730px;
}

.headerimage {
  width: 100%;
  height: 248px;
  object-fit: cover;
}

.profilepic {
  position: relative;
  width: 100px;
  height: 100px;
  top: -48px;
  left: 10px;
  object-fit: cover;
  border-color: white;
  border-style: solid;
  border-width: 4px;
  border-radius: 50%;
}

.profiledesc {
  position: relative;
  margin-top: -50px;
  padding-left: 10px;
  padding-right: 10px;
  border-bottom: 2px solid rgba(138,150,163,0.25);
}

h2 {
  font-weight: 500;
  font-size: 19px;
}

h3 {
  margin-top: -10px;
  color: #8a96a3;
  font-weight: 400;
  font-size: 14px;
}

.posts {
  position: relative;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 20px;
  width: 100%;
}

.post {
  border-bottom: 2px solid rgba(138,150,163,0.25);
  margin-bottom: 20px;
}

.post-content {
  margin-bottom: 15px;
}

.post-userinfo {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.post-userinfo-leftitems {
  display: flex;
}

.post-profilepic {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 50%;
}

.post-userinfo-text {
  margin-left: 10px;
}

h4 {
  margin-top: 2px;
  margin-bottom: 5px;
}

h5 {
  color: #8a96a3;
  font-weight: 400;
  margin: 0;

}

.post-date {
  color: #8a96a3;
  font-size: 14px;
  margin-top: 3px;
}

.photolink {
  color: #276bbb;
}

.post-img {
  width: 100%;
  min-height: 500px;
  object-fit: cover;
  margin-bottom: 10px;
}

footer {
  background-color: rgba(138,150,163,0.25);
  display: flex;
  justify-content: center;
}

.footer-textcontainer {
  width: 100%;
  max-width: 730px;
}

.footer-text {
  text-align: center;
  padding-top: 20px;
  padding-left: 10px;
  padding-right: 10px;
  padding-bottom: 20px;
  color: grey;
  font-size: 10px;
}