@font-face {
    font-family: "Open Sans";
    src: url("./fonts/OpenSans-Regular.ttf");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

html {
    font-size: 16px;
    font-family: "Open Sans", sans-serif;
    color: white;
    height: 100%;
}
* {
    box-sizing: border-box;
}

a {
	color: white;
	text-decoration: none;
}

a:active {
	color: white;
}

a, button {
    cursor: pointer;
}

body {
    min-width: 100%;
    min-height: 100%;
    background-image: url("./img/background10.webp");
    background-attachment: fixed;
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
    margin:0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* For screens up to 768px wide (e.g., tablets and mobile) */
@media (max-width: 768px) {
    body {
        background-image: url('./img/background10.webp');
    }
}

/* For screens between 769px and 1200px wide (e.g., smaller desktops) */
@media (min-width: 769px) and (max-width: 1200px) {
    body {
        background-image: url('./img/background2.webp');
    }
}

/* For screens larger than 1200px (e.g., large desktops) */
@media (min-width: 1201px) {
    body {
        background-image: url('./img/background2.webp');
    }
}

main {
    width: 420px;
    padding: 70px 16px 105px;
    display: flex;
    flex-direction: column;
    gap: 35px;
}


.profile-pic {
    width: 194px;
    border-radius: 50%;
    align-self: flex-end;
    margin-right: 35px;
}

h1 {
    font-size: 35px;
    line-height: 40px;
    word-break: break-word;
    letter-spacing: 12px;
    margin: 0 0 8px 0;
    font-weight: 700;
    font-family: sans-serif;
}

h1:after {
    content: '';
    width: 75px;
    height: 6px;
    background: white;
    display: block;
    margin-top: 10px;
}

@media (max-width: 767px) {
    h1:after {
        margin-left: -30px;
    }
}

p {
    font-size: 1rem;
}

.contact-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.contact-link, .action-button {
    border-radius: 50%;
    height: 60px;
    width: 60px;
    display: block;
    padding: 10px;
}

.contact-link {
    background: white;
}

.contact-link > img, .action-button > img {
    width: 100%;
}

.social-link > img {
    width: 52px;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-link {
    border-radius: 16px;
    width: 100%;
    background: white;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.25rem;
    color: black;
    text-decoration: none;
}

.social-link:after {
    content: url("./img/icons/arrow-right.svg");
    height: 20px;
    width: 20px;
    margin-left: auto;
    margin-right: 10px;
}

.social-link:hover, .contact-link:hover {
    background: #dedede;
}

.action-buttons {
    display: flex;
    gap: 8px;
    position: fixed;
    bottom: 16px;
    left: 16px;
}

.action-button {
    background: black;
    border: 1px solid white;
}

.action-button:hover {
    background: #222;
}