:root {
  --vintage-red: #580000;
  --vintage-grey: #1a1919;
  --vintage-yellow: rgb(245,242,199);
/*  --vintage-yellow: var(--vintage-yellow);*/
}

body {
  line-height: 1.7;
  background: #580000;
  color: var(--vintage-yellow);
/*  color: var(--vintage-yellow);*/
  font-weight: 400;
  font-size: 1rem; }

::-moz-selection {
  background: #580000; /* #000; *7
  color: #580000; /*#fff;*/ } 

::selection {
  background: #580000; /* #000; */
  color: #fff; }

.container-fluid {
  padding: 0px;
}

a {
  color: var(--vintage-yellow);
  -webkit-transition: .3s all ease;
  -o-transition: .3s all ease;
  transition: .3s all ease; }
  a:hover {
    text-decoration: none;
    color: var(--vintage-grey); }

h1, h2, h3, h4, h5,
.h1, .h2, .h3, .h4, .h5 {
  font-family: "EB Garamond", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; }

h2 {
  font-size: 26px;
  letter-spacing: 0.9px;
}

p {
  font-family: "EB Garamond";
  font-size: 1.0em;
  font-style: normal;
  font-variant: normal;
  font-weight: 200;
  line-height: 1.4em;
  letter-spacing: 0.05em;
}

.border-2 {
  border-width: 2px; }

.text-black {
  color: #000 !important; }

.bg-vintage-red {
  background: var(--vintage-red) /*#580000*/ !important; }

.bg-vintage-grey {
  background: var(--vintage-grey) /*#1a1919*/ !important; }

.p-5 {
  padding: 0px 5px 0px 5px !important;
}

/*
.col.logo-header {
  background-image: url('../images/lumo_logo_ylapalkki_5000px.png');
  height: 150px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top;
  background-position: center center;
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 0px;
}
*/
/*
.row.logo-header {
  background-image: url('../images/lumo_logo_ylapalkki_5000px.png');
  height: 150px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top;
  background-position: center center;
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 20px 0px 20px 0px;
}
*/

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Button styling */
.menu-toggle {
  display: inline-block;
  padding: .75em 15px;
  line-height: 1em;
  font-size: 1em;
  color: #333;
  cursor: pointer;
}

.menu-toggle:hover,
#main-menu-checkbox:focus ~ header .menu-toggle {
/*  color: #c00;*/
  color: var(--vintage-red);
  outline: auto;
}

#main-menu-checkbox {
  position: absolute;
  left: -100vw; /* get it off the screen */
}

/*
 Default styles + Mobile first
 Offscreen menu style
*/

div.label{
  float: right;
  justify-content: flex-end;
}
.main-menu {
  font-family: roboto;
  font-weight: 600;
  position: absolute;
  left: -200px;
  top: 0;
  height: 100%;
	overflow-y: scroll;
	overflow-x: visible;
	transition: left 0.3s ease,
				      box-shadow 0.3s ease;
	z-index: 999;
}

.main-menu ul {
  list-style: none;
  margin: 0;
  padding: 2.5em 0 0;
  /* Hide shadow w/ -8px while 'closed' */
  -webkit-box-shadow: -8px 0 8px rgba(0,0,0,.5);
     -moz-box-shadow: -8px 0 8px rgba(0,0,0,.5);
          box-shadow: -8px 0 8px rgba(0,0,0,.5);
  min-height: 100%;
  width: 200px;
  background: var(--vintage-grey);
/*  background: #1a1a1a;*/
}

/*
.menu-list {
  display: none;
}
*/


label.menu-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
}
span.fa-bars, span.sr-only {
  z-index: 50;
  position: absolute;
  top: 10px;
  right: 5px;
}

.fa-bars {
  color: var(--vintage-yellow);
}

.main-menu a,
.main-menu .menu-close {
  display: block;
  padding: .75em 15px;
  line-height: 1em;
  font-size: 1em;
  color: var(--vintage-yellow);
  text-decoration: none;
  border-bottom: 1px solid #383838;
}

.main-menu li:first-child a {
  border-top: 1px solid #383838;
}

.main-menu a:hover,
.main-menu a:focus,
.main-menu .menu-close:hover,
#main-menu-checkbox:focus ~ header .menu-close {
  background: #333;
  text-decoration: underline;
}

.main-menu .menu-close {
  position: absolute;
  right: 0;
  top: 0;
  cursor: pointer;
}

/*
 On small devices, allow it to toggle...
*/
/*
 :target for non-JavaScript
 aria-expanded="true/false" will be for JavaScript
*/
#main-menu-checkbox:checked ~ header .main-menu,
.main-menu[aria-expanded="true"] {
  left: 0;
  outline: none;
  -moz-box-shadow: 3px 0 12px rgba(0,0,0,.25);
  -webkit-box-shadow: 3px 0 12px rgba(0,0,0,.25);
  box-shadow: 3px 0 12px rgba(0,0,0,.25);
}

#main-menu-checkbox:checked ~ header .menu-close,
.main-menu[aria-expanded="true"] .menu-close {
  z-index: 1001;
}

#main-menu-checkbox:checked ~ header .main-menu ul,
.main-menu[aria-expanded="true"] ul {
  position: relative;
  z-index: 1000;
}

/* 
 We could us `.main-menu:target:after`, but
 it wouldn't be clickable.
*/
#main-menu-checkbox:checked ~ header .backdrop,
.main-menu[aria-expanded="true"] + .backdrop {
  position: absolute;
  display: block;  
  content: "";
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 998;
  background: #000;
  background: rgba(0,0,0,.85);
  cursor: default;
}

.bull {
  display: none;
}

@supports (position: fixed) {
  .main-menu,
  #main-menu-checkbox:checked ~ header .backdrop,
  .main-menu[aria-expanded="true"] + .backdrop {
    position: fixed;
  }
}

/*
 Larger screen styling
 Horizontal menu
*/
@media (min-width: 768px) {
.gallery {
    width: 768px;
    padding-bottom: 20px;
  }
  
.gallery-nav {
    width: 768px;
    padding-top: 10px;
  }

.gallery-nav a {

  text-align: center;
  width: 33%;
color: var(--vintage-yellow);
-webkit-transition: .3s all ease;
-o-transition: .3s all ease;
transition: .3s all ease; }
.gallery-nav a:hover {
  text-decoration: none;
  color: var(--vintage-red); }

.lang {
  font-family: roboto;
  font-weight: 600;
  z-index: 10;
  position: absolute;
  width: 768px;
  text-align: left;
  margin: 10px 0px 0px 5px;
/*
  position:absolute;
  top: 10px;
  right: 5px;
*/
}  
  
.logo-header {
  z-index: 1;
  background-image: url('../images/lumo_logo_ylapalkki_10000px.png');
  height: 150px;
  width: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top;
  background-position: center center;
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 0px;
}
  
header {
  background: var(--vintage-grey);
  padding: 5px;
  border-color: var(--vintage-yellow);
  border-style: solid;
  border-width: 4px 0px;
  display: flex;
  align-items: center;
  justify-content: space-around;
}
  
  .menu-toggle,
  .main-menu .menu-close,
  #main-menu-checkbox {
    display: none;
  }
  
  .main-menu a {
/*  font-family: roboto;*/
    text-transform: uppercase;
  display: block;
  padding: .4em;
  line-height: 1em;
  font-size: 1em;
  color: var(--vintage-yellow);
  text-decoration: none;
/*  border-bottom: 1px solid #383838;*/
  }
  
  .main-menu a:hover {
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease;
    color: var(--vintage-red);
  }
  
  /* Undo positioning of off-canvas menu */
  .main-menu {
    width: 48em;
    font-family: roboto;
    font-weight: 800;
    text-transform: capitalize;
    position: relative;
		left: auto;
		top: auto;
		height: auto;
    overflow-y: auto; /* fix dumb MS Edge scrollbar issue */
  }
  
  
  .main-menu ul {
    display: flex;
    justify-content: space-around;
    
    /* Undo off-canvas styling */
    padding: 0;
    -webkit-box-shadow: none;
       -moz-box-shadow: none;
            box-shadow: none;
    height: auto;
    width: auto;
    background: none;
  }
  
/*
  header {
    background-color: var(--vintage-grey);
    height: 50px;
    align-items: center;
    align-content: center;
  }
*/
  
  .main-menu a {
    color: var(--vintage-yellow);
    border: 0 !important; /* Remove borders from off-canvas styling */
  }
  
  .main-menu a:hover,
  .main-menu a:focus {
    background: none; /* Remove background from off-canvas styling */
    color: #c00;
/*    color: #c00;*/
  }
  
  li.bull {
/*    font-weight: 800;*/
    font-size: 0.6em;
    display: block;
    padding: 9px 15px 0px 15px;
  }
  
  div.dreams, .dreams-image {
/*  filter: blur(0px);*/
/*  background-color: rgba(0,0,0, 0.4);*/
  max-width: 48em;
/*  padding: 0px 0px 10px 0px;*/
  z-index: 2;
  position: relative;
}
  
  .avaimet-icon {
    float: right;
    margin-bottom: 20px; }
  
  .contact-info h2 {
    font-size: 28px;
    letter-spacing: 1.3px;
    padding: 25px 0px;
  }
  
  .contact-info p {
    padding-bottom: 25px;
  }
  
  p.contact-text {
  float: left;
  padding-left: 50px;
  font-size: 1.0em;
  line-height: 1.25em;
}

.contact-logo{
  float: left;
  width: auto;
/*  display: block;*/
}
  
/* CONTACTS FORM*/
  .contact {
    width: 768px;
  }
  
  input {
    padding: 2px 6px 2px 6px;
    margin: 4px 0px 4px 0px;
/*    color: var(--vintage-yellow);*/
/*    background-color: dimgray;*/
    border: none;
  }
  
  ::placeholder {
/*  color: var(--vintage-yellow);*/
}
  
  
  input.name[type=text] {
    width: 99.7%;
  }
  
  input.email[type=text], input.phone[type=text] {
    width: 49.7%;
  }
  
  textarea {
    width: 99.9%;
/*    background-color: dimgray;*/
    border: none;
    margin: 4px 0px 4px 0px;
    padding: 2px 6px 2px 6px;
  }
  
  button {
    width: 90px;
    margin-right: 10px;
    background-color: var(--vintage-red);
    color: var(--vintage-yellow);
    border: none;
/*
    border-color: var(--vintage-yellow);
    border-width: 2px;
*/
    font-size: 18px;
    font-weight: 400;
  }
  
/*
  button.en {
    width: 90px;
    background-color: var(--vintage-red);
    color: var(--vintage-yellow);
    border: none;
    border-color: var(--vintage-yellow);
    border-width: 2px;
    font-size: 18px;
    font-weight: 400;
  }
*/
  
div.avaimet-line {
  display: block;
/*  background: var(--vintage-red);*/
  width: 48em;
  height: 5px;
  margin-bottom: 15px;
}
  
} /* END OF @MEDIA */
/* END OF DESKTOP FORMATION */


/* MOBILE FORMATION */
@media screen and (max-width: 767px) {
.gallery {
    width: 768px;
    padding-bottom: 20px;
  }
  
.gallery-nav {
    width: 768px;
    padding-top: 10px;
  }
  
.gallery-nav a {

  text-align: center;
  width: 33%;
color: var(--vintage-yellow);
-webkit-transition: .3s all ease;
-o-transition: .3s all ease;
transition: .3s all ease; }
.gallery-nav a:hover {
  text-decoration: none;
  color: var(--vintage-red); }
  
.perfundo__link img {
  width: 90%;
}

.lang {
  font-family: roboto !important;
  z-index: 10;
  position: absolute;
  width: 100%;
  text-align: left;
  margin: 25px 0px 0px 5px;
} 
  
.logo-header {
  background-image: url('../images/lumo_logo_ylapalkki_10000px.png');
  height: 150px;
  width: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top;
  background-position: center center;
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 0px;
}
  
div.avaimet-line {
  display: block;
/*  background: var(--vintage-red);*/
/*  width: 48em;*/
  width: 95%;
  height: 5px;
  margin-bottom: 15px;
}
  
.contact-logo{
  visibility: hidden;
  display: none;
/*
  float: left;
  width: auto;
*/
}
  
  .contact-info h2 {
    font-size: 28px;
    letter-spacing: 1.3px;
    padding: 25px 0px;
  }
  
  .contact-info p {
    padding-bottom: 25px;
  }
  
/* CONTACT FORM*/
input {
    padding: 2px 6px 2px 6px;
    margin: 4px 0px 4px 0px;
/*    color: var(--vintage-yellow);*/
/*    background-color: dimgray;*/
    border: none;
  }
  
  ::placeholder {
/*  color: var(--vintage-yellow);*/
}
  
  
  input[type=text] {
    width: 95%;
  }
  
/*
  input.email[type=text], input.phone[type=text] {
    width: 49.7%;
  }
*/
  
  textarea {
    width: 95%;
/*    background-color: dimgray;*/
    border: none;
    margin: 4px 0px 4px 0px;
    padding: 2px 6px 2px 6px;
  }
  
  button {
    width: 90px;
    margin-right: 0px;
    background-color: var(--vintage-red);
    color: var(--vintage-yellow);
    border: none;
/*
    border-color: var(--vintage-yellow);
    border-width: 2px;
*/
    font-size: 18px;
    font-weight: 400;
    margin-left: 8px;
  }
    

}

/*
    CONTENT AREA
*/

p, h1, h2, h3 {
  padding: 0px 5px 0px 5px;
}

.dreams-backdrop {
  background-image: url(/images/pictures/rod_dash01.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
/*  background-size: 85% 85%;*/
  height: 500px;
  filter: blur(8px);
/*  -webkit-filter: blur(8px);*/
/*     -moz-filter: blur(8px);*/
  z-index: 1;
}

div.dreams, .dreams-image {
/*  filter: blur(0px);*/
/*  background-color: rgba(0,0,0, 0.4);*/
  width: 100%;
  max-width: 48em;
/*  padding: 0px 0px 10px 0px;*/
  z-index: 2;
  position: relative;
}

.dreams-text h2 {
  font-size: 26px;
  letter-spacing: 1.3px;
  font-weight: 400;
  padding: 25px 0px 25px 0px;
}

.dreams-text p {
  padding: 0px 0px 25px 0px;
}

.projektit-header, .projekti {
  width: 48em;
  margin-bottom: 20px;
}

.projekti-kuva {
  float: left;
/*  margin-right: 25px;*/
}

.projekti-text {
  float: left;
}

.contact {
  width: 48em;
  margin-bottom: 25px;
}


  
  #title_message {
    visibility: hidden;
    clear: both;
    float: left;
    margin: 10px auto 5px 20px;
    width: 28%;
    display: none;
  }
}



/*
div.avaimet-line {
  display: block;
  background: var(--vintage-red);
  width: 48em;
  height: 5px;
  margin-bottom: 15px;
}
*/

.container.avaimet{
  max-width: 48em;
  margin: auto;
  border-top: 10px;
  border-top-color: #580000;
  padding: 0px 0px 0px 0px;
/*
  background: #1a1919;
  background-color: #1a1919;
*/
}

div.avaimet{
  width: 768px;
}

.avaimet-text {
  max-width: 550px;
  float: left;
  padding: 25px 0px;
}

.avaimet-text h2 {
  padding-bottom: 20px;
}

.avaimet-icon {
  float: center;
  margin-bottom: 20px;
  padding: 25px 0px;
}

/*
  END OF MENU SECTION
*/
.main-footer {
  background: #580000;
  color: var(--vintage-yellow); }
.main-footer p {
  color: var(--vintage-yellow); }
.main-footer .header {
  line-height: 0.8em !important;
  height: 50px ;
  font-size: 26px;
  background: #1a1919 ;
  border-top: 4px solid var(--vintage-yellow);
  border-bottom: 4px solid var(--vintage-yellow);
  padding-top: 1px; 
  padding-bottom: 10px;
}

.main-footer .contact-container {
  padding-top: 5px;
}

.main-footer .contact {
  min-height: 85px;
  max-width: 850px; 
  margin: auto;
  padding-top: 10px;
  padding-bottom: 10px;
}

.main-footer .contact-text {
 float: left;
}
p.contact-text {
  float: left;
  padding-left: 10px;
  font-size: 0.9em;
  line-height: 1.25em;
}
.main-footer .contact-some {
  float: right;
  width: auto;
  margin: 0px 10px 0px 0px;
}


/*
 Demo purposes only
*/
*,
*:before,
*:after {
  box-sizing: border-box;
}

/*
header {
  background: var(--vintage-grey);
  padding: 5px;
  border-color: var(--vintage-yellow);
  border-style: solid;
  border-width: 4px 0px;
  display: flex;
  align-items: center;
  justify-content: space-around;
}
*/

div.content {
  max-width: 48em;
  padding: 0.5em 0em
}

article {
  padding: 30px;
  width: 55em;
  font-size: 16px;
  line-height: 1.5em;
}

article h2 {
  font-weight: 500;
  font-size: 28px;
}

.logo {
  margin: 0 30px 0 10px;
  font-size: 1.5em;
}

