* {box-sizing: border-box;}

html{
  font-family: 'Raleway', sans-serif;
  font-size: .9em;
  letter-spacing: 0.1em;
  color: #36415A;
  overflow-x: hidden;
}

h1{
  text-align: center;
  font-size: 3em;
  margin-top: 2em;
}

h3{
  margin-top: 2em;
  text-align: left;
}

h4{
  text-align: left;
}

h5{
  margin: 2em .5em 0 0;
}

h6{
  padding: 0;
  margin: 1em 0 0 0;
  text-align: left;
}

ul{
  padding: 0;
  list-style-type: none;
}

li{
  margin: 1em 0 1em 0;
}

.submenu h5{
  font-weight: normal;
  color: grey;
}

.submenu h5:hover{
  color:#36415A;
  cursor: pointer;
}

a {
  text-decoration: none;
  color: #36415A;
}

.row::after {content: ""; clear: both; display: block;}

[class*="am-"] {float: left; padding: 1px;}

.container {
  background-image: URL('bg2.jpg');
}

.navitem{
  border: none;
  padding: 0;
  margin-top:2em;
  padding-top: 1em;
  text-align: center;
  border-bottom: 0.01em solid #acb0b5;
  background-color: rgba(255, 255, 255, 0.5);
}

a.icon{
  display: none;
}

.submenu{
  position: sticky;
  top: 0;
}

.left{
  float: left;
  width: 25%
}

.item-left{
  float: left;
  width: 80%;
  white-space:nowrap;
}

.right{
  float: right;
  width: 75%
}

.item-right{
  float: right;
  width: 20%;
  text-align: right;
  padding-right: 1em;
}

.small{
  font-size: small;
  color: grey;
  margin: 0;
  padding: 0;
}

.active, .navitem:hover, a:hover{
  cursor: pointer;
  border-bottom: 0.01em solid #36415A;
  font-weight: bold;
}

.itemcont {
  display: none;
}

.start{
  display: block;
}

.dist{
  padding-bottom: 1em;
}
.dist::after{
  content: ""; clear: both; display: block;
}

#avatar{
  margin: 4em 0 0 0;
  position: absolute;
  display: block;
  width: 10%;
  border-radius: 50%;
  /*border: 1px solid #36415A;*/
}

.fix{
  overflow: auto;
  height: 70vh;
}

.followicon:hover{
  cursor: pointer;
  background-color: lightgrey;
  border-bottom: 0 solid #36415A;
  font-weight: bold;
}

.follow{
  text-align: left;
  background-color: lightgrey;
  border-radius: 10px;
  width: 5em;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translate(80%, -50%)
}

.follow:hover{
  transform: translate(25%, -50%);
  transition: 2s;
  transition-timing-function: ease-out;
}

i{
  margin: 0.5em 0.5em 0.5em 0.5em;
}

i:hover{
  color: #5d7099;
}

/* Scrollbar */
::-webkit-scrollbar {width: 0.2em;}
::-webkit-scrollbar-track {background: white;}
::-webkit-scrollbar-thumb {background: #acb0b5;}

/*Grid View 12 Columns*/
.am-12-1 {width: 8.33%;}
.am-12-2 {width: 16.66%;}
.am-12-3 {width: 25%;}
.am-12-4 {width: 33.33%;}
.am-12-5 {width: 41.66%;}
.am-12-6 {width: 50%;}
.am-12-7 {width: 58.33%;}
.am-12-8 {width: 66.66%;}
.am-12-9 {width: 75%;}
.am-12-10 {width: 83.33%;}
.am-12-11 {width: 91.66%;}
.am-12-12 {width: 100%;}

/* For Tablets: */
@media only screen and (max-width: 1200px) {
  .am-6-1 {width: 16.66%;}
  /*Grid View 4 Columns*/
  .am-4-1 {width: 25%;}
  .am-4-2 {width: 50%;}
  .am-4-3 {width: 75%;}
  .am-4-4 {width: 100%;}

  .fix {
    height: 75vh;
  }

  .navitem{
    border: none;
    padding: 0;
    padding-top: 0;
    margin-top: 0;
    height: 2em;
    text-align: center;

    border-bottom: 0.01em solid #acb0b5;
    background-color: rgba(255, 255, 255, 0.5);
  }

  .submenu{
    display: none;
  }

  #avatar{
    width: 20%;
  }

  .follow{
    display: none;
  }
}

/* For mobile phones: */
@media only screen and (max-width: 600px) {
  [class*="am-"] {
    width: 100%;
  }

  .intro{
    display: none;
  }

  .fix{
    height: auto;
  }

  .container{
    background-image: none;
  }

  
  .navigation{
    display: block;
  }

  .navigation .navitem {display: none;}
  a.icon{
    display: block;
  }
  
  a.icon, a.icon:link{
    position: absolute;
    right: 10px;
    top: 10px;
    text-decoration: none !important;
  }

  .responsive .navitem {display: block;}


  .navitem{
    border: none;
    padding: 0;
    margin-top: 0.5em;
    text-align: center;
    border-bottom: 0.01em solid #acb0b5;
    background-color: rgba(255, 255, 255, 0.5);
  }

  #avatar{
    display: none;
  }
}
