/*-----------Inter Font-----------*/
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
/*--------------Reset Css--------------*/
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a{
    text-decoration: none;
}

ul{
    list-style-type: none;
}

img { display: block; max-width: 100%; height: auto; }

/*----------Variables---------------*/
:root{
    font-size: 62.5%;
    --Green: hsl(75, 94%, 57%);
    --White: hsl(0, 0%, 100%);
    --Grey700: hsl(0, 0%, 20%);
    --Grey800: hsl(0, 0%, 12%);
    --Grey900: hsl(0, 0%, 8%);
    --WeightLight:400;
    --WeightMedium:600;
    --WeightBold:700;
    --LineHeight:150%;
}
/*-------------General---------------*/
body{
    font-family: "Inter", sans-serif;
    font-size: 1.4rem;
}


/*----------Mobile----------------*/
main{
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--Grey900);
}

.profile-card{
    width: 32.7rem;
    background-color: var(--Grey800);
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 1.2rem;
    padding: 2.4rem  2.4rem 2.5rem  2.4rem;

}

.profile-card__img{
    width: 8.8rem;
    height: 8.8rem;
    border-radius: 50%;
   
}

.profile-card__title{
    font-size: 2.5rem;
    color: var(--White);
    font-weight: var(--WeightMedium);
    margin-bottom: 0.5rem;
    line-height: var(--LineHeight);
     margin-top: 2rem;
}

.profile-card__location{
    font-size: 1.4rem;
    color: var(--Green);
    font-weight: var(--WeightBold);
    margin-bottom: 2rem;
    line-height: var(--LineHeight);
}

.profile-card__info{
    font-size: 1.4rem;
    color: var(--White);
    line-height: var(--LineHeight);
}

.profile-card__buttons{
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    width: 100%;
    margin-top: 2.4rem;
}

.profile-card__buttons li{
  background-color: var(--Grey700);
  border:  1px solid var(--Grey900);
  width: 100%; 
  border-radius: 0.7rem;
  text-align: center;
}

.profile-card__buttons li {
  background-color: var(--Grey700);
  border: 1px solid var(--Grey900);
  border-radius: 0.7rem;
  text-align: center;
  transition: background-color 0.3s ease;
}

.profile-card__buttons li a {
  display: block; 
  padding: 1.3rem;
  font-weight: var(--WeightBold);
  color: var(--White);
  transition: color 0.3s ease;
}

@media (prefers-reduced-motion: reduce) {
  .profile-card__buttons li a {
    transition: none;
  }
}

.profile-card__buttons li:hover {
  background-color: var(--Green);
}

.profile-card__buttons li:hover a {
  color: var(--Grey900);
}
    
@media(min-width: 1440px){ 
    .profile-card{ width: 38.4rem; padding: 4rem; border-radius: 1.5rem;} 
}