@font-face {
    font-family: 'Montserrat-Local';
    src: url('./fonts/Montserrat/Montserrat-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
}

:root {
    --primary-color: #ff00ff;
    --bg-color: #f0f2f5;
}

body {
    background-color: var(--bg-color);
    font-family: 'Montserrat-Local', sans-serif; 
    margin: 0;
    padding: 1.25rem; 
    display: flex;
    justify-content: center;
}

.cv-container {
    background-color: white;
    max-width: 50rem;
    width: 100%;
    box-shadow: 0 0.25rem 0.9375rem rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
    border-radius: 0.625rem;
}

.header-section{
    text-align: center;
    border-bottom: 1.125rem solid var(--primary-color);
    padding-bottom: clamp(0.625rem, 4vw, 1.25rem);
}

h2 {
    color: var(--primary-color);
    font-size: clamp(1rem, 4vw, 1.2rem);
    border-bottom: 0.125rem solid var(--primary-color);
    padding-bottom: 1.25rem;
    text-transform: uppercase;
}

.profile-img {
    width: 9.375rem;
    height: 9.375rem;
    border-radius: 50%;
    object-fit: cover;
    border: 0.18rem solid var(--primary-color);
}

.user-name {
    margin: 0.93rem 0 0.31rem;
    color: #333;
}

.content-section {
    margin-top: 1.875rem;
}

.skills-list {
    display: flex;
    gap: clamp(0.3125rem, 2vw, 0.625rem);
    list-style: none;
    padding: 0;
    flex-wrap: wrap; 
}

.skills-item {
    background: #333;
    color: white;
    font-size: clamp(0.7rem, 2vw, 0.8rem);
    border-radius: 1.25rem;
    padding: 0.31rem 0.93rem;
    transition: transform 0.3s ease, background-color 0.3s ease; 
    cursor: pointer;
}

.skills-item:hover{
    transform: scale(1.15); 
    background-color: var(--primary-color);
}

.contact-form{
    display: flex;
    flex-direction: column;
    gap: clamp(0.31rem, 2vw, 0.625rem);
}

.form-input {
    padding: clamp(0.5rem, 2vw, 0.625rem);
    border: 0.625rem solid #ccc;
    border-radius: 0.5rem;
    color: #333; 
    background-color: white;
}

.send-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.625rem;
    border-radius: 0.31rem;
    cursor: pointer;
}

.send-btn:hover {
    background-color: var(--primary-color);
    transform: scale(1.1); 
}

.scrollToTop{
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #333;
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 3rem;
    cursor: pointer;
    display: block; 
    z-index: 100;
    width: fit-content;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

    
