﻿/*....... dobsche.com .......*/

/*....... MAIN */

body {
  background-color: rgb(250,250,250);
}

main {
  width: 600px;
  margin: 0 auto;
  font-family: 'Roboto', sans-serif;
}


/*....... HEADER */

header {
  margin-top:40px;
  float:left;
}

.box1 {
  float: left;
  /*font-family: 'Roboto', sans-serif;*/
  font-family: lobster;
  font-size: 36px;
  font-weight: bold;
  margin-left: -35px;
}

.box2 {
  float: left;
  margin-top: 20px;
  margin-left: 20px;
}

footer {
  float: right;
  margin-right: 40px;
  margin-bottom: 70px;
}


/*....... ELEMENTS */

article {

}

figure {

}

img {
  box-shadow: 4px 5px 8px grey;
  float: right;
}

.textbox {
  margin-top: 50px; 
  background-color:rgb(255,255,255);
  box-shadow: 4px 5px 8px grey;
  padding: 5px 20px 5px 20px;
  line-height: 1.5;
  word-spacing: 0.1em;
}

p {
  display: block;
  margin-top: 1em;
  margin-bottom: 1em;
  margin-left: 0;
  margin-right: 0;
}


/*....... IMG TITLE */

figure{
  position: relative;
  margin-top: 5px;
  float: right;
}

figure img {
  display: block;
}

figcaption {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0,0,0,0.7);
  color: white;
  opacity: 0.5;
  text-align: right;
}

figcaption {
  opacity: 0;
  bottom: 0em;
  transition: all 0s ease;
}

figure:hover figcaption {
  opacity: 1;
  bottom: 0;
}


/*....... LINKS */

#link a:link { text-decoration: none; color: rgb(0, 0, 0); }
#link a:visited { text-decoration: none; color: rgb(0, 0, 0); }
#link a:hover { text-decoration: underline; color: rgb(0, 0, 0); }
#link a:active { text-decoration: none; color: rgb(0, 0, 0); }
#link a:focus { text-decoration: none; color: rgb(0, 0, 0); }

#textlink a:link { text-decoration: underline; color: rgb(0, 0, 0); }
#textlink a:visited { text-decoration: underline; color: rgb(0, 0, 0); }
#textlink a:hover { text-decoration: underline; color: rgb(0, 0, 0); }
#textlink a:active { text-decoration: underline; color: rgb(0, 0, 0); }
#textlink a:focus { text-decoration: underline; color: rgb(0, 0, 0); }
