@font-face {
  font-family: Dialog;
  src:
    /* url(fonts/Dialog-Bold.woff) format('woff'), */
    url(fonts/Dialog-Regular.woff) format('woff');
}

@font-face {
  font-family: Futura;
  src: url(fonts/Futura-Medium.woff) format('woff'),
    /* url(../fonts/DINPro.woff2) format('woff2'); */
}

body {
  background-color: #7D766B;
}

a {
  text-decoration: none;
}

li {
  list-style-type: none;
}

p {
  font-size: 11px;
  font-family: Futura;
  font-weight: bold;
  color: #736d63;
}

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

.main {
  max-width: 930px;
  width: 930px;
  min-height: 525px;
  background-image: linear-gradient(#fff 5%, #fafafa 10%, #968e81 100%);
  margin: auto;
  overflow: hidden;
  position: relative;
}

#music-toggle {
  cursor: pointer;
  width: 20px;
  height: 20px;
  position: absolute;
  bottom: 8px;
  left: 8px;
}

.title {
  display: flex;
  justify-content: flex-end;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  width: 100%;
}

.title a {
  font-size: 14px;
  margin: 10px 15px;
  color: #909090;
  font-family: Dialog;
  text-transform: uppercase;
}

.slider-container {
  width: 930px;
  margin: 0 auto;
  overflow: hidden;
  /* Ensures slider is contained within the container */
  position: relative;

}

.slick-slider {
  width: 100%;
  margin: 0 auto;
}

.slick-slide img {
  display: block;
  padding: 0 5px;
}

.image-wrapper {
  padding-top: 247px;
  position: relative;
}

.image-wrapper-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-color: rgba(148, 140, 127, 0.14);
  opacity: 0;
  transition: all 1s ease-in-out;
}

.image-wrapper-inner1 {
  position: relative;
}

.image-wrapper-inner2 {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 70px;
}

.top-line1 {
  margin-bottom: 6px;
  height: 8px;
  background: #ec836b;
}

.top-line2 {
  height: 2px;
  background: #615b51;
}

.bottom-line {
  height: 30px;
  background: #2a2826;
  position: relative;
  z-index: -2;
}

.line {
  height: 2px;
  background: #615b51;
}

.img-thumb,
.img-overlay {
  height: 170px;
}

.img-overlay {
  background-color: #948c7f;
  transition: all 1s ease;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.image-wrapper-inner1:hover .img-overlay {
  opacity: 1;

}

.image-wrapper-inner2 {
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background: #b3aca3;

}

.image-wrapper-inner1:hover~.image-wrapper-inner2 {
  opacity: 1;
}

.image-wrapper-inner1:hover~.image-wrapper-overlay {
  opacity: 1;
}

/* -------------------------------------------nav css------------------------- */
.nav .main-menu {
  display: flex;
  justify-content: center;
  align-items: baseline;
  width: 100%;
  padding: 0;
  margin: 0;
}

.nav {
  border-top: 2px solid #777066;
  justify-content: flex-end;
}

.nav ul li {
  transition: background-color 1s ease-in-out;
}

.nav li a {
  color: #696358;
  font-size: 10px;
  font-family: Futura;
  font-weight: bold;
  text-transform: uppercase;
  padding: 5px 8px 30px 8px;
  display: inline-block;
}

.sub-menu-li {
  color: #696358;
  font-size: 10px;
  font-family: Futura;
  font-weight: bold;
  text-transform: uppercase;
  padding: 5px 8px 30px 8px;
  cursor: pointer;
}

.nav li:hover {
  background: #a59e91;
}

.sub-menu {
  bottom: 55px;
  left: 0;
  width: max-content;
  background-color: #a59e91;
  overflow: hidden;
  max-height: 0;
  transition: max-height 1.5s ease-in-out;
  z-index: 1;
}

.main-menu li:hover .sub-menu {
  max-height: 500px;
}

.sub-menu li {
  display: block;
}

.sub-menu li a {
  padding: 10px 15px;
}

.sub-menu li a:hover {
  color: #2f2d2a;
}

/* Toggle Button */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 10px;
}

.menu-toggle span {
  height: 3px;
  width: 25px;
  background-color: #696358;
  margin-bottom: 4px;
  border-radius: 2px;
}

/* ------------------------------------fade-slide-css--------------------- */
.fade-slider-container {
  position: relative;
  width: 100%;
  /* height: 451px; */
  height: 498px;
  overflow: hidden;
}

.fade-slider-container .slider img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.fade-slider-container .slider img.active {
  opacity: 1;
}

#toggleButton {
  position: absolute;
  bottom: 6px;
  right: 6px;
  transform: translateX(-50%);
  padding: 0;
  font-size: 14px;
  background-color: transparent;
  color: #f1efed;
  border: none;
  cursor: pointer;
  transition: color 0.5s ease-in-out;
}

#toggleButton:hover {
  color: #b77c1b;
}

/* ----------------------------------------------------------------------- */
.col-text {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: baseline;
  padding: 0 146px 20px 38px;
}

.logo {
  margin: 15px 0;
}


/* --------------------------------responsive------------------------ */

@media screen and (max-width: 768px) {
  .nav .main-menu {
    flex-direction: column;
    position: absolute;
    bottom: 44px;
    left: 0;
    width: 100%;
    background-color: #a59e91;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
  }

  .nav ul li {
    width: 100%;
    text-align: center;
  }

  .nav ul li a,
  .sub-menu-li {
    padding: 10px;
  }

  .main-menu li:hover .sub-menu {
    position: static;
    max-height: none;
  }

  .menu-toggle {
    display: flex;
  }

  .nav.active .main-menu {
    max-height: 100vh;
  }

  .sub-menu li a {
    padding: 10px;
    color: #b3aca3;
  }

  .sub-menu {
    background-color: #615b51;
  }

  .fade-slider-container {
    height: 385px;
  }

  .logo {
    margin: 20px 0;
  }

  .about-row {
    padding: 60px 0 !important;
  }
  #residential{
    bottom: -141px
  }
  #student{
    bottom: -34px;
  }
  #community{
    bottom: -70px;
  }
}