@font-face {
    font-family: 'Konstant Grotesk';
    src: url('neuekonstantgrotesk-book.otf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --body-font-family: 'Konstant Grotesk', sans-serif;
    --heading-font-family: "Konstant Grotesk", serif;
    --bg-color: #FDF7E9;
    --accent-color: #D03B00;
    ;
    --text-main: #333;
    --border-style: 1px solid #D34A24;
}

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

body {
    background-color: var(--bg-color);
    font-family: var(--body-font-family);
    color: var(--accent-color);
    line-height: 1.4;
    padding: 40px;
}

.logo-container {
    width: 165px;
    height: 165px;
    margin-top: 20px;
    margin-bottom: 40px;
}

.cv-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
}

.sidebar {
    width: 250px;
    flex-shrink: 0;
}

.contact-content {
    font-size: 0.8rem;
}

.content-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    margin-right: 15px;
}

h1 {
    font-size: 4rem;
    line-height: 0.9;
    font-weight: 700;
    margin-bottom: 60px;
}

h1 span {
    font-weight: 400;
}

ul {
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}

.section-number {
    font-size: 0.9rem;
    float: right;
    font-weight: 400;
}

.section-title {
    font-size: 0.9rem;
    letter-spacing: 2px;
    border-bottom: var(--border-style);
    margin-bottom: 20px;
    padding-bottom: 5px;
    font-weight: 400;
}

h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    text-transform: uppercase;
}


.date {
    font-size: 0.8rem;
    margin-bottom: 5px;
    opacity: 0.8;
}

.description {
    font-size: 0.9rem;
    color: var(--text-main);
}

.lang-list li {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.lang-list span {
    font-weight: bold;
}

.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    font-size: 0.9rem;
}

.footer .container {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
    padding-top: 10px;
    border-top: var(--border-style);
}

.github-icon {
    width: 50px;
}

.rsschool-icon {
    width: 150px;
}

pre {
    color: black;
}

.project>p {
    color: black;
}

.project {
    gap: 15px;
}

@media (max-width: 800px) {
    .cv-wrapper {
        flex-direction: column;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2.5rem;
    }

    .sidebar {
        width: 100%;
    }
}


@media (max-width: 640px) {
    .cv-wrapper {
        flex-direction: column;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2.0rem;
    }

    .sidebar {
        width: 100%;
    }
}


@media (max-width: 320px) {
    .cv-wrapper {
        flex-direction: column;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 1.5rem;
    }

    .sidebar {
        width: 100%;
    }
}