body,h1,h2,h3,h4,h5,h6 {font-family: "Lato", sans-serif;}
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    color: #777;
    line-height: 1.8;
}

#filler {
    height: 30vh;
}

.content-box {
    border-radius: 10px;
    box-shadow: 0px 0px 40px 70px rgb(255, 255, 255, 0.85);
    background-color: rgba(255, 255, 255, 0.85);
    /*ORDER: TOP - RIGHT - BOTTOM - RIGHT*/
    margin: 8rem 2rem 4rem 2rem;
    width: 75%;
}


/* Create a Parallax Effect */
.bgimg-1 {
    position: relative;
    background-image: url('../img/kuvituskuvat/kuva17.jpg');
    min-height: 90%;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Turn off parallax scrolling for tablets and phones */
@media only screen and (max-device-width: 768px) {
  .bgimg-1{
    min-height: 0;
  }
}



/* HIDDEN MENU */
#menuvalikko {
    width: 0;
    height: 100%;
    right: 0;
    z-index: 1;
    overflow-x: hidden;
    transition: 0.5s;
    color: black;
    display: block;
}

#menuvalikko a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 20px;
    color: black;
    display: block;
    transition: 0.3s;
}

.menu-separator {
    padding: 8px 8px 8px 32px;
    background: linear-gradient(to right, #7eadff, #ffe29a 100%);
    background-position: 0 100%;
    background-size: 50% 2px;
    background-repeat: no-repeat;
    background-position: bottom;
}

/* VISIBLE LOGO, MENU BUTTON */

#myNavbar{
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    position: relative;
    background-color: white;
    width: 100%;
}

#title_logo{
    grid-column: 2;
    justify-self: center;
    font-family: 'Great Vibes', cursive;
    font-size: 50px;
}

#openmenuBtn, #abtMeButton {
    grid-column: 3;
    justify-self: end;
    font-size: 20px;
    cursor: pointer;
    padding: 10px 15px;
    border: none;
    background: none;
}

#closemenuBtn {
    border: none;
    cursor: pointer;
    font-size: 20px;
    padding: 10px 15px;
    background: none;
}

.etusivuBtnRow {
    padding: 15px 0px;
    display: flex;
    justify-content: space-evenly;
}

.etusivuBtn {
    padding: 10px;
    font-size: large;
    border-style: solid;
    border-width: 3px;
    border-image: linear-gradient(to right, #7eadff, #ffe29a 100%) 1;
    background-size: 50% 2px;
    background-repeat: no-repeat;
    background-position: bottom;
    background-color: transparent;
}

    
#footer{
    border-top: 2px solid #d9d9d9;
}


#about{
    padding-bottom: 50px;
    margin-bottom: 50px;
}
#myname {
    font-family: oswald;
}
#middle{
    margin-top: 50px;
    height: 150px;
    width: 150px;
}

#valikoima{
    color: #777;
}

  .selection{
      color: #777;
  }

  #middle{
      margin-top: 50px
  }

.w3-wide {letter-spacing: 10px;}
.w3-hover-opacity {cursor: pointer;}

#phone-link:link {
  text-decoration: none;
}
  
  
.category-header{
    display: flex;
    position: relative;
    background-size: 100% auto;
    background-position: center;
    background-repeat: no-repeat;
    max-width: 100%;
    height: auto;
    justify-content: center;
}


.category-container {
    padding-bottom: 20px;
}
  
  
  
.category-name {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Oswald';
    font-size: clamp(30px, 5vw, 45px);
    color: white;
    text-shadow: 2px 2px black;
    text-align: center;
    padding-top: 50px;
    padding-bottom: 50px;
}
  
.card-img-top{
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    height: auto;
}
  
.card-body {
    background-color: #FFFFFF;
}
.row {
    justify-content: center;
}
  
.category-row {
    min-height: 100px;
    padding-top: 20px;
    /* padding-left: 10px;
    padding-right: 10px; */
}

.card {
    margin: 2px;
}

.item-card {
    padding: 10px;
}
  
.item-card:hover {
    box-shadow: 0 0 11px rgba(33,33,33,.2);
}
  
.card-title{
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
}
  
.category-header img{
    width: 100%;
    max-width: fit-content;
    height: auto;
    max-height: 300px;
    display: block;
}