body {
    background-color: #1e1e1e;
}

main {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: stretch;
    color: white;
    padding: 0 1rem;
    flex-wrap: nowrap;
}

.sidebar {
    position: sticky;
    height: 100%;
    width: auto;
    z-index: 1;
    border: 1px solid #777777;
    border-radius: 20px;
    background-color: #111111;
    padding: 1.5rem;
    margin-top: 3rem;
}

.content {
    min-width: 75%;
    width: 75%;
    position: relative;
    border: 1px solid #777777;
    border-radius: 20px;
    background-color: #111111;
    padding: 1.5rem;
    margin-top: 3rem;
}

.avatar {
    padding: 2rem;
    background-color: #3f3f3f;
    border-radius: 25px;
    width: 128px;
}

.avatar-container {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.name {
    font-family: "Open Sans", sans-serif;
    text-align: center;
}

.title {
    text-align: center;
    padding: .5rem .75rem;
    background-color: #363636;
    border-radius: 5px;
}

hr {
    margin: 2rem 0;
}

.contact-container {
    display: flex;
    flex-direction: row;
    margin-top: 1.5rem;
}

.contact-icon {
    border: 1px solid transparent;
    border-radius: 10px;
    background-image: linear-gradient(transparent, transparent), linear-gradient(135deg, #505050, #262626);
    background-origin: border-box;
    background-clip: content-box, border-box;

    width: 24px;
    height: 24px;
    padding: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 6px 6px 12px #000000;
}

.contact-icon > svg {
    fill: #ffcb74;
    width: 16px;
}

.contact-text-container {
    display: flex;
    flex-direction: column;
    padding-left: 1rem;
}

.contact-text {
    margin: 0;
    color: #838383;
    display: inline-block;
    text-overflow: ellipsis;
    overflow: hidden;
    width: 150px;
}

.contact-text > a {
    text-decoration: none;
    color: white;
}

.social-list {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-top: 2rem;
}

.social-list-icon > svg {
    fill: #ffcb74;
    width: 16px;
    height: 16px;
}

.projects-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.project-info {
    border: 1px solid transparent;
    border-radius: 10px;
    background-image: linear-gradient(transparent, transparent), linear-gradient(135deg, #505050, #262626);
    background-origin: border-box;
    background-clip: content-box, border-box;

    width: 10rem;
    height: 6rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    box-shadow: 6px 6px 12px #000000;

}

.project-info > h3 {
    margin: 0;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    color: #ffcb74;
}

.project-link {
    text-decoration: none;
    color: #ffcb74;
}

.project-description {
    margin: 0;
    color: #ffe6bc;
    text-overflow: ellipsis;
    overflow-y: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
    white-space: pre-wrap;
}

.project-description::-webkit-scrollbar {
    display: none;
}

.project-info-r {
    height: 3rem;
}

.tools-h {
    margin-block-end: 0;
}

.tools-list {
    margin-left: 1rem;
}

.tools-item {
    display: flex;
    flex-direction: row;
    gap: 0.25rem;
}

.tools-item > svg {
    width: 24px;
    fill: #ffcb74;
}

.tools-item > p > a {
    text-decoration: none;
    color: white;
}

@media screen and (max-width: 1200px) {
    main {
        padding: 0 5rem;
    }
}

@media screen and (max-width: 992px) {
    main {
        padding: 0 10rem;
    }
}

@media screen and (max-width: 768px) {
    main {
        padding: 0;
        flex-wrap: wrap;
    }

    .sidebar {
        min-width: 75%;
        width: 75%;
    }

    .contact-text {
        width: 300px;
    }
}

@media screen and (max-width: 576px) {
    .contact-text {
        width: 150px;
    }
}
