@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

/* reset */
*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: #301B28;
}

ul {
    list-style-type: none;
}

/* styles */
body {
    font-family: "Raleway", sans-serif;
    font-weight: 400;
    font-style: normal;

    display: flex;
    justify-content: center;
    min-height: 100vh;
}

html {
    scroll-behavior: smooth;
}

.resume-article, .resume-section {
    scroll-margin-top: 50px;
}

h1, h2, h3 {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
}

.page {
    position: relative;
    width: 80vw;
    min-width: 550px;
    background-color: #fffbfb;
}

.main-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.header {
    background-color: #301B28;
    position: sticky;
    z-index: 99;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    height: 7vh;
}

.nav {
    display: flex;
    justify-content: flex-end;
    height: 100%;
    background-color: inherit;
}

.nav__list {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.nav__link {
    display: flex;
    align-items: center;
    color: #EBDCB2;
    height: 100%;
    padding: 16px;
    cursor: pointer;
}

.nav__item:hover {
    backdrop-filter: blur(20px);
    filter: brightness(130%);
}

.nav__item:active {
    transform: translateY(1px);
    backdrop-filter: brightness(110%);
}

.main-content__title {
    display: flex;
    justify-content: center;
    background-color: #eae1e4;
    padding: 16px;
    color: #301B28;
    font-weight: lighter;
}

.resume-article {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 16px;
    padding: 16px;
}

.resume-article__basic-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.resume-article__basic-info > img {
    border: 15px solid #301B28;
    border-radius: 50%;
    width: 225px;
    height: auto;
}

.resume-article__section {
    width: 70%;
    background-color: #eae1e4;
    border-radius: 15px;
    border: 2px dashed black;
    padding: 30px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 16px;
}

.resume-article__section > p {
    font-size: 1.5rem;
}

.resume-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px;
}

.resume-section__title {
    background-color: #301B28;
    color: #EBDCB2;
    text-align: center;
    padding: 5px 0;
}

.resume-section__list-no-bullets {
    padding: 16px;

}

.resume-section__item {
    font-size: 1.5rem;
    color: #301B28;
    font-style: oblique;
}

.resume-section__item::before {
    content: "●";
    padding-right: 0.5rem;
}

.resume-section__code {
    padding: 32px;
    border: 2px dashed white;
    background-color: #292727;
    color: white;
    text-wrap: wrap;
}

.resume-section__contact-list {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    padding: 16px;
}

.contact-list__item > h3 {
    font-style: italic;
}

.contact-list__item > h3::before, .footer > a::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    padding-right: 25px;

    background-size: contain;
    background-repeat: no-repeat;
}

.contact-list__item.phone-item > h3::before {
    background-image: url("../images/contact/phone-logo.svg");
}

.contact-list__item.gh-item > h3::before, .footer > a::before {
    background-image: url("../images/contact/github-logo.svg");
}

.contact-list__item.discord-item > h3::before {
    background-image: url("../images/contact/discord-logo.svg");
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 35px 15px 35px;
    background-color: #eae1e4;
    width: 100%;
    font-size: 1rem;
    font-weight: bold;
}

.footer img {
    display: block;
    width: 50px;
}

@media (max-width: 1050px) {
    .resume-article {
        flex-direction: column;
        align-items: center;
    }

    .header {
        display: none;
    }
}
