* {
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', Helvetica, sans-serif;
  margin: 0;
}

header {
  padding: 100px 20px 100px 20px;
  text-align: center;
  color: #1a237e;
  background: #0277BD;
  background-position: center;
  background-size: cover;
  background-image: url("view-from-WCCAE.jpg");

}

header h1 {
  font-size: 3em;
  font-weight: 700;
  font-family: 'Miriam Libre', sans-serif;
}

main h2 {
  font-size: 2em;
  font-family: 'Miriam Libre', sans-serif;
  color: #1a237e;
  margin-top: .5em;
}

main h3{
  font-size: 1.5em;
  color: #3f51b5;
  margin-top: 1.5em;
  margin-bottom: .1em;
  font-family: 'Miriam Libre', sans-serif;
}

main h4 {
  font-size: 18px;
}

em {
  font-weight: bold;
}

p {
  font-size: 18px;
}

blockquote {
  font-size: 1.5em;
  font-weight: bold;
}

blockquote em {
  font-size: .8em;
  font-weight: normal;
}

.tagline {
  font-size: 1.25em;
}


main li {
  line-height: 24px;
  padding: 10px;
  font-size: 18px;
}

.code-block {
  background-color: #fafafa;
  color: #311B92;
  padding: 4px 4px 4px 16px;
  display: block;
  margin: 20px 0 20px 0;
  font-size: 18px;
}


/* Navbar styles */
.navbar {
  overflow: hidden;
  background-color: #1a237e;
  font-family: 'Miriam Libre', sans-serif;
}

.navbar a {
  float: left;
  display: block;
  color: #E0F7FA;
  text-align: center;
  padding: 14px 40px 14px 20px;
  text-decoration: none;
  font-weight: bold;
}

.navbar a.right {
  float: right;
}

.navbar a:hover {
  background-color: #E0F7FA;
  color: #1a237e;
  font-weight: bold;
}

.navbar a.active {
  background-color: #4DD0E1;
  color: #1a237e;
  font-weight: bold;
}

.navbar a.active > i {
  color: #1a237e;
}

.navbar > a > i {
  width: 40px;
  color: #4DD0E1;
}

/* Column container */
.row {  
  display: -ms-flexbox; /* IE10 */
  display: flex;
  -ms-flex-wrap: wrap; /* IE10 */
  flex-wrap: wrap;
}

.side {
  -ms-flex: 30%; /* IE10 */
  flex: 30%;
  background-color: #E0F7FA;
  color: #1a237e;
  padding: 60px 20px 20px 40px;
  font-family: 'Miriam Libre', sans-serif;
  font-weight: bold;
}

.side ol {
  padding: 20px;
  font-size: 1.15em;
}

.side li {
  padding-bottom: 20px;
  padding-left: 10px;
}

.announcements {
  border: 1px solid #4DD0E1; 
  border-radius: 10px;
  padding: 0 20px 20px 20px; 
  background-color: #E0F7FA;
}

.date {
  font-size: .8em;
  font-style: italic;
  color: #3f51b5;
  margin: 0;
}
/* Links */

.main a {
  color: #1a237e;
}

.side a {
  color: #3f51b5;
}

a:hover {
  color: #3f51b5;
}

.side a:visited {
  color: #3f51b5;
}
.main a:visited {
  color: #3f51b5;
}

footer a:visited {
  color: #4DD0E1;
}

footer a {
  color: #4DD0E1;
}

.main {   
  -ms-flex: 70%; /* IE10 */
  flex: 70%;
  background-color: white;
  padding: 50px;
  
}

.fakeimg {
  background-color: #aaa;
  width: 100%;
  padding: 20px;
}

footer {
  padding: 20px;
  text-align: center;
  background-color: #3f51b5;
  color: #e0f7fa;
  font-family: 'Miriam Libre', sans-serif;
}

img {
  border: 6px solid #E0F7FA;
}

/* Responsive layout - when the screen is less than 400px wide, make the navigation links stack on top of each other instead of next to each other */
@media screen and (max-width: 770px) {
  
  .row {   
    flex-direction: column;
  }
  
  .navbar a {
    float: none;
    width: 100%;
    text-align: left;
    padding-left: 30px;
  }

  img {
    width: 100%;
    border: 6px solid #E0F7FA;
  }
}

.skip {
  position: absolute;
  top: -1000px;
  left: -1000px;
  height: 1px;
  width: 1px;
  text-align: left;
  overflow: hidden;
}

a.skip:active, 
a.skip:focus, 
a.skip:hover {
  left: 0; 
  top: 0;
  width: auto; 
  height: auto; 
  overflow: visible; 
  background: #ededed;
  margin: 10px;
}
