html, body {
  height: 100%;
}

.container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Spectral', serif;
  background-color: #fff;
  color: #000;
  display: flex;
  flex-direction: column;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  position: relative;
}

header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 40px;
  right: 40px;
  height: 2px;
  background-color: #ccc;
}

.header-left a {
  text-decoration: none;
  color: inherit;
  font-weight: 700;
  font-size: 1.8rem;
}

.header-right {
  font-weight: 300;
  font-size: 1.8rem;
}

.intro-text {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  padding: 0px 20px;
  padding-top: 40px;
  font-family: "Times New Roman", serif;
}

.intro-text h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.intro-text p {
  font-size: 1rem;
  line-height: 1.6;
}

.image-links {
  display: flex;
  justify-content: center;
  gap: 80px;
  padding: 40px;
  align-items: center;
  
}

.image-container {
  position: relative;
  text-align: center;
}

.image-label {
  font-family: "Times New Roman", serif;
  font-size: 1rem;
  color: #000;
  margin-top: 30px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-container a {
	text-decoration: none;
    color: inherit;
}

.image-container:hover .image-label {
  opacity: 1;
}

.rotating-img {
  width: 200px;
  transition: transform 0.3s ease;
}

.rotating-img:hover {
  transform: rotate(10deg);
}


footer {
  position: relative;
  padding: 20px 40px;
  text-align: center;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 40px;
  right: 40px;
  height: 2px;
  background-color: #ccc;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 10px;
}

.social-icons img {
  width: 24px;
  height: 24px;
  filter: brightness(0) saturate(100%) invert(83%) sepia(0%) saturate(0%) hue-rotate(176deg) brightness(85%) contrast(84%);
  transition: filter 0.3s ease;
}

.social-icons a:hover img {
  filter: brightness(0) saturate(100%) invert(0%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(0%) contrast(100%);
}

.contact {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: #000;
}

.contact img {
  width: 20px;
  height: 20px;
}

@media (max-width: 480px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 20px;
  }
  
  header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 40px;
  right: 40px;
  height: 2px;
  background-color: #ccc;
}
  
  .header-left a {
  text-decoration: none;
  color: inherit;
  font-weight: 700;
  font-size: 0.9rem;
}

  .header-right {
  font-weight: 300;
  font-size: 0.9rem;
}

.intro-text h1 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.intro-text p {
  font-size: 0.9rem;
  line-height: 1.2;
}

.image-links {
  display: flex;
  justify-content: center;
  gap: 80px;
  padding: 40px;
  align-items: center;
  
}

.image-container {
  position: relative;
  text-align: center;
}

.image-label {
  font-family: "Times New Roman", serif;
  font-size: 1rem;
  color: #000;
  margin-top: 30px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-container a {
	text-decoration: none;
    color: inherit;
}

.image-container:hover .image-label {
  opacity: 1;
}

.rotating-img {
  width: 100px;
  transition: transform 0.3s ease;
}

.rotating-img:hover {
  transform: rotate(10deg);
}
