
/* fontit */
 
.geo-regular {
  font-family: "Geo", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.parkinsans-regular {
  font-family: "Parkinsans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

/* tekstityylit */

h1 {
    color: #E97132;
    font-family: Geo;
    text-align: left;
    padding-left: 20px;
    padding-right: 20px;
    white-space: nowrap;
}

h2 {
    color: #E97132;
    font-family: Geo;
    text-align: left;
    font-size: 20px;
    padding-left: 20px;
    padding-right: 20px;
    margin-top: -95px;

    

}

p   {
    color: black;
    font-family: parkinsans;
    text-align: left;
    padding-left: 20px;
    padding-right: 20px;

}

body {
min-height: 100vh;
margin: 0;


}



/* Pääosuus */

.banner {
display: block;
margin: auto;
padding: 20px;
width: 97%;
height: auto;


}

.yhteistiedot {
margin-top: 20px;
  
}

.flex-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 100vh;
}

/* logo, header ja navigaatio */

.logo-img {
position: absolute;
top: 0px;
left: 0px; 
width:160px;
height:90px;
display: flex;
}

.selfie {
  margin-left: 20px;
  width: 10%;
height: auto;
 display: flex;
 float: left;
margin-right: 10px;

}


header {
background-color: #000000;
line-height: 58px;
border-bottom: 28px solid #E97132;
display: flex;

}

nav a {
    text-decoration: none;
    font-family: Geo;
    color: white;
    font-size: 30px;
    padding-left: 20px;
    display: flex;
    white-space: nowrap;

}

nav:first-child {
    padding-left: 120px;

}

nav ul {
  list-style-type: none;
  display: flex;

}

nav a:hover {
    color: #E97132;
}

/* footer */

footer {
background-color: #000000;
border-top: 28px solid #E97132;
line-height: 28px;
text-align: left;
overflow: auto;
width: 100%;
margin-top: auto;



.footer-nav a {
    display: flex;    
}

.footer-nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  

}

img {
width:40px;
height:40px;

}
h1 {
text-align: center;
font-size: 20px;
padding-right: 1055px;
    white-space: normal;

}
p {
color: white;
font-size: 20px;
text-align: center;

}

a {
color: #E97132;
  
}

a:visited {
color: brown;
  

}

a:hover {
color: orange;

}

a:active {
color: red;

}

}

.SOME {
text-decoration: none;

  img {
width:40px;
height:40px;
float:left;

  }

  p {
color: black;
font-size: 20px;
text-align: left;


  }

.YT  img {
width:47px;
height:40px;
float:left;

  }
 

}

.SOME ul {

 list-style-type: none;
  margin: 0;
  padding-top: 0;
}

.linkki {
color: #E97132;

  
}

.linkki:visited {
color: brown;
  

}

.linkki:hover {
color: orange;

}

.linkki:active {
color: red;

}


/* taidot */

.taidot-main {
   clear: both; 
}


table {
float: left;
margin: 10px;
width:  615px;
height: 200px;
border-spacing: 0;
}

th {
  background-color: #E97132;
  color: black;
  font-family: "Geo", sans-serif;
  text-align: left;
  padding-left: 10px;
  empty-cells: show;
}

th:empty::before,td:empty::before {
  content:'\00a0';
  visibility:hidden;

}


tr {
  background-color: black;
  color: white;
  font-family: parkinsans;
  text-align: left;
  padding-left: 10px;
}



/* kysely */

label {
font-family: geo;
color: #E97132;
font-size: 20px;

}

body {
    text-align: center;
}
form {
    display: inline-block;
}

form {
border-top: 28px solid #E97132;
background-color: black;
margin: 10px;
width: 432px;
float:left;

}

input {
font-family: parkinsans;
color: black;
margin: 16px;
height: 63px;
font: 20px;
width: 368px;
}

.nappi {
font-family: parkinsans;
color: black;
margin: 16px;
height: 63px;
font: 20px;
width: 368px;
background-color: #E97132;
border-color: #E97132;

}

textarea {
font-family: parkinsans;
color: black;
margin: 16px;
height: 63px;
font: 20px;
width: 368px;
max-width: 368px;
min-width: 368px;
}

/* Puhelin */

@media (max-width: 600px) {

nav:first-child {

      padding-left: 0px;

}

  .selfie {
  width: 90%;
height: auto;
 display: flex;
 margin-bottom: 10px;
}

  header {
    border-top: 155px solid white;
    max-width: 100%;

  }

.banner {
display: block;
margin: auto;
padding: 20px;
width: 88%;
height: auto;



}

h1 {
    white-space: normal;

}

.otayhteytta {
    white-space: nowrap !important;

}

table {
float: left;
margin: 10px;
width:  500px;
height: 200px;
border-spacing: 0;
}

form {
width: 200px;
float:none;


}

input {
font-family: parkinsans;
color: black;
margin: 16px;
height: 63px;
font: 20px;
width: 160px;
}

.nappi {
font-family: parkinsans;
color: black;
margin: 16px;
height: 63px;
font: 20px;
width: 160px;
background-color: #E97132;
border-color: #E97132;

}

textarea {
font-family: parkinsans;
color: black;
margin: 16px;
height: 63px;
font: 20px;
width: 160px;
max-width: 160px;
min-width: 160px;
}

nav a.icon {
  background: #E97132;
  display: block;
  position: absolute;
  right: 5;
  top: 5;
}


  .logo-img {
position: absolute;
top: 0px;
left: 0px; 
width:275px;
height:auto;
display: block;
margin: auto;
}

nav a {
  text-align: left;
    display: block;
  font-size: 20px !important; 
  

    

}

nav ul {
  list-style-type: none;
  display: block;
    text-align: left;

  
  

}

  table {
float: center;
width: 340px;
height: 200px;
border-spacing: 0;
}

  footer {
    overflow: hidden;

  .footer-nav a {
    display: flex;    
      margin-top: -10px;
          margin-left: 1px;
}

.footer-nav ul {
  list-style-type: none;
  margin: 0;
  padding-top: 0;

}

.footer-nav {
padding-top: 100px;

}
} 
}

@media (max-width: 1515px) {

    footer {


  .footer-nav a {
    display: flex;    
      margin-top: -10px;
          margin-left: 1px;
          


}

.footer-nav ul {
  list-style-type: none;
  margin: 0;
  padding-top: 0;

}

.footer-nav {
padding-top: 100px;

}

}

}

@media (max-width: 900px) {

nav a {

font-size: 17px;

}

  
}
