html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    background: linear-gradient(135deg, #42275a, #734b6d);
    color: #ffffff;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

a {
    color: #ffffff;
    text-decoration: none;
}

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

header {
    text-align: center;
    padding: 20px 0;
}

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

.profile-pic {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid #ffffff;
}

h1 {
    font-size: 24px;
    margin: 10px 0;
}

.social-icons a {
    margin: 0 10px;
}

.social-icons img:hover {
    transform: translateY(-5px);
}

.social-icons img {
    width: 24px;
    height: 24px;
}

main {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.video, .links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
    margin-bottom: 20px;
}

.link {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    background-color: #1e1e1e;
    border-radius: 10px;
    overflow: hidden;
    width: 90%;
    max-width: 600px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.link img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.youtube-thumbnail {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 16/9;
}

.link-text {
    padding: 20px;
    font-size: 18px;
    text-align: center;
    width: 100%;
}

.link:hover {
    background-color: #333333;
    border-style: dashed;
    border-color: #555;
    transform: translateY(-5px);
}

@media (min-width: 768px) {
    .link {
        flex-direction: row;
    }

    .link img {
        width: 50%;
        height: auto;
    }
}