html, body {
  background-color: black;
  margin:0px;
  padding:0px;
  overflow-x: hidden;
  background-image: url(backgroundpage.png);
  background-size: contain;
}



/* Nav Bar CSS */

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between; 
  padding: 10px 20px;
}

.nav-link {
  color:white;
  font-family: "Amarante";
  text-transform: uppercase;
  padding-left:15px !important;
  padding-right: 15px !important;
}

.navbar-brand {
  font-family: "Amarante";
 }

.navbar-brand:hover {
  color:#CB3434;
 }

 .bg-dark {
  background-color: black !important;
 }

.navbar-dark, .navbar-toggler {
    border-color: transparent !important;
}*/

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar-toggler-icon:hover {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(203, 52, 52, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.nav-link:active, .nav-link:hover {
  color:#CB3434;
}

.menuicon {
  font-size: 1.25rem;
}


 /* TEXT STYLES */

h1 {
  font-family: "Amarante";
  color:white;
  text-transform: uppercase;
}

h2 {
  font-family: "Amarante";
  color:white;
  text-transform: uppercase;
}

h3 {
  font-family: "Alice";
  color:white;
}

h4 {
  font-family: "Amarante";
  color:white;
  text-transform: uppercase;
}

.display-5 {
  font-family: "Alice";
  text-transform: none;
  color:white;
}

a {
  color:white;
  text-decoration: none;
  font-weight: bold;
}

a:hover {
  color:#CB3434;
}

a:active {
  color:#CB3434;
}

a:visited {
  color: white;
}

p {
  color:white;
  font-family: "Poly";
}

/* FONTS */

.amarante-regular {
  font-family: "Amarante", serif;
  font-weight: 400;
  font-style: normal;
}

.unifrakturcook-bold {
  font-family: "UnifrakturCook", cursive;
  font-weight: 700;
  font-style: normal;
}

.alice-regular {
  font-family: "Alice", serif;
  font-weight: 400;
  font-style: normal;
}

.poly-regular {
  font-family: "Poly", serif;
  font-weight: 400;
  font-style: normal;
}

.poly-regular-italic {
  font-family: "Poly", serif;
  font-weight: 400;
  font-style: italic;
}

/* ETUSIVU */

#etusivu {
  margin-top: 70px;
  margin-bottom: 30px;
  margin-left:0;
  margin-right:0;
  position: relative;
  background-color: black;
}


.etusivuteksti {
  position: absolute;
  top:30px;
  left:20px;
  font-size:5vw;
}

.etusivukuva {
  width:100% !important;
  margin:0;
  padding:0;
}

.ostabtn {
  display: inline-block;
  outline: 0;
  text-align: center;
  cursor: pointer;
  padding: 2vw 3vw;
  border: 0;
  font-size: 3vw;
  font-family: "Alice";
  border: 3px solid transparent;
  border-color: #fff;
  color: #fff;
  background: transparent;
  font-weight: 800;
  line-height: 30px;
  transition: background,color .1s ease-in-out;
  position: absolute;
  bottom: 5%; /*your button position*/
  right: 5%; /*your button position*/
  text-transform: uppercase;
  }
  .ostabtn:hover {
    background-color: #fff;
    color: #000;
  }


/* OHJELMISTO */

.aikataulu {
  justify-content: center;
  margin-top: 20px;
  margin-bottom: 20px;
}

.aikatauluteksti {
  width:60%;
  font-family: "Alice";
}

/* Tables */

.table-custom {
  --bs-table-bg: transparent !important;
}

tbody {
  border-bottom:none;
}

.noborder{
  border-bottom:none;
}

.tablecol {
  padding-top: 20px;
  align-items: center;
}

.juliste {
  max-height: 250px !important;
  min-width: 100px;
  padding:2px;
}

.ohjelmacont {
  padding:40px;
}


/* Liput */

#liput {
  margin-top: 60px;
}

.liputbtn {
  display: inline-block;
  outline: 0;
  text-align: center;
  cursor: pointer;
  padding: 2vw 3vw;
  border: 0;
  font-size: 3vw;
  font-family: "Alice";
  border: 3px solid transparent;
  border-color: #fff;
  color: #fff;
  background: transparent;
  font-weight: 800;
  line-height: 30px;
  transition: background,color .1s ease-in-out;
  text-transform: uppercase;
  margin: 20px;
  }
  .liputbtn:hover {
    background-color: #fff;
    color: #000;
  }

/* Sijainti */

.maps {
  position: relative;
  padding-bottom: 75%;
  height: 0;
  overflow: hidden;
  filter: grayscale(1);
}

.maps iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 70% !important;
  height: 70% !important;
  max-width: 600px;
  max-height: 400px;
}



/* YHTEYS */

#yhteys {
  margin-top: 60px;
}

div.email > span:nth-child(2) {
  display: none;
}

.email {
  font-family: "Alice";
  color:white;
  font-size: calc(1.3rem + .6vw);
}

/* Yhteistyö */

#yhteisty {
  margin-top:60px;
  background-color: black;
}

.logoimg {
  width:100%;
  height:auto;
  max-width: 165px !important;
  padding:10px;
}

/* */
 #footer {
  background-color: black;
 }