title {
	text-align: center;
	font-size: 35em;
	color: white;
}

body{
	/*background-image: url("Images/bg1.jpg");*/
	/*Font made with https://fonts.google.com/specimen/Audiowide */
	font-family: "audiowide", "lato-regular";
	overflow-x: hidden;
	background: #011627;
}

/*Font made with https://fonts.google.com/selection/embed*/
.lato-regular {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: normal;
}

/*navbar used https://www.w3schools.com/css/css_navbar_horizontal.asp*/
ul {
  list-style-type: none;
  padding: 0;
  overflow: hidden;
  line-height: 30px;
  z-index: 1000;
  display: inline-block;
}

li {
  float: left;
  border-radius: 8px 30px;
  background-color: #464F51;
  transition: width 2s;
}

li a {
  display: block;
  color: white;
  border-bottom:3px solid #AAB8C5;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  width: 100px;
}

.dropdown-content {
 display: none;
 min-width: 200px;
 position: absolute;
 z-index: 1;
}

.dropdown {
  display: block;
  color: white;
  border-bottom:3px solid #AAB8C5;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  width: 100px;
}

.dropdown-content a {
	width: 140px;
}

@media (hover: hover) and (pointer: fine) {
li a:hover {
  background-color: white;
  color: #464F51;
  border-radius: 8px 30px;
  width: 140px;
}


.dropdown:hover {
  background-color: white;
  color: #464F51;
  border-radius: 8px 30px;
  width: 160px;
}

.dropdown:hover .dropdown-content{
  width: 2em;
  display: block;
 
}

.dropdown:hover .dropdown-content a {
  background-color: white;
  color: #464F51;
  border-radius: 8px 30px;
  transition: width 1s;
}

.dropdown:hover .dropdown-content a:hover {
  background-color: #464F51;
  color: white;
  width: 200px;
}

}
/*mobile device support*/
@media (hover: none) {
  li a {
    width: 140px;
  }
  .dropdown {
    border-radius: 8px 30px;
    width: 160px;
  }
}

.dropdown-show{
   background-color: white;
   color: #464F51;
   border-radius: 8px 30px;
   width: 160px;

  .dropdown-content{
    width: 2em;
    display: block;  
  }

 .dropdown-content a {
   background-color: white;
   color: #464F51;
   border-radius: 8px 30px;
   width: 200px;
  }
}


h1 {
	color: #BD4C35;
	text-align: center;
	font-size: 3em;
	color: black;
	
}

h2 {
	text-align: center;
	font-size: 3em;
}

h3 {
	text-align: center;
	font-size: 2.5em;
}

p {
	text-align: center;
	font-size: 1em;
	/*line-spacing & line-height are from https://www.w3schools.com/css/css_text_spacing.asp*/
	letter-spacing: 2px;
	line-height: 2em;
	color: black;
	font-size: 1.25em;
}

.blackborder {
	border-style: solid;
	border-width: 3px;
	border-color: black;
	border-radius: 5px;
	display: block;
}

.widthSm {
	width: 30%;
	
}

.floatright {
	float: right;
}


/*hidden container made with https://www.w3schools.com/css/css3_animations.asp)*/
.hiddencontainer {
  position: relative; /* Essential for positioning the child element */
  overflow: hidden; /* Hides the text initially outside the container */
}

.slide-in-text {
  position: absolute; /* Allows precise positioning within the container */
  bottom: -50px; /* Start position: below the container */
  opacity: 0; /* Hidden initially */
  transition: bottom 0.5s ease-out, opacity 0.5s ease-out; /* Smooth transition */
}

.hiddencontainer:hover .slide-in-text {
  bottom: 0; /* End position: at the bottom of the container */
  opacity: 1; /* Fully visible */
}

.textbox {
	align-items: center;
	padding: 10px;
	background: #E4DEE4;
	margin-bottom: 30px;
	border: 1px solid steelblue;
}

.textbox:last-child {
	margin-bottom: 0px;
}

.boxcontainer {
  align-items: center;
  width: 80%;
  margin: 20px auto; 
  border: 3px solid #FF6600;
  padding: 5px;
}

/* horizontal images made with Geeks for Geeks https://www.geeksforgeeks.org/css/how-to-float-three-div-side-by-side-using-css/
animations made inspired by https://www.w3schools.com/w3css/w3css_animate.asp*/
/*total container*/

.imgline {
      display: flex;
      gap: 10px;
      padding: 20px;
      min-width: 200px;
    }

/*frame div contains image*/

.imgframe {
	min-width: 200px;
 	flex: 1;
 	box-sizing: border-box;
 	background: #011627;
 	display: flex;
 	flex-wrap: wrap;
  	justify-content: center;
 	align-items: center; 
  	height: 60vh;
  	border-style: solid;
	border-width: 3px;
	border-color: #FF6600;
	border-radius: 10px;  
  	
    }
/*resize made with https://www.w3schools.com/cssref/tryit.php?filename=trycss3_media2
and https://www.w3schools.com/css/tryit.asp?filename=trycss3_flexbox_responsive2*/    
@media screen and (min-width: 400px) {
  .imgline {
    flex-direction: column;
  }
  .imgbox {
    margin-top: 5vh;
    margin-bottom: 5vh;
  }
}

@media screen and (min-width: 800px) {
  .imgline {
    flex-direction: row;
  }
}

@media (hover: none) {
  .imgline {
    flex-direction: column;
  }
  .imgbox {
    margin-top: 5vh;
    margin-bottom: 5vh;
  }
}

/*image in the frame*/    
.imgbox {
	justify-content: center;
    align-items: center;
}

/*button made with help from https://www.w3schools.com/tags/tag_button.asp*/
button {
	position: relative;
   	padding: 10px 20px;
   	font-family: "Audiowide";
      font-size: 20px;
      cursor: pointer;
      border: none;
      background-color: #464F51;
      color: white;
      border-radius: 8px;
      margin-right: 10px;
      margin-bottom: 20px;
    }

.slidebutton .clickimg{
	position: relative;
      border: none;
}
.paragraph-container {
      position: relative;
      overflow: hidden;
      height: 80px; /* space for paragraph */
      margin-bottom: 20px;
}
/*starting-style used https://developer.mozilla.org/en-US/docs/Web/CSS/@starting-style*/
#showbox0  {
  transition: all 2s ease-in, all 2s ease-in;
  @starting-style {
  	opacity: 0;
    translate: -500px 0;
    scale: 1.1;      
   }
}

#showbox1  {
  transition: all 2s ease-in, all 2s ease-in;
  @starting-style {
  	opacity: 0;
    translate: 0 +500px;
    scale: 1.1;      
   }
}



#showbox2  {
  transition: all 2s ease-in, all 2s ease-in;
  @starting-style {
  	opacity: 0;
    translate: +500px 0;
    scale: 1.1;      
   }
}
    

    .hiddenp {
      position: absolute;
      right: -100px;
      transition: right 0.5s ease-in-out;
      width: 100%;
      background: #f0f0f0;
      padding: 10px;
      border-radius: 8px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.15);
      opacity: 0;
      }

.hiddenp .show {
  right: 0;
  opacity: 1;
}

.showgroup {
	background-color: #464F51;
  	width: 60%;
 	height:70%;
}

.showgroup h3 {
	color: white;
}

.showgroup p {
	color: white;
}

.showgroup a {
	color: #FF6600;
}

/*rotating gallery all made with help from video: https://www.youtube.com/watch?v=A9qWuXcMBNw*/
.gallery-box{
  display: flex;
  justify-content: center; /* Centers horizontally */
  align-items: center; /* Centers vertically */
  height: 90vh; /* Example: full viewport height */
  
}
.gallery{
  position: relative;
  left: 0;
  width: 200px;
  height: 300px;
  transform-style: preserve-3d;
  animation: animate 60s linear infinite;
}

.gallery img{
  width: 200px;
  height: 300px;
}


@keyframes animate {
  0%{
    transform: perspective(2000px) rotateY(0deg);
  }
  100%{
    transform: perspective(2000px) rotateY(360deg);
  }
}

.gallery span{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform-origin: center;
  transform-style: preserve-3d;
  transform: rotateY(calc(var(--i) * 36deg)) translateZ(560px);
  -webkit-box-reflect: below 2px linear-gradient(transparent, transparent, rgba(4, 4, 4, 0.267))
}

.gallery span img{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 15px;
  border: 4px double rgb(0, 0, 0);
}

@media (hover: hover) {
  .gallery:hover{
    animation-play-state: paused;
  }
  .gallery img:hover{
    transform: translateY(-3px);
  }
}

.gallery:hover{
  animation-play-state: paused;
}

@media (hover: none) {
  .gallery img:active{
    transform: translateY(-3px);
  }
}
