@charset "UTF-8";

body {
	background-color: #FFEFD5;
	margin: 0;
	padding: 0;
}

.link{
	color: #694C6B;
	background-color: #CEDFDA;
}

.link:hover {
	color: #ffffff;
	background-color: #694C6B;
}

.h1normal {
	color: #F36D68;
	background-color: #CEDFDA;
	text-align: center;
	font-size: 8vw;
	padding-top: 5px;
	padding-bottom: 5px;
	margin-top: 60px;
}

.divheader {
	background-color: #CEDFDA;
	align-items: center;
	margin-top: 60px;
	display: flex;
	justify-content: center;
	padding: 10px 0px;
	overflow: hidden;
	
}

.generalbox {
	width: 90%;
	margin: 0 auto;
	margin-top: 20px;
	padding: 10px;
	background-color: #edaeb3;
	border-color: #694C6B;
	border-radius: 20px;
}

.textbox {
	width: 90%;
	margin: 0 auto;
	margin-top: 20px;
	padding: 10px;
	background-color: #edaeb3;
	border-color: #694C6B;
	border-radius: 20px;
	display: flex;
}


.imgtextbox {
	width: 90%;
	margin: 0 auto;
	margin-top: 20px;
	padding: 10px;
	background-color: #edaeb3;
	border-color: #694C6B;
	border-radius: 20px;
	overflow: auto;
}

.resizableImgSmall {
	height: 20vw;
}

.floatRight {
	float: right;
}

.floatLeft {
	float: left;
}

.imgdiv {
	padding: 2%;
	margin: 2%;
	border-radius: 18%;
}

.imground {
	border-radius: 18%;
}


/*all container and overlay content was referenced from this link https://www.w3schools.com/howto/howto_css_image_overlay_slide.asp*/
.containerHome {
  position: relative;
  transform: scale(1);
  display: flex;
  justify-content: center;
}

.containerAcademics {
	margin: 5%;
}

.academicsTotalDiv {
  /*display grid and grid template columns from https://www.w3schools.com/cssref/pr_grid-template-columns.php*/
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); 
  /*gap from https://www.w3schools.com/cssref/css3_pr_gap.php*/
  gap: 20px;
  margin: 30px auto;
  width: 90%;
}

/*overlay done with reference to w3schools: https://www.w3schools.com/howto/howto_css_image_overlay_zoom.asp*/
.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0,0,0,.7);
  overflow: hidden;
  width: 100%;
  height: 100%;
  transform: scale(0);
  transition: .3s ease;
  border-radius: 18%;
}

.containerHome:hover .overlay {
  transform: scale(1);
}

.textHover {
  color: #ffe8f0;
  font-size: 1.5em;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  padding: 2%;
  margin: 2%;
  border-radius: 18%;
}

.imageHover {
  display: block;
  width: 100%;
  height: auto;
}

p {
	color: #694C6B;
	font-size: 1.5em;
}

h2 {
	color: #ffffff;
	text-align: center;
	background-color: #694C6B;
	border-radius: 20px;
	
}

.h1homepage {
	color: #F36D68;
	text-align: center;
	display: inline;
	margin: 0px 10px;
	font-size: 9vw;
}

/*this nav bar was made with the help of https://www.w3schools.com/*/
.navBarUL {
  list-style-type: none;
  margin: 0px;
  padding: 0px;;
  background-color: #694C6B;
  display: flex;
  justify-content: center;
  position: fixed;
  top: 0;
  width: 100%;
  /*z-index referenced from https://www.w3schools.com/css/css_z-index.asp*/
  z-index: 10;
}

.navBarUL li a {
  display: block;
  color: white;
  padding: 14px 16px;
  text-decoration: none;
  /*clamp from https://www.w3schools.com/cssref/func_clamp.php*/
  font-size: clamp(20px, 3vw, 30px);
  background-color: #694C6B;
}

.navBarUL li a:hover {
  background-color: #CEDFDA;
  color: black;
}

.navBarUL li a.active {
  background-color: #04AA6D;
}

/*all image slideshow code from w3schools -- link: https://www.w3schools.com/howto/howto_js_slideshow.asp */

.forslidesimg {
	max-width: 500px;
}

.home-content {
  display: flex;
  justify-content: center;
  /*flex start from https://www.w3schools.com/cssref/css3_pr_align-items.php*/
  align-items: flex-start;
  /*gap from https://www.w3schools.com/cssref/css3_pr_gap.php*/
  gap: 30px;
  width: 90%;
  margin: 30px auto;
  /*this property from https://www.w3schools.com/cssref/css3_pr_flex-wrap.php*/
  flex-wrap: wrap;
}

.home-content .textbox {
  max-width: 500px;
}

.home-content .slideshow-container {
	/*flex direction from https://www.w3schools.com/cssref/css3_pr_flex-direction.php*/
  flex-direction: row;
  max-width: 500px;
}


* {box-sizing:border-box}

.slideshow-container {
  max-width: 500px;
  position: relative;
  margin: auto;
  justify-content: center;
}

.mySlides {
  display: none;
}

.prev, .next {
  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;
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}


.dot-container {
  text-align: center;
  margin-top: 10px;
}


.dot {
  height: 15px;
  width: 15px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
  cursor: pointer;
}


.active {
  background-color: #717171;
}


.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

/*media rule from https://www.w3schools.com/css/css3_mediaqueries.asp*/
@media (max-width: 800px) {
  .imgtextbox {
    display: block;         
    width: 95%;
    margin: 12px auto;     
    padding: 12px;
    text-align: center;  
  }

  .imgtextbox img.floatRight,
  .imgtextbox img.floatLeft,
  .imgtextbox img.resizableImgSmall {
    float: none; 
    display: block;
    width: 100%;
    height: auto;
    margin: 0 0 12px;
    max-width: 680px;
  }

  .imgtextbox h2 {
    margin: 8px 0;
    font-size: 1.25em;
  }
  .imgtextbox p {
    margin: 0 0 12px;
    font-size: 1em;
    /*line height from https://www.w3schools.com/cssref/pr_dim_line-height.php*/
    line-height: 1.4;
    text-align: left;
  }
  
}
