html {
  background-image: url(../images/holes.png), linear-gradient(-45deg, black, #4E4A46);
  background-attachment: fixed;
}


body {
  font: 18px 'Lora', serif;
  font-weight: 400;
  color: #333333;
  line-height: 1.5;
}

img.init1 {
  width: 100px;
  float: left;
  margin-right: 10px;
  position: relative;
  top: -14px;
  transform: translateX(-10px);
}

img.init2 {
  width: 45%;
  float: left;
  margin: 0 20px 20px 0;
}

h1, h2, h3, h4, h5, h6, nav, div.units ul li a {
  font-family: alternate-gothic-no-1-d, sans-serif;
font-weight: 400;
font-style: normal;
  text-transform: uppercase;
  line-height: 1;
  color: black;
}

h2,h3,h4 {
  text-align: center;
  margin: 70px 0 5px 0;
  letter-spacing: -0.1rem;
  clear: both;
}

h2 {
  font-size: 6rem;
  letter-spacing: -0.2rem;
}

h3 {
  font-size: 4rem;
}

h4 {
  font-size: 2.5rem;
  color: #8b8b8c;
}

h5 {
  font-size: 1.75rem;
  margin-top: 20px;
}

p {
  margin-bottom: 18px;
}

p:last-child {
  margin-bottom: 0;
}

p.cal-top {
  margin-bottom: 30px;
}

a {
  color: #9D1D20;
  font-weight: 700;
}

a:hover {
  color: #CD624D;
}

header {
  position: sticky;
  top: 0;
  width: 100%;
  height: 50px;
  background-color: black;
  box-shadow: 0 5px 7px rgba(0,0,0,.7);
  z-index: 1000;
}

header h1, nav {
  color: #c7c7c8;
  font-size: 1.75rem;
  font-weight: 492;
  line-height: 50px;
}

header h1 {
  margin-left: 50px;
  float: left;
}

nav {
  float: right;
  margin-right: 50px;
}

nav ul li {
  float: left;
  margin-right: 30px;
}

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

div.logo {
  width: 80%;
  margin: 50px auto;
  position: fixed;
  left: 10%;
}

div.logo p {
  font: 1.5rem 'Oswald', sans-serif;
  text-align: center;
  text-transform: uppercase;
  color: white;
  letter-spacing: .2em;
  margin-top: 50px;
  text-shadow: 3px 3px 3px black;
}

div.logo img {
  width: 100%;
  text-align: center;
}

div.logo img.arrow {
  width: 60px;
  display: block;
  margin: auto;
}

div.logo div.logotext {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  animation: fadeIn 5s;
}

@keyframes fadeIn {
  0% {opacity: 0;}
  66% {opacity: 0;}
  100% {opacity: 1;}
}

#container {
  width: 100%;
  margin: auto;
  margin-top: 100vh;
  background: #FAF7ED url(../images/metal-texture.jpg);
  background-size: contain;
  position: absolute;
  top: -50px;
}

#container-top {
  width: 100%;
  margin: auto;
  margin-top: 0vh;
  background: #FAF7ED url(../images/metal-texture.jpg);
  background-size: contain;
  position: absolute;
  top: 0px;
}

#container-top header h1 {
  position: absolute;
  left: 50px;
  top: 8px;
  width: 150px;
  height: 111px;
  background: url(../images/365-logo-small.png) no-repeat;
  background-size: contain;
}

#container-top header h1:hover {
  width: 150px;
  height: 111px;
  background: url(../images/365-logo-small-hover.png) no-repeat;
  background-size: contain;
  transition: ease-in-out 100ms;
}

#container-top header h1 span {
  display: none;
}

main {
  width: 80%;
  margin: auto;
}

footer {
  padding: 50px;
}

footer p {
  font-style: italic;
  text-align: center;
  font-size: .85rem;
  letter-spacing: .07rem;
}

footer p span.slashes {
  color: #9D1D20;
}

.bold {
  font-weight: 700;
}

.caps {
  text-transform: uppercase;
}

.off {
  opacity: .5;
}

footer img {
  width: 300px;
  display: block;
  margin: 0 auto 10px auto;
}

.active {
  color: white;
}

article {
  width: 65%;
  float: right;
}

article.calendar {
  width: 100%;
  float: none;
}

aside {
  width: 28%;
  height: auto;
  /*background: url(../images/paper-texture.jpg) no-repeat;
  background-size: cover;*/
  float: left;
  position: sticky;
  top: 140px;
  margin-top: 50px;
  /*padding: 3% 3% 25% 3%;*/
}

aside img {
  width: 80%;
  position: relative;
  left: 10%;
}
main ul {
  list-style-type: square;
  list-style-position: inside;
  margin-bottom: 18px;
}

main ul li {
  margin-bottom: 9px;
}

ul.calendar, p.calendar {
  font-family: urw-din, sans-serif;
  line-height: 1;
}

ul.topline {
  text-transform: uppercase;
  font-weight: 600;
  list-style-type: none;
}

ul.topline li {
  float: left;
}

ul.topline li.day {
  width: 15%;
}

ul.topline li.date {
  width: 25%;
}

ul.topline li.thing {
  width: 60%;
}

p.activity {
  padding-left: 40%;
  padding-bottom: 18px;
  border-bottom: 1px solid #555555;
  margin-bottom: 18px;
}

p.activity:last-child {
  border-bottom: none;
}

p.deadline {
  font-family: 'Fira Sans', sans-serif;
  font-style: italic;
  font-weight: 600;
  text-align: center;
}

p.deadline span.red {
  color: #9D1D20;
}

h3.calendar-hed {
  font-size: 3rem;
  color: #8b8b8c;
}

.id {
  color: #ff3366;
}

.ai {
  color: #E48600;
}

.web {
  color: #f16528;
}

.ps {
  color: #31a8ff;
}

br {
  display: none;
}

div.icons {
  float: left;
  margin-right: 15px;
}

div.icons img {
  width: 50px;
  margin-right: 5px;
}

div.units {
  height: 80px;
  margin: 50px auto;
  width: 480px;
}

div.units ul {
  list-style-type: none;
}

div.units ul li a {
  display: inline-block;
  font-size: 2.25rem;
  text-align: center;
  float: left;
  width: 80px;
  height: 80px;
  line-height: 80px;
  margin-right: 20px;
  border-radius: 50%;
  border: 4px solid #9D1D20;
  color: #9D1D20;
  background-color: rgba(0,0,0,0);
}

div.units ul li a:hover {
  color: #CD624D;
  background-color: rgba(255,255,255,.5);
  transform:scale(1.1);
  transition-duration: 300ms;
}

div.units ul li a.nomargin {
  margin-right: 0px;
}

div.units ul li a.id-hover:hover {
  color: #ff3366;
}

div.units ul li a.ai-hover:hover {
  color: #ff9a00;
}

div.units ul li a.web-hover:hover {
  color: #f16528;
}

hr {
  visibility: hidden;
  position: relative;
  top: -20px;
}

.no {
  font-style: italic;
  color: rgba(0,0,0,.4);
}

img.full {
  width: 100%;
  margin: 30px 0;
}

img.icon {
  width: 100px;
  float: left;
  margin: 0 18px 9px 0;
}

img.icon-sm {
  width: 72px;
  float: left;
  margin: 0 18px 9px 0;
}

img.smaller-vw {
  display: none;
}

@media only screen and (max-width: 768px) {
  aside {
    display: none;
  }

  article {
    width: 100%;
    float: none;
  }

  nav {
    font-size: 1.5rem;
  }

/*  #container-top header h1 {
    position: absolute;
    left: 50%;
    top: 200px;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 246px;
    margin: 0 auto;
    background: url(../images/365-logo-med.png) no-repeat;
    background-size: cover;
  } */

  #container-top header h1 {
      display:none;
    }

    img.smaller-vw {
      display: block;
      margin: 20px auto;
      width: 90%;
    }

  h2 {
    font-size: 5rem;
    line-height: .8;
  }

  header h1 {
    margin-left: 50px;
    float: left;
  }

  nav {
    float: none;
    margin: auto;
  }

  nav ul li {
    width: 25%;
    float: left;
    margin-right: 0;
    text-align: center;
  }

  footer img {
    width: 90%;
  }

  div.units {
    display: none;
  }

  br {
    display:inline;
  }


}
