body {
    text-align: center;
    border: 0;
    margin: 0;
    font-family: 'Montserrat', serif;
    font-size: 3vw;
    background-color: #2E313B;
}

.blurb {
    font-size: clamp(1rem, 1.6vw, 1.25rem);
    color: white;
    text-shadow: 2px 2px 4px #000000;
}

.banner {
    position: relative;
    width: 100%;
    height: 60vh;
    max-height: 600px;
    overflow: hidden;
    background: #222;
}

.overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    height: 100%;
    color: white;
    text-shadow: 4px 4px 4px #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: width 0.6s ease-in-out, left 0.6s ease-in-out, clip-path 0.6s ease-in-out, filter 0.6s ease-in-out;
}

.text {
    text-align: center;
    padding: 2em;
    max-width: 450px;
    font-size: clamp(0.8rem, 1.5vw, 1.2rem);
    transition: transform 0.6s ease-in-out;
}


.overlayleft {
    position: absolute;
    overflow: hidden;
    background-image: url("images/ARVRThumbBlur.png");
    background-color: rgb(255,255,255);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    z-index: 1;
    bottom 0;
    top: 0;
    left: 0;
    right: 0;
    width: 60%;
    height: 100%;
    overflow: auto;
    clip-path: polygon(0 0, 75% 0, 100% 100%, 0% 100%);
    transition: width 0.5s ease, z-index 0s linear 0.5s;
}

    .overlayleft .text {
        transform: translateX(-15%);
    }

.overlayright {
    position: absolute;
    overflow: hidden;
    background-image: url("images/SeakerThumbBlur.png");
    background-color: rgb(255,255,255);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    z-index: 2;
    bottom: 0;
    top 0;
    left: 45%;
    right: 0;
    width: 55%;
    height: 100%;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 25% 100%);
    transition: width 0.5s ease, left 0.5s ease, z-index 0s linear 0.5s;
}

.overlayright .text {
    transform: translateX(15%);
}

.overlayleft:hover {
    z-index: 4;
    width: 100%;
    transition: width 0.5s ease 50ms;
}

    .overlayleft:hover .text {
        transform: translateX(0);
    }

.overlayright:hover {
    z-index: 4;
    width: 100%;
    left: 0;
    transition: width 0.5s ease 50ms, left 0.5s ease 50ms;
}

.overlayright:hover .text {
    transform: translateX(0);
}

.navbar {
  overflow: hidden;
  background-color: #000;
}

.navbar a {
  float: left;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.navbar a:hover {
  background-color: #ddd;
  color: black;
}

.navbar-center a {
  float: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.navbar-right {
  float: right;
}

.pfp-container {
    display: flex;
    justify-content: center;
}

.pfp {
    display: block;
    margin: 0 auto;
    min-width: 200px;
    width: 60%;
    max-width: 300px;
    aspect-ratio: 1 / 1;
    background-image: url("images/pfp.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
   
}

.aboutme {
    text-align: right;
    margin-right: 5%;
    font-size: 55px;
    background-color: #2E313B;
}

span.aboutmetext {
    text-align: center;
    color: white;
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    display: table-cell;
}

span.headertext {
    display: block;
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: bold;
    text-shadow: 2px 2px 4px #000000;
    color: white;
}

.icons{
	float: left;
	width: 33.33%;

	
}

.links::after {
  content: "";
  clear: both;
  display: table;
}

.profile {
    text-align: justify;
    width: 40%;
    text-align: center;
}



.table {
	position:absolute;
    display: table;
	width: 100%;
	height: 100%;
}

#cell {
    display: table-cell;
    padding: 5px;
    vertical-align: top;
}

.contacticon {
    vertical-align: top;
    display: inline-block;
    text-align: center;
    width: 25%;
}
.contactimg {
    width: 4vw;
    height: 4vw;
}
.contactlink {
    display: block;
}
.contactblurb {
    color:white;
   font-size: 1vw;
}
.projectcontainer{
	margin: 5% 10% 5% 10%;

}

.container {
    width: 100%;
    height: 800px;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

.containerProjects {
    width: 100%;
    height: 800px;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

.skills-section {
    max-width: 1920px;
    margin: 4rem auto;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
}

.skills-image-container {
    flex-basis: 50%;
    max-width: 300px;
}

.skills-image-container2 {
    flex-basis: 100%;
    max-width: 1400px;
    margin: 0 auto;
    flex: 0 0 750px;
   justify-content: center;
}


    .skills-image-container img {
        width: 100%;
        height: 100%;
        max-width: 1500px;
        max-height: 1500px;
    }

.skills-image-container2 img {
    width: 90%;
    height: 100%;
    display: flex;
    align-items: center;
}

.skills-image-container2 figure {
    margin: 0;
}

.skills-image-container2 figcaption {
    margin-top: 15px;
    color: #cccccc;
    font-size: 1rem;
    font-style: italic;
}

.carousel-container {
    position: relative;
    max-width: 900px;
    margin: 2rem auto;
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
}

figure.carousel-slide {
    display: none;
    width: 100%;
    text-align: center;
}

    figure.carousel-slide.active-slide {
        display: block;
    }

    figure.carousel-slide img {
        display: block;
        margin: 0 auto; 
        max-width: 100%;
        height: auto;
        max-height: 480px;
    }

    figure.carousel-slide figcaption {
        font-size: 0.9rem;
        font-style: italic;
        color: #ccc;
    }

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

    .carousel-arrow:hover {
        background-color: rgba(0, 0, 0, 0.8);
    }

.arrow-prev {
    left: 15px;
}

.arrow-next {
    right: 15px;
}

.skills-text-container {
    flex-basis: auto;
    width: 100%;
    max-width: 50vw;
    text-align: center;
    justify-content: center;
}

.skills-list {
    list-style: circle;
    padding-left: 0 !important;
    padding: 0;
    margin: 0;
    column-count: 3;
    column-gap: 3rem;
    justify-content: center;
}

    .skills-list li {
        font-size: clamp(1px, 2.5vw, 20px);
        margin-bottom: 1rem;
        padding-left: 1.5rem;
        position: relative;
        break-inside: avoid;
        color: white;
    }

.video-wrapper {
    width: 100%;
    max-width: 1500px;
    margin: 30px auto;
    aspect-ratio: 16 / 9;
    position: relative;
}

    .video-wrapper iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }


.projectcontainer
{
    padding-top: 0 ;
}

@media (max-width: 1500px) {
    .containerProjects {
        height: 400px;
        background-size: cover;
        background-repeat: no-repeat;
        background-attachment: scroll;
    }

    .skills-section {
        flex-direction: column;
        gap: 20px:
    }

    .skills-text-container,
    .skills-image-container,
    .skills-image-container2 {
        flex-basis: auto;
        width: 100%;
        text-align: center;
        margin-top: 0px; /* Reduce space above the video */
        margin-bottom: 0px;
    }

    .skills-list {
        column-count: 2;

    }

    .carousel-container {
        min-height: 250px;
        max-height: 500px;
        width: 100%;
        margin-top: 0px; /* Reduce space above the video */
        margin-bottom: 0px; /* Keep the original bottom margin */
    }

    figure.carousel-slide img {
        max-height: 480px;
    }

    .skills-text-container .skills-list {
        padding-left: 0;
    }

    .video-wrapper {
        width: 100%;
        max-width: 900px;
        margin: 30px auto;
        aspect-ratio: 16 / 9;
        position: relative;
    }

        .video-wrapper iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }
}