
/* Über */

.about-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 200px);
    width: 90%;
    max-width: 1100px;
    margin: 0 auto 50px auto;
}

.about-image {
    width: 90%;
    max-width: 200px;
    border-radius: 100px;
    margin-bottom: 35px;
    box-shadow: 0px 0px 15px 15px black;
}

.about-title {
    font-size: 40px;
    font-weight: 500;
    margin-bottom: 10px;
    text-align: center;
}

.about-description {
    font-size: 25px;
    font-weight: 400;
    text-align: center;
    color: darkgray;
}

.about-description a {
    color: #f0f0f0;
    text-decoration: none;
    background-image: linear-gradient(transparent 70%, rgba(255, 255, 255, 0.35) 70%);
    background-size: 0% 100%;
    background-repeat: no-repeat;
    transition: background-size .3s ease, color .3s ease;
}

.about-description a:hover {
    color: white;
    background-size: 100% 100%;
}

.about-links-container {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width: 50%;
    margin-top: 25px;
}

.about-links-container img {
    width: 50px;
    height: 50px;
    transition: transform .3s;
}

.about-links-container img:hover {
    transform: scale(1.1);
}

@media only screen and (max-width: 750px) {
    .about-links-container {
        width: 90%;
    }

    .about-links-container img {
        width: 40px;
        height: 40px;
    }

    .about-links-container img:hover {
        transform: scale(1.0);
    }

    .about-title {
        font-size: 30px;
    }

    .about-description {
        font-size: 20px;
    }
}


/* Projekte */

.projects-container {
    display: grid;
    grid-template-columns: calc(50% - 25px) calc(50% - 25px);
    gap: 50px;
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

.projects-container a {
    text-decoration: none;
}

.project-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 600px;
    border-radius: 20px;
    padding: 25px 25px 0 25px;
    cursor: pointer;
    box-shadow: 0px 0px 1.5px 0px white;
    z-index: 1;
}

.project-title {
    width: 100%;
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 15px;
    color: white;
}

.project-title-addition {
    color: gray;
}

.project-description {
    width: 100%;
    font-size: 25px;
    font-weight: 400;
    margin-bottom: 10px;
    color: darkgray;
}

.project-subtitle {
    width: 100%;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.project-image-container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.project-image-container img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.project-overlay {
    position: absolute;
    opacity: 0;
    transform: scale(0.95);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 25px;
    -webkit-user-select: none;
    user-select: none;
    overflow: hidden;
    z-index: 2;
    transition: opacity .3s, transform .3s;
}

.project-tags {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 25px;
}

.project-tags li {
    list-style: none;
}

.project-tags li p {
    font-size: 25px;
    color: white;
    padding: 7.5px;
    border-radius: 10px;
    background-color: #212121;
}

.project-info-btn {
    position: absolute;
    display: none;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    width: -moz-fit-content;
    width: fit-content;
}

@media only screen and (min-width: 951px) {
    .project-container:hover .project-overlay {
        opacity: 1;
        transform: scale(1.0);
    }
}

@media only screen and (max-width: 950px) {
    .projects-container {
        grid-template-columns: 100%;
        gap: 25px;
    }

    .project-tags {
        flex-flow: row wrap;
        gap: 15px;
    }

    .project-info-btn {
        display: block;
    }

    .show-mobile-project-overlay {
        opacity: 1;
        transform: scale(1.0);
    }

    .project-title {
        font-size: 25px;
    }

    .project-description {
        font-size: 20px;
    }

    .project-subtitle {
        font-size: 17.5px;
    }

    .project-tags li p {
        font-size: 20px;
        padding: 5px;
    }
}
