* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.social-media {
    position: fixed;
    top: 5vh;
    right: 5vw;
    display: flex;
    flex-direction: row;
    z-index: 1000;
    gap: 16px;
}

.social-media .social-media-link {
    width: 40px;
    aspect-ratio: 1/1;
}

.social-media .social-media-link img {
    width: 100%;
    height: 100%;
}

@media only screen and (min-width: 493px) {

    body,
    html {
        height: 100%;
        width: 100%;
        font-family: Arial, sans-serif;
        background: linear-gradient(180deg, #f7f7f7 0%, #eaeaea 100%);
        color: #111;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .container {
        width: 100vw;
        height: 100vh;
        overflow-y: auto;
        scroll-snap-type: y mandatory;
        position: relative;
        display: flex;
        flex-direction: column;
    }

    .container .section {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: center;
        position: relative;
        height: 85vh;
        width: 100vw;
        background: none;
        border: none;
        box-shadow: none;
        overflow: hidden;
    }

    .section1-img-wrapper {
        width: 30vw;
        max-width: 800px;
        min-width: 350px;
        margin-bottom: 0;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: flex-end;
    }

    .section1-img-wrapper img {
        width: 100%;
        height: auto;
        display: block;
        position: relative;
        bottom: -10vh;
        z-index: 1;
    }

    .section1-img-wrapper::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -10vh;
        width: 100%;
        height: 100%;
        pointer-events: none;
        z-index: 2;
        background: linear-gradient(to top, #eaeaea 0%, #eaeaea 5%, rgba(255, 255, 255, 0) 20%);
    }

    .section1-footer {
        width: 100%;
        text-align: center;
        z-index: 2;
        margin-bottom: 6vh;
        position: relative;
    }

    .section h1,
    #section1 h3 {
        margin: 0;
        padding: 0;
    }

    .section1-footer h1 {
        font-size: 8vw;
        font-weight: 900;
        letter-spacing: 3px;
        margin: 0;
        color: #111;
        text-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    }

    .section1-footer h3 {
        font-size: 2vw;
        font-weight: 400;
        margin: 0;
        color: #222;
        letter-spacing: 1px;
        text-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    }

    .projects {
        display: flex;
        flex-direction: row;
        justify-content: center;
        height: 10vh;
        width: 100vw;
        margin-bottom: 2.5vh;
        background: none;
        border: none;
        box-shadow: none;
        overflow: hidden;
        gap: 16px;
    }

    .project {
        background: #eaeaea;
        border-radius: 24px;
        /* border: 2px solid #111; */
        box-shadow: 0 4px 4px rgba(0, 0, 0, 0.08);
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        margin: 0 1vw;
        min-width: 0;
        max-width: 100%;
        overflow: hidden;
        width: auto;
        box-sizing: border-box;
        padding: 0;
        transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1), min-width 0.4s cubic-bezier(0.4, 0, 0.2, 1), max-width 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s;
    }

    .projects .project .project-icon {
        height: 80px;
        width: 80px;
        min-width: 80px;
        min-height: 80px;
        aspect-ratio: 1/1;
        display: flex;
        border-radius: 0px 24px 24px 0px;
        box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
        justify-content: center;
        align-items: center;
        overflow: hidden;
        transition: box-shadow 0.3s;
    }

    .projects .project .project-icon img {
        width: 100%;
        height: 100%;
    }

    .project-info {
        display: none;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 220px;
        height: 100%;
        opacity: 0;
        transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .project.active {
        width: 300px;
        min-width: 220px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    }

    .project.active .project-info {
        width: 220px;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        opacity: 1;
    }

    .project.active .project-info .project-links {
        width: 100%;
        height: 40%;
        margin-top: 4px;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 4px
    }

    .project.active .project-info .project-links .icon-btn {
        height: 100%;
        aspect-ratio: 1/1;
        background: none;
        border: none;
    }

    .project.active .project-info .icon-btn img {
        width: 100%;
        height: 100%;
    }

    .project:not(.active) {
        width: 80px;
        min-width: 80px;
        box-shadow: none;
    }

    .project:not(.active) .project-info {
        display: none;
        opacity: 0;
    }
}

@media only screen and (max-width: 492px) {
    .social-media {
    flex-direction: column;
}

    body,
    html {
        height: 100%;
        width: 100%;
        font-family: Arial, sans-serif;
        background: linear-gradient(180deg, #f7f7f7 0%, #eaeaea 100%);
        color: #111;
        display: flex;
        justify-content: top;
        align-items: top;
    }

    .container {
        width: 100vw;
        height: auto;
        min-height: 100vh;
        overflow-y: auto;
        scroll-snap-type: y mandatory;
        position: relative;
        display: flex;
        flex-direction: column;
    }

    .container .section {
        display: flex;
        flex-direction: column;
        justify-content: bottom;
        align-items: center;
        position: relative;
        height: auto;
        width: 100vw;
        border: none;
        box-shadow: none;
        overflow: hidden;
    }

    .section1-img-wrapper {
        width: 30vw;
        max-width: 600px;
        min-width: 350px;
        margin-bottom: 0;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: flex-end;
    }

    .section1-img-wrapper img {
        width: 100%;
        height: auto;
        display: block;
        position: relative;
        z-index: 1;
    }

    .section1-img-wrapper::after {
        content: "";
        position: absolute;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        z-index: 2;
        background: linear-gradient(to top, #eaeaea 0%, #eaeaea 5%, rgba(255, 255, 255, 0) 20%);
    }

    .section1-footer {
        width: 100%;
        text-align: center;
        bottom: 3vh;
        margin-bottom: 24px;
        z-index: 2;
        position: relative;
    }

    .section h1,
    #section1 h3 {
        margin: 0;
        padding: 0;
    }

    .section1-footer h1 {
        font-size: 10vw;
        font-weight: 900;
        letter-spacing: 3px;
        margin: 0;
        color: #111;
        text-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    }

    .section1-footer h3 {
        font-size: 4vw;
        font-weight: 400;
        margin: 0;
        color: #222;
        letter-spacing: 1px;
        text-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    }

    .projects {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: auto;
        width: 100vw;
        margin-bottom: 2.5vh;
        background: none;
        border: none;
        box-shadow: none;
        overflow: hidden;
    }

    .project {
        background: #eaeaea;
        border-radius: 24px;
        box-shadow: 0 4px 4px rgba(0, 0, 0, 0.08);
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        margin: 0 1vw;
        width: 90%;
        min-width: 300px;
        height: 80px;
        overflow: hidden;
        box-sizing: border-box;
        padding: 0;
        margin-bottom: 16px;
    }

    .projects .project .project-icon {
        height: 80px;
        width: 80px;
        aspect-ratio: 1/1;
        display: flex;
        border-radius: 0px 24px 24px 0px;
        justify-content: center;
        align-items: center;
        overflow: hidden;
    }

    .projects .project .project-icon img {
        width: 100%;
        height: 100%;
    }

    .projects .project .project-info {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 220px;
        height: 100%;
    }

    .projects .project .project-info .project-links {
        width: 100%;
        height: 40%;
        margin-top: 4px;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 4px;
    }

    .projects .project .project-info .project-links .icon-btn {
        height: 100%;
        aspect-ratio: 1/1;
        background: none;
        border: none;
    }

    .projects .project .project-info .icon-btn img {
        width: 100%;
        height: 100%;
    }
}