body {
  font-family: "Lato", sans-serif;
  color: #333456;
}

a {
  text-decoration: none;
}

section {
  padding: 75px 0;
  scroll-margin-top: 0px;
}

.flex-start-center {
  display: flex;
  justify-content: start;
  align-items: center;
  height: 100%;
}

.flex-end-center {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 100%;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

/* Navbar */
#nav {
  padding: 0;
}
.navbar-brand img {
  height: 125px;
}
.navbar-light .navbar-nav .nav-link {
  color: #333456;
  font-size: 24px;
  margin-right: 20px;
  padding: 0;
  text-align: center;
}

.navbar-light .navbar-nav .nav-link:last-child {
  margin-right: 0;
}

.thumbnail-box {
  aspect-ratio: 16/9;
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 15px;
  margin-bottom: 20px;
}

.thumbnail-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.thumbnail-box:hover img {
  transform: scale(1.05);
}

.single-thumbnail {
  max-width: 800px;
  margin: 0 auto;
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
  border-radius: 15px;
}

.single-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.dropdown-menu {
  background: #c59035;
  border-radius: 15px;
  padding: 0;
}

.dropdown-menu .dropdown-item {
  color: #fff;
  font-size: 18px;
  padding: 10px 20px;
  transition: all 0.3s ease;
  border-radius: 15px;
  text-align: center;
}

.dropdown-menu .dropdown-item:hover {
  background: #333456;
  color: #fff;
}

/* hero */
#hero {
  padding: 0;
  position: relative;
}

.hero-info {
  position: absolute;
  background: linear-gradient(
    90deg,
    rgba(51, 52, 86, 0.75) 0%,
    rgba(1, 2, 2, 0) 75%
  );
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  color: #fff !important;
}

.hero-content {
  font-size: 24px;
  margin-bottom: 40px;
}

/* text */
.title {
  font-size: 64px;
  margin-bottom: 40px;
}

.content {
  font-size: 20px;
  text-align: justify;
  line-height: 35px;
  margin-bottom: 40px;
}

.button {
  width: 400px;
  height: 75px;
  text-align: center;
  background: #c59035;
  border-radius: 15px;
  color: #fff;
  font-size: 28px;
  transition: all 0.3s ease;
}

.button-plan {
  width: 135px;
  height: 50px;
  text-align: center;
  background: #c59035;
  border-radius: 15px;
  color: #fff;
  font-size: 24px;
  transition: all 0.3s ease;
  display: inline-block;
  margin: 10px;
}

.button:hover {
  background: #333456;
}

.subtitle {
  font-size: 48px;
  margin-bottom: 40px;
}

.table-gold-purple {
  --bs-table-bg: #333456;
  --bs-table-striped-bg: #c59035;
  --bs-table-striped-color: #fff;
  --bs-table-active-bg: #c59035;
  --bs-table-active-color: #fff;
  --bs-table-hover-bg: #333456;
  --bs-table-hover-color: #fff;
  color: #fff;
}

/* docs */
.doc {
  height: 196px;
}
.doc-box {
  background: #333456;
  width: 196px;
  height: 196px;
  float: left;
  margin-right: 25px;
  border-radius: 15px;
}

.doc-text {
  font-size: 24px;
  line-height: 30px;
}

/* news */
.news-box {
  width: 100%;
  background: #333456;
  transition: all 0.3s ease;
  aspect-ratio: 4/3;
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 15px;
  margin-bottom: 20px;
}

.news-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.news-box:hover {
  transform: scale(1.05);
}

.news-title {
  padding: 20px;
  font-size: 24px;
  min-height: 90px;
  color: #fff;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 15px;
  margin: 0;
}

/* contact */
#contact {
  background: linear-gradient(
    90deg,
    rgba(51, 52, 86, 0.95) 0%,
    rgba(197, 144, 53, 0.95) 100%
  );
  color: #fff;
}

.contact-info {
  margin-bottom: 20px;
}

/* footer */
#footer {
  background: #c59035;
  height: 50px;
  padding: 0;
}

/* podstrony */

#site {
  background: linear-gradient(270deg, #333456 0%, rgba(197, 144, 53, 0.3) 100%);
  height: 90px;
  color: #fff;
  padding: 0;
}

.school-title {
  font-size: 40px;
  margin-bottom: 40px;
}

.school-title span {
  color: #c59035;
}

.school-subtitle {
  font-size: 32px;
  margin-bottom: 30px;
}

.title-news {
  font-size: 32px;
  color: #333456;
}

.news-date {
  font-size: 14px;
  margin-bottom: 20px;
}

.news-excerpt {
  font-size: 18px;
  line-height: 30px;
  margin-bottom: 20px;
  text-align: justify;
}

.news-excerpt h2 {
  margin: 25px 0;
}

.date-box {
  width: 100%;
  height: 100px;
  color: #fff;
  font-size: 32px;
  text-align: center;
  border-radius: 15px;
}

.date-box-violet {
  background: #333456;
}

.date-box-gold {
  background: #c59035;
}

.gallery-box a img {
  border-radius: 15px;
}

@media screen and (max-width: 1399px) {
  .navbar-light .navbar-nav .nav-link {
    font-size: 20px;
  }
}

@media screen and (max-width: 1199px) {
  section {
    scroll-margin-top: 75px;
  }
  #nav {
    position: fixed;
    z-index: 9999;
    background: #fff;
    width: 100%;
  }
  .navbar-brand img {
    height: 70px;
  }

  .navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28 197, 144, 53, 1%29' stroke-linecap='round' stroke-miterlimit='5' stroke-width='3' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }

  .navbar-light .navbar-toggler {
    border-radius: 0;
    border-color: #333456;
    border-width: 2px;
  }

  .navbar-light .navbar-nav {
    padding: 10px 0;
  }

  .navbar-light .navbar-nav .nav-link {
    color: #333456;
    font-size: 24px;
    margin-right: 0px;
    padding: 3px 0;
  }
  section {
    padding: 50px 0;
  }
  #hero {
    padding-top: 96px;
  }

  .hero-content {
    font-size: 20px;
    margin-bottom: 20px;
  }

  /* text */
  .title {
    font-size: 48px;
    margin-bottom: 30px;
  }

  .content {
    font-size: 20px;
    text-align: justify;
    line-height: 35px;
    margin-bottom: 40px;
  }

  .button {
    width: 300px;
    height: 50px;
    font-size: 24px;
  }

  .b-100 {
    width: 100%;
  }

  .subtitle {
    font-size: 36px;
  }

  .news-title {
    font-size: 20px;
    min-height: 90px;
  }

  .school-title {
    font-size: 32px;
  }

  .school-subtitle {
    font-size: 24px;
  }

  .title-news {
    font-size: 28px;
  }

  .news-excerpt {
    font-size: 16px;
  }
}

@media screen and (max-width: 991px) {
  /* docs */
  .doc {
    height: 150px;
  }
  .doc-box {
    width: 150px;
    height: 150px;
    margin-right: 15px;
  }

  .doc-box img {
    width: 98px;
  }

  .doc-text {
    font-size: 18px;
    line-height: 30px;
    text-align: center;
  }

  #site {
    padding-top: 96px;
    height: auto;
  }

  .date-box {
    font-size: 28px;
  }
}

@media screen and (max-width: 767px) {
  .content {
    font-size: 16px;
    line-height: 30px;
    margin-bottom: 30px;
    text-align: left;
  }

  .school-title {
    font-size: 28px;
  }

  .school-subtitle {
    font-size: 24px;
  }
}

@media screen and (max-width: 575px) {
  .table {
    font-size: 14px;
  }
  .button-plan {
    width: 100%;
    margin: 10px 0;
  }
  /* text */
  .title {
    font-size: 36px;
    margin-bottom: 30px;
  }

  .button {
    width: 300px;
    height: 50px;
    font-size: 24px;
  }

  .b-100 {
    width: 100%;
  }

  .subtitle {
    font-size: 24px;
  }

  section {
    padding: 30px 0;
    scroll-margin-top: 100px;
  }

  .clearfix {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }

  .doc-box {
    margin-right: 0px;
    float: none;
  }

  .doc {
    margin-top: 30px;
    height: auto;
  }

  iframe {
    height: 300px;
  }

  #footer {
    height: auto;
    padding: 10px 0;
  }
  .footer-copy {
    text-align: center;
    margin-bottom: 10px;
  }

  #footer .flex-end-center {
    justify-content: center;
  }

  .school-title {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .school-subtitle {
    font-size: 20px;
  }

  .title-news {
    font-size: 24px;
  }

  .news-excerpt {
    font-size: 16px;
  }

  .date-box {
    width: 100%;
    height: 60px;
    color: #fff;
    font-size: 24px;
    text-align: center;
    border-radius: 15px;
  }
}
