@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;1,300;1,400&display=swap");

* {
  margin: 0;
  padding: 0px;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

header {
  width: 100%;
  height: 100vh;
  background-image: url("images/freepik.jpg") no-repeat;
  background-position: center;
}

header nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 200;
}

nav .navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  margin: 20px auto 20px auto;
}

nav .navbar .logo {
  width: 150px;
  height: 80px;
}

.navbar .logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.navbar .menu {
  display: flex;
}

.navbar .menu li {
  margin: 0 10px;
  list-style: none;
  opacity: 0.7;
}

.menu li a {
  font-size: 17px;
  font-weight: 500;
  color: #2c3e50;
  text-decoration: none;
}

.menu li a:hover {
  color: #ffffff;
}

.navbar .search-box {
  position: relative;
  width: 250px;
  height: 45px;
  opacity: 0.7;
}

.search-box input[type="text"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 90%;
  height: 90%;
  padding: 0 10px 0 40px;
  border: 2px solid #2c3e50;
  border-radius: 8px;
  color: #2c3e50;
  font-size: 18px;
  outline: none;
  opacity: 0.5;
}

.search-box a {
  position: absolute;
  top: 50%;
  left: 10px;
  padding: 0 5px 0 0;
  font-size: 20px;
  color: #d90000;
  border-right: 2px solid #d90000;
  transform: translateY(-50%);
  opacity: 0.8;
}

.content {
  position: absolute;
  top: 33%;
  left: 7%;
  z-index: 100;
}

.content .text {
  font-size: 27px;
  color: #ffffff;
}

.content .name {
  font-size: 75px;
  margin: -20px 0 0 -3px;
  color: #ffffff;
}

.content .job {
  display: flex;
  font-size: 40px;
  color: #ffffff;
}

.content .job .typing-text {
  margin-left: 10px;
  white-space: nowrap; /* Put all in one single line */
  overflow: hidden;
  border-right: 4px solid #d90000;
  color: #d90000;
  animation: typing 5s steps(28) infinite;
}

@keyframes typing {
  0% {
    width: 0ch;
  }
  50% {
    width: 30ch;
  }
  100% {
    width: 0ch;
  }
}

.content .buttons {
  margin: 40px 0 0 5px;
}

.content .buttons button {
  margin: 0 10px;
  padding: 8px 16px;
  font-size: 18px;
  color: #fff;
  border: none;
  border-radius: 6px;
  outline: none;
  background: linear-gradient(135deg, #d90000 10%, #d90000 100%);
  cursor: pointer;
  transition: all 0.3s ease;
}

.content .buttons button:hover {
  transform: scale(0.98);
}

header .hero-photo img {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 95%;
  transition: all 0.3s ease;
}
/* added */
header .hero-photo img:hover {
  transform: scale(0.9);
}

header .tagline {
  position: absolute;
  right: 350px;
  bottom: 40px;
  z-index: 99;
  font-size: 20px;
  font-weight: 400;
  font-style: italic;
  color: #d90000;
  cursor: pointer;
  transition: all 0.3s ease;
}
/* added */
header .tagline:hover {
  transform: scale(1.5);
}

header .media-icons {
  display: flex;
  flex-direction: column;
  position: absolute;
  right: 40px;
  bottom: 90px;
  transition: all 0.3s ease;
}

.media-icons a {
  margin-left: 8px 0;
  font-size: 20px;
  font-weight: 500;
  color: #2c3e50;
  opacity: 0.7;
  transition: all 0.3s ease;
}
.media-icons a:hover {
  color: #d90000;
  opacity: 1;
  transform: scale(1.1);
}
