@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500&display=swap');

#motto-title{
  text-shadow: 0px 0px 5px #000000;
}

#motto{
  padding-bottom: 1rem;
  width: 50vw;
  margin: auto;
  background-color: rgba(0,0,0,0.6);
  border-radius: 5px;
  font-size: 1rem;
}
#motto-text{
  font-family: 'Open Sans', sans-serif;
  margin: 1rem;
  display: block;
  width: 10%;
  font-weight: 500;

}

#motto > a {
  font-size: 2.25rem;
  padding: 0.5rem;
  margin: 1rem 0;
}

article {
  margin-top: 0;
}

.btn {
  transition-duration: 250ms; 
  border-radius: 5px;
  transition: 0.15s ease;
}

.btn:hover {
  border-radius: 5px;
  background-color: rgb(2, 135, 207)
}

#border.minn{
  padding-top: 0px;
}

.navbar .navbar-nav > li > a {
  color: #6c6c6c;
}

#top-ribbon {
  color: #6c6c6c;
}

.containter {
  display: flex;
  justify-content: space-evenly;
  width: 100%;
  margin: auto;
  gap: 5rem;
}

.subitem {
  width: 30%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.image-container{
  height: 70%;
}

.img-news-main {
  width: auto;
  max-height: 100%;
}

.list-footer-address, #index .row{
  display: flex;
}

.row{
  justify-content: space-evenly;
  width: 60vw;
  margin: auto;
}

.list-footer-address > li:nth-child(2){
  margin-left: auto !important;
}

#news{
  margin-top: 5rem;
}

.width-modificator{
  width: 50vw;
}

.subitem:last-child{
  margin-bottom: 4rem;
}

.logo > a > img {
  margin-top: 1rem;
}

.navbar > .container {
  display: flex;
  align-items: center; 
}

.akce-csmo-text{
  max-width: 65rem;
  margin: auto;
}

@media only screen and (max-width: 600px) {
  .navbar > .container {
    display: block; 
  }
  .containter{
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .subitem{
    width: 80%;
  }
  #news{
    margin-top: 2rem;
  }
  .list-footer-address, .row{
    display: unset;
  }

  .row{
    justify-content: space-evenly;
    width: unset;
  }

  .list-footer-address > li:nth-child(2){
    margin-left: unset;
    margin-top: 2rem;
  }
  .list-footer-address {
    margin-bottom: 2rem;
  }

  .width-modificator{
    width: 80vw;
    margin: auto;
  }

  footer > div.container {
    display: none; !important
  }
}

