/* General Body Styling */
body {
  font-family: 'Arial', sans-serif;
  background: radial-gradient(circle at 50% 70%, rgba(35,35,118,0.8) 30%, rgba(17,17,59,1) 70%);
  color: white;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

/* Header styling */
header {
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 10%; /* Adds padding on both sides */
  width: 100%;
  box-sizing: border-box;
}

.logo {
  font-weight: bold;
  font-size: 1.5rem;
}

nav {
  display: flex;
  gap: 40px;
}

nav a {
  text-decoration: none;
  color: white;
  font-weight: bold;
}

/* Container Styling */
.container {
  position: relative;
  width: 90%;
  max-width: 1024px;
  margin: 10% auto;
  border-radius: 30px;
  overflow: hidden;
  background: linear-gradient(to top, black, #7572f1);
  padding: 3px;
}

.module {
  background: black;
  color: white;
  padding: 2rem;
  border-radius: 30px;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.top {
  width: 100%;
  text-align: left; /* Ensures content is left-aligned */
}

.top h1 {
  text-align: left; /* Ensures content is left-aligned */
  text-transform: uppercase; /* Converts text to uppercase */
  margin-left: 0; /* Ensures there's no unwanted left margin */
  font-size: 3rem;
  margin: 0;
}

.center {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 40px 0; /* Top and bottom margin */
  padding: 20px 0; /* Additional padding for internal spacing */
}

.item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.item1, .item3 {
  flex: 0 1 auto; /* Allows flexibility but constrains them to content width */
  padding-left: 10px;
  padding-right: 10px;
}

.item1 p {
  margin: 0;
  font-style: italic;
}

.item1 .swoosh {
  width: 160px; /* Adjusted size */
  height: auto;
}

.item2 img {
  width: 150px;
  height: 150px;
  border: 5px solid white;
  border-radius: 50%;
}

.item3 {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.item3 a img {
  width: 30px;
  height: auto;
  margin: 0 10px;
  border-radius: 3px; /* Square corners */
}

.bottom {
  width: 100%;
  text-align: right; /* Ensures content is right-aligned */
}

.bottom h2 {
  text-align: right;
  width: 100%;
  font-size: 3rem;
  text-transform: uppercase;
  margin: 0;
}

/* Responsive Media Queries */
@media (max-width: 600px) {
  header {
      flex-direction: column;
      align-items: center;
      gap: 10px;
  }

  .container {
      width: 90%;
      padding: 20px;
  }

  .center {
      flex-direction: column;
  }

  .name-email, .profile-pic, h2 {
      text-align: center;
  }

  h2 {
      text-align: center; /* Ensure alignment is consistent on smaller screens */
  }
}

footer {
  display: flex;
  justify-content: space-between; /* Ensures content is spaced out to each side */
  align-items: center; /* Vertically aligns content within the footer */
  padding: 10px 50px; /* Adds padding inside the footer */
  background-color: black; /* Dark background for visibility */
  color: white; /* Sets text color */
  width: 100%; /* Ensures footer spans the width of the screen */
  position: fixed; /* Keeps footer at the bottom */
  bottom: 0; /* Positions footer at the bottom of the viewport */
  left: 0; /* Aligns footer to the left edge of the viewport */
  z-index: 1000; /* Ensures footer is above other content */
}

footer .social-icons {
  display: flex; /* Ensures icons are lined up horizontally */
  margin-right: 70px; /* Reduces or removes margin to the right if necessary */
}

footer .social-icons a {
  margin-left: 10px; /* Provides spacing between icons */
}

footer .social-icons img {
  width: 20px; /* Sets a specific width for icons */
  height: auto; /* Maintains aspect ratio of icons */
  border-radius: 4px;
}

