html {
  font-family: "Courier New", Courier, monospace;
}

.header {
  display: flex;
  padding: 0 1rem 1rem 0;
  margin: 0 1rem 1rem 0;
  height: 20rem;
}

.img_div {
  height: 30rem;
  width: 30rem;
  padding: 0 1rem 1rem 0;
  margin: 0 1rem 1rem 0;
}

.header_image {
  width: 100%;
}

.unalome {
  font-size: 6px;
  font-family: serif;
  margin: 0.2rem;
}

.intro {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 1rem;
  margin: 1rem;
  height: 20rem;
  justify-content: center;
  justify-content: space-between;
}

.my_name {
  font-size: 24px;
  font-weight: bold;
  font-family: serif;
  margin-bottom: 1rem;
  align-self: center;
}

.info {
  margin-bottom: 3rem;
}

.intro1 {
  font-size: 20px;
  margin-bottom: 1rem;
  padding: 0.5rem;
}

.intro2 {
  font-size: 20px;
  color: darkred;
  padding: 0.5rem;
  justify-self: left;
}

.my_story_button {
  background-color: white;
  border: 1px solid gray;
  border-radius: 3px;
  cursor: pointer;
  padding: 5px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.my_story_button:hover {
  background-color: darkred;
  border: 1px solid darkred;
  color: white;
  transform: scale(1.1);
}

.misc {
  display: flex;
  padding: 0.5rem;
  a,
  h3 {
    align-self: center;
    font-size: 16px;
  }

  a:hover {
    color: red;
    cursor: pointer;
  }
}

.main_content {
  font-family: "Times New Roman", Times, serif;
  display: flex;
  flex-direction: column;
  margin: 0.5rem;
  padding: 0.5rem;
  width: 40rem;

  a {
    padding: 0.5rem;
  }

  a:hover {
    color: red;
  }

  h2 {
    margin-top: 2rem;
    margin-bottom: 0.2rem;
  }
}

.journal {
  display: flex;
  flex-direction: column;
}
.other {
  display: flex;
  flex-direction: column;
}

.tech {
  display: flex;
  flex-direction: column;
}

.arabic_poems {
  display: flex;
  flex-direction: column;
}

html,
body {
  height: 100%; /* Ensure both html and body take up full height */
  margin: 0;
  padding: 0;
}

/* Hide the header and main content on mobile devices */
@media (max-width: 600px) {
  .header {
    display: none;
  }

  .main_content {
    display: none;
  }

  /* Full-screen mobile message */
  .mobile_message {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    background-color: #282c34; /* Background color */
    color: red; /* Text color */
    text-align: center; /* Center text */
    font-size: 24px; /* Adjust font size */
  }
}

@media (min-width: 600px) {
  .mobile_message {
    display: none;
  }
}
