@import url('body.css');
.min-section{
    min-height:790px;
}
/* Carousel */
.bgcarousel {
  background-image: url('../Images/IMG_0367-resized.jpg');
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  overflow: hidden;
}

.bg-block {
  background-color: rgba(255, 255, 255, 0.9);
  margin-top: 470px;
  padding-block: 20px;
  margin-bottom: 150px;
}

h1.font-bold {
  font-size: 80px;
}
h1, h2, .info-txt{
	color:#222121 !important;
}

/* Information */
.bg-info{
 /*  background-image: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255,255,255, 0.9)), url("Images/EY\ Extended.jpg");*/
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  background-color: transparent;
}
.bg-info-2{
  background-image:  url("../Images/IMG_0367-resized.jpg");
  background-size: cover;
  background-position: center;
  min-height: 100vh;
}
.bg-info p{
  font-size: 21px;
  line-height: 30px;
  text-align: justify;
}

.text-red p {
  color: #8d0100;
  text-align: left;
}

/* Contact */
.bg-contact{
  /* background-image: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255,255,255, 0.9)), url("Images/EY\ Extended.jpg");*/
  background-size: cover;
}

.title {
  font-family: 'D-DIN Bold';
  font-size: 65px;
  line-height: 60px;
}

.sub {
  font-size: 40px;
  color: #8d0100;
}

.custom-btn {
  background-color: #004761;
  border: none;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-block: 12px;
  text-align: left;
  text-decoration: none;
  font-size: 30px;
  border-radius: 20px;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
}

.custom-btn:hover {
  background-color: #8d0100;
  color: white;
  margin-left: 50px;
}

.custom-btn img {
  margin-right: 20px;
}

.custom-btn p {
  flex: 1;
  text-align: center;
  margin: 0;
}

@media (max-width: 1366px) {
  /* Contact */
  .col-md-7 .w-55 {
    width: 70%;
  }
}

@media (max-width: 1024px) {
  /* Carousel */
  h1.font-bold {
    font-size: 2.5rem;
  }

  /* Information */
  .bg-info {
    min-height: auto;
  }

  .text-red .info-txt{
    font-size: 20px;
  }

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

  .StuAct-2 {
    display: flex;
    align-items: start;
    justify-content: center;
    flex-direction: column;
  }
}

@media (max-width: 912px) {
  /* Navbar */
  .navbar {
    background-color: #f8f8f8;
  }

  .navbar-brand img {
    width: 120px;
  }

  .navbar .container {
    padding-bottom: 3px;
  }

  .navbar .col-auto {
    width: 100%;
  }

  .navbar .nav-item {
    font-size: 14px;
    line-height: 12px;
    margin-bottom: 10px;
  }

  .navbar-nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .search-bar {
    opacity: 1;
    border-bottom: outset;
  }

  .search-bar-container {
    width: auto;
  }

  .search {
    display: none;
  }

  .dropdown-menu {
    position: static;
    float: none;
    width: auto;
    margin-top: 10px;
  }

  .dropdown-toggle::after {
    display: inline-block;
    margin-left: 5px;
  }
}

@media (max-width: 540px) {
    .min-section{
    min-height: 810px;
    }
    
  /* Carousel */
  .bgcarousel {
    min-height: 100vh;
  }

  /* Information */
 .bg-info .container {
    padding: 0;
  }

  .cambridge {
    padding-top: 0;
    margin: auto;
    display: block;
  }

  .div-1 {
    margin-top: 30px;
  }

  .info-txt {
    font-size: 18px !important;
    padding-inline: 50px;
    line-height: 27px !important;
  }

  .EYFS img {
    width: 60% !important;
  }

  .StuAct, .StuAct-2 {
    flex-direction: row !important;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .StuAct img, .StuAct-2 img {
    width: 80% !important;
    margin: 0 !important;
    margin-bottom:50px !important;
    position:relative;
    padding: 5px;
  }

  .text-red .row {
    margin: 0 !important;
  }


  /* Contact */
  .bg-contact {
    min-height: auto;
  }

  .title {
    font-size: 40px;
    line-height: 45px;
    text-align: center;
    padding-top: 30px;
  }
  
  .sub {
    font-size: 30px;
  }

  .col-md-7 .w-55 {
    width: 75%;
  }
  
  .custom-btn p {
    font-size: 20px;
  }

  /* Footer */
  .bg-footer {
    overflow-x: hidden;
  }

  .title-footer {
    text-align: center;
  }

  .bg-footer .col-md-3 p {
    display: flex;
    justify-content: center;
  }

  .school-partnership-row .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .text-footer {
    text-align: center;
  }

  .footer-link {
    justify-content: center;
  }
}

@media screen {
  
}
.bg-info{
	background-color: unset !important;
	text-align:justify;
	font-size:18px;
}