/* type selectors */
body {
    text-align: center;
    background-color: tomato;
}
header {
    background-color: blanchedalmond;
    width: 90%;
    margin-left: 5%;
}
header p {
    background-color: salmon;
}
h1 {
    font-size: 60px;
}
p {
    font-size: 20px;
    color: olive;
}
/* :link um links anzuzeigen, die nicht besucht wurden*/
a:link {
    color: darkblue;
    text-decoration: none;
}
/*pseudo classes; z.B. visited, hover etc.*/
a:visited{
    color: seagreen
}
a:hover{
    background-color: aquamarine;
}
/* link markierung wenn mit tastatur angesteuert */
a:focus{
    color:white;
    background-color: burlywood;
}
/* id selectors -> nur einmal anwendbar */
#articles {
    border: 3px solid red;
    border-radius: 10px;
}
/* mit "descendant selector" nur "h3" über "selector #articles" anpassen */
#articles h3 {
    font-family: Arial, Helvetica, sans-serif;
}
#resources {
    background-color: aliceblue;
    padding: 35px
}
#proud {
    font-size: 48px;
}
/* class selectors -> können im code mehrmals verwendet werden */
.date {
    border: 2px solid steelblue;
    border-radius: 12px;
    padding: 6px;
}
.special {
    text-transform: uppercase;
    background-color: papayawhip;
}
.top-skill {
    font-weight: bold;
    background-color: teal;
    color: papayawhip;
}
/* mit "descendant selector" nur "li" in "selector ol" anpassen */
ol li {
    letter-spacing: 3px;
    color: tomato
}
ul li {
    list-style: none;
}
/*code auskommentieren:*/
/*ol li:first-child{
    font-weight: bold;
}*/
img:hover{
    border: 8px solid sandybrown;
    border-radius: 8px;
}

/* The sidebar menu */
.sidenav {
  width: 160px; /* Set the width of the sidebar */
  position: fixed; /* Fixed Sidebar (stay in place on scroll) */
  z-index: 1; /* Stay on top */
  top: 0; /* Stay at the top */
  left: 0;
  background-color: #111; /* Black */
  overflow-x: hidden; /* Disable horizontal scroll */
  padding-top: 50px;
}

/* The navigation menu links */
.sidenav a {
  padding: 6px 8px 6px 16px;
  text-decoration: none;
  font-size: 25px;
  color: #818181;
  display: salmon;
}

/* When you mouse over the navigation links, change their color */
.sidenav a:hover {
  color: #f1f1f1;
}

/* Style page content */
.main {
  margin-left: 160px; /* Same as the width of the sidebar */
  padding: 0px 10px;
}

/* On smaller screens, where height is less than 450px, change the style of the sidebar (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
}