/* Default styles for all screen sizes */
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

.container {
  position: relative;
  max-width: 100%; /* Adjust this value as needed */
  margin: 0 auto; /* Center the container */
  overflow: hidden;
}

.photo {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
}

.text {
  position: relative; /* Change position to relative */
  background-color: rgba(255, 255, 255, 0.7);
  padding: 10px;
  text-align: left;
  border-radius: 10px;
  max-width: 80%;
  margin: 20px auto; /* Add margin for spacing */
}

/* Media query for small screens (up to 600px wide) */
@media screen and (max-width: 600px) {
  .container {
    margin-top: 70px;
    display: flex; /* Use flexbox for layout */
    flex-direction: column; /* Arrange items vertically */
    align-items: center; /* Center items horizontally */
  }

  .photo {
    order: -1; /* Move photo above text */
  }
}
