*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
    box-sizing: border-box;
}
body {
    margin: 0;
    min-height: 100%;
    background-color: #171717;
    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: #333;
    padding: 10px;
  }
  .logobutton {
    background-color: transparent;
    border: none;
    cursor: pointer;
  }
.h1{
    color: #e4e4e4;
  }
.h3{
    color: #e4e4e4;
}

.p{
 color: #e4e4e4;
}

/*----- Banneri -----*/
#ylabanneri{
    position: relative;
  overflow: hidden;
  height: 600px;
}

#banneri {
    width: 100%;
    height: 80vh;
    background: #171717;
    display: flex;
    align-items: center;
    justify-content: center;
}

#banneri video{
    width: 100%;
    height: 80%;
    position: absolute;
    top:0;
    left:0;
    z-index:5;
    object-fit: cover;
}
#banneri .caption{
    position: absolute;
    z-index: 20;
    align-items: center;
}

.teksti{
    color: #e4e4e4;
    margin: 20px;
    max-width: 700px;
    text-align: left;
}
.teksti h4{
    text-align: center;
    margin: 10px;
}
.teksti p{
    color: #e4e4e4;
    margin: 20px;
    max-width: 400px;
    text-align: center;
}
.alateksti{
    color: #e4e4e4;
    margin: 20px;
    max-width: 900px;
    text-align: center;
}
.alateksti p{
    margin: 20px;
}
.teksti-2{
    margin-bottom: 60px;
}
.teksti h3{
    font-size: 2em;
    margin-bottom: 20px;
    text-align: center;
}

.teksti li{
    padding: 10px;
    align-items:flex-start;
}
.button-primary {
    padding: 12px 25px;
    background-color: #636466;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
    color: #fff;
    font-size: 12px;
    line-height: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
  }
  .s-button {
    display: inline-block;
    padding: 9px 15px;
    background-color: #3898ec;
    color: #fff;
    border: 0;
    line-height: inherit;
    text-decoration: none;
    cursor: pointer;
    border-radius: 0;
  }
.youtubeteksti {
    color: #e4e4e4;
    margin: 20px;
    max-width: 400px;
    justify-content: center;
    text-align: center;
}
.youtubecontainer{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0px 20px 0 20px;
}
.youtubecontainer .box{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 40px 20px 0 20px;
}

.container .heading h3{
    font-size: 3em;
    font-weight: bolder;
    padding-bottom: 10px;
    border-bottom: 3px solid #222;
}

.container .heading h3 span{
    font-weight: 100;
}

.container .box{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.container .box .galleryfeature{
    display: flex;
    flex-direction: column;
    width: 32.5%;
}

.container .box .galleryfeature img{
width: 100%;
padding-bottom: 15px;
border-radius: 5px;
}

@media only screen and (max-width:769px) {
.container .box{
    flex-direction: column;
    }
.container .box .galleryfeature{
    width: 100%;
    }
}

.grid-container {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: space-between;
}
  
.iframe-container iframe{
    height: 300px;
    padding: 5px;
}

.iframe-container h3{
    color: #e4e4e4;
    max-width: auto;
    text-align: center;
    font-size: 2em;
    margin-top: 10px;
    margin-bottom: 20px;
}

.iframe-container p{
    color: #e4e4e4;
    max-width: auto;
    text-align: center;
    margin: 1%;
}
  
@media screen and (min-width:1024px) {
    .grid-container {
      flex-direction: row;
    }
    
    .iframe-container {
      width: 50%;
    }
}

@media only screen and (max-width: 643px){
    .container .heading{
        width: 100%;
    }
    .container .heading h3{
        font-size: 3em;
    }
}

.footer {
    padding: 20px 0;
    margin: auto;
    color: #e4e4e4;
    background-color: #171717;
    text-align: center;
}

.footer div h3 {
    font-weight: 300;
    font-size: 20px;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.chatbot-button {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #1e90ff;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    z-index: 9999;
    transition: 0.2s;
}

.chatbot-button:hover {
    background: #0f6ad6;
}
.col-2 {
    padding-top: 30px;
    text-align: center;
    margin: auto;
    font-size: 12px;
}

.hidden{
    opacity: 0;
    filter: blur(5px);
    transition: all 1s;
}

.show{
    opacity: 1;
    filter: blur(0);
}

@media(prefers-reduced-motion) {
    .hidden{
        transition: none;
    }
}
