@font-face {
  font-family: 'TH';
  src: url('Trollhunters.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

body {
  background-image: url('images/back.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #000;
  margin: 0;
  font-family: 'TH', sans-serif;
  align-items: center;
  text-align: center;
  color: #fff;
  min-height: 100vh; 
  min-width: 99vw;
  display: flex;
  flex-direction: column; 
  justify-content: space-between;
}
* {
    box-sizing: border-box;
}

/* Logo Styles */
#logo {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1.25rem auto;
}

/* Parent div for logo and other elements */
div {
  justify-content: center;
  align-items: center;
}


h1 {
  font-size: 2.5rem;
  margin: 1.25rem 0;
  text-shadow: 0.125rem 0.125rem 0.25rem rgba(0, 0, 0, 0.5); 
}

.info {
  font-size: 1.2rem;
  margin: 0.625rem 0;
}

#lastdiv {
  margin-bottom: 1.25rem; 
}

/* Footer Styles */
#footer {
  background: rgba(0, 0, 0, 0.7); 
  padding: 0.625rem;
  width: 100%;
  position: relative;
  bottom: 0;
  font-size: 1rem;
}

#footer a {
  color: #fff;
  text-decoration: none; 
}

#footer a:hover {
  text-decoration: underline;
  color: #5E2AB1;
}

/* Mobile (base styles, up to 576px) */
@media screen and (max-width: 576px) {
  body {
    font-size: 0.875rem;
	overflow: hidden;
	overflow-y: auto;
  }

	h1 {
		font-size: 3.5rem;
		margin: 0.9375rem 0;
		letter-spacing: 0.25rem;
  }

  #logo {
    max-width: 18.75rem;
    margin: 0.625rem auto;
  }

  .info {
    font-size: 1.7rem;
	letter-spacing: 0.25rem;
    margin: 0.5rem 0;
    margin-top: -3.125rem;
  }

  #lastdiv {
    margin-bottom: 0.9375rem;
  }

  #footer {
    font-size: 0.9rem;
    padding: 0.5rem;
  }
}

/* Tablet (577px to 768px) */
@media screen and (min-width: 577px) and (max-width: 768px) {
  body {
    font-size: 1rem;
	overflow: hidden;
	overflow-y: auto;
  }

	h1 {
		font-size: 6rem;
		letter-spacing: 0.7rem;
		margin: 0.9375rem 0;
  }

  #logo {
    max-width: 25rem;
    margin: 0.9375rem auto;
  }

  .info {
    font-size: 3rem;
	letter-spacing: 0.125rem;
    margin: 0.625rem 0;
    margin-top: -3.125rem;
  }

  #lastdiv {
    margin-bottom: 0.9375rem;
  }

  #footer {
    font-size: 0.95rem;
	margin-bottom: 1.25rem;
    padding: 0.625rem;
  }
}

/* Desktop Small (769px to 992px) */
@media screen and (min-width: 769px) and (max-width: 992px) {
  body {
    font-size: 1.125rem;
	overflow: hidden;
	overflow-y: auto;
  }

	h1 {
		font-size: 8rem;
		letter-spacing: 0.3rem;
		margin: 1.25rem 0;
  }

  #logo {
    max-width: 31.25rem;
    margin: 1.25rem auto;
  }

  .info {
    font-size: 3rem;
	letter-spacing: 0.3rem;
    margin: 0.625rem 0;
    margin-top: -3.125rem;
  }

  #lastdiv {
    margin-bottom: 1.25rem;
  }

  #footer {
    font-size: 1.5rem;
	margin-bottom: 1.5625rem;
    padding: 0.625rem;
  }
}

/* Desktop Medium (993px to 1200px) */
@media screen and (min-width: 993px) and (max-width: 1200px) {
  body {
    font-size: 1.25rem;
	overflow: hidden;
	overflow-y: auto;
  }

	h1 {
    font-size: 10rem;
	letter-spacing: 0.35rem;
    margin: 1.25rem 0;
  }

  #logo {
    max-width: 37.5rem;
    margin: 1.5625rem auto;
  }

  .info {
    font-size: 4rem;
	letter-spacing: 0.35rem;
    margin: 0.75rem 0;
    margin-top: -0.9375rem;
  }

  #lastdiv {
    margin-bottom: 1.25rem;
    margin-top: -1.25rem;
  }

  #footer {
    font-size: 1.5rem;
	margin-bottom: 1.25rem;
    padding: 0.75rem;
  }
}

/* Desktop Nest Hub (1024px x 600px) */
@media screen and (max-width: 1024px) and (max-height: 600px) {
  body {
    font-size: 1.25rem;
	overflow: hidden;
	overflow-y: auto;
  }

	h1 {
    font-size: 5rem;
	letter-spacing: 0.35rem;
    margin: 1.25rem 0;
  }

  #logo {
    max-width: 15.625rem;
    margin: 1.5625rem auto;
  }

  .info {
    font-size: 3rem;
	letter-spacing: 0.35rem;
    margin: 0.75rem 0;
    margin-top: -1.25rem;
  }

  #lastdiv {
    margin-bottom: 1.25rem;
  }

  #footer {
    font-size: 0.9rem;
    padding: 0.75rem;
  }
}

/* Desktop Large (1201px and up) */
@media screen and (min-width: 1201px) {
  body {
    font-size: 1.375rem;
	overflow: hidden;
  }
	h1 {
		font-size: 6rem;
		letter-spacing: 0.5rem;
		margin: 1.25rem 0;
  }
  
  #logo {
    max-width: 18.75rem;
    margin: 1.25rem auto;
  }

  .info {
    font-size: 3rem;
    margin: 0.9375rem 0;
	letter-spacing: 0.125rem;
  }

  #lastdiv {
    margin-top: -1.25rem;
    margin-bottom: 1.5625rem;
  }

  #footer {
    font-size: 0.8rem;
	margin-bottom: 0.9375rem;
    padding: 0.9375rem;
  }
}