* {
    vertical-align: baseline;
    box-sizing: border-box;
    font-weight: inherit;
    font-family: inherit;
    font-style: inherit;
    font-size: 100%;
    border: 0 none;
    outline: 0;
    padding: 0;
    margin: 0;
}
*::selection {
    background-color: #8a8a8a;
    color: #ededed;;
}

a {
  text-decoration: none;
}

p {
    font-weight: 300;
}

body {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100vw;
    height: 100vh;
    justify-content: space-between;
    font-family: "Nunito", sans-serif;
    font-weight: 700;
    font-style: normal;
    color: #ededed;
    background-color: #101010;
    font-size: 20px;
}

.header {
    min-height: 50px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(0, 0, 0);
    overflow: hidden;
}

.logo {
    width: 40px;
    height: 40px;
}

.title {
    margin-left: 20px;
}

.mark {
    color: #4674be;
    display: inline-block;
}

.run {
    display: inline-block;
    animation: run 2s ease-out;
}

.black {
    position: absolute;
    z-index: 10;
    background-color: black;
    width: 100px;
    min-height: 50px;
    top: 0;
    right: 0;
}

@keyframes run {
    0% {
        transform: translateX(500%);
    }
    100% {
        transform: translateX(0%);
    }
}

.main {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
}

.main h2, .main h3, .skills p {
    text-align: center;
}

section {
    margin-top: 10px;
}

section:last-child {
    margin-bottom: 10px;
}

.about {
    width: 300px;
}

.cv_link {
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #ffffff;
}

.cv_link:hover {
    text-shadow: 0 0 15px #ededed;
}

.download {
    margin-left: 10px;
    width: 30px;
}

.projects {
    width: 300px;
}

.project_box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.project {
    position: relative;
    width: 290px;
    height: 145px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    margin-bottom: 20px;
}

.project img {
    width: 100%;
    height: 100%;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.short-description {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: #ededed;
    padding: 5px 10px;
    font-size: 14px;
    border-radius: 5px;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: help;
}

.project:hover .short-description {
    opacity: 1;
}

.full-description {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    border-radius: 4px;
    color: #ededed;
    text-align: center;
    padding: 10px;
    font-size: 14px;
    opacity: 0;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.project.expanded .full-description {
    opacity: 1;
    pointer-events: auto;
}

.project.expanded .short-description {
    opacity: 0;
}

.skills {
    width: 300px;
}

.skill_box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.skill {
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.skill:hover {
    border: 1px solid #ededed;
    border-radius: 5px;
}

.skill img {
    width: 50px;
}

.skill_name {
    height: 30px;
    border: 1px solid #ededed;
    border-radius: 20px;
    text-align: center;
    cursor: default;
}

.footer {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    padding: 10px 0;
    background-color: rgb(0, 0, 0);

}

.footer-link {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ededed;
}

@media (max-width: 700px) {
    .footer {
        flex-direction: column;
    }
    .footer-link {
        margin-bottom: 10px;
    }
    .black {
        display: none;
    }
    .run {
        display: inline-block;
        animation: run 0.5s ease-out;
    }
}

.footer-link:hover {
    text-shadow: 0 0 15px #ededed;
}

.footer img {
    margin-right: 10px;
    width: 30px;
}

.github img {
    width: 40px;
}

.mail-copy {
    user-select: all;
}