*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f1f1f1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

header {
  text-align: center;
  font-size: 2.5rem;
  padding: 1.5rem 0;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

#profilePhoto {
  max-width: 150px;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  margin-top: 1rem;
}

h3, p {
  text-align: center;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;  /* Add this */
}

.video-player {
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; 
  position: relative;
  margin-bottom: 2rem;
}

.video-player iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.image-container {
  background-color: #fff;
  border-radius: 8px;
  margin: 1rem auto;  /* Change this */
  padding: 1rem;
  width: 90%;
  max-width: 300px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.image-container:hover {
  transform: translateY(-10px);
}

.image-container img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.button {
  background-color: #f1f1f1;
  border: 2px solid #333;
  border-radius: 4px;
  color: #333;
  padding: 0.5rem 1rem;
  text-decoration: none;
  font-size: 1rem;
  margin: 1rem 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.button:hover {
  background-color: #333;
  color: #f1f1f1;
}

.about-wrapper {
  text-align: center;
}

a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #777;
}

footer {
  text-align: center;
  padding: 1.5rem 0;
  margin-top: 2rem;
  max-width: 1200px;
  width: 100%;
  border-top: 1px solid #ddd;
}

@media screen and (max-width: 768px) {
  .image-container {
    width: 100%;
    max-width: 100%;
  }
}

@media screen and (max-width: 480px) {
  main {
    padding: 1rem;
  }
  header {
    font-size: 1.8rem;
    padding: 1rem 0;
  }
}
