body {
    display: flex;
    justify-content: center;
    background-color: #070707;
    background-image: url("img/mac-tex.png");
    background-size: 64px;
}

.page-container {
    max-width: 1000px;
    padding: 0 2px;
    width: 100%;
    background-color: rgba(23, 23, 23, 0.8);
}

@media (min-width: 576px) {
    .page-container {
        padding: 0 2px;
    }
}

@media (min-width: 768px) {
    .page-container {
        padding: 0 10px;
    }
}

@media (min-width: 992px) {
    .page-container {
        padding: 0 20px;
    }
}

@media (min-width: 1200px) {
    .page-container {
        padding: 0 40px;
    }
}

#page-header {
    padding: 2em 0;
}

.profile-image {
    height: 8em;
    width: auto;
    border-radius: 95%;
}

#page-header h1 {
    font-size: 2.5em;
    color: #ccc;
    margin-bottom: 0.2em;
}

#page-header h4 {
    font-size: 1.2em;
    color: #999;
    margin-bottom: 0;
}

.social-link {
    margin-left: 0.5em;
}

#page-navigation {
    margin-top: 1em;
    margin-bottom: 1em;
    background-color: #000;
    padding: 1em 0;
    border-radius: 5px;
}

#projects {
    margin-top: 2em;
}

.intro {
    background-color: #0f0f0f;
    padding: 2em 0;
    border-radius: 5px;
}

.intro-content {
    max-width: 800px;
    margin-left: 5%;
}

.intro-title {
    font-size: 2em;
    font-weight: bold;
    color: #ccc;
    margin-bottom: 0.5em;
}

.intro-text {
    font-size: 1.1em;
    color: #999;
    line-height: 1.6;
}

.about-me {
    text-align: left;
}

.page-title {
    font-size: 2em;
    font-weight: bold;
    color: #ccc;
    margin-bottom: 0.5em;
    text-align: left;
}

.projects-divider {
    border: none;
    border-top: 2px solid #ededed;
    margin-bottom: 1em;
}

.project {
    margin-bottom: 2em;
    padding: 1.5em;
    background-color: #000;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(255, 255, 255, 0.1);
    display: none;
}

#project-intro {
    font-style: italic;
    margin-top: 1em;
    margin-bottom: 1em;
    padding: 0.5em;
    background-color: #000;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(255, 255, 255, 0.1);
}

@media (max-width: 767px) {
    .project {
        padding: 0.5em;
    }
}

.project-title {
    font-size: 1.5em;
    font-weight: bold;
    color: #ccc;
    margin-bottom: 0.3125em;
}

.project-link {
    margin-bottom: 0.3125em;
}

.project-link a {
    color: #3399ff;
    text-decoration: none;
    font-size: 1em;
}

.project-link a:hover {
    text-decoration: underline;
}

.project-technologies {
    font-size: 1em;
    color: #999;
    margin-bottom: 0.1875em;
}

.project-type {
    font-size: 0.875em;
    color: #666;
    font-style: italic;
    margin-bottom: 1em;
}

.project-screenshot-wrapper {
    background-color: #0f0f0f;
    padding: 1em;
    border-radius: 5px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 767px) {
    .project-screenshot-wrapper {
        padding: 0.5em;
    }
}

.project-screenshots {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1em;
    width: 100%;
}

.project-screenshot {
    object-fit: cover;
    width: 100%;
    height: 224px;
}

@media (min-width: 576px) {
    .project-screenshot {
        height: 336px;
    }
}

@media (min-width: 768px) {
    .project-screenshot {
        height: 448px;
    }
}

@media (min-width: 992px) {
    .project-screenshot {
        height: 448px;
    }
}

@media (min-width: 1200px) {
    .project-screenshot {
        height: 448px;
    }
}

.project-description {
    font-size: 1em;
    line-height: 1.5;
    color: #ccc;
}

#page-footer {
    background-color: #0f0f0f;
    color: #ccc;
    padding: 1em 0;
    text-align: center;
    font-size: 0.9em;
    margin-top: 2em;
}

.return-home {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    border-radius: 0.25rem;
}

@media (min-width: 48em) {
    .carousel-control-prev {
        left: -3rem;
    }

    .carousel-control-next {
        right: -3rem;
    }

    .project-screenshot-wrapper {
        padding: 1em 3.75rem;
    }
}

@media (max-width: 47.9375em) {
    .carousel-control-prev {
        left: 0.625rem;
    }

    .carousel-control-next {
        right: 0.625rem;
    }

    .project-screenshot-wrapper {
        padding: 1em;
    }
}

.carousel-control-prev:focus,
.carousel-control-next:focus {
    outline: none;
    box-shadow: none;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    border-radius: 0.25rem;
    padding: 0.625rem;
}

#project-banner-section {
    text-align: center;
}

.project-banner {
    display: inline-block;
    position: relative;
    width: 250px;
    height: 200px;
    overflow: hidden;
    border-radius: 5%;
}

.project-banner:hover {
    filter: brightness(0.8);
}

.project-banner-img {
    width: auto;
    height: 100%;
    margin-left: -30px;
}

#rend3d-banner-img {
    margin-left: 10px;
}

.project-banner .overlay {
	font-weight: bold;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    color: #ededed;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.project-banner:hover .overlay {
    opacity: 1;
    filter: none;
}

.project-title-img-wrapper {
    text-align: center;
    margin-bottom: 10px;
}

.project-title-img {
    width: 100%;
}

.video-view-more {
    font-size: 1em;
    color: #696969;
    font-style: italic;
    text-align: center;
}

