oazaSrdceWeb / css / recreation.css
recreation.css
Raw
@font-face {
  font-family: "Faculty";
  src: url("font/FacultyGlyphic-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

.bor {
  border: 2px solid blue;
}

.spacer {
  height: 100px;
}
.spacer2 {
  height: 70px;
}
.spacer3 {
  height: 5px;
}
.spacer4 {
  height: 20px;
}
.spacer50 {
  height: 50px;
}

.heading2 {
  font-family: "Faculty", sans-serif;
  font-size: 55px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 20px;
  color: #0071bc;
}

.heading3 {
  font-family: "Faculty", sans-serif;
  font-size: 55px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 20px;
  color: #fff;
}

.biggerGone {
  display: none;
}
/*
NAVBAR SECTION
*/

nav {
  background: linear-gradient(180deg, #a5d2fc, #ffff, #ffff, #a5d2fc);
}
.navLinks {
  font-weight: 400;
  font-size: 20px;
  font-family: "Faculty", sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
}

.navLinks .link {
  width: 60px;
  position: relative;
  padding-bottom: 10px;
  text-decoration: none;
}
.navLinks .link a {
  color: #0071bc;
}
.navLinks .link a:hover {
  color: #0c8ce1;
  text-decoration: none;
}

.navLinks .expandable .submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: linear-gradient(180deg, #a5d2fc, #ffff, #ffff, #a5d2fc);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 3;
}

.navLinks .expandable:hover .submenu {
  display: block;
}

.submenu a {
  display: block;
  padding: 8px 16px;
  color: black;
}

.submenu a:hover {
  text-decoration: none;
}

/*
NAVBAR SECTION END
-----
*/

/*
SLIDESHOW SECTION 
*/

.slideShow {
  position: relative;
  background-color: #a5d2fc;
}

.slideShow .photo1 {
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1; /* Hodnota musí být menší než photo2 */
}

.slideShow .photo2 {
  width: 100%;
  height: auto;
  bottom: 0;
  left: 0;
  z-index: 2; /* Hodnota musí být vyšší než photo1 */
}

/*
  SLIDESHOW SECTION END
  -----
  */

/*
ROOMS SECTION
*/
.rooms {
  background: linear-gradient(
    180deg,
    #a5d2fc,
    #a5d2fc,
    #ffff,
    #a5d2fc,
    #a5d2fc
  );
}
.smallerH {
  max-height: 130px;
}
.rooms .container {
  padding: 0;
}

.rooms .row {
  margin: 0;
}

.rooms .col-4 {
  padding: 0;
  position: relative;
}
.rooms img {
  width: 100%;
  height: auto;
  display: block;
  box-sizing: border-box;
}
.rooms .row {
  width: 91%;
  height: auto;
  margin: 0 auto;
  border-image: var(--gradient-border) 1;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
}
.leftRoom {
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  border-right: 4px solid #fff;
}

.centerRoom {
  border-left: 2.3px solid #fff;
  border-right: 2.3px solid #fff;
}
.rightRoom {
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  border-left: 4px solid #fff;
}

.smallWave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  border-bottom-left-radius: 20px;
  border-right: transparent 3px solid;
}
.smallWave2 {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: auto;
  border-right: transparent 2px solid;
  border-left: transparent 1px solid;
}
.smallWave3 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  border-bottom-right-radius: 20px;
  border-left: transparent 3.5px solid;
}
.smallName {
  font-family: "Faculty", sans-serif;
  font-size: 22px;
  font-weight: bold;
  color: #fff;
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: auto;
  text-align: center;
  z-index: 2;
}

.hoverText1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 10px;
  border-right: 4px solid #fff;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  font-size: 17px;
  font-family: "Faculty", sans-serif;
  line-height: 26px;
  font-style: italic;
}
.hoverText2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  border-left: 2.3px solid #fff;
  border-right: 2.3px solid #fff;
  font-size: 17px;
  font-family: "Faculty", sans-serif;
  line-height: 26px;
  font-style: italic;
}
.hoverText3 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 10px;
  border-left: 4px solid #fff;
  border-bottom-right-radius: 20px;
  border-top-right-radius: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  font-size: 17px;
  font-family: "Faculty", sans-serif;
  line-height: 26px;
  font-style: italic;
}

.col-4:hover .hoverText1 {
  opacity: 1;
}
.col-4:hover .hoverText2 {
  opacity: 1;
}
.col-4:hover .hoverText3 {
  opacity: 1;
}

/*
  ROOMS SECTION END
  -----
  */

/*
FOOD SECTION 

*/

.food {
  background: linear-gradient(
    180deg,
    #a5d2fc,
    #a5d2fc,
    #ffff,
    #a5d2fc,
    #a5d2fc
  );
}

.foodBar .foodBtn {
  background: linear-gradient(180deg, #a5d2fc, #d0e7fb, #a5d2fc, #d0e7fb);
  text-align: center;
  padding-top: 8px;
}
.foodBar .left {
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
  border-width: 2px;
  border-style: solid;
  border-image: linear-gradient(180deg, #a5d2fc, #fff, #fff, #a5d2fc);
  border-right: none;
  border-left: none;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.foodBar .right {
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
  border-width: 2px;
  border-style: solid;
  border-image: linear-gradient(180deg, #a5d2fc, #fff, #fff, #a5d2fc);
  border-right: none;
  border-left: none;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.foodBar .side,
.center {
  border-width: 2px;
  border-style: solid;
  border-image: linear-gradient(180deg, #a5d2fc, #fff, #fff, #a5d2fc);
  border-right: none;
  border-left: none;
}

.foodBar h4 {
  font-size: 18px;
  font-family: "Faculty", sans-serif;
}

.foodBoxes h3 {
  text-align: center;
  font-weight: 700;
  color: #0071bc;
}

.diningImg img {
  width: 220px;
  height: 195px;
  margin: 10px;
  display: flex;
  flex-direction: column; /* Nastaví potomky do sloupce */
  justify-content: center; /* Vertikálně vystředí obsah */
  align-items: center; /* Horizontálně vystředí obsah */
  background: linear-gradient(white, white) padding-box,
    linear-gradient(180deg, #a5d2fc, #d0e7fb, #a5d2fc, #d0e7fb) border-box;
  border-radius: 10px;
  border: 3px solid transparent;
  box-sizing: border-box;
}
.diningImg {
  display: flex;
  justify-content: center;
}

.foodPlace {
  margin-right: 1px;
  margin-left: 1px;
}

/*
FOOD SECTION END
-----
*/

/*
AREA SECTION
*/

.area {
  background: linear-gradient(
    180deg,
    #a5d2fc,
    #d0e7fb,
    #a5d2fc,
    #d0e7fb,
    #a5d2fc
  );
}

.topPhoto img {
  border-radius: 5px;
  max-width: 85.3%;
  max-height: 85.3%;
  margin-top: 10px;
  margin-bottom: 0;
}
.botPhoto img {
  border-radius: 5px;
  margin-top: 5px;
  margin-bottom: 10px;
  margin-right: 3px;
  margin-left: 3px;
  width: 146px;
  height: 115px;
}

.board {
  border-image: linear-gradient(180deg, #a5d2fc, #fff, #fff, #fff, #a5d2fc) 1;
  border-width: 3px;
  border-style: solid;
  background: linear-gradient(180deg, #a5d2fc, #d0e7fb, #a5d2fc, #d0e7fb);
  margin-top: 0;
  padding: 10px;
  min-height: 390px;
}

.clickable-heading {
  cursor: pointer;
  margin-bottom: 0;
  max-width: 280px;
  padding-bottom: 5px;
}

.selected-heading {
  background: linear-gradient(180deg, #a5d2fc, #d0e7fb, #a5d2fc);
  margin-bottom: 0;
  color: black;
}

.boardRadio {
  margin-top: 20px;
}
.boardRadio input[type="radio"] {
  margin: 0 15px;
}

.boardList {
  max-width: 70%;
  margin-top: 20px;
  list-style-image: url("media/recreation/list3.png");
}
.boardList li {
  font-family: "Faculty", sans-serif;
  font-size: 22px;
  margin: 10px 0;
  margin-left: 40px;
}
/*
AREA SECTION END
-----
*/

/*
WELLNESS SECTION

*/

.wellness {
  background: linear-gradient(
    180deg,
    #a5d2fc,
    rgba(0, 113, 188, 0.8),
    rgba(0, 113, 188, 0.9),
    #0071bc,
    #0071bc,
    rgba(0, 113, 188, 0.9),
    rgba(0, 113, 188, 0.8),
    #a5d2fc
  );
}

.wellness img {
  width: 100%;
  height: auto;
  display: block;
  box-sizing: border-box;
}

.wellnessIcons h2 {
  margin-top: 5px;
  font-family: "Faculty", sans-serif;
  color: #fff;
}
.wellnessIcons img {
  width: 30%;
  height: auto;
  margin: 0 auto;
}

/*
WELLNESS SECTION END
-----
*/

/*
TIPS SECTION

*/
.tips {
  background: linear-gradient(180deg, #a5d2fc, #fff, #fff, #a5d2fc);
}
.articleCart {
  background: linear-gradient(180deg, #a5d2fc, #d0e7fb, #a5d2fc, #d0e7fb);
  border-radius: 15px;
  max-width: 1100px;
  max-height: 225px;
}
.photoPart {
  align-items: start;
}
.tipsPhotoTop img {
  width: 100%;
  height: 155px;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}
.tipsPhotoBott img {
  width: 83.5px;
  height: 60px;
  margin-top: 2px;
}
.leftPhoto {
  border-bottom-left-radius: 15px;
}
.rightPhoto {
  border-bottom-right-radius: 15px;
}

.articleContent {
  padding: 10px;
}
.articleContent h1 {
  font-family: "Faculty", sans-serif;
  margin-top: 10px;
}
.articleContent img {
  width: 23%;
  height: auto;
  margin: 5px;
}

.articleContent img:hover {
  transform: scale(1.1);
  cursor: pointer;
}

.articleContent p {
  margin-left: 15px;
  font-size: 17px;
  max-width: 730px;
}

/*
TIPS SECTION END
-----
*/

footer {
  background: linear-gradient(180deg, #a5d2fc, #d0e7fb, #a5d2fc);
}
footer a:hover {
  text-decoration: none;
  color: black;
}

footer a {
  text-decoration: none;
  color: black;
}

/* Větší tablet & menší notebook */
@media (min-width: 992px) and (max-width: 1200px) {
  .diningImg img {
    width: 185px;
    height: 160px;
  }
  .tipsPhotoBott img {
    width: 72px;
    height: 50px;
  }
  .botPhoto img {
    width: 118px;
    height: 100px;
  }
  .articleContent p {
    font-size: 15px;
  }
  .articleContent h1 {
    font-size: 32px;
  }
}
/* Větší tablet & menší tablet */
@media (min-width: 768px) and (max-width: 992px) {
  .smallName {
    font-size: 18px;
    bottom: -12px;
  }
  .hoverText1,
  .hoverText2,
  .hoverText3 {
    font-size: 11px;
  }
  .foodBtn {
    margin: 0 auto;
    min-width: 130px;
  }
  .foodBtn h4 {
    font-size: 14px;
  }
  .botPhoto img {
    width: 86%;
    height: 130px;
  }
  .articleCart {
    height: 200px;
    max-height: 200px;
  }
  .tipsPhotoBott img {
    width: 52px;
    height: 35px;
  }
  .articleContent p {
    font-size: 12.5px;
  }
  .articleContent h1 {
    font-size: 21px;
  }
}
/* Menší tablet */
@media (min-width: 576px) and (max-width: 768px) {
  .hideSmTablet {
    display: none;
  }
  .smallName {
    font-size: 12px;
    bottom: -12px;
  }
  .hoverText1,
  .hoverText2,
  .hoverText3 {
    font-size: 11px;
    line-height: 14px;
  }
  .foodBtn {
    margin: 0 auto;
    min-width: 280px;
  }
  .foodBtn h4 {
    font-size: 17px;
  }
  .boardList li {
    font-size: 15px;
  }
  .wellnessIcons img {
    width: 20%;
  }
  .articleCart {
    max-width: 100%;
    max-height: 100%;
  }
  .articleContent a img {
    width: 14%;
    height: auto;
    margin: 5px;
  }
}
/* Mobilní styl */
@media (max-width: 576px) {
  .smallGone {
    display: none;
  }
  .smallShow {
    display: block;
  }
  .rooms .col-4 {
    flex: 0 0 100%;
    max-width: 60%;
    margin: 0 auto;
    margin-bottom: 10px;
  }
  .rooms img {
    border-radius: 20px;
  }
  .smallName {
    font-size: 20px;
    bottom: -12px;
  }
  .leftRoom,
  .centerRoom,
  .rightRoom {
    max-width: 99%;
    padding-left: 2px;
  }
  .leftRoom {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-right: none;
  }

  .centerRoom {
    border-left: 2.3px solid #fff;
    border-right: 2.3px solid #fff;
  }
  .rightRoom {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-left: none;
  }
  .rooms .row {
    border: none;
    border-radius: 0;
  }
  .hoverText1,
  .hoverText2,
  .hoverText3 {
    border-radius: 20px;
    border: none;
    font-size: 14px;
  }

  .boardList li {
    min-width: 250px;
    font-size: 20px;
  }

  .area h1 {
    font-size: 32px;
  }
  .navLinks {
    text-align: center;
  }

  .wellnessIcons .phone {
    margin-bottom: 25px;
  }
  .articleCart {
    background: linear-gradient(180deg, #a5d2fc, #d0e7fb, #a5d2fc, #d0e7fb);
    border-radius: 15px;
    max-width: 100%;
    max-height: 100%;
  }
}