@media screen and (orientation: portrait) {
  body {
    background-image: url("../assets/img/2025-Porsche-911-GT3-RS-with-Manthey-Kit-004-2800p.jpg");
    background-size: cover;
  }
}

@media screen and (orientation: landscape) {
  body {
    background-image: url("../assets/img/ford\ gt.jpg");
    background-size: cover;
  }
}

body {
  background-color: #222222;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  margin: 0;
  min-height: 100vh;
}

#page-wrapper {
  background-color: rgba(0, 0, 0, 0.8);
  border: 3px solid gold;
  width: 75%;
  max-width: 1200px;
  padding: 20px;
  text-align: center;
  border-radius: 15px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-left: auto;
  margin-right: auto;
}

#page-wrapper::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

#page-wrapper > div {
  background-color: rgba(51, 51, 51, 0.9);
}

#page-wrapper,
.flip {
  display: none;
}

/* -----------------------------------------------------*/
#header {
  background-color: rgba(0, 0, 0, 0.9);
  border: 3px solid gold;
  padding: 30px;
  color: #ffffff;
  text-align: center;
  border-radius: 10px;
  font-size: auto;
  font-family: "Times New Roman", Times, serif;
  letter-spacing: 5px;
}

#header:hover {
  background-color: rgba(0, 0, 255, 0.9);
}
/* -----------------------------------------------------*/
#navigation {
  background-color: rgba(0, 0, 0, 0.9);
  border: 3px solid gold;
  padding: 15px;
  color: #ffffff;
  text-align: center;
  border-radius: 8px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 5px;
}
/* -----------------------------------------------------*/

.btn {
  border: 2px solid gold;
  padding: 5px 15px;
  background-color: rgba(0, 0, 0, 0.9);
  color: #ffffff;
  border-radius: 5px;
  margin: 0 10px;
  display: inline-block;
}

.btn:hover {
  background-color: rgba(128, 128, 128, 0.9);
}

.btn a {
  color: white;
  text-decoration: none;
}

.btn a:visited {
  color: white;
}

/* -----------------------------------------------------*/
.image-row {
  text-align: center;
  padding: 10px;
}
/* -----------------------------------------------------*/

#footer {
  background-color: rgba(17, 17, 17, 0.9);
  border: 3px solid blue;
  color: #999999;
  padding: 10px;
  text-align: center;
  border-radius: 8px;
  width: auto;
}

#footer:hover {
  background-color: rgba(135, 206, 250, 0.9);
}
/* -----------------------------------------------------*/
.ts {
  color: #e9ecef;
  font-size: 30px;
  font-family: "Times New Roman", Times, serif;
  letter-spacing: 5px;
  text-align: center;
  border-style: solid;
  border-radius: 4px;
}

.ts:hover {
  background-color: rgba(0, 0, 139, 0.9);
}
/* -----------------------------------------------------*/

.image-container {
  background-color: rgba(85, 85, 85, 0.9);
  border: 5px solid #777777;
  color: #ffffff;
  padding: 5px;
  text-align: center;
  border-radius: 8px;
  margin: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
}

.image-container:hover {
  background-color: rgba(15, 26, 111, 0.9);
}

/* -----------------------------------------------------*/
#links-container {
  background-color: rgba(85, 85, 85, 0.9);
  border: 5px solid #777777;
  color: #ffffff;
  padding: 5px;
  text-align: center;
  border-radius: 8px;
  margin: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
  font-family: "Times New Roman", Times, serif;
  letter-spacing: 1px;
  width: auto;
}

/* -----------------------------------------------------*/
.section-links-container {
  flex: 1;
  min-width: 250px;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px;
  background-color: rgba(153, 153, 153, 0.9);
  border: 1px solid #000000;
  border-radius: 8px;
  margin: 5px;
  color: #000000;
  font-size: 18px;
  transition:
    transform 0.3s ease,
    background-color 0.3s ease;
}

.section-links-container:hover {
  transform: translateY(-5px);
  background-color: rgba(152, 118, 67, 0.9);
}

.section-links-container a {
  color: #ffffff;
  background-color: rgba(51, 51, 51, 0.9);
  padding: 8px 15px;
  border-radius: 4px;
  text-decoration: none;
  margin-top: 10px;
  display: inline-block;
}

.section-links-container a:hover {
  background-color: rgba(15, 26, 111, 0.9);
}

/* -----------------------------------------------------*/
.section-image-container {
  border-style: dotted;
  border-radius: 10px;
  border-color: black;
  flex: 1;
  min-width: 250px;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
}

.section-image-container:hover {
  background-color: rgba(152, 118, 67, 0.9);
}

.section-image-container img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid black;
  border-radius: 4px;
  transition:
    transform 0.3s ease,
    background-color 0.3s ease;
}

.section-image-container:hover img {
  transform: translateY(-5px) scale(1.25);
}

/* -----------------------------------------------------*/
.self-intro {
  background-color: rgba(0, 0, 0, 0.9);
  border: 5px solid gold;
  color: white;
  font-size: 25px;
  text-align: center;
  border-radius: 8px;
  padding: 20px;
}
/* -----------------------------------------------------*/
.captions {
  color: #4c5d77;
  font-size: 30px;
  font-family: "Times New Roman", Times, serif;
  letter-spacing: 1px;
  text-align: center;
  border-style: solid;
  border-radius: 3px;
}
/* -----------------------------------------------------*/
button {
  width: 100%;
  height: 50px;
  text-align: center;
  font-size: large;
}
