/* HERO Section Start */

.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.2);
  z-index: 1;
}

.hero-top,
.hero-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: rgba(255, 255, 255, 1);
  text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
  padding: 20px;
  gap: 10px;
  font-family: "Amatic SC", cursive, sans-serif;
}

.hero-top {
  margin-top: 1vh;
}

.hero-bottom {
  margin-bottom: 3vh;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.hero h1 {
  font-size: clamp(50px, 6vw, 90px);
  font-weight: 700;
}
.hero .website {
  font-size: clamp(35px, 5vw, 65px);
  font-weight: 700;
}
.hero .date {
  font-size: clamp(25px, 3.5vw, 35px);
  font-weight: 700;
  margin-top: 10px;
}
.hero .quote {
  font-size: clamp(17px, 2.5vw, 20px);
  font-weight: 700;
  line-height: 1.5;
}
.hero cite {
  font-size: clamp(22px, 3vw, 25px);
  font-weight: 700;
  margin-top: 10px;
  font-style: normal; /* prevent default italics */
}

.hero .website {
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}


.site-logo {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.site-logo img {
  width: 175px;
  height: 97px;
  object-fit: contain;
}

/* --MEDIA MOBILE/TABLET-- */
@media (max-width: 1023px) {
    .site-logo {
    position: relative;
    margin-left: auto;
    margin-right: 0;
  }

  .site-logo img {
    width: 130px;
    height: auto;
  }
}

/* HERO Section End */







/* --------------- HERO BACKGROUND IMAGE CSS START ---------------- */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  padding-top: 140px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.fourzerofour .hero {
  background-image: url('/resources/404/hero-photo-404-destroyed-tank-winter-battlefield.webp');
}

.aworldatwar .hero {
  background-image: url('/hero-photo-a-world-at-war-world-war-2-rise-of-nazi-germany.webp');
}



.famousquotations .hero {
  background-image: url('/resources/famous-quotations/hero-photo-famous-quotations-joseph-goebbels-nazi-rally-1933-1945.webp');
}
@media(max-width: 1023px) {
	.famousquotations .hero {
		background-position: 55% 0%;
	}
}

.worldwar2websitesandarchives .hero {
  background-image: url('/resources/world-war-2-websites-and-archives/hero-photo-world-war-2-german-soldiers-reading-letters-winter.webp');
}
@media(max-width: 1023px) {
	.worldwar2links .hero {
		background-position: 10% 0%;
	}
}

.weaponsofwar .hero {
  background-image: url('/resources/weapons-of-war/hero-photo-world-war-2-british-lancaster-bomber-production-factory.webp');
}
@media(max-width: 1023px) {
	.weaponsofwar .hero {
		background-position: 15% 0%;
	}
}


.leadersandcommanders .hero {
  background-image: url('/resources/leaders-and-commanders/hero-photo-leaders-and-commanders-allied-strategy-meeting-world-war-2.webp');
}

.medalsandbadges .hero {
  background-image: url('/resources/medals-and-badges/hero-photo-world-war-2-medal-of-honor-recipients-washington-monument.webp');
}

.theroadtowar .hero {
  background-image: url('/timelines/the-road-to-war/hero-photo-the-road-to-war-adolf-hitler-nuremberg-rally-mass-mobilisation-1930s.webp');
}
@media(max-width: 1023px) {
	.theroadtowar .hero {
		background-position: 55% 0%;
	}
}


.gatheringstorm .hero {
  background-image: url('/timelines/the-road-to-war/gathering-storm/hero-photo-gathering-storm-berlin-hitlers-50th-birthday-1939.webp');
}
@media(max-width: 1023px) {
	.gatheringstorm .hero {
		background-position: 55% 0%;
	}
}

.therisingsun .hero {
  background-image: url('/timelines/the-road-to-war/the-rising-sun/hero-photo-the-rising-sun-japanese-troops-advance-into-china-1937.webp');
}

.westerneurope .hero {
  background-image: url('/timelines/western-europe/hero-photo-western-europe-world-war-2-theatre-1939-1945.webp');
}

.saaroffensive .hero {
  background-image: url('/timelines/western-europe/saar-offensive/hero-photo-saar-offensive-french-infantry-advance-1939.webp');
}
@media(max-width: 1023px) {
	.saaroffensive .hero {
		background-position: 60% 0%;
	}
}


.phoneywar .hero {
  background-image: url('/timelines/western-europe/phoney-war/hero-photo-phoney-war-western-front-stalemate-1939-1940.webp');
}

.weserubung .hero {
  background-image: url('/timelines/western-europe/weserubung/hero-photo-weserubung-german-troops-marching-norway-april-1940.webp');
}

.thebattleoffrance .hero {
  background-image: url('/timelines/western-europe/the-battle-of-france/hero-photo-the-battle-of-france-german-panzer-advance-blitzkrieg-1940.webp');
}

/*---Tablet Viewport---*/
@media(max-width: 1023px) {
	.battleoffrance .hero {
		background-position: 0% 0%;
	}
}


.easterneurope .hero {
  background-image: url('/timelines/eastern-europe/hero-photo-eastern-europe-world-war-2-theatre-1939-1945.webp');
}

.invasionofpoland .hero {
  background-image: url('/timelines/eastern-europe/invasion-of-poland/hero-photo-invasion-of-poland-german-infantry-grenade-attack-1939.webp');
}
@media(max-width: 1023px) {
	.invasionofpoland .hero {
		background-position: 81% 0%;
	}
}

.winterwar .hero {
  background-image: url('/timelines/eastern-europe/winter-war/hero-photo-winter-war-finnish-machine-gun-position-snow-1939.webp');
}


.barbarossa .hero {
  background-image: url('/timelines/eastern-europe/barbarossa/hero-photo-operation-barbarossa-german-anti-tank-artillery-attack-soviet-territory-june-1941.webp');
}

/*---Tablet Viewport---*/
@media(max-width: 1023px) {
	.barbarossa .hero {
		background-position: 20% 0%;
	}
}

.sonnenblume .hero {
  background-image: url('/timelines/north-africa/sonnenblume/hero-photo-erwin-rommel-afrika-korps-operation-sonnenblume-north-africa-1941.webp');
}

/* --------------- HERO BACKGROUND IMAGE CSS END ---------------- */