html,
body {
  height: 100%;
  margin: 0;
  font-family: serif;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-image: url("Image1.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* HEADER */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2;
}

header h1 {
  margin: 0;
  font-size: 28px;
  color: #f7f8fc;
}

nav a {
  color: #c5c7d0;
  margin-left: 20px;
  text-decoration: none;
}

nav a:hover {
  color: rgb(245, 140, 48);
}

/* CONTENT WRAPPER */
.content-wrapper {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 60px 40px;
  gap: 60px;
  min-height: calc(100vh - 120px);
  color: #f7f8fc;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

/* LEFT COLUMN - ABOUT */
.about {
  flex: 1;
  max-width: 600px;
}

.about h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.about p {
  font-size: 20px;
  line-height: 1.6;
}

/* RIGHT COLUMN - LANGUAGES */
.languages-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lang-label {
  font-size: 28px;
  margin-bottom: 20px;
  text-align: center;
  color: #f7f8fc;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

/* ICONS CIRCLE */
.icons-circle {
  position: relative;
  width: 250px;
  height: 250px;
  animation: rotate-circle 15s linear infinite;
}

.circle-icon {
  width: 60px;
  height: 60px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -30px;
  transition: transform 0.3s ease;
}

.circle-icon:hover {
  transform: scale(1.3);
}

/* Arrange icons in circle */
.circle-icon:nth-child(1) {
  transform: translate(100px, 0);
}
.circle-icon:nth-child(2) {
  transform: translate(50px, 86px);
}
.circle-icon:nth-child(3) {
  transform: translate(-50px, 86px);
}
.circle-icon:nth-child(4) {
  transform: translate(-100px, 0);
}
.circle-icon:nth-child(5) {
  transform: translate(-50px, -86px);
}
.circle-icon:nth-child(6) {
  transform: translate(50px, -86px);
}

/* Rotate animation */
@keyframes rotate-circle {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* FOOTER */
footer {
  background: rgba(0, 0, 0, 0.5);
  text-align: center;
  padding: 10px 0;
}

footer a {
  color: #f7f8fc;
  margin: 0 15px;
  text-decoration: none;
}

footer a:hover {
  color: orange;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .content-wrapper {
    flex-direction: column;
    align-items: center;
  }
  .icons-circle {
    width: 200px;
    height: 200px;
    animation: none;
  }
  .circle-icon:nth-child(1) {
    transform: translate(80px, 0);
  }
  .circle-icon:nth-child(2) {
    transform: translate(40px, 69px);
  }
  .circle-icon:nth-child(3) {
    transform: translate(-40px, 69px);
  }
  .circle-icon:nth-child(4) {
    transform: translate(-80px, 0);
  }
  .circle-icon:nth-child(5) {
    transform: translate(-40px, -69px);
  }
  .circle-icon:nth-child(6) {
    transform: translate(40px, -69px);
  }
}
