/*@font-face {
  font-family: Karla;
  src: url(https://fonts.googleapis.com/css?family=Karla);
}*/
@font-face {
    font-family: roboto;
    src: url(Files/Roboto-Light.ttf);
}
body {
   /* background-image: /public_html/1.jpg("yksi");
    background-color: #cccccc;*/
    background-size: cover;
    background-color: #ffffff;
    font-size: 14px;
    color: #000000;
    font-family: roboto, sans-serif;
  
}

h2 { 
    text-align: center;
    font-family: roboto, sans-serif;

}

pre {
    display: block;
    font-family: roboto, sans-serif;
    white-space: pre-line;
    line-height: 1.5;
}

img {

    margin: auto;

}
a:link {
    color: black;
    text-decoration: none;
}

/* visited link */
a:visited {
    color: black;
}

/* mouse over link */
a:hover {
    /*color: hotpink;*/
    font-style: oblique;
}

/* selected link */
a:active {
    color: white;
    opacity: 0.0;
}

.close:hover,
.close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

.mySlides {
  display: none;
}

.cursor {
  cursor: pointer;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
} 

img {
  margin-bottom: -4px;
}

/* .caption-container {
  text-align: center;
  background-color: black;
  padding: 2px 16px;
  color: white;
} */

.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}

img.hover-shadow {
  transition: 0.3s;
}

/* modal kokeilu pÃ¤Ã¤ttyy */

.hover-shadow:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.center {
   text-align: center; 

}

p {

    font-family: 'roboto', sans-serif;
    line-height: 1.5;

}

h1 {
  font-family: 'roboto', sans-serif;
}
.header {
  margin-block-start: 0;
}

iframe { 

    position: relative; 

   width: 100%; /* for IE 6 */

   }
   
#div3 {
    display:initial;
    width:500px;
    height:auto;
    font-family: roboto, sans-serif;
    font-size: 16px;
   /*border: 1px solid red;*/
}
   
#wrapper {
    /*border: 1px solid blue;*/
    display: flex;
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
    min-height: auto;
    justify-content: center;
}
#div1 {
    top: 0;
    display: inline-block;
    width:30%;
    height:auto;
    margin-right: 1%;
    margin-left: 1%;
    font-family: roboto, sans-serif;
    font-size: 16px;
   /*border: 1px solid red;*/
}
#div2 {
    vertical-align:top;
    display: block;
    width:70%;
    margin-left: 1%;
    margin-right: 5%;
    margin-bottom: 2%;
    font-family: roboto, sans-serif;
    font-size: 16px;
    /*border: 1px solid green;*/
}

.cropped {
  width: 20vw; /* width of container */
  height: 20vw;; /* height of container */
  object-fit: cover;
  object-position: left;
  margin: auto;
}
.hideOnMobile {
    display: block;
}
.displayOnMobile {
    display: none;
}
.artwork {
  width: 90%; /* 90% of div2 */
  height: auto;
}
.artworks {
  width: 45%; /* 90% of div2 */
  margin: auto;
  height: auto;
}
#goBack {
    font-size: 3em;
    margin-top: -15px;
    margin-bottom: 20px;
}

@media screen and (max-width: 900px) {
  #container, #header, #content, #footer, #wrapper, #div1, #div2{
    clear: both;
    float: none;
    width: auto;
    font-size: 1em;
  }
#wrapper {
    /*border: 1px solid blue;*/
    display: block;
    margin-top: autox;
    margin-left: autox;
    margin-right: autopx;
    min-height: auto;
}
#div1 {
    display: block;
    margin: auto;
    width: auto;
    height:auto;
   /*border: 1px solid red;*/
}

#div2 {
    vertical-align:top;
    display: block;
    margin: auto;
    margin-top: 5%;
    margin-bottom: 2%;
    width: auto;
    height:auto;
    /*border: 1px solid green;*/
}
.cropped {
  width: 40vw; /* width of container */
  height: 40vw;; /* height of container */
  object-fit: cover;
}
.hideOnMobile {
    display: none;
}
.displayOnMobile {
    display: block;
}

  