html,
body {
  background-color: #165c7d;
}
* {
  margin: 0;
  padding: 0;
  font-family: Alata;
}

h1 {
  font-size: 62px;
  font-weight: 550;
  color: #97d700;
  font-family: Allerta Stencil;
}

p {
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  line-height: 22px;
  padding: 10px;
}

.header {
  min-height: 100vh;
  width: 100%;
  background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)),
    url(images/Background.jpg);
  background-position: center;
  background-size: cover;
  position: relative;
}
nav {
  display: flex;
  padding: 2% 6%;
  justify-content: space-between;
  align-items: center;
}
nav img {
  width: 150px;
  transition: 1s;
  cursor: pointer;
}
nav img:hover {
  transform: scale(1.3);
  -webkit-transform: scale(1.3);
  -ms-transform: scale(1.3);
  transition: 0.5s;
}
.nav-links {
  flex: 1;
  text-align: right;
}
.nav-links ul li {
  list-style: none;
  display: inline-block;
  padding: 8px 12px;
  position: relative;
}
.nav-links ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 100;
  font-family: Allerta Stencil;
}
.nav-links ul li::after {
  content: "";
  width: 0%;
  height: 2px;
  background: #97d700;
  display: block;
  margin: auto;
  transition: 0.5s;
}
.nav-links ul li:hover::after {
  width: 100%;
}
.text-box {
  width: 90%;
  color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.text-box h1 {
  margin-bottom: 25px;
  font-size: 100px;
}
.text-box h2 {
  font-size: 62px;
}
.hero-btn {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  border: 1px solid #fff;
  padding: 12px 34px;
  font-size: 13px;
  background: transparent;
  position: relative;
  cursor: pointer;
  transition: 0.5s;
  margin-top: 30px;
  border-radius: 10px;
}
.hero-btn:hover {
  border: 1px solid #97d700;
  background: #97d700;
  color: #fff;
  transition: 1s;
}

nav .fa {
  display: none;
}

@media (max-width: 1400px) {
  .text-box h1 {
    font-size: 46px;
  }
  .text-box h2 {
    font-size: 26px;
  }
  .tietoja h1 {
    font-size: 41px;
  }
  .tietoja p {
    font-size: 18px;
    font-weight: 100;
  }
  nav img {
    width: 30%;
  }
  .nav-links ul li {
    display: block;
  }
  .nav-links {
    position: fixed;
    background: #165c7d;
    height: 100vh;
    width: 200px;
    top: 0;
    right: -200px;
    text-align: center;
    z-index: 2;
    transition: 1s;
    border-radius: 20px;
  }

  nav .fa {
    display: block;
    color: #fff;
    margin: 10px;
    font-size: 22px;
    cursor: pointer;
    text-align: left;
  }
  .nav-links ul {
    padding: 30px;
  }
}

/*----------------------------------- tietoja -----------------------------------*/

.tietoja {
  width: 80%;
  margin: auto;
  text-align: center;
  padding-top: 100px;
}
@media (max-width: 900px) {
  .tietoja-eeva.fly p {
    font-size: 22px;
    font-weight: 350;
    color: #000;
  }
}
/*-----------------------------------alapalkki-----------------------------------*/

.footer {
  width: 100%;
  text-align: center;
  padding: 30px 0;
}

.footer h4 {
  margin-bottom: 25px;
  margin-top: 20px;
  font-weight: 600;
}
.icons .fa {
  color: #97d700;
  margin: 0 13px;
  cursor: pointer;
  padding: 18px 0;
}

/*-----------------------------------Muut sivut-----------------------------------*/

.sub-header {
  height: 50vh;
  width: 100%;
  background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)),
    url(images/Background.jpg);
  background-position: center;
  background-size: cover;
  color: #fff;
}
.sub-header h1 {
  margin-top: 100px;
  margin-bottom: 25px;
  text-align: center;
}
.sub-header h3 {
  text-align: center;
  font-weight: 400;
}
.muut-sivut {
  width: 80%;
  margin: auto;
  text-align: center;
  padding-top: 100px;
}

@media (max-width: 900px) {
  .sub-header h1 {
    font-size: 36px;
  }
  .sub-header h3 {
    font-weight: 100;
    font-size: 22px;
  }
  .muut-sivut p {
    font-weight: 100;
  }
  .muut-sivut {
    padding-top: 40px;
  }
}

/*-----------------------------------Mosaiikki sivu-----------------------------------*/

.teokset h2 {
  color: #97d700;
  margin-bottom: 10px;
  font-family: Allerta Stencil;
  font-weight: 400;
  font-size: 42px;
}
.teokset h3 {
  color: #fff;
  margin-bottom: 18px;
  font-size: 18px;
  font-weight: 200;
}
.teokset img {
  width: 40%;
  border-radius: 20px;
  margin-bottom: 50px;
}

@media (max-width: 900px) {
  .teokset img {
    width: 90%;
  }
  .teokset h3 {
    font-size: 20px;
  }
  .teokset h2 {
    font-size: 30px;
  }
}

/*-----------------------------------Näyttelyitä sivu-----------------------------------*/

.nayttelyt h2 {
  color: #97d700;
  margin-bottom: 10px;
  font-family: Allerta Stencil;
  font-weight: 400;
  font-size: 42px;
  margin-top: 50px;
}
.nayttelyt h3 {
  color: #fff;
  margin-bottom: 18px;
  font-size: 18px;
  font-weight: 200;
}
.nayttelyt img {
  height: 800px;
  border-radius: 20px;
}

@media (max-width: 900px) {
  .nayttelyt img {
    height: 200px;
  }
  .nayttelyt h3 {
    font-size: 20px;
  }
  .nayttelyt h2 {
    font-size: 30px;
  }
}

/*-----------------------------------Koulutus sivu-----------------------------------*/

.koulutus h2 {
  color: #97d700;
  margin-bottom: 10px;
  font-family: Allerta Stencil;
  font-weight: 400;
  font-size: 42px;
}
.koulutus h3 {
  color: #fff;
  margin-bottom: 18px;
  font-size: 18px;
  font-weight: 200;
}
.koulutus img {
  width: 30%;
  border-radius: 20px;
  margin-bottom: 50px;
}

@media (max-width: 900px) {
  .koulutus img {
    width: 90%;
  }
  .koulutus h3 {
    font-size: 20px;
  }
  .koulutus h2 {
    font-size: 30px;
  }
}

/*-----------------------------------Yhteystiedot sivu-----------------------------------*/

.yhteystiedot .fa {
  color: #97d700;
  cursor: pointer;
  margin-top: 35px;
}

.linkit p {
  color: #97d700;
}

.yhteystiedot {
  margin-bottom: 50px;
}

.contact-col {
  flex-basis: 48%;
  margin-bottom: 30px;
  margin-top: 50px;
}
.contact-col div {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}
.contact-col div .fa {
  font-size: 28px;
  color: #97d700;
  margin: 10px;
  margin-right: 30px;
}
.contact-col h5 {
  font-size: 30px;
}
.contact-col div p {
  padding: 0;
}
.contact-col input,
.contact-col textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 17px;
  outline: none;
  border: 1px solid #97d700;
  box-sizing: border-box;
  border-radius: 20px;
}

@media (max-width: 900px) {
  .contact-col h5 {
    font-size: 20px;
    margin-top: 10px;
  }
}

/*-----------------------------------Tietoja sivu-----------------------------------*/

.tietoja-iso-kuva img {
  width: 85%;
}

.pallo-kuva img {
  width: 50%;
  border-radius: 50%;
  margin-bottom: 50px;
}

@media (max-width: 900px) {
  .tietoja img {
    width: 90%;
  }
}

/*-----------------------------------Ajankohtaista sivu-----------------------------------*/

.ajankohtaista-kuva img {
  width: 40%;
  border-radius: 20px;
  margin-bottom: 50px;
  margin-top: 100px;
}
.tapahtumat h2 {
  color: #97d700;
  margin-bottom: 10px;
  font-family: Allerta Stencil;
  font-weight: 400;
  font-size: 42px;
}
.jalleenmyyjat h2 {
  color: #97d700;
  margin-bottom: 10px;
  font-family: Allerta Stencil;
  font-weight: 400;
  font-size: 42px;
}
.tapahtumat h3 {
  color: #fff;
  margin-bottom: 25px;
  font-size: 18px;
  font-weight: 200;
}
.jalleenmyyjat h3 {
  color: #fff;
  margin-bottom: 25px;
  font-size: 18px;
  font-weight: 200;
}
.tapahtumat h1 {
  margin-bottom: 50px;
}
.jalleenmyyjat h1 {
  margin-bottom: 50px;
}
.tapahtumat img {
  width: 50%;
  margin-bottom: 50px;
  border-radius: 20px;
}

@media (max-width: 900px) {
  .ajankohtaista-kuva img {
    width: 90%;
  }
  .tapahtumat img {
    width: 90%;
  }
  .tapahtumat h3 {
    font-size: 20px;
  }
  .tapahtumat h2 {
    font-size: 30px;
  }

  .jalleenmyyjat h3 {
    font-size: 20px;
  }
  .jalleenmyyjat h2 {
    font-size: 30px;
  }

  .tapahtumat h1 {
    font-size: 35px;
  }
  .jalleenmyyjat h1 {
    font-size: 35px;
  }
}

/*-----------------------------------Yleinen-----------------------------------*/

.kuvaaja p {
  font-size: 15px;
}

@media (max-width: 900px) {
  .kuvaaja p {
    font-size: 10px;
  }
}
