@media (max-width: 600px) {

    html {
        scroll-behavior: smooth;
    }

    body {
        margin-left: 0;
        margin-top: 0;
        background-color: rgb(26, 26, 26);
        overflow-x: hidden;
    }

    .website-div {
        height: auto;
        width: 100vw;
        display: flex;
        justify-content: center;
        flex-direction: column;
    }

    .first-page-div {
        background-image: url('../Images/background.jpg');
        background-size: cover;
        height: 100vh;
        width: 100vw;
        position: absolute;
        top: 0;
        display: flex;
        justify-content: center;
    }

    .title-div {
        margin-top: 14vh;
        position: absolute;
        height: auto;
        width: 60%;
    }

    .title-div p {
        width: 100%;
        height: 100%;
        margin-top: 0;
        text-align: center;
        color: white;
    }

    .title-div-name {
        font-size: 8vh;
        font-family: "Pacifico", cursive;
    }

    .title-div-astudent {
        margin-top: 0;
        font-family: 'Courier New', Courier, monospace;
        font-weight: 500;
        font-size: 4vh;
    }

    .page-arrow {
        color: rgb(255, 255, 255);
        position: absolute;
        bottom: 3vh;
        font-size: 8vh;
        text-decoration: none;
        rotate: 90deg;
        transition: transform .2s ease, color .2s ease;
    }

    .page-arrow:hover {
        transform: translateX(-0.6vh);
        color: rgb(201, 201, 201);
    }

    .second-page-div {
        background-image: url("../Images/background2.jpg");
        background-size: cover;
        position: absolute;
        top: 101%;
        width: 100%;
        height: 175%;
        display: flex;
        justify-content: center;
    }

    .about-wrapper {
        width: 100vw;
        height: max-content;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .about-me-div {
        margin-top: 5vh;
        width: 80%;
        height: 80vh;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        margin-left: 10vw;
        border-radius: 20px;
        box-shadow: 0px 3px 8px rgb(0, 0, 0);
    }

    .skills-div {
        margin-top: 5vh;
        width: 80%;
        height: 80vh;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        margin-left: 10vw;
        border-radius: 20px;
        box-shadow: 0px 3px 8px rgb(0, 0, 0);
    }

    .tab-title {
        color: white;
        font-size: 3.8rem;
        font-family: Arial;
        font-weight: bold;
        margin-top: 2vh;
        margin-bottom: 0;
    }

    .about-desc {
        max-width: 90%;
        max-height: 60%;
        margin-top: 3vh;
        text-align: left;
        font-size: 1.3rem;
        color: white;
        font-family: Arial;
    }

    .skills-title-div {
        width: 100%;
        height: 20%;
    }

    .skills-title {
        color: white;
        font-size: 3.8rem;
        font-family: Arial;
        font-weight: bold;
        margin-top: 2vh;
        margin-bottom: 0;
        text-align: center;
    }

    .skills-skills-div {
        border-radius: 20px;
        width: 100%;
        height: 80%;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 20px;
    }

    .skills-skills-div p {
        margin-top: 0;
        color: white;
        font-family: Arial, Helvetica, sans-serif;
        font-weight: 600;
        font-size: 1.5rem;
        width: 100%;
        height: 30px;
        text-align: center;
        margin-bottom: 10px;
    }

    .progress {
        margin-top: 10px;
        background-color: rgb(18, 18, 18);
        width: 75%;
        height: 23px;
        border-radius: 100px;
        margin-bottom: 70px;
    }

    .progress-bar {
        height: 100%;
        border-radius: 100px;
    }

    .third-page-div {
        background-image: url('../Images/background3.jpg');
        background-size: cover;
        height: 100vh;
        width: 100vw;
        position: absolute;
        top: 277vh;
        display: flex;
        justify-content: center;
        margin-bottom: 20vh;
    }

    .projects-grid {
        width: 100vw;
        height: 100%;
        display: grid;
        grid-template-columns: 5% 40% 10% 40% 5%;
        grid-template-rows: 15% 4% 12% 4% 12% 4% 12% 4% 12% 4% 12% 1fr;
    }

    .projects-title {
        height: max-content;
        margin-top: 40px;
        color: white;
        font-family: Arial, Helvetica, sans-serif;
        font-weight: bold;
        font-size: 4rem;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        width: max-content;
    }

    .project {
        background-color: rgb(20, 20, 20);
        border-radius: 20px;
        border: 2px solid white;
        width: 100%;
        height: 100%;
        justify-self: center;
        transform: scale(1);
        transition: all .2s ease;
    }

    .project:hover {
        transform: scale(1.05);
    }

    .projects-image {
        width: 100%;
        height: 100%;
        border-radius: 20px;
    }

    .project-1 {
        grid-column: 2;
        grid-row: 3;
    }

    .projects-hover-div {
        background-color: rgb(22, 22, 22);
        height: 100px;
        width: 100%;
        position: absolute;
        z-index: -50;
        opacity: 0;
        border-radius: 16px;
        border: 2px solid white;
        transform: translateY(0);
        transition: opacity .1s ease-in-out,
            transform .25s ease;
    }

    .projects-hover-text {
        color: white;
        font-family: Arial;
        font-weight: 600;
        text-align: center;
        font-size: 23px;
        width: 95%;
    }

    .project-2 {
        grid-column: 4;
        grid-row: 3;
    }

    .project-3 {
        grid-column: 2;
        grid-row: 5;
    }

    .project-4 {
        grid-column: 4;
        grid-row: 5;
    }

    .project-5 {
        grid-column: 2;
        grid-row: 7;
    }

    .project-6 {
        grid-column: 4;
        grid-row: 7;
    }

    .project-7 {
        grid-column: 2;
        grid-row: 9;
    }

    .project-8 {
        grid-column: 4;
        grid-row: 9;
    }

    .project-9 {
        grid-column: 3;
        grid-row: 11;
        width: 40vw;
    }

    .fourth-page-div {
        height: 12.5vh;
        width: 100%;
        position: absolute;
        top: 377vh;
        background-color: #090909;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .contact-wrapper {
        width: 60%;
        height: 100%;
        display: flex;
        justify-content: space-around;
        flex-wrap: wrap;
    }

    .contact-wrapper a {
        margin-top: -1.5vh;
        width: fit-content;
        height: fit-content;
        transition: all .2s ease;
        border-radius: 15px;
        display: flex;
        justify-content: space-around;
    }

    .contact-wrapper a:hover {
        transform: scale(1.1);
    }

    .contact-logo {
        width: 60px;
        height: 60px;
        background-repeat: no-repeat;
    }

    .mail-logo {
        background-image: url("../Images/gmail-logo.png");
        background-size: contain;
    }

    .mail-logo:hover {
        background-image: url("../Images/gmail-logo-hover.png");
    }

    .ig-logo {
        background-image: url("../Images/ig-logo.png");
        background-size: contain;
    }

    .ig-logo:hover {
        background-image: url("../Images/ig-logo-hover.png");
    }

    .snap-logo {
        background-image: url("../Images/snap-logo.png");
        background-size: contain;
    }

    .snap-logo:hover {
        background-image: url("../Images/snap-logo-hover.png");
    }

    .snap-link:hover {
        background-color: yellow;
    }

    .to-the-top {
        margin-bottom: 0;
        margin-top: 5px;
        color: white;
        text-decoration: none;
        font-family: Arial, Helvetica, sans-serif;
        font-weight: bold;
        position: absolute;
        bottom: 2vh;
    }

}