body {
  background-color: #00a8f3;
  color: white;
  font-family: sans-serif;
  margin: 0;
  padding: 0;
}

.header,
.footer,
.center,
h1,
h2,
h3,
p,
a {
  font-family: sans-serif;
}

.header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background-color: #00a8f3;
  padding: 10px 0;
}

.header-title {
  margin: 0 20px;
}

.logo-container {
  margin-right: 20px;
}

.logo {
  width: 50px;
  height: 50px;
}

.footer {
  background-color: #333;
  padding: 20px;
  text-align: center;
}

.social-media-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 20px;
}

.social-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  padding: 20px;
  width: 150px;
  height: auto;
  box-sizing: border-box;
  overflow: hidden;
  border: 2px solid #ccc;
  border-radius: 12px;
  background-color: #f9f9f9;
  margin: 10px;
  text-decoration: none;
  color: white;
  font-weight: bold;
  transition: transform 0.2s, background-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  gap: 10px;
  position: relative;
}

.social-box p {
  margin: 0;
  word-wrap: break-word;
  font-size: 14px;
  text-align: center;
}

.social-box:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
  background-color: #dcdcdc;
  z-index: 1;
}

.social-box:hover .social-logo {
  transform: scale(1.15);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.3);
}

.social-box.youtube {
  background-color: #FF0000;
}

.social-box.twitch {
  background-color: #9146FF;
}

.social-box.roblox {
  background-color: #6d7a83;
}

.social-box.github {
  background-color: #181717;
}

.social-box.codechef {
  background-color: #5B4638;
}

.social-box.codeforces {
  background-color: #1F8ACB;
}

.social-box.hackerrank {
  background-color: #2EC866;
}

.social-box.leetcode {
  background-color: #FFA116;
}

.social-box.stackoverflow {
  background-color: #F48024;
}

.social-logo {
  max-width: 100%;
  height: auto;
  border-radius: 9px;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: white;
  margin: 0;
}

.social-logo:hover {
  transform: scale(1.15);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.3);
}

.social-logo,
.project-image {
  aspect-ratio: 1 / 1;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: auto;
  padding: 5px;
  box-sizing: border-box;
}

.center {
  text-align: center;
}

.section {
  padding: 20px;
}

.project-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.project-buttons {
  display: flex;
  justify-content: center;
}

.project-buttons a {
  margin: 0 10px;
  color: lightskyblue;
  text-decoration: none;
}

.project {
  background-color: #333;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  margin: 10px;
  padding: 10px;
  border-radius: 12px;
  width: 400px;
}

.project-image {
  width: 200px;
  height: 200px;
  margin: 10px;
}

img.non-interactive {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  pointer-events: none;
}

.project-description {
  max-width: 400px;
  height: 100%;
  margin: 10px 0;
  text-align: justify;
  line-height: 1.6;
}

.project-visits {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-bottom: 10px;
}

.visit-label {
  text-align: center;
  margin-bottom: 5px;
  font-size: 16px;
  font-weight: bold;
}

.project-visits span#visitsMMP,
.project-visits span#visitsRonnector {
  font-size: 32px;
  font-weight: bold;
}

.project-visits iframe {
  width: 100%;
}

.about-content {
  max-width: 750px;
  margin: 10px auto;
  text-align: justify;
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

@media (max-width: 768px) {
  .social-media-buttons,
  .project-list {
    flex-direction: column;
    gap: 15px;
  }

  .social-box,
  .project {
    width: 90%;
    height: auto;
    padding: 20px;
  }

  .social-logo,
  .project-image {
    width: 50px;
    height: 50px;
  }
}
