body {
  margin: 0;
  background-color: whitesmoke;
  color: black;
  font-family: 'FONT', sans-serif;
}

.Title {
  font-size: 100px;
}

@font-face {
  font-family: 'FONT';
  src: url('font/ttf/konkhmer-sleokchher-khmer-400-normal.ttf');
}

.container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

img {
  width: 700px;
  height: auto;
}

.hero {
  background: whitesmoke;
  padding: 100px 20px;
}

.about {
  background: white;
  padding: 100px 20px;
  text-align: center;
}

.wave svg {
  display: block;
  width: 100%;
  height: 120px;
}
.links a {
  position: relative;
  text-decoration: none;
  color: black;
  font-weight: bold;
  padding: 5px 0;
  transition: color 0.3s ease;
}

.links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 2px;
  background: black;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.links a:hover {
  color: gray;
}

.links a:hover::after {
  transform: scaleX(1);
}
.skills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.skills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.card {
  background: whitesmoke;
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.preview {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.preview img {
  max-width: 90%;
  max-height: 800px;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  transition: opacity 0.4s ease;
}
.footer {
  background: rgb(211, 211, 211);
  color: white;
  text-align: center;
  padding: 20px 0;
  margin-top: 40px;
}
.languages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 10fr));
  gap: 15px;
  padding: 20px;
  max-width: 800px;
  margin: 0 auto 50px auto;
}

.lang {
  background: white;
  border-radius: 12px;
  padding: 15px 10px;
  text-align: center;
  font-weight: bold;
  font-size: 18px;
  color: #333;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s;
  cursor: default;
}

.lang:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  background: #f0f0f0;
}
