 .navbar2 {
    background: linear-gradient(to right, #a6171e, #d63c44); 
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transform: translate(0%, -413%);
  }
  
.navbar2 ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}
  
.navbar2 li {
    margin-right: 200px;
    margin-left: 15px;
}
  
.navbar2 a {
    color: #fff;
    text-decoration: none;
}
  
.navbar2 a:hover {
    color: #ccc;
}




.brno-panel {
  position: relative;
  width: 70%;
  height: auto;
  margin: 50px 0 50px 60px;
  backdrop-filter: blur(15px);
  background: rgba(158, 153, 153, 0.3);
  border-radius: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: row;
  overflow: hidden;
  transition: all 1s ease-in-out;
}

.brno-panel:hover {
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
  background: rgba(110, 108, 108, 0.3);
}

.brno-title {
  font-size: 32px;
  position: absolute;
  top: 20px;
  left: 20px;
  height: 60px;
  width: 300px;
  background: linear-gradient(to right, #e19441, #FCC88F);
  font-weight: bold;
  color: white;
  padding-left: 20px;
  display: flex;
  align-items: center;
  border-top-left-radius: 20px;
  clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
  transition: all 1s ease-in-out;
  z-index: 2;
}

.brno-panel:hover .brno-title {
  width: calc(97% - 20% - 10px);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}


.brno-panel:hover .image-container {
  transform: scale(1.05);
}


@media screen and (max-width: 768px) {
  .brno-panel {
    flex-direction: column;
    width: 90%;
    margin-left: 5%;
  }

  .image-container {
    width: 100%;
    border-radius: 0;
  }

  .brno-panel:hover .brno-title {
    width: 90%;
  }
}




.plzen-panel {
  position: relative;
  width: 70%;
  height: auto;
  margin: 50px 0 50px 60px;
  backdrop-filter: blur(15px);
  background: rgba(158, 153, 153, 0.3);
  border-radius: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: row;
  overflow: hidden;
  transition: all 1s ease-in-out;
}

.plzen-panel:hover {
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
  background: rgba(110, 108, 108, 0.3);
}

.plzen-title {
  font-size: 32px;
  position: absolute;
  top: 20px;
  left: 20px;
  height: 60px;
  width: 300px;
  background: linear-gradient(to right, #055135, #13855b);
  font-weight: bold;
  color: white;
  padding-left: 20px;
  display: flex;
  align-items: center;
  border-top-left-radius: 20px;
  clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
  transition: all 1s ease-in-out;
  z-index: 2;
}

.plzen-panel:hover .plzen-title {
  width: calc(97% - 20% - 10px);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}


.plzen-panel:hover .image-container {
  transform: scale(1.05);
}


@media screen and (max-width: 768px) {
  .plzen-panel {
    flex-direction: column;
    width: 90%;
    margin-left: 5%;
  }

  .image-container {
    width: 100%;
    border-radius: 0;
  }

  .plzen-panel:hover .plzen-title {
    width: 90%;
  }
}



.karlovy-panel {
  position: relative;
  width: 70%;
  height: auto;
  margin: 50px 0 50px 60px;
  backdrop-filter: blur(15px);
  background: rgba(158, 153, 153, 0.3);
  border-radius: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: row;
  overflow: hidden;
  transition: all 1s ease-in-out;
}

.karlovy-panel:hover {
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
  background: rgba(110, 108, 108, 0.3);
}

.karlovy-title {
  font-size: 32px;
  position: absolute;
  top: 20px;
  left: 20px;
  height: 60px;
  width: 300px;
  background: linear-gradient(to right, #713600, #9d530f);
  font-weight: bold;
  color: white;
  padding-left: 20px;
  display: flex;
  align-items: center;
  border-top-left-radius: 20px;
  clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
  transition: all 1s ease-in-out;
  z-index: 2;
}

.karlovy-panel:hover .karlovy-title {
  width: calc(97% - 20% - 10px);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}


.karlovy-panel:hover .image-container {
  transform: scale(1.05);
}


@media screen and (max-width: 768px) {
  .karlovy-panel {
    flex-direction: column;
    width: 90%;
    margin-left: 5%;
  }

  .image-container {
    width: 100%;
    border-radius: 0;
  }

  .karlovy-panel:hover .karlovy-title {
    width: 90%;
  }
}



.liberec-panel {
  position: relative;
  width: 70%;
  height: auto;
  margin: 50px 0 50px 60px;
  backdrop-filter: blur(15px);
  background: rgba(158, 153, 153, 0.3);
  border-radius: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: row;
  overflow: hidden;
  transition: all 1s ease-in-out;
}

.liberec-panel:hover {
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
  background: rgba(110, 108, 108, 0.3);
}

.liberec-title {
  font-size: 32px;
  position: absolute;
  top: 20px;
  left: 20px;
  height: 60px;
  width: 300px;
  background: linear-gradient(to right, #a6171e, #f6656c);
  font-weight: bold;
  color: white;
  padding-left: 20px;
  display: flex;
  align-items: center;
  border-top-left-radius: 20px;
  clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
  transition: all 1s ease-in-out;
  z-index: 2;
}

.liberec-panel:hover .liberec-title {
  width: calc(97% - 20% - 10px);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}


.liberec-panel:hover .image-container {
  transform: scale(1.05);
}


@media screen and (max-width: 768px) {
  .liberec-panel {
    flex-direction: column;
    width: 90%;
    margin-left: 5%;
  }

  .image-container {
    width: 100%;
    border-radius: 0;
  }

  .liberec-panel:hover .liberec-title {
    width: 90%;
  }
}