@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;700&family=Montserrat:wght@300;400;600&display=swap');

* {
  margin: 0;
  padding: 0;
  font-family: 'Oswald', sans-serif;
  box-sizing: border-box;
}

h1, h2, h3 {
  font-family: 'Oswald', sans-serif;
}

p {
  font-family: 'Montserrat', sans-serif;
}

.header {
  width: 100%;
  height: 100vh;
  background: #000000;
  padding-left: 11%;
  padding-right: 8%;
  position: relative;

  background-image: url("guy.jpg");
  background-size: 48%;
  background-repeat: no-repeat;
  background-position: 92% 100%;
}

.logo{
  color: #fff;
}

.header.no-bg {
  background-image: none !important;
  background-color: #000000 !important; /* dark so white text is visible */
}

.top-nav {
  display: flex;
  align-items: left;
  justify-content: space-between;
  margin: 0 10px;
  padding: 10px 20px;
  border-bottom: 1px solid #bababa;
  transition: transform 0.3s ease-in-out, color 0.3s ease-in-out;
}

.top-nav a {
  position: relative;
  text-decoration: none;
  color: inherit;
}

.top-nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: #E50914;
  transition: width 0.3s ease-in-out;
}

.top-nav a:hover::after {
  width: 100%;
}

.top-nav a:hover {
  border: 0;
  outline: 0;
  cursor: pointer;
  transform: scale(1);
}

.top-nav ul li {
  list-style: none;
  display: inline-block;
  margin-right: 30px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.top-nav ul li a {
  text-decoration: none;
  color: #fff;
  font-size: 15px;
}

.top-nav button {
  background: none;
  color: #fff;
  border: none;
  outline: none;
  cursor: pointer;
  font: inherit;
  border-radius: 0;
}

.top-nav button:hover {
  background: none;
  color: #fff;
  border: none;
  outline: none;
}

.text-box {
  margin-top: 20%;
  font-size: 18px;
  color: #fff;
}

.text-box h1 {
  font-weight: 500;
  font-size: 86px;
  max-width: 550px;
  line-height: 95px;
  margin-top: 10px;
  margin-bottom: 30px;
}

.text-box .icon {
  background: #E50914;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(270deg);
}

.text-box .icon img {
  width: 15px;
  color: #000000
}

/* Responsive Styles */
@media (max-width: 768px) {
  .header {
    padding: 20px;
    background-size: 80%;
    background-position: center-bottom;
  }

  .top-nav {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
    border-bottom: none;
  }

  .menu-toggle {
    display: block;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    margin-left: auto;
    margin-bottom: 10px;
  }

  .top-nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #111;
    padding: 10px 0;
    border-top: 1px solid #333;
  }

  .top-nav ul.active {
    display: flex;
  }

  .top-nav ul li {
    margin: 10px 20px;
  }

  .top-nav button {
    margin: 10px 20px;
  }

  .text-box {
    margin-top: 100px;
    text-align: center;
    font-size: 16px;
  }

  .text-box h1 {
    font-size: 42px;
    line-height: 48px;
    max-width: 100%;
    margin: 20px auto;
  }

  .text-box .icon {
    width: 50px;
    height: 50px;
    margin: 0 auto;
    color: #000000
  }

  .text-box .icon img {
    width: 12px;
  }
}
