

@media (max-width: 600px) {

  body {
    margin: 0;
    padding: 0;
  }
  footer {
    flex-direction: column;
  }
  .ft-boxes {
    display: flex;
    flex-direction: column;
    align-items: center;
}
  .contact-box {
    width: auto;
    margin-bottom: 30px;
  }
  .goal-box {
    width: auto;
    margin-bottom: 30px;
    margin-left: 10%;
  }
  .menu-box {
    width: auto;
    margin-bottom: 30px;
  }

nav {
  display: flex;
  padding-right: 2%;
  justify-content: space-between;
  align-items: center;
  height: 100px;
}
.nav-links {
  flex: 1;
  text-align: right;
  margin-top: 120px;
}
.nav-links ul li {
  list-style: none;
  display: flex;
  flex-direction: column;
  padding: 8px 30px;
  position: relative;
}
.nav-links ul li:hover::after {
  width: 0%;
}
nav .logo-box {
  padding-left: 2%;
  width: 60px;
  height: 60px;
  }
nav .logo-box img{
  width: 100%;
  height: 100%;
}
.text-box h1 {
  margin: 20px;
  font-size: 30px;
}
.kudyted { 
  display: inline-block;
  text-decoration: none;
  color: rgb(0, 0, 0);
  border: 1px solid white;
  background-color: white;
  border-radius: 100px;
  padding: 15px;
  font-size: 15px;
  font-family: 'Lexend';
  position: relative;
  cursor: pointer;
  transition: all 1s ease-in-out;
}
.course-box {
  background-image: linear-gradient(rgba(4,9,30, 1) 2%, rgba(255, 255, 255, 0.2) 6%, rgba(255, 255, 255, 0.2) 95%, rgba(4,9,30, 1) 100%), url(Images/tapeta.jpg);
  background-repeat: repeat;
  background-size: 750px;
  background-position: center;
  padding-top: 150px;
  padding-bottom: 50px;
  transition: all 1.5s ease-in-out
}
.course-box p {
  font-family: 'Lexend';
  color: #412a1a;
  padding-left: 10px;
  padding-right: 10px;
  text-align: center;
  font-size: 18px;
}
.course-box h1 {
  font-family: 'Lexend';
  color: #412a1a;
  font-size: 25px;
  text-decoration: none /*underline rgb(250, 177, 47)*/;
}
#course-1 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column
}
.vertical-line {
  height: 0px;
  width: 0px;
  background-color: rgb(250, 177, 47);
  border-radius: 10px;
  transition: all 1.5s ease-in-out
}
.left-box h1 {
  text-align: left;
  padding-left: 0px;
}
.right-box {
  width: 90%;
  margin-right: 10px;
  margin-left: 10px;
}
.left-box {
  width: 90%;
  margin-left: 10px;
  margin-right: 10px;
}
.left-box h1 {
  text-align: center;
  padding-left: 0px;
}
.way-button {
  display: block;
  text-decoration: none;
  color: rgb(0, 0, 0);
  border: 2px solid rgb(250, 177, 47);
  border-radius: 50px;
  padding: 15px;
  margin-top: 30px;
  margin-left: 10px;
  margin-right: 10px;
  font-size: 18px;
  font-family: 'Lexend';
  cursor: pointer; 
  position: relative;
  transition: all 1s ease-in-out
}



#course-2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column
}
.slider {
  margin: 0px;
  height: 0px;
  box-shadow: 10px 10px 10px rgb(0, 0, 0, 0,6);
  overflow: hidden;
  border-radius: 30px;
}
.vertical-line-2 {
  height: 0px;
  width: 0px;
  background-color: rgb(250, 177, 47);
  border-radius: 10px;
  transition: all 1.5s ease-in-out
}


#course-3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column
}
#course-3 img {
  height: 0px;
}
#course-3 .left-box {
  width: 90%;
}
#course-3 .middle-box {
  width: 0%;
}
#course-3 .right-box {
  width: 90%;
}
#course-3 .right-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-left: 0px;
  margin-top: 30px;
}
.map-button {
  color: black;
  border: 2px solid rgb(250, 177, 47);
  background: transparent;
  border-radius: 50px;
  padding: 15px;
  margin-top: 30px;
  margin-left: 0px;
  margin-right: 0px;
  display: block;
  text-decoration: none;
  font-size: 18px;
  font-family: 'Lexend';
  cursor: pointer; 
  position: relative;
  transition: all 1s ease-in-out;
}
.map-button:hover {
  background-color: rgb(250, 177, 47);
}
#pivovary-pocet {
  font-family: 'Lexend';
  color: #000000;
  margin-left: 0px;
  margin-right: 0px;
  margin-bottom: 30px;
  text-align: center;
  font-size: 15px;
}
.head-text-op {
  display: flex;
  flex-direction: column;
  height: 33%;
  align-items: center;
  margin: 6%;
  margin-left: 0;
  justify-content: space-evenly
}
.head-text-op h1 {
  font-size: 18px;
  font-family: 'Lexend';
  text-decoration: none;
  padding: 15px;
  border: 2px white;
  background-color: white;
  color: #000000;
  transition: all 0.5s ease-in-out;
  user-select: none;
  font-weight: 400;
}
.head-text-op a {
  font-size: 18px;
  padding: 15px;
  margin-right: 6%;
  border-radius: 100px;
  font-family: 'Lexend';
  color: black;
  background-color: rgb(250, 177, 47);
  text-decoration: none;
  font-weight: 300;
  box-shadow: inset 0 0 0 0 rgb(250, 177, 47);
  transition: color 0.8s ease-in-out, box-shadow 0.8s ease-in-out;
}



.arrow {
  width: 20px;
  height: 20px;
}
.arrow-2 {
  width: 20px;
  height: 20px;
}




.course-box-vy {
  background-image: linear-gradient(rgba(4, 9, 30, 1) 1%, rgba(255, 255, 255, 0.2) 4%, rgba(255, 255, 255, 0.2) 98%, rgba(4, 9, 30, 1) 100%);
  background-repeat: repeat;
  background-size: 1000px;
  background-position: center;
  padding-top: 250px;
  padding-bottom: 200px;
  transition: all 1.5s ease-in-out;
  text-align: center;
}
.text-box-vy {
  font-size: 20px;
}
.text-box-vy p {
  font-size: 15px;
}
.course-vy {
  margin-right: 20px;
  margin-left: 20px;
}
.course-vy-1 {
  margin-left: 0;
  margin-right: 0;
  font-size: 17px;
}
.course-box-vy h1 {
  font-size: 30px;
  margin-top: 50px;
}
.content-box-vy {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding-right: 0px;
  margin-right: 40px;
  margin-left: 40px;
}
.course-vy-1 .img-box {
  border: 0px solid rgb(250, 177, 47);
  width: 150px;
  height: 150px;
  margin: 20px;
  border-radius: 100px;
}
#vyroba {
  padding: 20px;
}
.content-box-vy p {
  padding: 20px;
  margin-right: 10px;
  margin-left: 10px;
}
.course-vy-2 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-family: 'Lexend';
  margin-left: 0px;
  margin-right: 0px;
}
.course-vy-2 img {
  width: 100%;
  height: auto;
}
.srotovani img {
  height: auto;
  width: 80%;
}
.sr-box {
  flex-direction: column;
}
.pss {
  margin-left: 0;
}
.ps {
  margin-left: 0;
}
.vs {
  margin-left: 0;
}
.vss {
  margin-left: 0;
}



.text-box-hi {
  font-size: 20px;
}
.text-box-hi p {
  font-size: 18px;
}
.course-box-hi {
  background-image: linear-gradient(rgba(4,9,30, 1) 0.5%, rgba(255, 255, 255, 0.2) 1.5%, rgba(255, 255, 255, 0.2) 98.5%, rgba(4,9,30, 1) 100%);
  text-align: center;
  padding-top: 150px;
}
.course-hi {
  margin-left: 0;
  margin-right: 0;
}
.course-hi-2 {
  margin-left: 10%;
  margin-right: 10%;
}
.course-hi-2 h1 {
  font-size: 30px;
}
.srotovani-hi img {
  width: 100%;
  height: auto;
}




.course-box-ru {
  background-image: linear-gradient(rgba(4,9,30, 1) 0.2%, rgba(255, 255, 255, 0.2) 0.8%, rgba(255, 255, 255, 0.2) 99%, rgba(4,9,30, 1) 100%);
  text-align: center;
  padding-top: 150px;
}
.course-ru {
  margin-left: 0;
  margin-right: 0;
}
.course-ru-2 {
  margin-left: 10%;
  margin-right: 10%;
}
.course-ru-2 h1 {
  font-size: 25px;
  margin-bottom: 10px;
}
.ru-nadpis {
  font-size: 25px;
}
.vsru {
  font-size: 18px;
  margin-left: 0;
}
.ruznorodost .vsru-bot {
  font-size: 18px;
  margin-left: 0;
}
.a-box {
  margin-left: 0;
}
.text-box-ru {
  font-size: 20px;
}
.text-box-ru p {
  font-size: 18px;
}
.beer-card {
  margin-left: 0;
  margin-right: 0;
}
.bc-top {
  height: 30%;
}
.bc-bot {
  flex-direction: column;
}
.bc-text-box {
  width: 100%;
}
.bc-text {
  margin-top: 10px;
  margin-bottom: 20px;
  margin-right: 10px;
  margin-left: 10px;
  position: relative;
  border: solid 0px rgb(0, 0, 0);
  box-shadow: 0px 0px 0px rgb(250, 177, 47);
  border-radius: 20px;
}
.bc-text p {
  font-size: 18px;
}
.bc-imgbox {
  width: 100%;
  border-left: solid 0px rgb(250, 177, 47); 
}
.slider-container  {
  margin-left: 0;
  width: 100%;
  border: solid 0px rgb(0, 0, 0);
  box-shadow: 0px 0px 0px rgb(250, 177, 47);
}




.course-box-pk {
  background-image: linear-gradient(rgba(4, 9, 30, 1) 0.5%, rgba(255, 255, 255, 0.2) 1.8%, rgba(255, 255, 255, 0.2) 98.5%, rgba(4, 9, 30, 1) 100%);
  background-repeat: repeat;
  background-size: 1000px;
  background-position: center;
  padding-top: 200px;
  padding-bottom: 200px;
  text-align: center;
}
.head-box-pk h1 {
  font-size: 30px;
  width: 90%;
}
.course-pk {
  margin-right: 10px;
  margin-left: 10px;
  margin-top: 100px;
}
.hist-nadpis {
  border: solid 3px rgb(250, 177, 47);
  border-radius: 50px;
  padding: 20px;
  padding-left: 20px; 
  padding-right: 20px; 
  font-size: 20px;
}
.hist-content {
  display: flex;
  flex-direction: column;
}
.hist-content img {
  height: auto;
}
.hist-box a {
  font-size: 18px;
  width: auto;
}
.hist {
  width: auto;
}
.pimghi {
  height: auto;
}
.pimg {
  height: auto;
}
.reg-content {
  flex-direction: column;
}
.reg-content2 {
  flex-direction: column;
}
.reg-nadpis {
  border: solid 3px rgb(250, 177, 47);
  border-radius: 50px;
  padding: 20px;
  padding-left: 20px; 
  padding-right: 20px; 
  font-size: 18px;
}
.reg {
  width: auto;
}
.reg2 {
  width: auto;
}
.tr-content {
  flex-direction: column;
}
.tr {
  width: auto; 
  margin: 0;
  margin-top: 50px;
}
.tr-nadpis {
  border: solid 3px rgb(250, 177, 47);
  border-radius: 500px;
  padding: 20px;
  font-size: 18px;
  margin-left: 0%;
  margin-right: 0%;
  text-align: center;
}
.tr img {
  margin-left: 10%;
  margin-right: 0;
  width: 80%;
}
.course-pk-mor {
  margin-left: 20px;
  margin-right: 20px;
}
.morava-nadpis {
  margin-left: 0%;
  margin-right: 0%;
  margin-top: 100px;
}
.mor-nadpis {
  font-size: 18px;
  padding: 20px;
}
.mor-box a {
  font-size: 18px;
  width: auto;
}
.course-pk-tr {
  margin-left: 0px;
  margin-right: 0px;
}







.header-pi {
  background: linear-gradient(to bottom, rgba(4,9,30,1), white 30%);
  text-align: center;
}
.nadpis-pi {
  font-size: 18px;
  margin-left: 10px;
  margin-right: 10px;
  display: flex;
  align-items: center;
  flex-direction: column;
}
.filter-box {
  display: none;
}
#map {
  position: absolute;
  top:45%;
  height: 50%;
  width: 100%;
  left:0%;
  border-radius: 0px;
}
.container {
  position: absolute;
  top: 63%;
  height: 100%;
  width: 100%;
  left: 50%;
}
.cont-text img {
  width: 80%;
  margin-left: 10%;
  margin-right: 10%;
  height: auto;
  border-bottom: solid 0px rgb(250, 177, 47);
}
.cont-line {
  width: 90%;
  margin-left: 5%;
}
.beer img {
  border-bottom: solid 0px rgb(250, 177, 47);
  height: 30px;
  width: auto;
  margin-left: 20px;
  margin-right: 10px;
}
.list {
  margin-left: 10px;
}
.item {
  width: 80%;
}

#search-bar {
  display: none;
  }
  .list {
    display: none;
  }
}

@media (max-width: 750px) {
  .menu-icon {
    display: flex;
  }

  .side-menu {
    display: block;
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100%;
    background-color: rgba(4,9,30,1);
    padding-top: 60px;
    transition: right 0.4s ease;
    z-index: 1000;
  }

  .side-menu.open {
    right: 0;
  }

  .side-menu ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-left: 25px;
  }

  .side-menu a {
    border-bottom: solid 2px rgb(255, 255, 255);
    color: white;
    text-decoration: none;
    font-size: 20px;
    font-family: 'Lexend';
    position: static;
  }
  .nav-links {
     display: none;
  }

}
@media (min-width: 600px) and (max-width: 1000px) {
  #course-1 {
    flex-direction: column;
  }
  .vertical-line {
    height: 0;
  }
  .left-box {
    width: 80%;
  }
  .left-box h1 {
    padding-left: 0;
  }
  #course-2 {
    flex-direction: column;
  }
  .vertical-line-2 {
    height: 0;
  }
  .right-box {
    width: 80%;
  }
  #course-3 {
    flex-direction: column;
  }
  #course-3 .left-box {
    width: 80%;
  }
  #course-3 .right-box {
    width: 80%;
  }
  #course-3 .middle-box {
    margin: 50px;
    width: auto;
  }
  .left-box {
    margin-left: 0;
    margin-right: 0;
  }
  .right-box {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (min-width: 600px) and (max-width: 1266px) {
  .head-text-op {
    flex-direction: column;
    justify-content: space-evenly;
  }
}

@media (min-width: 600px) and (max-width: 1100px) {
  .srotovani img {
    width: 80%;
    height: auto;
  }
  .course-vy-2 {
    margin-left: 0;
    margin-right: 0;
  }
  .srotovani-hi img {
    height: auto;
    width: 100%;
  }
  .course-hi-2 {
    margin-left: 0;
    margin-right: 0;
  }
  .course-ru-2 {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (min-width: 600px) and (max-width: 1600px){
  .course-box-ru {
    background-image: linear-gradient(rgba(4, 9, 30, 1) 0.2%, rgba(255, 255, 255, 0.2) 1.3%, rgba(255, 255, 255, 0.2) 99.5%, rgba(4, 9, 30, 1) 100%);
  }
  .course-box-vy {
    background-image: linear-gradient(rgba(4, 9, 30, 1) 1%, rgba(255, 255, 255, 0.2) 2.5%, rgba(255, 255, 255, 0.2) 97%, rgba(4, 9, 30, 1) 100%);
  }
  .sr-box {
    flex-direction: column;
  }
  .bc-bot {
    flex-direction: column;
  }
  .bc-text-box {
    width: 100%;
  }
  .bc-imgbox {
    width: 100%;
    border-left: solid 0px rgb(250, 177, 47);
  }
  .slider-container {
    width: 80%;
    margin-left: 10%;
  }
}

@media (min-width: 600px) and (max-width: 1700px){
  .content-box-vy {
    height: auto;
  }
}

@media (min-width: 600px) and (max-width: 1400px){
  .course-box-pk {
    background-image: linear-gradient(rgba(4, 9, 30, 1) 1%, rgba(255, 255, 255, 0.2) 2%, rgba(255, 255, 255, 0.2) 98%, rgba(4, 9, 30, 1) 100%);
  }
  .hist-content{
    flex-direction: column;
  }
  .hist {
    width: 60%;
    margin-left: 15%;
  }
  .hist-nadpis {
    text-align: center;
  }
  .reg-content {
    flex-direction: column;
  }
  .reg-content2 {
    flex-direction: column;
  }
  .reg, .reg2 {
    width: 60%;
    margin-left: 15%;
  }
  .pimg {
    height: auto;
  }
  .tr-content {
    flex-direction: column;
  }
  .tr {
    width: 70%;
    margin-left: 15%;
  }
  #pivovary-pocet {
    margin: 0;
  }
  .map-button {
    margin: 0;
    margin-top: 20px;
  }
}

@media (min-width: 600px) and (max-width: 1200px) {
  #map {
    position: absolute;
    top:45%;
    height: 50%;
    width: 80%;
    margin-left: 10%;
    border-radius: 0px;
    left: 0;
  }
  .container {
    position: absolute;
    top: 72%;
    height: 55%;
    width: 90%;
    margin-left: 10%;
    left: 40%;
  }
  .nadpis-pi {
    margin-left: 30px;
    margin-right: 30px;
  }
  .filter-box {
    display: none;
  }
  .course-vy-1 {
    margin: 0;
  }
  .list {
    display: none;
  }
}
@media (min-width: 600px) and (max-width: 1000px) {
  .course-box-pk {
    background-image: linear-gradient(rgba(4, 9, 30, 1) 0.5%, rgba(255, 255, 255, 0.2) 1%, rgba(255, 255, 255, 0.2) 98.5%, rgba(4, 9, 30, 1) 100%);
}
.course-box-hi {
  background-image: linear-gradient(rgba(4, 9, 30, 1) 1%, rgba(255, 255, 255, 0.2) 2%, rgba(255, 255, 255, 0.2) 97%, rgba(4, 9, 30, 1) 100%);
}
}

@media (min-width: 600px) and (max-width: 850px) {
  .beer-card {
    margin-left: 0;
    margin-right: 0;
  }
}
@media (min-width: 600px) and (max-width: 900px) {
  .course-pk {
    margin-left: 50px ;
    margin-right: 50px;
  }
  .hist-box a {
    text-align: center;
  }
  .mor-box a {
    text-align: center;
  }
  .content-box-vy {
    flex-direction: column;
    padding: 50px;
  }
}

@media (max-height: 800px) {
  #map {
    top:52%;
    height: 45%;
  }
}
@media (max-width: 500px) {
  .text-box-vy h1 {
    font-size: 25px;
  }
  .text-box-hi h1 {
    font-size: 25px;
  }
  .text-box-ru h1 {
    font-size: 25px;
  }
}
@media (max-width: 400px) {
  .text-box-vy {
    margin-top: 40px;
  }
  .text-box-hi {
    margin-top: 40px;
  }
  .text-box-ru {
    margin-top: 40px;
  }
}
@media (max-width: 500px) {
  .cont-text h2 {
    margin-right: 30px;
  }
}

@media (max-width: 1000px) {
  .cont-text {
    width: 90%; 
    margin-right: 5%;
    margin-left: 5%;
    display: block; 
  }
}
@media (min-width: 600px) and (max-width: 700px) {
  .nadpis-pi {
    margin-top: 80px;
  }
}