html {
  font-size: 1rem;
}

/* Style the header with a grey background and some padding */
.header {
    overflow: hidden;
    background-color: white;
    padding: 20px 10px;
}
  
  /* Style the header links */
.header a {
    float: left;
    color: black;
    text-align: center;
    padding: 12px;
    text-decoration: none;
    font-size: 18px;
    line-height: 25px;
    border-radius: 4px;
}
  
  /* Style the logo link (notice that we set the same value of line-height and font-size to prevent the header to increase when the font gets bigger */
.header a.logo {
    font-size: 25px;
    font-weight: bold;
  }
  
  /* Change the background color on mouse-over */
.header a:hover {
    background-color: #ddd;
    color: black;
}
  
  /* Style the active/current link*/
.header a.active {
    background-color: dodgerblue;
    color: white;
}
  
  /* Float the link section to the right */
.header-right {
    float: right;
}
  
  /* Add media queries for responsiveness - when the screen is 500px wide or less, stack the links on top of each other */
@media screen and (max-width: 500px) {
    .header a {
      float: none;
      display: block;
      text-align: left;
    }
    .header-right {
      float: none;
    }
}

#main {
  color: white !important;
  padding-left: 4vw;
  padding-top: 5vh;
  height: 40vh;
  background-blend-mode: lighten;
  background-size: cover;
  border-radius: 5%;
}

@media screen and (max-width:590px) {
  #main {
    height: 50vh;
  }
}

.col-md-4:hover {
  background-color: #cfe0f4;
  border-radius: 5%;
}

nav > div > a:hover {
  background-color: #cfe0f4;
  border-radius: 10%;
}

@media screen and (min-width:590px) {
  #header-right {
    float: right;
  }
}

#projekti {
  color: white !important;
  padding-left: 3vw;
  padding-top: 1vh;
  height: 20vh;
  width: 100%;
  background-blend-mode: lighten;
  background-size: cover;
  border-radius:5%;
}

#projekti-container {
  display: none;
}

@media screen and (max-width:590px) {
  #projekti-container {
    display: block;
  }
}

@media screen and (max-width:590px) {
  #carouselExampleIndicators {
    display: none;
  }
}

#meni:hover {
  text-decoration: none;
}

#caroselitem {
  height: 64vh; 
  object-fit: cover;
  border-radius: 5%;
}

#meni1:hover {
  text-decoration: none;
}

#meni1 {
  font-size: 3.5vh;
}

@media screen and (max-width:590px) {
  #meni , #meni1 {
    text-align: center;
  }
}