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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    background-color: #f4f6f9; /* Light gray background for better contrast */
    color: #333; /* Darker text color for readability */
    padding: 0 20px;
}

.container {
    margin: 0 auto;
    padding: 0 30px;
    max-width: 1000px;
}

.fh {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 20px; /* Adds space between items */
}

.fv {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 30px; /* Adds vertical spacing */
}

.resume {
    margin: 50px auto;
    padding: 40px;
    max-width: 900px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0; /* Light border around the resume */
}

.resume__block {
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 30px;
    margin-bottom: 20px;
}

/* Mobile responsiveness */
@media screen and (max-width: 576px) {
    .main-info, .contact_info_container {
        flex-direction: column;
    }

    .contact_info_container {
        align-items: center;
    }

    .contact-info__block:not(:last-child) {
        margin-bottom: 20px;
    }

    .experiences {
        margin-right: 0;
    }
}

/* Contact info styles */
.contact-info__header,
.contact-info__sub-header {
    text-align: center;
}

.contact-info__header {
    color: #2a2a2a;
    margin-bottom: 10px;
    font-size: 34px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-info__sub-header {
    color: #888;
    margin-bottom: 30px;
    font-size: 18px;
    font-style: italic;
}

.contact-info__block {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-info__block--center {
    justify-content: center;
}

.contact-info__item {
    color: #5a5a5a;
    text-decoration: none;
    display: flex;
    justify-content: start;
    font-size: 16px;
    margin-bottom: 15px;
    transition: color 0.3s ease;
    padding: 8px 10px;
    border-radius: 5px;
}

.contact-info__item:hover {
    color: #ff9a00; /* Add hover effect */
    background-color: #f5f5f5; /* Subtle background change on hover */
}

.contact-info__item-icon-wrapper {
    margin-right: 10px;
    width: 22px;
    display: flex;
    justify-content: center;
}

.contact-info__item-icon path {
    fill: #6a737d;
}

.contact-info__item-icon {
    height: 1.2rem;
    vertical-align: text-bottom;
}

.contact-info__avatar {
    border-radius: 50%;
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 4px solid #ff9a00;
    margin-bottom: 30px;
}

/* Intro and skills styles */
.intro {
    display: flex;
    justify-content: start;
    margin-bottom: 30px;
}

.intro__icon-wrapper {
    margin-right: 25px;
    width: 40px;
    display: flex;
    justify-content: center;
}

.intro__icon {
    height: 1.5rem;
    vertical-align: text-bottom;
}

.intro__icon path {
    fill: #ff9a00;
}

.intro_text {
    color: #666;
    text-align: justify;
    line-height: 1.6;
    font-size: 18px;
    padding-right: 20px;
}

/* Experience and additional info styles */
.experiences {
    flex: 1 1 60%;
    margin-right: 50px;
}

.experiences__header {
    color: #2a2a2a;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.experiences__company-header-durability {
    color: #b0b0b0;
    font-size: 16px;
}

.experiences__company-header-name {
    color: #ff9a00;
    font-size: 18px;
    margin-bottom: 10px;
}

.experiences__company-project {
    margin-left: 15px;
    margin-bottom: 25px;
}

.experiences__company-project-role {
    color: #888;
    font-size: 16px;
    margin-bottom: 10px;
}

.experiences__company-project-name {
    color: #2a2a2a;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.experiences__company-project-responsibilities {
    color: #5a5a5a;
    padding-left: 20px;
    font-size: 16px;
}

/* Additional info styles */
.additional-info {
    flex: 1 1 40%;
}

.additional-info__education {
    font-family: 'Arial', sans-serif;
    background-color: #f4f7fa;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.additional-info__education-header {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.additional-info__education-university {
    background-color: #fff;
    margin-bottom: 15px;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.additional-info__education-university-durability {
    font-size: 0.9em;
    color: #888;
    display: block;
    margin-bottom: 10px;
}

.additional-info__education-details {
    padding-left: 10px;
}

.additional-info__education-university-speciality {
    font-size: 1.2em;
    font-weight: 600;
    color: #333;
}

.additional-info__skills-list {
    list-style: none;
    padding-left: 20px;
}

.additional-info__skills-list li {
    font-size: 16px;
    color: #5a5a5a;
    margin-bottom: 8px;
}

.additional-info__skills-list li::before {
    content: '•';
    color: #ff9a00;
    margin-right: 8px;
}
