@font-face {
  font-family: 'Square721';
  src: url('SQR721B.TTF') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* Full screen background image and overlay text styling */
body {
  margin: 0;
  padding: 0;
  background-image: url('tso-welcome-hero-red-01-scaled.jpg?auto=format&fit=crop&w=1950&q=80');
  background-size: cover;
  background-position: center;
  height: 100vh;
  font-family: Arial, sans-serif;
  position: relative;
  overflow-x: hidden;
}

.overlay-container {
  position: absolute;
  top: 20px;
  width: 100%;
  text-align: center;
  padding: 0 20px;
  box-sizing: border-box;
}

.overlay-logo {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 200px;
  width: 100%;
  height: auto;
}

.overlay-title {
  color: white;
  font-family: 'Square721', sans-serif;
  font-size: 5rem;
  font-weight: bold;
  margin-top: 150px;
  text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
  line-height: 1.1;
}

.overlay-paragraph {
  color: yellow;
  font-family: 'Square721', sans-serif;
  font-size: 2.5rem;
  font-variant: all-small-caps;
  font-weight: bold;
  margin-top: 150px;
  text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
}

.no-margin {
  margin-top: 0;
}

/* Mobile styles */
@media screen and (max-width: 768px) {
  .overlay-container {
    top: 10px;
    padding: 0 15px;
  }
  
  .overlay-logo {
    top: 10px;
    max-width: 150px;
  }
  
  .overlay-title {
    font-size: 2.5rem;
    margin-top: 80px;
  }
  
  .overlay-paragraph {
    font-size: 1.3rem;
    margin-top: 60px;
  }
}

/* Extra small mobile styles */
@media screen and (max-width: 480px) {
  .overlay-container {
    padding: 0 10px;
  }
  
  .overlay-logo {
    max-width: 120px;
  }
  
  .overlay-title {
    font-size: 2rem;
    margin-top: 70px;
  }
  
  .overlay-paragraph {
    font-size: 1.1rem;
    margin-top: 40px;
  }
}

/* Portrait orientation adjustments */
@media screen and (max-height: 600px) and (orientation: landscape) {
  .overlay-title {
    margin-top: 60px;
    font-size: 2rem;
  }
  
  .overlay-paragraph {
    font-size: 1rem;
    margin-top: 30px;
  }
  
  .overlay-logo {
    max-width: 100px;
  }
}