/*
SPACING SYSTEM (px)
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128

FONT SIZE SYSTEM (px)
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98
*/
/* colors 
main color #087f5b
grey color #495057
button #12b886

*/
html {
  scroll-behavior: smooth;
}
 
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ------------------------ */
/* GENERAL STYLES */
/* ------------------------ */
body {
  font-family: 'Source Serif 4', sans-serif;
  color: #495057;
  border-bottom: 8px solid #087f5b;
  background-color: rgba(241, 241, 239, 0.568);
}
/* Parallax */

#parallax {
  background: url("./img/sistars_16.jpg") repeat fixed 100%;
  background-size: cover;
  width: 100%;
  height: 100%;
  text-align: center;
}
.parallax-inner {
  padding-top: 40%;
  padding-bottom: 30%;
}
.para {
  display: inline;
  text-align: center;
  font-size: 64px;
  line-height: 1.1;
  letter-spacing: 1.5;
  color: #087f5b;
  background-color: rgba(241, 241, 239, 0.868);
  box-shadow: #495057;
  padding: 5px 50px;
}
/* End of Parallax */

/* === NAVBAR MAIN STRUCTURE === */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(241, 241, 239, 0.95);
  backdrop-filter: blur(6px);
}

#header .nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1300px;
  margin: 0 auto;
  padding: 10px 20px;
  height: 70px;
}

/* Brand po lewej */
#header .brand a {
  font-size: 1.8rem;
  text-decoration: none;
  color: #087f5b;
  font-weight: 600;
}

/* Sekcja z menu i kontrolkami po prawej */
#header .nav-list {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 20px;
}

/* MENU */
#header .nav-list ul {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  margin-left: auto;
}

#header .nav-list ul li a {
  text-decoration: none;
  color: #087f5b;
  font-weight: 500;
  font-size: clamp(0.8rem, 1.5vw, 1.1rem); /* płynna zmiana rozmiaru */
  white-space: nowrap;
  transition: color 0.2s ease;
}

#header .nav-list ul li a:hover {
  color: #12b886;
}
/* języki i hamburger po prawej */
#header .nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  flex-shrink: 0;
}


/* Hamburger — po prawej stronie menu */
#header .hamburger {
  height: 45px;
  width: 45px;
  border: 2px solid #087f5b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  z-index: 10;
  flex-shrink: 0;
}

#header .hamburger::after {
  content: '';
  position: absolute;
  height: 100%;
  width: 100%;
  border-radius: 50%;
  border: 2px solid #087f5b;
  animation: hamburger_pulse 1s ease infinite;
}

#header .hamburger .bar {
  height: 2px;
  width: 25px;
  background-color: #087f5b;
  position: relative;
}

#header .hamburger .bar::before,
#header .hamburger .bar::after {
  content: '';
  position: absolute;
  height: 2px;
  width: 24px;
  background-color: #087f5b;
  transition: 0.3s ease;
}

#header .hamburger .bar::before {
  bottom: 6px;
}

#header .hamburger .bar::after {
  top: 6px;
}

#header .hamburger.active .bar {
  background-color: transparent;
}

#header .hamburger.active .bar::before {
  bottom: 0;
  transform: rotate(45deg);
}

#header .hamburger.active .bar::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Dropdown języków — na samym końcu po prawej */
.lang-dropdown {
  margin-left: 10px;
  flex-shrink: 0;
}

.lang-dropdown select {
  font-size: 0.9rem;
  padding: 4px 6px;
  border-radius: 6px;
  border: 1px solid #ccc;
  background-color: #f8f8f8;
  color: #087f5b;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-dropdown select:hover {
  background-color: #e9ecef;
}

/* === RESPONSYWNOŚĆ === */

/* mobile view – hamburger pokazuje menu */
@media (max-width: 880px) {
  #header .nav-list ul {
    position: absolute;
    top: 0;
    left: 100%;
    width: 100vw;
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    background-color: rgba(241, 241, 239, 0.97);
    transition: 0.5s ease left;
  }
  #header .nav-list ul.active {
    left: 0;
  }
  #header .nav-list ul li a {
    font-size: 1.8rem;
  }
  .lang-dropdown select {
    font-size: 0.85rem;
    padding: 4px 6px;
  }
}
/* desktop – hamburger znika */
@media (min-width: 881px) {
  #header .hamburger {
    display: none;
  }
}
.container {
  width: 100%;
  margin: 0 auto;
}
h2 {
  color: #087f5b;
  text-align: center;
  margin-bottom: 48px;
  margin-left: 40px;
  margin-top: 40px;
  /* 24 30 36 */
  font-size: 50px;
  letter-spacing: -0.5px;
  opacity: 0.9;
}





/* ------------------------ */
/* COMPONENT STYLES */
/* ------------------------ */
.btn:link,
.btn:visited {
  background-color: #087f5b;
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  display: inline-block;
  font-weight: 500;
  letter-spacing: 3px;
}
.btn:hover,
.btn:active {
  background-color: #12b886;
}

.btn--small {
  font-size: 14px;
  padding: 8px 16px;
}

/*socials*/

.icon-bar {
  position: fixed;
  top: 25%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

/* Style the icon bar links */
.icon-bar a {
  display: block;
  text-align: center;
  padding: 12px;
  transition: all 0.3s ease;
  color: #087f5b;
  font-size: 20px;
}

/* Style the social media icons with color */
.icon-bar a:hover {
  background-color: #12b886;
}

.facebook {
  border: 2px solid #087f5b;
  border-bottom: 1px solid #087f5b;
  color: white;
}

.instagram {
  border: 2px solid #087f5b;
  border-top: 1px solid #087f5b;
  color: white;
}
.youtube {
  border: 2px solid #087f5b;
  border-top: 1px solid #087f5b;
  color: white;
}

  /*socials*/


/* HEADER */

.main-header {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 80px;
  padding-top: 40px;
  text-align: center;
}
.main-header-text-box {
  margin: 40px;
  align-self: center;
}

.main-header-h1 {
  margin-bottom: 24px;
  font-size: 50px;
  /* 44 / 52 / 62 */
  line-height: 1.1;
  letter-spacing: 1.5;
  color: #087f5b;
  /*-webkit-text-stroke: 2px #087f5b;
  text-transform: uppercase;*/
}
.sub {
  padding-top: 20px;
  font-size: 20px;
  letter-spacing: 1.5;
}
.main-header-text {
  width: 100%;
  margin-bottom: 18px;
  margin-top: 40px;
  font-size: 20px;
  line-height: 1.6;
}

.main-header-img-1 {
  width: 100%;
  padding: 40px;
  display: block;
  border-radius: 55px;
}
.btn--big {
  font-size: 18px;
  padding: 14px 30px;
  margin-top: 30px;
}

/* OFFER */
.offer-main {
  padding: 50px 50px;
  width: 100%;
  margin: auto;
  background-color: #087f5b;
  color: #fff;
}
.offer-header-h1 {
  text-align: center;
  padding-top: 50px;
  padding-bottom: 50px;
  font-size: 50px;
  /* 44 / 52 / 62 */
  line-height: 1.1;
  letter-spacing: 1.5;
}
.offer-text {
  display: flex;
  justify-content: space-around;
  column-gap: 50px;
  flex-wrap: wrap;
}
.offer-text-box1 {
  width: 450px;
}
.offer-text-box2 {
  width: 400px;
  padding-bottom: 50px;
}
.arrow-down {
  color: #fff;
  font-size: 35px;
}
.sub2 {
  font-size: 32px;
}
.main-header-text-offer {
  opacity: 1;
  transition: all 1s;
  color: #D4E3DD;
  padding-top: 35px;
  font-size: 30px;
  line-height: 2;
  letter-spacing: 2;
}
.main-header-text-offer2 {
  color: #D4E3DD;
  padding-top: 50px;
  font-size: 24px;
  letter-spacing: 2;
  line-height: 2;
}
.show {
opacity: 1;
}
/* END OF OFFER */

/* FEATURES */
#school {
  background-color: white;
  padding-top: 60px;
  padding-bottom: 100px;
}
.school-h2 {
  width: 90%;
  margin: auto;
  padding-top: 15px;
  padding-bottom: 24px;
  font-size: 50px;
  /* 44 / 52 / 62 */
  line-height: 1.1;
  letter-spacing: 1.5;
  color: #087f5b;
}
.grid-3-cols {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    column-gap: 10px;
  }
.feature {
  padding-top: 30px;
  padding-left: 20px;
  width: 360px;
}
.features-icon {
  text-align: center;
  margin-bottom: 24px;
  margin-top: 40px;
}

.features-title {
  text-align: center;
  margin-bottom: 24px;
  font-size: 24px;
}

.features-text {
  width: 90%;
  text-align: justify;
  font-size: 18px;
  line-height: 1.7;
}

/* Projects Section */
#news {
  padding-top: 50px;
  
  }
  .news1 {
  display: flex;
  flex-direction: column;
  padding-bottom: 50px;
  }
  .news2 {
  display: flex;
  flex-direction: column;
  padding-top: 20px;
  padding-bottom: 50px;
  }
  .news3 {
  display: flex;
  flex-direction: column;
  padding-top: 20px;
  padding-bottom: 50px;
  }
  .news-h2 {
  width: 90%;
  margin: auto;
  padding-top: 15px;
  padding-bottom: 44px;
  font-size: 50px;
  /* 44 / 52 / 62 */
  line-height: 1.1;
  letter-spacing: 1.5;
  color: #087f5b;
  }
  .news-column-header {
    text-align: center;
    font-size: 34px;
    color: #087f5b;
    padding-bottom: 30px;
  }
  .news-text {
    width: 50%;
    text-align: justify;
    margin: auto;
    padding-bottom: 30px;
    line-height: 1.8;
    letter-spacing: 1.5;
  }
  .drama-details {
    text-align: center;
    line-height: 1.8;
    letter-spacing: 1.5;
    padding-bottom: 40px;
  }
  .news-img {
    margin: auto;
    width: 30%;
  }
  .news-hr {
    width: 80%;
    margin: auto;
  }
  .material-drama {
    width: 90%;
    margin: auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }
  .material-euroweek {
    width: 90%;
    margin: auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }
  .euroweek-posters {
    width: 90%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
  }
  .euroweek-poster {
    scale: 0.8;
    width: 50%;
    margin: auto;
    display: flex;
    justify-content: center;
    padding: 10px;
  }
  iframe {
    padding-bottom: 20px;
    padding-right: 20px;
  }
  .news-camps {
    text-align: center;
    margin: 50px auto;
    max-width: 900px;
  }
  
  .news-camps h2 {
    font-size: 2em;
    margin-bottom: 30px;
    color: var(--accent-color);
  }
  
  .news-camps .camp-item {
    margin-bottom: 40px;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    background: #fff;
  }
  
  .news-camps .camp-item h3 {
    font-size: 1.4em;
    margin-bottom: 15px;
    color: var(--text-color);
  }
  
  .news-camps .camp-item p {
    font-size: 1em;
    line-height: 1.6;
    color: #333;
  }
  /* ===== LAST CALL FOR MATURA ===== */
.last-matura {
  margin-bottom: 80px;
  /* center content and keep consistent side margins with other sections */
  width: 90%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.last-matura-content {
  display: flex;
  gap: 50px;
  align-items: center;
}

.last-matura-text {
  flex: 1;
}

.last-matura-text h3 {
  font-size: 2.4rem;
  margin-bottom: 15px;
}

.last-matura-text p {
  font-size: 1.05rem;
  line-height: 1.5;
  margin-bottom: 18px;
}

.last-matura-image {
  flex: 1;
}

.last-matura-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}


.payment-info {
  margin-top: 12px;
  padding: 12px;
  background: linear-gradient(180deg, rgba(4,97,68,0.03), rgba(255,255,255,0.02));
  border-radius: 8px;
  font-size: 0.95rem;
  color: #333;
  max-width: 100%;
}

.payment-info h4 {
  margin: 0 0 8px 0;
  color: #087f5b;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}

.payment-info p { 
  margin: 0;
  line-height: 1.5;
}

/* FORMULARZ */
.matura-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 520px;
  font-size: 1.05rem; /* smaller base font for the form */
}

.matura-form fieldset {
  border: 1px solid #e9ecef;
  padding: 14px;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.matura-form legend {
  font-weight: 700;
  font-size: 1rem; /* smaller legend */
  color: #087f5b;
  padding: 0 6px;
}

.matura-form label {
  display: block;
  margin-bottom: 6px;
  font-size: 1.05rem; /* reduced label size */
  color: #333;
}

.matura-form input[type="text"],
.matura-form input[type="email"],
.matura-form input[type="tel"] {
  width: 100%;
  box-sizing: border-box;
  font-size: 1.05rem; /* smaller input text */
  padding: 10px 12px;
}

.payment-options label {
  display: block;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.payment-options input[type="checkbox"] {
  margin-right: 8px;
  transform: translateY(1px);
}

.matura-form input {
  padding: 12px 14px;
  font-size: 1.4rem;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.matura-form input:focus {
  outline: none;
  border-color: #1abc9c;
}

/* przycisk – używa stylu strony */
.btn-primary {
  margin-top: 10px;
  padding: 12px 24px;
  background-color: #1abc9c;
  color: #fff;
  border: none;
  border-radius: 30px;
  font-size: 1.4rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background-color: #17a589;
}

/* RESPONSYWNOŚĆ */
@media (max-width: 900px) {
  .last-matura-content {
    flex-direction: column;
  }

  .last-matura-image {
    order: -1;
  }
  .matura-form {
    max-width: 100%;
    padding: 0 8px;
  }
}
  
/* End of Projects Section */


/* Parallax 2 */

#parallax2 {
  background: url("./img/pexels-pixabay-159711.jpg") repeat fixed 100%;
  background-size: cover;
  width: 100%;
  height: 100%;
  text-align: center;
}
.parallax-inner2 {
  padding-top: 30%;
  padding-bottom: 30%;
}
.para2 {
  display: inline;
  text-align: center;
  font-size: 74px;
  line-height: 1.1;
  letter-spacing: 1.5;
  color: #087f5b;
  background-color: rgba(241, 241, 239, 0.868);
  box-shadow: #495057;
  padding: 5px 50px;
}

/* End of Parallax 2 */


/*         */
/* CARDS */
/*         */

.card-container {
  padding-top: 80px;
  padding-bottom: 80px;
}
.siostry {
  margin-bottom: 24px;
  font-size: 52px;
  /* 44 / 52 / 62 */
  line-height: 1.1;
  letter-spacing: 1.5;
  color: #087f5b;
  text-align: center;
  padding-bottom: 30px;
}
.cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.card-h2 {
  color: #D4E3DD;
  font-size: 45px;
  margin: 10px;
  padding: 10px;
}
.card {
  background: #087f5b;
  width: 370px;
  min-height: 600px;
  height: fit-content;
  margin: 10px;
  border-radius: 15px;
  transition: all 1s;
}
.card1 {
  background: #087f5b;
  width: 370px;
  min-height: 600px;
  height: fit-content;
  margin: 10px;
  border-radius: 15px;
  transition: all 1s;
}
.card2 {
  background: #087f5b;
  width: 370px;
  min-height: 600px;
  height: fit-content;
  margin: 10px;
  border-radius: 15px;
  transition: all 1s;
}
.card-image {
  height: 270px;
  margin-bottom: 15px;
  width: 100%;
  object-fit: cover;
  border-radius: 15px 15px;
}
.card-text {
  border-radius: 15px 15px;
}
.card-p {
  font-size: 18px;
  color: #D4E3DD;
  line-height: 1.8;
  text-align: justify;
  padding: 10px;
}
.card-p1 {
  font-size: 18px;
  color: #D4E3DD;
  line-height: 1.8;
  text-align: justify;
  padding: 10px;
}
.card-p2 {
  font-size: 18px;
  color: #D4E3DD;
  line-height: 1.8;
  text-align: justify;
  padding: 10px;
}
/* hidden full-text paragraphs for the cards (expanded content) */
.card-p-more {
  font-size: 18px;
  color: #D4E3DD;
  line-height: 1.8;
  text-align: justify;
  padding: 10px;
  margin: 0 0 20px 0; /* match spacing of other card content */
  display: block;
  box-sizing: border-box;
}
.card-btn {
  font-size: 18px;
  text-decoration: none;
  background-color: #087f5b;
  color: #D4E3DD;
  padding: 10px 20px;
  display: block;
  text-align: center;
  margin: 20px 50px;
  border: 2px solid #D4E3DD;
  border-radius: 10px;
}
.card-btn-new {
  font-size: 18px;
  text-decoration: none;
  background-color: #087f5b;
  color: #D4E3DD;
  padding: 10px 20px;
  display: block;
  text-align: center;
  margin: 20px 50px;
  border: 2px solid #D4E3DD;
  border-radius: 10px;
  cursor: pointer;
}
#myBtn {
  font-size: 18px;
  text-decoration: none;
  background-color: #087f5b;
  color: #D4E3DD;
  padding: 10px 20px;
  display: block;
  text-align: center;
  margin: 20px 110px;
  border: 2px solid #D4E3DD;
  border-radius: 10px;
  cursor: pointer;
}
#myBtn1 {
  font-size: 18px;
  text-decoration: none;
  background-color: #087f5b;
  color: #D4E3DD;
  padding: 10px 20px;
  display: block;
  text-align: center;
  margin: 20px 110px;
  border: 2px solid #D4E3DD;
  border-radius: 10px;
  cursor: pointer;
}
#myBtn2 {
  font-size: 18px;
  text-decoration: none;
  background-color: #087f5b;
  color: #D4E3DD;
  padding: 10px 20px;
  display: block;
  text-align: center;
  margin: 20px 110px;
  border: 2px solid #D4E3DD;
  border-radius: 10px;
  cursor: pointer;
}
.card:hover{
  transform: scale(1.03);
}
.card1:hover{
  transform: scale(1.03);
}
.card2:hover{
  transform: scale(1.03);
}
#more {
  display: none;
}
#more1 {
  display: none;
}
#more2 {
  display: none;
}

#myBtn:hover {
  background-color: #12b886;
}

.card-p .more .moreText {
  display: inline;
}
.card-p1 .more1 .moreText1 {
  display: inline;
}
.card-p2 .more2 .moreText2 {
  display: inline;
}

/* End of cards */

/* Parallax 3 */

#parallax3 {
  background: url("./img/aiimage1.jpg") repeat fixed 100%;
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 100%;
  text-align: center;
}
.parallax-inner3 {
  padding-top: 30%;
  padding-bottom: 30%;
}
.para3 {
  display: inline;
  text-align: center;
  font-size: 74px;
  line-height: 1.1;
  letter-spacing: 1.5;
  color: #087f5b;
  background-color: rgba(241, 241, 239, 0.868);
  box-shadow: #495057;
  padding: 5px 50px;
}

/* End of Parallax 3 */


/*         */
/* GALLERY */
/*         */
#gallery {
  padding-top: 50px;
  padding-bottom: 80px;
}
.gallery-h1 {
  color: #087f5b;
  padding-top: 60px;
  margin-bottom: 30px;
  text-align: center;
  margin: auto;
  /* 24 30 36 */
  font-size: 62px;
  letter-spacing: -0.5px;
}
/* Slideshow container */
.slideshow-container {
  display: flex;
  align-items: center;
  max-width: 900px;
  max-height: 600px;
  overflow: hidden;
  object-fit: contain;
  position: relative;
  margin: auto;
}
.gallery-image {
  width: 100%;
  height: 100vh;
  object-fit: scale-down;
}
/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev, .next {
  background-color: rgba(0,0,0,0.1);
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  background-color: rgba(0,0,0,.5);
  font-size: 25px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 20px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}
/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}
@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* koniec galerii */

/* Contact section */

#contact {
  padding-top: 20vh;
  margin-bottom: 20vh;
}
#contact .contact-section-title {
  color: #087f5b;
  text-align: center;
  margin: auto;
  /* 24 30 36 */
  font-size: 62px;
  letter-spacing: -0.5px;
  opacity: 0.9;
}
#contact .contact-container {
  display: flex;
  flex-direction: column;
}
#contact .contact-items {
  margin: 50px auto;
  width: 50% auto;
}
#contact .section-title {
  text-align: center;
}
#contact .contact-item {
  width: 500px;
  padding: 10px;
  text-align: center;
  border-radius: 10px;
  margin: 0 auto;
  
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  box-shadow: 0px 0px 18px 0 #0000002c;
  transition: .3s ease box-shadow;
}
#contact .h3-contact {
  font-size: 32px;
  color: #087f5b;
}
#contact .h3-hover {
  text-decoration: none;
  color: #495057;
}
#contact .h3-hover:hover {
  color: #12b886;
  cursor: grab;
}
#contact .contact-item:hover {
box-shadow: 0px 0px 5px 0 #0000002c;
}

#contact .socialicons {
  display: flex;
}
#contact .iconface {
  margin-right: 20px;
  width: 60px;
  margin-bottom: 10px;
}
#contact .iconinsta {
  margin-bottom: 10px;
}
#contact .iconface img {
  filter: grayscale(1);
  transition: .3s ease filter;
}
#contact .iconface:hover img {
  filter: grayscale(0);
}
#contact .iconinsta img {
  filter: grayscale(1);
  transition: .3s ease filter;
}
#contact .iconinsta:hover img {
  filter: grayscale(0);
}
#contact .contact-info h1 {
  font-size: 2.5rem;
  font-weight: 500;
  margin-bottom: 5px;
}
#contact .contact-info h2 {
  font-size: 1.3rem;
  line-height: 2rem;
  font-weight: 500;
} 
.map {
  width: 90%;
  margin: auto;
  padding-top: 40px;
}

/* End of contact section */


/* Footer */

#footer {
  background-color: #087f5b;
}
#footer .footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 80px;
  padding-top: 10px;
}
#footer h1 {
  margin-top: 5vh;
  color: #D4E3DD;
  font-size: 54px;
}
#footer .footer h2 {
  padding-top: 50px;
  padding-bottom: 50px;
  color: #D4E3DD;
  font-weight: 500;
  font-size: 1.8rem;
  letter-spacing: .1rem;
  margin: auto;
}
#footer p{
  color: #D4E3DD;
  font-size: 1.1rem;
}
.footer-socials {
  display: flex;
  flex-direction: row;
}
.facebook1 {
  cursor: pointer;
  font-size: 40px;
  color: #D4E3DD;
  padding-right: 15px;
}
.instagram1 {
  cursor: pointer;
  font-size: 40px;
  color: #D4E3DD;
  padding-left: 15px;
}
.youtube1 {
  cursor: pointer;
  font-size: 40px;
  color: #D4E3DD;
  padding-left: 15px;
}
/* End of footer */


/* Popup */

.popup-overlay {
  background-color: rgba(0, 0, 0, 0.4);
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 100%;
  opacity: 1;
  transition: all 700ms ease;
}
.popup-overlay.active {
  display: none;
}
.popup-container {
  position: relative;
  left: 0;
  width: auto;
  max-width: 95vw;
  max-height: 95vh;
  height: auto;
  padding: 8px;
  box-sizing: border-box;
}
.camp-1 {
  width: 100%;
  height: 100%;
}
.camp-2 {
  display: block;
  margin: 0 auto;
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
}
.popup-container .skip-button {
  position: absolute;
  top: 4px;
  right: 35%; background: transparent;
  padding: 2px 6px;
  font-size: 14px;
  cursor: pointer;
  color:#f2f2f2;
}

.popup-poster-wrapper {
  position: relative;
  display: inline-block;
}

.popup-poster-wrapper .popup-close {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  font-size: 28px;
  line-height: 1;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  z-index: 10001;
}

.popup-overlay { z-index: 10000; display: flex; justify-content: center; align-items: center; }


/* End of Popup */


/*
@media screen and (min-width:992px) {
  .container {
    width: 100%;
  }
}
@media screen and (max-width:991.98px) {
  .container {
    width: 100%;
  }
} */

@media screen and (max-width: 880px) {
  #parallax .parallax-inner .para {
    font-size: 48px;
  }
  #parallax2 .parallax-inner2 .para2 {
    font-size: 48px;
  }
  #main-header .main-header .main-header-text-box .main-header-h1 {
    font-size: 40px;
  }
  .school-h2 {
    font-size: 40px;
  }
  .news-h2 {
    font-size: 40px;
  }
  #contact .contact-section-title {
    font-size: 50px;
  }
  #contact .contact-container {
    flex-direction: column;
  }
  #main-header .main-header-img-1 {
    display: none;
  }
  #main-header .main-header {
    display: block;
  }
  #main-header .btn--big {
    font-size: 16px;
    padding: 14px 28px;
    margin-top: 30px;
    margin-bottom: 60px;
  }
  .news-text {
    width: 75%;
  }
  .popup-container {
    width: 80%;
  }
  .text {
    margin-bottom: 40px;
  }
  #header .nav-list ul {
    position: absolute;
    top: 0;
    left: 100%;
    width: 100vw;
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    background-color: rgba(241, 241, 239, 0.97);
    transition: 0.5s ease left;
  }
  #header .nav-list ul.active {
    left: 0;
  }
  #header .nav-list ul li a {
    font-size: 1.8rem;
  }
}


@media screen and (max-width: 550px) {
  #main-header .main-header {
    padding-top: 100px;
  }
  #parallax {
    display: none;
  }
  #parallax2 {
    display: none;
  }
  #parallax3 {
    display: none;
  }
  #facebook {
    display: none;
  }
  #contact .contact-item {
    width: 100%;
  }
  #contact .iconface img {
    filter: grayscale(0);
  }
  #contact .iconinsta img {
    filter: grayscale(0);
  }
  .icon-bar a {
    font-size: 16px;
    padding: 12px;
  }
  .news-text {
    width: 90%;
  }
  .main-header-text-offer {
    font-size: 24px;
  }
  .main-header-text-offer2 {
    font-size: 18px;
  }
  .offer-header-h1 {
    font-size: 36px;
  }
  .popup-container {
    width: 90%;
  }
  .text {
    margin-bottom: 50px;
  }
}
@media only screen and (min-width : 768px) {
  #header .nav-list ul.active {
          left: 20%;
      }
  }
  
  @media (min-width: 881px) {
    #header .hamburger {
      display: none;
    }
  }
  

/* Responsive layout - makes a two column-layout instead of four columns 
@media screen and (max-width: 800px) {
  .column {
    flex: 50%;
    max-width: 50%;
  }
} */

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other
@media screen and (max-width: 600px) {
  .column {
    flex: 100%;
    max-width: 100%;
  }
} */
