@font-face {
    font-family: 'Carlito';
    src: url('../fonts/Carlito-Regular.ttf');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Carlito';
    src: url('../fonts/Carlito-Bold.ttf');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Carlito';
    src: url('../fonts/Carlito-Italic.ttf');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'Carlito';
    src: url('../fonts/Carlito-BoldItalic.ttf');
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: 'Libertinus Serif';
    src: url('../fonts/LibertinusSerif-Regular.ttf');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Libertinus Serif';
    src: url('../fonts/LibertinusSerif-Bold.ttf');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Libertinus Serif';
    src: url('../fonts/LibertinusSerif-Italic.ttf');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'Libertinus Serif';
    src: url('../fonts/LibertinusSerif-BoldItalic.ttf');
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: 'Libertinus Serif';
    src: url('../fonts/LibertinusSerif-SemiBold.ttf');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Libertinus Serif';
    src: url('../fonts/LibertinusSerif-SemiBoldItalic.ttf');
    font-weight: 600;
    font-style: italic;
}

.frame {
    margin: 2px;
    border-radius: 6px;
    border: 1px solid;
    display: inline-block;
}

.centerh {
    width: 1000px;
    margin: 0 auto;
}

.centervh {
    width: 650px;
    height: 800px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -200px 0 0 -300px;
}

.centercourses {
    width: 1000px;
    height: 800px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -200px 0 0 -480px;
}

body {
    background-color: white;
    color: black;
    margin: 0;
    padding: 60px 20px;
}

.profile {
    display: flex;
    align-items: flex-start;
    gap: 36px;
    max-width: 720px;
    margin: 0 auto;
}

.profile img {
    width: 240px;
    height: 240px;
    object-fit: cover;
    border-radius: 5px;
    flex-shrink: 0;
}

.profile-text h1 {
    font-family: 'Libertinus Serif', serif;
    font-weight: 600;
    font-size: 2rem;
    margin: 0 0 14px 0;
    border-bottom: 1px solid black;
    padding-bottom: 4px;
}

.profile-text p {
    font-family: 'Carlito', Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.08;
    color: #333;
    margin: 0 0 1rem 0;
}

.profile-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin-top: 1rem;
}

.profile-links a {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #333;
    font-family: 'Carlito', Arial, sans-serif;
    font-size: 0.9rem;
}

.profile-links a:hover {
    color: black;
}

.profile-links img {
    width: 18px;
    height: 18px;
}