body, html {
  height: 100%;
  margin: 0;
  font: 400 18px/1.8 "Niramit", sans-serif;
  color: #777;
}


.bgimg-1, .bgimg-2 {
  position: relative;
  opacity: 0.95;
  background-attachment: fixed;
  background-position: bottom center;
  background-repeat: no-repeat;
  background-size: cover;

}
.bgimg-1 {
  background-image: url("img/lhc_copy.jpg");
  min-height: 60%;
}

.bgimg-2 {
  background-image: url("img/bottomImage.jpg");
  min-height: 50%;
}

.bgimg-3, .bgimg-4, .bgimg-5, .bgimg-6 {
  position: relative;
  opacity: 0.85;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.bgimg-3 {
  background-image: url("img/DS3.jpg");
  min-height: 100%;
  display: flex;
  align-items: center;
}

.bgimg-4 {
  background-image: url("img/DS2.jpeg");
  min-height: 100%;
  display: flex;
  align-items: center;
}

.bgimg-5 {
  background-image: url("img/DS6.jpg");
  min-height: 100%;
  display: flex;
  
  align-items: center;
}

.bgimg-6 {
  background-image: url("img/DS7.jpg");
  min-height: 100%;
  display: flex;
  align-items: center;
  position: relative;
}

.bgimg-6::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);  /* Black overlay with 50% opacity */
}

.caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%); 
  width: 100%;
  text-align: center;
  color: #fff;
  padding: 18px;
  font-size: 25px;
  letter-spacing: 10px;
}

.navbar {
  overflow: visible;
  background-color: #333;
  position: fixed;
  top: 0;
  width: 100%;
}

.navbar a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.dropdown {
  float: left;
}

.dropdown .dropbtn {
  font-size: 17px;
  border: none;
  outline: none;
  color: #f2f2f2;
  padding: 19px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.navbar a:hover, .dropdown:hover .dropbtn{
  background-color: #760A4C;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
}

.dropdown-content a {
  float: none;
  color: #333;
  padding: 10px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
    background-color: #ddd;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.MyButton {
  display: block;
  padding: 15px 25px;
  font-size: 24px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  outline: none;
  color: #fff;
  background-color: #34C7FB;
  border: none;
  border-radius: 15px;
  box-shadow: 5px 5px #999;
}

.MyButton:hover {background-color: #424949}

.MyButton:active {
  background-color: #424949;
  transform: translateY(1px);
}

*,
:after,
:before {
box-sizing: border-box;
margin: 0;
padding: 0;
}

.coursebox {
position: absolute;
top: 20%;
width: 100%;
padding: 80px 80px;
text-align: center;
letter-spacing: 1px;
line-height: 1.5;
color: white;
font-size: 30px;
}

ul {
    list-style-type: none;
}

li {
  font-size: 25px;
  border: none;
  margin-bottom: 10px;
}

li a { 
  text-decoration: none;
  -webkit-transition: font-size 0.3s ease, background-color 0.3s ease;
  -moz-transition: font-size 0.3s ease, background-color 0.3s ease;
  -o-transition: font-size 0.3s ease, background-color 0.3s ease;
  -ms-transition: font-size 0.3s ease, background-color 0.3s ease;
  transition: font-size 0.3s ease, background-color 0.3s ease;
  display: block;
}

.coursebox a:link, .coursebox a:visited {
  color:  white;
  text-decoration: none;
}

li a:hover {
  font-size: 30px;
  padding: 5px;
  background: #117864;
}

.footer{
  background-color: #333;
  position: fixed;
  bottom:0px;
  width: 100%;
  color: white;
}

h3 {
  letter-spacing: 5px;
  text-transform: uppercase;
  font: 18px "Niramit", sans-serif;
  color: #111;
}

/* Turn off parallax scrolling for tablets and phones */
@media only screen and (max-device-width: 1024px) {
    .bgimg-1, .bgimg-2, .bgimg-3 {
        background-attachment: scroll;
    }
}
