@font-face {
  font-family: "Roboto";
  src: url("./fonts/Roboto-Regular.ttf") format("truetype");
}

* {
  font-family: "Roboto", sans-serif;
  color: white;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-image: url("./images/bg1.png");
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

main {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background-color: #28323f;
  border: 2px solid #d6eaf8;
  border-radius: 8px;
  max-width: 800px;
  width: 100%;
}

.avatar {
  border: rgb(112, 112, 112) solid 1px;
  width: 250px;
  height: 250px;
  border-radius: 10%;
  object-fit: cover;
}

.details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-left: 1.5rem;
  flex: 1;
}

h1 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.contactInfo {
  margin-top: 1rem;
}

.contactDetails {
  display: flex;
  align-items: center;
  margin: 0.5rem 0;
  cursor: pointer;
  text-decoration: none;
}

.contactDetails span {
  margin-left: 0.5rem;
  font-weight: 500;
}

.contactDetails:hover span {
  color: rgb(80, 185, 255);
}

.icon {
  width: 25px;
  height: 25px;
  fill: blue;
}

a {
  text-decoration: none;
  color: inherit;
}

a:hover {
  color: rgb(80, 185, 255);
}

/* Responsive Design */
@media only screen and (max-width: 600px) {
  .about {
    flex-direction: column;
    padding: 1rem;
  }

  .avatar {
    width: 200px;
    height: 200px;
    margin-bottom: 1rem;
  }

  .details {
    margin-left: 0;
  }
}