* {
    box-sizing:border-box;
    margin: 0;
    padding: 0;
    font-family: 'Georgia', serif;
}

body {
    background: url("images/twinkle_space_black.gif") center / cover no-repeat fixed;
}

.main__img--container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.heading {
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.projects-scroll {
  display: flex;
  width: 100%;
  height: 100vh;
  overflow-x: auto;
  justify-content: center;
  align-items: center;
  scrollbar-width: none;
}

.projects-scroll::-webkit-scrollbar {
  display: none;
}

.projects-scroll img {
  flex: 0 0 400px;
  width: 400px;
  height: auto;
  border-radius: 10px;
}

/* MOBILE RESPONSIVE */
@media screen and (max-width: 768px) {
    /* Project image carousel */
    .main__img--container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}


    .heading {
    display: flex;
    justify-content: center;
    align-items: center;
    color:white;
    }

    .projects-scroll {
        display: flex;
        align-items: center;
        gap: 15px;
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 20px;
        scrollbar-width: none;
    }

    .projects-scroll::-webkit-scrollbar {
        display: none;
    }

    .projects-scroll img {
        flex: 0 0 80vw;
        width: 80vw;
        height: auto;
        object-fit: cover;
        border-radius: 10px;
    }
    
}


@media screen and (max-width: 480px) {

    /* Project image carousel */
    .main__img--container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}


    .heading {
    display: flex;
    padding: 10px;
    justify-content: center;
    align-items: center;
    color: white;
    }

    .projects-scroll {
        gap: 12px;
        padding: 15px;
    }

    .projects-scroll img {
        flex: 0 0 85vw;
        width: 85vw;
        height: auto;
        object-fit: cover;
        border-radius: 8px;
    }
}
