* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #C7E8F3;
    color: #41393E;
    font-family: Arial, sans-serif;
    font-size: 16px;
    text-align: center;
    padding: 40px 20px;
}

header {
    margin-bottom: 25px;
}
/*Profile pic*/
.profile {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 4px solid #41393E;
    border-radius: 50%;
    margin-bottom: 15px;
}

/*Name*/
h1 {
    font-size: 24px;
    margin-bottom: 8px;
}

/*Description*/
header p {
    font-size: 14px;
    margin-bottom: 8px;
}

/*Profile links*/
h2 {
    font-size: 16px;
    margin-bottom: 15px;
}

.links {
    max-width: 500px;
    margin: 0 auto;
}

ul {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 12px;
    list-style: none;
}

li a {
    display: block;
    padding: 15px;
    background-color: white;
    color: #41393E;
    border: 2px solid #8E4162;
    border-radius: 12px;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.2s;
}

li:nth-child(2n) a {
    background-color: #BF9ACA;
}

li:first-child a {
    background-color: #8E4162;
    color: white;
}

li:last-child a {
    background-color: #EDA2C0;
}

li a:visited {
    color: #41393E;
}

li:first-child a:visited {
    color: white;
}

li a:hover {
    background-color: #41393E;
    color: white;
    transform: scale(1.03);
}

li a:active {
    background-color: #8E4162;
    color: white;
}

/*Social media links*/
.socials {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin: 25px auto;
}

.socials a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    background-color:#8E4162;
    border: 2px solid white;
    border-radius: 50%;
    color: white;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
}

.socials a:visited {
    color: white;
}

.socials a:hover {
    background-color: #41393E;
    color: white;
}

.socials a:active {
    background-color: #EDA2C0;
}

footer {
    margin-top: 20px;
    font-size: 13px;
}

/*Footer*/
footer span {
    color: #8E4162;
}

.credits {
    font-size: 11px;
    margin-top: 8px;
}

.credits a {
    color: #8E4162;
}

.credits a:visited {
    color: #8E4162;
}

.credits a:hover {
    color: #41393E;
}

.credits a:active {
    color: white;
    background-color: #8E4162;
}
