/* Main Colors: rgb(234,221,97)/#EADD61/khaki    #202020/nav items   #404040 background  rgb(29,34,90)/#1D225A  blue    */
/* Note that for the portfolio page, the width of the images is only 374 px on my laptop. /*
/* So some room for faster loading here. On a phone the full screen is available so 1080px, though the port size is only 360. */

.hobbies-card {
	background: #202020;
	border-radius: 0;
	max-width: 50rem;
}

* {box-sizing: border-box}

.mySlides_1, .mySlides_2, .mySlides_4, .mySlides_5, .mySlides_6 {display: none}


.mySlides_1 > img, .mySlides_2 > img, .mySlides_4 > img, .mySlides_5 > img, .mySlides_6 > img{
	width:100%;
}

/* Photo container */
.photo-container {
  max-width: 100%;
  position: relative;
  margin: auto;
  background:#404040;
}

/* Slideshow container */
.slideshow_container{
  display: flex;
  flex-direction: column;
  width:100%;
  max-width:37.5rem;
}

.slideshow_progress{
  display: flex;
  flex-direction: column;
  background-color: #404040;
  min-height: 5rem;
  width: 100%;
  justify-content: flex-start;   	/* main axis */
  align-items: flex-start;		/* cross axis */
  padding-right:3.125rem;  /* must be the same value as the width of the #progress_position div */
}

.inner_progress{
  width: 100%;
}

.ProgressMarker{
	height: 0.9375rem;
	width: 3.125rem;   /* must be the same value as the padding-right on the inner progress div */
	background: radial-gradient(rgba(234,221,97,.7), #404040 80%);
	margin-left:0%;
}

.PlaySlideShow{
	height: 3rem;
	width: 3rem;
	border:none;
	background-color: transparent;
  background: url(../images/play-brown-24.png) no-repeat center;
  cursor: pointer;
}

.PauseAutoShow{
	height: 3rem;
	width: 3rem;
	border:none;
	background-color: transparent;
  background: url(../images/pause-brown-24.png) no-repeat center;
  cursor: pointer;
}

.PlaySlideShow:hover{
background-image: url(../images/play-blue-24.png);
}

.PauseAutoShow:hover{
background-image: url(../images/pause-blue-24.png);
}

.PlaySlideShowSmall{
	margin-top:1rem;
	height: 2rem;
	width: 2rem;
	border:none;
	background-color: transparent;
	background: url(../images/play-brown-16.png) no-repeat center;
}

.PauseAutoShowSmall{
	margin-top:1rem;
	height: 2rem;
	width: 2rem;
	border:none;
	background-color: transparent;
  background: url(../images/pause-brown-16.png) no-repeat center;
  cursor: pointer;
}

.PlaySlideShowSmall:hover{
background-image: url(../images/play-blue-16.png);
}

.PauseAutoShowSmall:hover{
background-image: url(../images/pause-blue-16.png);
}

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

a.prev_small, a.next_small {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 0.5625rem;
  margin-top: -1.375rem;
  font-weight: bold;
  font-size: 1rem;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  background-color: rgba(0,0,0,0.2);
}

a.prev_large, a.next_large {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: .5625rem;
  margin-top: -1.375rem;
  font-weight: bold;
  font-size: 1.25;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  background-color: rgba(0,0,0,0.4);
}

#FirstSlide_1, #FirstSlide_2, #FirstSlide_4, #FirstSlide_5, #FirstSlide_6  {display: block}
#PauseShowButton_1, #PauseShowButton_2, #PauseShowButton_4, #PauseShowButton_5, #PauseShowButton_6  {display: none}

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

/* I can't figure out why this is needed, should be taken care of by the class declaration. */
#NextProject_4, #PreviousProject_4, #NextProject_5, #PreviousProject_5, #NextProject_6, #PreviousProject_6 , #portfolio-4{
	color: #fdebd0;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover, .prev_small:hover, .next_small:hover {
  background-color: rgba(0,0,0,0.4);
  color: #1D225A;
}

#NextProject_4:hover, #PreviousProject_4:hover, #NextProject_5:hover, #PreviousProject_5:hover, #NextProject_6:hover, #PreviousProject_6:hover{
	color: #1D225A;
}

/* Caption text */
.text {
  color: #fdebd0;
  font-size: 15px;
  padding: 1.25rem 0.625rem;
  position: absolute;
  top: 100%;
  text-align: Left;
  margin-left:2.5rem;
}

.slide_content {
  padding: 0rem 2rem;
  color: black;
  position: absolute;
  top: 2rem;
}

.slide_content p{
  color:black;
  text-align: justify;
}

.slide_content h2{
color: #fdebd0;  /*rgb(51, 193, 255); */
font-size: 1.4rem;
text-align: center;
margin: 0px 0px 0px 5px;
font-family: TimesNewRoman, Times New Roman, Times, Georgia, serif;
}

.slide_content h3{
  color: #fdebd0;  /*rgb(51, 193, 255); */
  font-size: 1.2rem;
  text-align: center;
  margin: 5px 0px 0px 5px;
  font-family: TimesNewRoman, Times New Roman, Times, Georgia, serif;
  }

/* Number text (1/3 etc) */
.numbertext {
  color: #fdebd0;
  font-size: .75rem;
  padding: .5rem .75rem;
  position: absolute;
  top: 0;
}

.active {
  background-color: #717171;
}

/* Fading animation  Need to put the fade class back on the mySlides div in the html
.fade {
	
-webkit-transition: opacity .5s;
    -moz-transition: opacity .5s;
    -o-transition: opacity .5s;
    transition: opacity .5s;	
	
	
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

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

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

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .prev, .next,.text {font-size: 0.6875rem}
}