/*
Colors
#BEE9E8
#62B6CB
#1B4965
#CAE9FF
#5FA8D3
*/
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

ul{
    display: grid;
    grid-template-columns:1fr 3fr 3fr 3fr;
    font-size: 30px;
    list-style-type: none;
    text-align: center;
    font-family: "Michroma", sans-serif;
    font-weight: 400;
    font-style: normal;
    align-items: center;
}

main{
    font-family: "B612 Mono", monospace;
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
    background-color:#62B6CB;
}

li{
    border: 3px solid #1b4965;
    background-color: #CAE9FF;
    padding: 10px;
    margin: 10px;
}

footer{
    padding-top: 20px;
    background-color: white;
    padding:5px;
}

header{
    background-color: #BEE9E8;
}

.logo{
    width: 100px;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/*Past this point is Main Page CSS*/

.slideshow-container {
  max-width: 50%;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.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;
}

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

.prev {
  left: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

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

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

/* This is the History Page CSS */

#history-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

#history-content img {
  max-width: 400px;
  border-radius: 10%;
}

.history-item {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.image-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 250px;
}

.image-block img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
}

.image-block h1 {
    margin-top: 10px;
    font-size: 1.5rem;
    text-align: center;
}

.history-item p {
    flex: 1;
    font-size: 24px;
    line-height: 1.6;
}