oazaSrdceWeb / css / companies.css
companies.css
Raw
@font-face {
  font-family: "Faculty";
  src: url("font/FacultyGlyphic-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
.spacer {
  height: 100px;
}
.spacer2 {
  height: 70px;
}
.spacer3 {
  height: 5px;
}
.spacer3-5 {
  height: 10px;
}
.spacer4 {
  height: 20px;
}
.spacer50 {
  height: 50px;
}

.heading1 {
  font-size: 65px;
  font-family: "Faculty", sans-serif;
  font-weight: 400;
  margin: 15px;
  text-align: center;
}
/*
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
-----
*/

/*
TOP SECTION
*/

.top img {
  width: 100%;
  height: 100%;
  border-bottom: 10px solid #a5d2fc;
}
/*
TOP SECTION END
-----
*/

/*
INTRO SECTION
*/
.intro p {
  font-size: 35px;
  padding: 20px;
  background: linear-gradient(180deg, #a5d2fc, #d0e7fb, #a5d2fc, #d0e7fb);
  border-radius: 15px;
  max-width: 650px;
  margin: 0 auto;
}

.intro h5 {
  font-size: 36px;
  font-weight: 400;
  font-family: "Faculty", sans-serif;
}

.intro .numbers {
  font-size: 85px;
  padding: 10px;
  font-weight: 400;
  font-family: "Faculty", sans-serif;
  margin-top: 15px;
}
/*
INTRO SECTION END
-----
*/

/*
RENTCARDS SECTION
*/
.rentCards {
  background: linear-gradient(180deg, #a5d2fc, #d0e7fb, #a5d2fc, #d0e7fb);
}
.bg-card {
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.4);
}
.cardR {
  background-color: transparent;
}

.topRentPhoto {
  position: relative;
  width: 100%;
  margin-top: 5px;
  margin-bottom: 10px;
  z-index: 2;
}
.topFrame {
  position: absolute;
  width: 102%;
  height: 100%;
  background: linear-gradient(180deg, #a5d2fc, #fff, #a5d2fc, #fff, #a5d2fc);
  border-radius: 5px;
  z-index: -1;
  top: 0;
  left: 0;
  margin: 0 -1%;
}

.topRentPhoto img {
  max-height: 355px;
  height: auto;
  border-radius: 5px;
}

.botRentPhoto {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-height: 82px;
}

.botRentPhoto img {
  width: calc(
    33.33% - 10px
  ); /* Upraví šířku pro tři obrázky v řadě s mezerou mezi nimi */
  min-height: 100px;
  margin: 0 5px;
  border-radius: 5px;
}

.botRentPhotoSchool {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-height: 82px;
}

.botRentPhotoSchool img {
  width: calc(
    25% - 10px
  ); /* Upraví šířku pro čtyři obrázky v řadě s mezerou mezi nimi */
  min-height: 100px;
  margin: 0 5px;
  border-radius: 5px;
}

.cardR h2 {
  font-size: 48px;
  font-family: "Faculty", sans-serif;
}
.cardR p {
  font-size: 25px;
  font-weight: 500;
  font-family: "Faculty", sans-serif;
}
.cardR h5 {
  font-size: 29px;
  font-weight: 500;
  font-family: "Faculty", sans-serif;
  margin-top: 15px;
  margin-bottom: 0;
}

.cardR .number2 {
  font-size: 43px;
  font-weight: 400;
  font-family: "Faculty", sans-serif;
}
/*
RENTCARDS SECTION END
-----
*/

/*
ADDITIONALS SECTION 

*/

.blockA {
  background: linear-gradient(180deg, #a5d2fc, #d0e7fb, #a5d2fc, #d0e7fb);
  border-radius: 20px;
}
.additional img {
  width: 220px;
  height: 220px;
}

.additional h2 {
  font-size: 40px;
  font-family: "Faculty", sans-serif;
}
/*
ADDITIONALS SECTION END
-----
*/

/*
CONTACT SECTION 
*/

.imgContact img {
  position: relative;
  width: 185px;
  height: 185px;
  border-radius: 50%;
  z-index: 2;
}
.contactR h4 {
  font-size: 30px;
  color: #0071bc;
}
.contactR h5 {
  font-size: 24px;
}

.contactR p {
  font-size: 18px;
}
.imgContact {
  position: relative;
}
.borderImgContact {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Vycentruje rámeček obrázku */
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: linear-gradient(
    180deg,
    #a5d2fc,
    #d0e7fb,
    #a5d2fc,
    #d0e7fb,
    #a5d2fc
  );
  z-index: 1;
}

.contactForm h4 {
  font-size: 29px;
  font-weight: 500;
  font-family: "Faculty", sans-serif;
  margin-top: 15px;
  margin-left: 15px;
  margin-bottom: 5px;
}
form {
  background: linear-gradient(180deg, #a5d2fc, #d0e7fb, #a5d2fc, #d0e7fb);
  padding: 20px;
  width: 95%;
  border-radius: 20px;
}

form input {
  padding: 5px 25px;
  border-radius: 15px;
  width: 45%;
  margin: 10px 10px;
  border: none;
  background-color: white;
  color: black;
}
form textarea {
  width: 95%;
  padding: 10px 15px;
  border-radius: 15px;
  margin: 10px 10px;
  border: none;
  background-color: white;
  color: black;
}
.submit-wrapper {
  display: flex;
  justify-content: flex-end;
}
/*
CONTACT 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) {
  .photoPart .topRentPhoto img {
    max-width: 420px;
  }
  .photoPart .topRentPhoto .topFrame {
    width: 98%;
    top: 0;
    left: 8px;
  }
  .lg-card h2 {
    font-size: 40px;
  }
  .lg-card p {
    font-size: 20px;
  }
  #form input[type="text"],
  input[type="email"],
  input[type="tel"] {
    max-width: 170px;
  }
  .heading1 {
    font-size: 60px;
  }
  .blockA h2 {
    font-size: 32px;
  }
  .blockA img {
    width: 180px;
    height: 180px;
  }
}
/* Větší tablet & menší tablet */
@media (min-width: 768px) and (max-width: 992px) {
  .hideTablet {
    display: none;
  }
  .photoPart .topRentPhoto img {
    max-width: 320px;
  }
  .photoPart .topRentPhoto .topFrame {
    width: 100%;
    top: 0;
    left: 5px;
  }
  .lg-card h2 {
    margin-top: 5px;
    font-size: 36px;
  }
  .lg-card p {
    font-size: 18px;
  }
  #form input[type="text"],
  input[type="email"],
  input[type="tel"] {
    min-width: 260px;
  }
  .heading1 {
    font-size: 54px;
  }
  .blockA h2 {
    font-size: 28px;
  }
  .blockA img {
    width: 160px;
    height: 160px;
  }
}
/* Tablet & mobil */
@media (min-width: 576px) and (max-width: 768px) {
  .hideSmTablet {
    display: none;
  }
  .showSmTablet {
    display: block;
  }
  #form {
    margin: 0 auto;
  }
}

/* Mobilní styl */
@media (max-width: 576px) {
  .smallGone {
    display: none;
  }
  .smallShow {
    display: block;
  }
  .heading1 {
    font-size: 50px;
  }
  .heading1 {
    font-size: 42px;
  }
  .blockA h2 {
    font-size: 22px;
  }
  .blockA img {
    width: 150px;
    height: 150px;
  }

  .contactForm input {
    width: 100%;
  }
  .contactForm input[type="submit"] {
    width: 40%;
  }
}